<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: screen-required not working..?? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-required-not-working/m-p/7160836#M1515840</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please share tthe code which you had writen, so that we can help you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: kiran  kumar on Aug 23, 2010 6:45 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Aug 2010 04:30:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-08-23T04:30:21Z</dc:date>
    <item>
      <title>screen-required not working..??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-required-not-working/m-p/7160834#M1515838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Expert,&lt;/P&gt;&lt;P&gt;My program used  screen-required = '1'.&lt;/P&gt;&lt;P&gt;And it was working fine.&lt;/P&gt;&lt;P&gt;But after I switch my table to dd07t.&lt;/P&gt;&lt;P&gt;The  screen-required check not working anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the screen looks still working.there is check show up in the fields as normal.&lt;/P&gt;&lt;P&gt;but if i do not fill in any value and press save , it should tell me to fill all fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jack Lee&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: jack lee on Aug 23, 2010 5:46 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Aug 2010 03:45:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-required-not-working/m-p/7160834#M1515838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-23T03:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: screen-required not working..??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-required-not-working/m-p/7160835#M1515839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you change your name field, or group in screen corresponding to change of table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ie:&lt;/P&gt;&lt;P&gt;before change:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Loop at screen.
if screen-name = 'ABC'.
screen-required = '1'.
endif.
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but after change to table  field dd07t you did no change your code accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please check,&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Aug 2010 04:03:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-required-not-working/m-p/7160835#M1515839</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-23T04:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: screen-required not working..??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-required-not-working/m-p/7160836#M1515840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please share tthe code which you had writen, so that we can help you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: kiran  kumar on Aug 23, 2010 6:45 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Aug 2010 04:30:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-required-not-working/m-p/7160836#M1515840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-23T04:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: screen-required not working..??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-required-not-working/m-p/7160837#M1515841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SCREEN 6000 Code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MODULE get_dd07t.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MODULE mytc_change_tc_attr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT   it_dd07t&lt;/P&gt;&lt;P&gt;       INTO wa_dd07t&lt;/P&gt;&lt;P&gt;       WITH CONTROL mytc&lt;/P&gt;&lt;P&gt;       CURSOR mytc-current_line.&lt;/P&gt;&lt;P&gt;    MODULE mytc_get_lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    MODULE mytc_change_field_attr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MODULE status_6000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT it_dd07t .&lt;/P&gt;&lt;P&gt;    CHAIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      FIELD wa_dd07t-ddtext.&lt;/P&gt;&lt;P&gt;      FIELD wa_dd07t-domvalue_l.&lt;/P&gt;&lt;P&gt;      MODULE mytc_modify ON CHAIN-REQUEST.&lt;/P&gt;&lt;P&gt;    ENDCHAIN.&lt;/P&gt;&lt;P&gt;    FIELD wa_dd07t-marked&lt;/P&gt;&lt;P&gt;      MODULE mytc_mark ON REQUEST.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;  MODULE mytc_user_command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MODULE user_command_6000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE mytc_change_field_attr OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*跑進行螢幕上面的迴圈資料&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   如果新增的那一行等於目前迴圈跑的那一行且user按下了+號按鈕則將那一行變成可編輯&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    IF add_line = mytc-current_line AND is_insert = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     變成可編輯此行&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      screen-input = '1'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     防呆的檢驗,若欄位中是需要輸入的以下兩個欄位,則設定為必填欄位&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      IF screen-name = 'WA_DD07T-DDTEXT' OR screen-name = 'WA_DD07T-DOMVALUE_L'.&lt;/P&gt;&lt;P&gt;        screen-required = '1'.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     如果非user按下+按鈕或是新增那一行不等於目前迴圈跑的這一行則將編輯關掉並且設為不需要填寫欄位&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      screen-input = '0'.&lt;/P&gt;&lt;P&gt;      screen-required = '0'.&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " MYTC_CHANGE_FIELD_ATTR  OUTPUT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Aug 2010 05:35:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-required-not-working/m-p/7160837#M1515841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-23T05:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: screen-required not working..??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-required-not-working/m-p/7160838#M1515842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you changing the screen elements of a table control?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes, please try below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add a module just after the loop with control under 'Process before output'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Process before output.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT gt_uexit2 INTO wa_uexit2 WITH CONTROL TABCON.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   MODULE m_initial_tabcon.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Codes for the module m&lt;/U&gt;initial_tabcon:_&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA :l_wa_tabcon LIKE LINE OF tabcon-cols.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;   LOOP AT tabcon-cols INTO l_wa_tabcon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF l_wa_tabcon-screen-group1 eq 'G1' .&lt;/P&gt;&lt;P&gt;        l_wa_tabcon-require = 1.&lt;/P&gt;&lt;P&gt;       modify tabcon-cols from l_wa_tabcon.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;   ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Aug 2010 09:30:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-required-not-working/m-p/7160838#M1515842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-23T09:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: screen-required not working..??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-required-not-working/m-p/7160839#M1515843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 03:14:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-required-not-working/m-p/7160839#M1515843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-05T03:14:57Z</dc:date>
    </item>
  </channel>
</rss>

