<?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/1948869#M390929</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Say you have defined Select-option as 'sdwerk' for plant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To include all the Plants in the entered selection into one internal table use below code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: begin of i_werks occurs 0,&lt;/P&gt;&lt;P&gt;werks like t001w-werks,&lt;/P&gt;&lt;P&gt;end of i_werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT werks INTO table i_werks FROM T001W WHERE werks IN sdwerk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Internal table sdwerk will have all the entered plants now.&lt;/P&gt;&lt;P&gt;&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 Feb 2007 05:21:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-09T05:21:15Z</dc:date>
    <item>
      <title>select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1948865#M390925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;may i know how to assign the select-options data to itab if user enter the range as well as single val or also with exclude single val or exclude ranges.&lt;/P&gt;&lt;P&gt;if i use like this it will also get the low and high in the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is using ranges. but i need to store werks only in normal itab.&lt;/P&gt;&lt;P&gt;  v_werks-sign = 'I'.&lt;/P&gt;&lt;P&gt;  v_werks-option = 'EQ'.&lt;/P&gt;&lt;P&gt;  v_werks-low = sdwerk-low.&lt;/P&gt;&lt;P&gt;  v_werks-high = sdwerk-high.&lt;/P&gt;&lt;P&gt;  append v_werks.&lt;/P&gt;&lt;P&gt;  v_werks-sign = 'I'.&lt;/P&gt;&lt;P&gt;  v_werks-option = 'BT'.&lt;/P&gt;&lt;P&gt;  v_werks-low = sdwerk-low.&lt;/P&gt;&lt;P&gt;  v_werks-high = sdwerk-high.&lt;/P&gt;&lt;P&gt;  append v_werks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2007 05:15:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1948865#M390925</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-09T05:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1948866#M390926</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;The select-options itself is an internal table format, if u see in debugging mode u can understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;v_werks[] = s_werks[].&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;All the values will get moved into the itab u want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2007 05:18:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1948866#M390926</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-09T05:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1948867#M390927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;   Sorry i am not clear with what is your exact requirement.&lt;/P&gt;&lt;P&gt;Please clarify a bit more.&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>Fri, 09 Feb 2007 05:18:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1948867#M390927</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-09T05:18: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/1948868#M390928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;tables: t001w.
select-options: s_werks for t001w-werks.
types: begin of ty_werks,
werks type t001w-werks,
end of ty_werks.
data: wa_werks type ty_werks.
data: lt_werks type ty_werks.

loop at s_werks where option = 'EQ' and sign ='I'.
wa_werks-werks = s_werks-low.
append wa_werks to lt_werks
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2007 05:18:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1948868#M390928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-09T05:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1948869#M390929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Say you have defined Select-option as 'sdwerk' for plant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To include all the Plants in the entered selection into one internal table use below code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: begin of i_werks occurs 0,&lt;/P&gt;&lt;P&gt;werks like t001w-werks,&lt;/P&gt;&lt;P&gt;end of i_werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT werks INTO table i_werks FROM T001W WHERE werks IN sdwerk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Internal table sdwerk will have all the entered plants now.&lt;/P&gt;&lt;P&gt;&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 Feb 2007 05:21:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1948869#M390929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-09T05:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1948870#M390930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;loop at sdwerk.&lt;/P&gt;&lt;P&gt; if not sdwerk-low is initial.&lt;/P&gt;&lt;P&gt;   itab-werks = sdwerk-low.&lt;/P&gt;&lt;P&gt;   append itab.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if not sdwerk-high is initial.&lt;/P&gt;&lt;P&gt;   itab-werks = sdwerk-high.&lt;/P&gt;&lt;P&gt;   append itab.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2007 05:22:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1948870#M390930</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-09T05:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1948871#M390931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks to all especially rahul.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2007 05:45:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1948871#M390931</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-09T05:45:04Z</dc:date>
    </item>
  </channel>
</rss>

