<?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 select-options in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2335428#M514140</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;i have two select-options. could any one tell me how to make one select-option obligatory if the other select-option is empty . i mean if one of the select-option is empty then compulsorily i have to make the other select-options as obligatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jun 2007 10:20:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-11T10:20:56Z</dc:date>
    <item>
      <title>select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2335428#M514140</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;i have two select-options. could any one tell me how to make one select-option obligatory if the other select-option is empty . i mean if one of the select-option is empty then compulsorily i have to make the other select-options as obligatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 10:20:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2335428#M514140</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T10:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2335429#M514141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if select-option1 is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if select-option2 is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;give error message  with ' you have to enter either one '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if helpful&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;venkatesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 10:24:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2335429#M514141</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T10:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2335430#M514142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;TABLES:kna1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:s_land FOR kna1-land1,&lt;/P&gt;&lt;P&gt;               s_kunnr FOR kna1-kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;  IF s_land IS INITIAL AND s_kunnr IS INITIAL.&lt;/P&gt;&lt;P&gt;    MESSAGE w000(zz) WITH   'Enter value in atleast one select-option'.&lt;/P&gt;&lt;P&gt;    stop.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 10:26:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2335430#M514142</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T10:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2335431#M514143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi reena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sopt1 n sopt 2 are two select options.&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sopt1 is initial and screen-name = 'sopt2'.&lt;/P&gt;&lt;P&gt;    screen-required = 1.&lt;/P&gt;&lt;P&gt;    modify screen.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;if sopt2 is initial and screen-name = 'sopt1'.&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;&lt;/P&gt;&lt;P&gt;if helpful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;suresh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 10:27:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2335431#M514143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T10:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2335432#M514144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;let us suppose &lt;/P&gt;&lt;P&gt;two select options&lt;/P&gt;&lt;P&gt;tables : t001,bkpf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:  s_bukrs for t001-bukrs,   "Company Code&lt;/P&gt;&lt;P&gt;                 s_belnr for bkpf-belnr.   "Document No&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on s_bukrs.&lt;/P&gt;&lt;P&gt;if  s_belnr is initial.&lt;/P&gt;&lt;P&gt;while s_bukrs is initial.&lt;/P&gt;&lt;P&gt;message e001(zdev).&lt;/P&gt;&lt;P&gt;endwhile.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on s_belnr.&lt;/P&gt;&lt;P&gt;if  s_bukrs is initial.&lt;/P&gt;&lt;P&gt;while s_belnr is initial.&lt;/P&gt;&lt;P&gt;message e001(zdev).&lt;/P&gt;&lt;P&gt;endwhile.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 10:31:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2335432#M514144</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T10:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2335433#M514145</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;see thi simple code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS:a(10).&lt;/P&gt;&lt;P&gt;PARAMETERS:b(10).&lt;/P&gt;&lt;P&gt;write:/ a,b.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN on A.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;if screen-name = 'B' and A is initial.&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;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 10:32:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2335433#M514145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T10:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2335434#M514146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suresh ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u mean should i creat two diff screens for this . please can u be clear on this . here is my mail id . meetreenadorthy@gmail.com&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 10:34:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2335434#M514146</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T10:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2335435#M514147</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;SELECT-OPTIONS: opt1 for xxx2,&lt;/P&gt;&lt;P&gt;                              op2 for xxx1.&lt;/P&gt;&lt;P&gt;DATA: flag.&lt;/P&gt;&lt;P&gt;you have to put codel like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION SCREEN ON opt1-low and opt1-high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if opt1-low is initial and opt-high is initial.&lt;/P&gt;&lt;P&gt;flag = 'X'.&lt;/P&gt;&lt;P&gt;else.&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 OUTPUT.&lt;/P&gt;&lt;P&gt;if flag = 'X'.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name = 'OPT2-LOW' or 'OPT2-HIGH'.&lt;/P&gt;&lt;P&gt;screen-required = '1'.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 10:38:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2335435#M514147</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-06-11T10:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2335436#M514148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi reena&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suresh answer is right, it does not mean that you have to create two screen. &lt;/P&gt;&lt;P&gt;in event at selection screen output one internal table name screen is formed . it contains all the content of selection screen like select-options, parameters, checkbox. radio button etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now if you have to validate it. you have use loop at screen in event at selection screen output . in your case you are modifying screen table using two select-options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ruchika&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful.........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 10:48:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2335436#M514148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T10:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2335437#M514149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sopt1 n sopt 2 are two select options.&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if sopt1 is initial and screen-name = 'sopt2'.&lt;/P&gt;&lt;P&gt;screen-required = 1.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;if sopt2 is initial and screen-name = 'sopt1'.&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;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ruchika&lt;/P&gt;&lt;P&gt;reward if useful..........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 10:50:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2335437#M514149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T10:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2335438#M514150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can put the condition at the event 'AT SELECTION SCREEN OUTPUT'. This event is called everytime before the screen is displalyed. Just check the condition and give the error message if condition not met. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Johnny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 10:53:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2335438#M514150</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T10:53:33Z</dc:date>
    </item>
  </channel>
</rss>

