<?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 Check Select Options in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-select-options/m-p/2436017#M544899</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Genius,&lt;/P&gt;&lt;P&gt;Could you please tell me how to check the internal table entries using select options in a subroutine i.e  if the entry exists in  a range of select-options it is to be taken otherwise it is to be neglected.&lt;/P&gt;&lt;P&gt; I will definitely reward gd point to u but tell me in any case,&lt;/P&gt;&lt;P&gt;Thnx ,&lt;/P&gt;&lt;P&gt;Rahul.....................................................&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Jun 2007 13:15:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-23T13:15:25Z</dc:date>
    <item>
      <title>Check Select Options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-select-options/m-p/2436017#M544899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Genius,&lt;/P&gt;&lt;P&gt;Could you please tell me how to check the internal table entries using select options in a subroutine i.e  if the entry exists in  a range of select-options it is to be taken otherwise it is to be neglected.&lt;/P&gt;&lt;P&gt; I will definitely reward gd point to u but tell me in any case,&lt;/P&gt;&lt;P&gt;Thnx ,&lt;/P&gt;&lt;P&gt;Rahul.....................................................&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jun 2007 13:15:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-select-options/m-p/2436017#M544899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-23T13:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: Check Select Options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-select-options/m-p/2436018#M544900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the simple example -&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables : mara.&lt;/P&gt;&lt;P&gt;data : i_mara like mara occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-option s_matnr for mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from mara into table i_mara&lt;/P&gt;&lt;P&gt;                           where matnr &amp;lt;b&amp;gt;in s_matnr.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;give error message " No data found ".&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for internal table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at i_mara where field in s_matnr&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;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Seshu Maramreddy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Seshu Maramreddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jun 2007 13:40:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-select-options/m-p/2436018#M544900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-23T13:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Check Select Options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-select-options/m-p/2436019#M544901</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;Loop at itab where field in s_field.

Endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Loop at itab.
if itab-field in s_field.
* Do something.
endif.

endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&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>Sat, 23 Jun 2007 13:41:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-select-options/m-p/2436019#M544901</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-06-23T13:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Check Select Options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-select-options/m-p/2436020#M544902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Rahul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try the following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select options : s_options for mara-matnr.&lt;/P&gt;&lt;P&gt;select * from mara into corresponding fields of &amp;lt;itab&amp;gt; where matnr in s_options.&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;code....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message e001(&amp;lt;message class&amp;gt;)." define message class in se93 and define message there.&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;ravish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;plz dont forget to reward point if useful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jun 2007 14:14:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-select-options/m-p/2436020#M544902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-23T14:14:27Z</dc:date>
    </item>
  </channel>
</rss>

