<?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 values from select option in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-from-select-option/m-p/1546229#M248332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I misunderstood the question.  If the user is using your select option to provide a range and you need all values within that range, then use the solution provided by Santosh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Sep 2006 14:38:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-07T14:38:34Z</dc:date>
    <item>
      <title>getting values from select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-from-select-option/m-p/1546225#M248328</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;I have a requirement where the user is going to pass values in select-option  in low and high. lets say s_bwart(movement types).&lt;/P&gt;&lt;P&gt; now i have to fetch this bwart values into an internal table.&lt;/P&gt;&lt;P&gt;my internal table will be having only one field that is bwart. so how do i populate my internal table with those values. could any body help me in this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;neha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2006 14:32:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-from-select-option/m-p/1546225#M248328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-07T14:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: getting values from select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-from-select-option/m-p/1546226#M248329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;move s_bwart-low to itab-bwart.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move s_bwart-high to itab-bwart.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But why move to new table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2006 14:34:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-from-select-option/m-p/1546226#M248329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-07T14:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: getting values from select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-from-select-option/m-p/1546227#M248330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Neha,&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;do this way ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;at selection screen.
select bwart from &amp;lt;Table&amp;gt; into table itab where bwart in s_bwart.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; this way it fetches all the bwart values within the range of s_bwart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2006 14:36:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-from-select-option/m-p/1546227#M248330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-07T14:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: getting values from select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-from-select-option/m-p/1546228#M248331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    start-of selection.&lt;/P&gt;&lt;P&gt;     if not b_bwart[] is initial.&lt;/P&gt;&lt;P&gt;      loop at s_bwart.&lt;/P&gt;&lt;P&gt;       if s_bwart-sign = 'BT'. &lt;/P&gt;&lt;P&gt;        itab-bwart = s_bwart-low.&lt;/P&gt;&lt;P&gt;        append itab.&lt;/P&gt;&lt;P&gt;        itab-bwart = s_bwart-high.&lt;/P&gt;&lt;P&gt;       append itab.&lt;/P&gt;&lt;P&gt;      else.&lt;/P&gt;&lt;P&gt;        itab-bwart = s_bwart-low.&lt;/P&gt;&lt;P&gt;        append itab.&lt;/P&gt;&lt;P&gt;      endif. &lt;/P&gt;&lt;P&gt;     endif.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Amole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2006 14:37:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-from-select-option/m-p/1546228#M248331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-07T14:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: getting values from select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-from-select-option/m-p/1546229#M248332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I misunderstood the question.  If the user is using your select option to provide a range and you need all values within that range, then use the solution provided by Santosh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2006 14:38:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-from-select-option/m-p/1546229#M248332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-07T14:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: getting values from select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-from-select-option/m-p/1546230#M248333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Neha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can be achieved but why do you want to move all the values between s_bwart-low and high into an internal table. What is the exact requirement? Select-options allows you to choose the value as per your requirement.&lt;/P&gt;&lt;P&gt;Like...&lt;/P&gt;&lt;P&gt;- you can select between low and high.&lt;/P&gt;&lt;P&gt;- you can select two or more distinct values by selecting the arrow and filling the values in the table control. thus the selection only contains the values filled in there.&lt;/P&gt;&lt;P&gt;- you can choose excluing any value... and so on.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select bwart 
  from &amp;lt;table&amp;gt; 
  into table itab 
 where bwart in s_bwart.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Richa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2006 14:38:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-from-select-option/m-p/1546230#M248333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-07T14:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: getting values from select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-from-select-option/m-p/1546231#M248334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, when using SELECT-OPTIONS, use can pretty much do any kind of selection he wants, including ranges, and excluding values, so the best way to handle it is to select from the data base when the user executes the report.  for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: begin of ibwart occurs 0,
      bwart type mseg-bwart,
      end of ibwart.

select-options: s_Bwart for mseg-bwart.

start-of-selection.

select bwart into table ibwart 
           from &amp;lt;b&amp;gt;T156&amp;lt;/b&amp;gt;
                 where bwart in s_bwart.&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>Thu, 07 Sep 2006 14:39:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-from-select-option/m-p/1546231#M248334</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-09-07T14:39:59Z</dc:date>
    </item>
  </channel>
</rss>

