<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-required/m-p/2337512#M514816</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;once u check,are u declared the fields vkorg and bukrs are using select-options or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options: s_vkorg  for &amp;lt;refarence field&amp;gt;,&lt;/P&gt;&lt;P&gt;                       s_bukrs for &amp;lt;refarence field&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;follow this code for making as mandatory fields dynamically..&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF s_bukrs  IS INITIAL and s_vkorg IS INITIAL.&lt;/P&gt;&lt;P&gt;IF screen-name = 's_vkorg-low'.&lt;/P&gt;&lt;P&gt;     screen-active = '1'.&lt;/P&gt;&lt;P&gt;     screen-input = '1'.&lt;/P&gt;&lt;P&gt;     screen-required = '1'.&lt;/P&gt;&lt;P&gt;     MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;ENDIF.&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;&amp;lt;b&amp;gt;or&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;follow this statement to make fields as mandatory&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;select-options: s_vkorg for &amp;lt;refarence field&amp;gt; obligatory.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ashokreddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jun 2007 11:08:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-11T11:08:07Z</dc:date>
    <item>
      <title>Screen-required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-required/m-p/2337506#M514810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;            In the selection screen 2 fields are there ( burks and vkorg).If burks  and vkorg is initial ,i have to change the vkorg field to be a mandatory field and mandatory mark should also appear in the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hoe to use screen-required = '1' and where to use this code in the program.I am using this as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF s_bukrs[] IS INITIAL  and  s_vkorg[] IS INITIAL.&lt;/P&gt;&lt;P&gt;        IF screen-name = 'S_VKORG-LOW'.&lt;/P&gt;&lt;P&gt;          screen-active = '1'.&lt;/P&gt;&lt;P&gt;          screen-input = '1'.&lt;/P&gt;&lt;P&gt;          screen-required = '1'.&lt;/P&gt;&lt;P&gt;          MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;        ENDIF.&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;Bt it is not working .Plz help me .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashok...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 10:50:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-required/m-p/2337506#M514810</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T10:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Screen-required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-required/m-p/2337507#M514811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WHY DONT YOU MADE THE VKORG AS OBLIGATORY?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS : S_VKORG FOR VBAK-VKORG OBLIGATORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGARDS&lt;/P&gt;&lt;P&gt;SHIBA DUTTA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 10:53:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-required/m-p/2337507#M514811</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T10:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Screen-required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-required/m-p/2337508#M514812</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;use SELECT-OPTIONS : S_VKORG FOR VBAK-VKORG OBLIGATORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; regards,&lt;/P&gt;&lt;P&gt;Santosh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 10:55:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-required/m-p/2337508#M514812</guid>
      <dc:creator>Santosh_Kezkhepatmelathil</dc:creator>
      <dc:date>2007-06-11T10:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Screen-required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-required/m-p/2337509#M514813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; since it is a select-option best thing is to assign a MODIF ID to that&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS s_bukrs for xxx modif id 'ABC'.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS s_vkorg for xxx modif id 'ABC'.&lt;/P&gt;&lt;P&gt;and then use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SCREEN-GROUP1 in the IF instead of SCREEN-NAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF s_bukrs[] IS INITIAL and s_vkorg[] IS INITIAL.&lt;/P&gt;&lt;P&gt;IF screen-group1 = 'ABC'.&lt;/P&gt;&lt;P&gt;screen-active = '1'.&lt;/P&gt;&lt;P&gt;screen-input = '1'.&lt;/P&gt;&lt;P&gt;screen-required = '1'.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;\&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 10:55:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-required/m-p/2337509#M514813</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-06-11T10:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Screen-required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-required/m-p/2337510#M514814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No i want to have that field to be obligatory only in run time and also when bukrs and vkorg are empty .I dn't want that &amp;lt;b&amp;gt;vkorg&amp;lt;/b&amp;gt; field to be empty when &amp;lt;b&amp;gt;bukrs&amp;lt;/b&amp;gt; is not initial.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 10:56:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-required/m-p/2337510#M514814</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T10:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Screen-required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-required/m-p/2337511#M514815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK THEN DO ONE THING&lt;/P&gt;&lt;P&gt;DATA : FLAG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;IF s_bukrs[] IS INITIAL and s_vkorg[] IS INITIAL AND FLAG = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF screen-name = 'S_VKORG-LOW'.&lt;/P&gt;&lt;P&gt;screen-active = '1'.&lt;/P&gt;&lt;P&gt;screen-input = '1'.&lt;/P&gt;&lt;P&gt;screen-required = '1'.&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;CLEAR FLAG.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;IF NOT s_bukrs[] IS INITIAL .&lt;/P&gt;&lt;P&gt;IF s_vkorg[] IS INITIAL.&lt;/P&gt;&lt;P&gt;FLAG = 'X'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;BUT HERE YOU HAVE TO PRESS ENTER OR USER INTERACTION TO CHECK THE EFFECT&lt;/P&gt;&lt;P&gt;REGARDS&lt;/P&gt;&lt;P&gt;SHIBA DUTTA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        SHIBA DUTTA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 11:02:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-required/m-p/2337511#M514815</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T11:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Screen-required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-required/m-p/2337512#M514816</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;once u check,are u declared the fields vkorg and bukrs are using select-options or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options: s_vkorg  for &amp;lt;refarence field&amp;gt;,&lt;/P&gt;&lt;P&gt;                       s_bukrs for &amp;lt;refarence field&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;follow this code for making as mandatory fields dynamically..&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF s_bukrs  IS INITIAL and s_vkorg IS INITIAL.&lt;/P&gt;&lt;P&gt;IF screen-name = 's_vkorg-low'.&lt;/P&gt;&lt;P&gt;     screen-active = '1'.&lt;/P&gt;&lt;P&gt;     screen-input = '1'.&lt;/P&gt;&lt;P&gt;     screen-required = '1'.&lt;/P&gt;&lt;P&gt;     MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;ENDIF.&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;&amp;lt;b&amp;gt;or&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;follow this statement to make fields as mandatory&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;select-options: s_vkorg for &amp;lt;refarence field&amp;gt; obligatory.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ashokreddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 11:08:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-required/m-p/2337512#M514816</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T11:08:07Z</dc:date>
    </item>
  </channel>
</rss>

