<?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: GETTING THE SELECT OPTIONS VALUES in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-select-options-values/m-p/5036527#M1171393</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If supposing S_Matnr is your input.&lt;/P&gt;&lt;P&gt;Then &lt;/P&gt;&lt;P&gt;select * from Mara into it_mara where Your fields name NOT IN S_Matnr..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This fetches all the other records except the input fields.&lt;/P&gt;&lt;P&gt;Hope this is what you are looking  for ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Jan 2009 08:01:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-09T08:01:20Z</dc:date>
    <item>
      <title>GETTING THE SELECT OPTIONS VALUES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-select-options-values/m-p/5036526#M1171392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi to all experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my requirement is when the user inputs values in select options . i need to get all the other values excluding the range the user inputted. example if the range of total values are from a to z and user is inputting g to h . i want all other values in an internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2009 07:58:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-select-options-values/m-p/5036526#M1171392</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-09T07:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: GETTING THE SELECT OPTIONS VALUES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-select-options-values/m-p/5036527#M1171393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If supposing S_Matnr is your input.&lt;/P&gt;&lt;P&gt;Then &lt;/P&gt;&lt;P&gt;select * from Mara into it_mara where Your fields name NOT IN S_Matnr..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This fetches all the other records except the input fields.&lt;/P&gt;&lt;P&gt;Hope this is what you are looking  for ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2009 08:01:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-select-options-values/m-p/5036527#M1171393</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-09T08:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: GETTING THE SELECT OPTIONS VALUES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-select-options-values/m-p/5036528#M1171394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;modify the range table with "SIGN" field having value 'E'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldname-SIGN = E&lt;/P&gt;&lt;P&gt;fieldname-OPTION = BT&lt;/P&gt;&lt;P&gt;fieldname-LOW  = g&lt;/P&gt;&lt;P&gt;fieldname-HIGH = h&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: mrugesh phatak on Jan 9, 2009 9:02 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2009 08:01:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-select-options-values/m-p/5036528#M1171394</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-09T08:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: GETTING THE SELECT OPTIONS VALUES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-select-options-values/m-p/5036529#M1171395</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;First you have to fechth all the possible values of that filed.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
ex:s_plant

select werks from T001W in to table it_table.

loop at it_table into wa_Table
              where wa_Table-werks Not in s_plant

wa_finalplant-werks = wa_tablem-werks
append wa_finalplant to it_finalplant
clear wa_finalplant.
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or else you can do directyly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
select werks from T001W into table where werks not in s_plant.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2009 08:04:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-select-options-values/m-p/5036529#M1171395</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-09T08:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: GETTING THE SELECT OPTIONS VALUES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-select-options-values/m-p/5036530#M1171396</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;In the select query, in WHERE clause where you are comapring the field with the select-option values, use NOT IN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg.&lt;/P&gt;&lt;P&gt;SELECT * &lt;/P&gt;&lt;P&gt;       FROM sbook &lt;/P&gt;&lt;P&gt;       INTO TABLE sbook_tab &lt;/P&gt;&lt;P&gt;       WHERE class NOT IN &amp;lt;select-option&amp;gt;. &lt;/P&gt;&lt;P&gt;IF sy-subrc = 0. &lt;/P&gt;&lt;P&gt;ENDIF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Natasha Garg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2009 08:06:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-select-options-values/m-p/5036530#M1171396</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-09T08:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: GETTING THE SELECT OPTIONS VALUES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-select-options-values/m-p/5036531#M1171397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohammed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find a dummy program using Select-Options functionality below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZUINPUT NO STANDARD PAGE HEADING .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*USING "PARAMETER" KEYWORD TO ACCEPT USER INPUT:&lt;/P&gt;&lt;P&gt;TABLES : KNA1.&lt;/P&gt;&lt;P&gt;*parameters: a type i,b type i.&lt;/P&gt;&lt;P&gt;*data: result type i.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*result = a + b.&lt;/P&gt;&lt;P&gt;*write:/ 'The addition of a and b is :', result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*USING "SELECT-OPTIONS" KEYWORD&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; 'KNA1-KUNNR',20 'KNA1-NAME1',60 'kna1-name2',100 'kna1-land1'.&lt;/P&gt;&lt;P&gt;uline.&lt;/P&gt;&lt;P&gt;select-options: cno for KNA1-KUNNR.&lt;/P&gt;&lt;P&gt;select * from KNA1 where KUNNR in cno.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; KNA1-KUNNR,20 KNA1-NAME1,60 kna1-name2,100 kna1-land1.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;uline.&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; cno-low.      "Gives lower range of value.&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; cno-high .    "Gives upper range of value.&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; cno-sign.     "Gives sign whether it is inclusive or exclusive.&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; cno-option.   "outputs whether between or not between the rang.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Mansi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2009 08:08:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-select-options-values/m-p/5036531#M1171397</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-09T08:08:11Z</dc:date>
    </item>
  </channel>
</rss>

