<?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: select options in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2396141#M533298</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AT SELECTION-SCREEN ON SO_EKORG.

LOOP AT SO_EKORG.
IF SO_EKORG-LOW = 'XXX or SO_EKORG-HIGH = 'XXX'.
" ERROR MESSAGE.
ENDIF:
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;VAsanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jun 2007 08:57:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-18T08:57:01Z</dc:date>
    <item>
      <title>select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2396137#M533294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;selection option.&lt;/P&gt;&lt;P&gt;s_ekorg for eine-ekorg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to restrict the user from entering a particular ekorg. How can I do this.&lt;/P&gt;&lt;P&gt;Any suggestions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 08:51:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2396137#M533294</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T08:51: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/2396138#M533295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi KVC , &lt;/P&gt;&lt;P&gt;  You can check it in the event AT SELECTION SCREEN ON s_ekorg , and inside this check the value entered by the user.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 08:54:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2396138#M533295</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T08:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2396139#M533296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;give error message if a particular ekorg is been entered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Neelambari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 08:54:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2396139#M533296</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T08:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2396140#M533297</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;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;if s_ekorg = ' give value here'.&lt;/P&gt;&lt;P&gt;message e001(hk) with 'Invalied ekorg'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Hari krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 08:55:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2396140#M533297</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T08:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2396141#M533298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AT SELECTION-SCREEN ON SO_EKORG.

LOOP AT SO_EKORG.
IF SO_EKORG-LOW = 'XXX or SO_EKORG-HIGH = 'XXX'.
" ERROR MESSAGE.
ENDIF:
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;VAsanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 08:57:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2396141#M533298</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T08:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2396142#M533299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;at selection-screen on s_ekorg.&lt;/P&gt;&lt;P&gt;  if s_ekorg[] eq &amp;lt;i&amp;gt;Value&amp;lt;/i&amp;gt;.   " The &amp;lt;i&amp;gt;value&amp;lt;/i&amp;gt; you want to restrict the user from entering&lt;/P&gt;&lt;P&gt;      message 'Please enter a valid Plant' type 'E'.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anish Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 08:57:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2396142#M533299</guid>
      <dc:creator>former_member150733</dc:creator>
      <dc:date>2007-06-18T08:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2396143#M533300</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; At selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  write here .....message.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Imran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 08:57:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2396143#M533300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T08:57: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/2396144#M533301</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;  At selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;P&gt;  loop at s_ekorg.&lt;/P&gt;&lt;P&gt;         if  eine-ekorg-low eq 'particular ekorg'.&lt;/P&gt;&lt;P&gt;              message........&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;Don't forget to reward if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 08:59:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2396144#M533301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T08:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2396145#M533302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;KVC,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After entering values on screen. The control will trigger AT SELECTION-SCREEN Event. Just write a code as follows. In If we will check if that particular value is there in HIGH or LOW options. In ELSE we will check if that Purchase org falls in between the HIGH - LOW options entered by user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;IF s_ekorg-low   eq &amp;lt;Purchase Org&amp;gt; or &lt;/P&gt;&lt;P&gt;    s_ekorg-high  eq &amp;lt;Particular Purch.Org&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Error message&amp;gt;&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;loop at s_ekorg.&lt;/P&gt;&lt;P&gt;IF s_ekorg-low   eq &amp;lt;Purchase Org&amp;gt; or &lt;/P&gt;&lt;P&gt;    s_ekorg-high  eq &amp;lt;Particular Purch.Org&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Error message&amp;gt;&lt;/P&gt;&lt;P&gt;Endloop.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish you all the very best.&lt;/P&gt;&lt;P&gt;- Mohan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        MohanVamsi Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 09:04:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2396145#M533302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T09:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2396146#M533303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;The solution is as follows : 

AT SELECTION-SCREEN OUTPUT. 
  PERFORM protect. 
. 
. 
. 
FORM protect. 
LOOP at SCREEN 
 CASE screen-name. 
     WHEN 'UNAME' OR 'UNUMB' OR 'DESCR'. screen-input = 0. 
     WHEN 'XNAME' OR 'XNUMB' OR 'DESCX'. screen-input = 0. 
ENDCASE. 
ENDLOOP. 
ENDFORM. 

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward   points  if it is usefull ...&lt;/P&gt;&lt;P&gt;Girish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 09:11:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2396146#M533303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T09:11:10Z</dc:date>
    </item>
  </channel>
</rss>

