<?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/1513285#M236494</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have taken company code as select-option in my selection screen . I want to check this one with if condition .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have coded like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If bukrs in '040'.&lt;/P&gt;&lt;P&gt;but its giving error message .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one help me in this issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Aug 2006 17:32:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-31T17:32:47Z</dc:date>
    <item>
      <title>SELECT -OPTIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1513285#M236494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have taken company code as select-option in my selection screen . I want to check this one with if condition .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have coded like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If bukrs in '040'.&lt;/P&gt;&lt;P&gt;but its giving error message .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one help me in this issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 17:32:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1513285#M236494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-31T17:32: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/1513286#M236495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001.

tables: t001.

select-options: s_bukrs for t001-bukrs.

at selection-screen.

  loop at s_bukrs.
    if s_bukrs-low = '0040'
      or s_bukrs-high = '0040'.
      message e001(00) with 'This is not valid'.
    endif.
  endloop.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 17:35:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1513286#M236495</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-08-31T17:35: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/1513287#M236496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt;if you declare a variable as Select_option, then it will become a Internal table, it will have fields like LOW, HIGH&amp;lt; SIGN and Option, so if you want to check, then you need to loop that field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at Bukrs&lt;/P&gt;&lt;P&gt;if bukrs-low = '0040'.&lt;/P&gt;&lt;P&gt; write:/ 'Success'.&lt;/P&gt;&lt;P&gt;elseif bukrs-high = '0040'.&lt;/P&gt;&lt;P&gt;  write:/ 'Error'.&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you got my point&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 17:40:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1513287#M236496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-31T17:40:54Z</dc:date>
    </item>
  </channel>
</rss>

