<?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/12155332#M1977401</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;SELECT-OPTIONS: s1 FOR some_table-some_field.
SELECT-OPTIONS: s2 FOR some_table2-some_field2.
SELECT-OPTIONS: s3 FOR some_table3-some_field3

LOOP AT lt_internal_table REFERENCE INTO DATA(ld_row_of_internal_table)
  WHERE some_field IN s1
    AND some_field2 IN s2
    AND some_field3 IN s3.

  WRITE: / ld_row_of_internal_table-&amp;gt;some_field, ld_row_of_internal_table-&amp;gt;some_field2, ld_row_of_internal_table-&amp;gt;some_field3.
ENDLOOP.
IF sy-subrc &amp;lt;&amp;gt; 0. 
  WRITE: / 'No records meet given criteria'.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;Mateusz</description>
    <pubDate>Wed, 17 Jun 2020 14:03:18 GMT</pubDate>
    <dc:creator>MateuszAdamus</dc:creator>
    <dc:date>2020-06-17T14:03:18Z</dc:date>
    <item>
      <title>select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/12155328#M1977397</link>
      <description>&lt;P&gt;hi can anyone help me with the syntax for selection data from internal table based on 2 or more select options.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2020 06:11:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/12155328#M1977397</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-06-17T06:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/12155329#M1977398</link>
      <description>&lt;P&gt;Hello  &lt;SPAN class="mention-scrubbed"&gt;karoncdas_31&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;What information exactly do you need? An example of LOOP using SELECT-OPTIONS follows.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT-OPTIONS: s1 FOR some_table-some_field.
SELECT-OPTIONS: s2 FOR some_table2-some_field2.
SELECT-OPTIONS: s3 FOR some_table3-some_field3

LOOP AT lt_internal_table REFERENCE INTO DATA(ld_row_of_internal_table)
  WHERE some_field IN s1
    AND some_field2 IN s2
    AND some_field3 IN s3.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Here is &lt;A href="https://help.sap.com/doc/abapdocu_750_index_htm/7.50/en-US/abapselect-options.htm"&gt;SAP Help&lt;/A&gt; about select-options.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;Mateusz</description>
      <pubDate>Wed, 17 Jun 2020 06:16:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/12155329#M1977398</guid>
      <dc:creator>MateuszAdamus</dc:creator>
      <dc:date>2020-06-17T06:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/12155330#M1977399</link>
      <description>&lt;P&gt;You may study &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abapselect-options.htm"&gt;SELECT-OPTIONS&lt;/A&gt; and its use as a &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abenranges_table_glosry.htm"&gt;ranges table&lt;/A&gt; in the ABAP documentation.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2020 06:52:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/12155330#M1977399</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-06-17T06:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/12155331#M1977400</link>
      <description>&lt;P&gt;i need to link the input fields to the logic for example i have to write records that satisfies all the select-options. if not error message to be thrown&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2020 13:56:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/12155331#M1977400</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-06-17T13:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/12155332#M1977401</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;SELECT-OPTIONS: s1 FOR some_table-some_field.
SELECT-OPTIONS: s2 FOR some_table2-some_field2.
SELECT-OPTIONS: s3 FOR some_table3-some_field3

LOOP AT lt_internal_table REFERENCE INTO DATA(ld_row_of_internal_table)
  WHERE some_field IN s1
    AND some_field2 IN s2
    AND some_field3 IN s3.

  WRITE: / ld_row_of_internal_table-&amp;gt;some_field, ld_row_of_internal_table-&amp;gt;some_field2, ld_row_of_internal_table-&amp;gt;some_field3.
ENDLOOP.
IF sy-subrc &amp;lt;&amp;gt; 0. 
  WRITE: / 'No records meet given criteria'.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;Mateusz</description>
      <pubDate>Wed, 17 Jun 2020 14:03:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/12155332#M1977401</guid>
      <dc:creator>MateuszAdamus</dc:creator>
      <dc:date>2020-06-17T14:03:18Z</dc:date>
    </item>
  </channel>
</rss>

