<?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: loop thru select options in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427558#M542422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i hav to suplpy all these values to a variable in a function module thru export&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Karan Chopra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jun 2007 05:46:34 GMT</pubDate>
    <dc:creator>Karan_Chopra_</dc:creator>
    <dc:date>2007-06-20T05:46:34Z</dc:date>
    <item>
      <title>loop thru select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427555#M542419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have to loop thru select option and assign all the values to a variable.&lt;/P&gt;&lt;P&gt;plz help me out&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 05:42:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427555#M542419</guid>
      <dc:creator>Karan_Chopra_</dc:creator>
      <dc:date>2007-06-20T05:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: loop thru select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427556#M542420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;plz help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 05:44:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427556#M542420</guid>
      <dc:creator>Karan_Chopra_</dc:creator>
      <dc:date>2007-06-20T05:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: loop thru select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427557#M542421</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;try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS s_plant FOR marc-werks .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;  s_plant-low =  '1000'.&lt;/P&gt;&lt;P&gt;  s_plant-high = '2000'.&lt;/P&gt;&lt;P&gt;  s_plant-sign = 'I'.&lt;/P&gt;&lt;P&gt;  s_plant-option = 'BT'.&lt;/P&gt;&lt;P&gt;  APPEND s_plant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if helpful,&lt;/P&gt;&lt;P&gt;seshu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 05:45:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427557#M542421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-20T05:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: loop thru select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427558#M542422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i hav to suplpy all these values to a variable in a function module thru export&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Karan Chopra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 05:46:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427558#M542422</guid>
      <dc:creator>Karan_Chopra_</dc:creator>
      <dc:date>2007-06-20T05:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: loop thru select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427559#M542423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First get all the records from database table for select option into a table and then loop through that internal table and assign to the variable you want..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can do like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT so_keyfu.&lt;/P&gt;&lt;P&gt;    ls_iobj-iobjnm = so_keyfu-low.&lt;/P&gt;&lt;P&gt;    APPEND ls_iobj TO lt_iobj.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 05:47:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427559#M542423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-20T05:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: loop thru select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427560#M542424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karan,&lt;/P&gt;&lt;P&gt;Do you need to loop at select option and capture these values in any variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dat a: l_var type select option filed.&lt;/P&gt;&lt;P&gt;if not s_input[] is initial.&lt;/P&gt;&lt;P&gt;Loop at s_input .&lt;/P&gt;&lt;P&gt;l_var = s_input-low.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;reward if helps.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 05:47:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427560#M542424</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2007-06-20T05:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: loop thru select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427561#M542425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am still not gettin guys ....sry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am able to loop only once even if i enter 20 values e.g &lt;/P&gt;&lt;P&gt;1 to 20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Karan Chopra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 05:49:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427561#M542425</guid>
      <dc:creator>Karan_Chopra_</dc:creator>
      <dc:date>2007-06-20T05:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: loop thru select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427562#M542426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;karan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : v_temp like marc-werks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS s_plant FOR marc-werks .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP At s_plant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      move s_plant-low to v_temp . &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;Don't forget to reward if useful...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 05:51:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427562#M542426</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-20T05:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: loop thru select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427563#M542427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;karan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;karan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : c like marc-werks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS s_plant FOR marc-werks .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP At s_plant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  move s_plant-low to v_temp . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call Function 'Name'&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;      export&lt;/P&gt;&lt;P&gt;          xcxcx  = v_temp.&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;Note : xcxcx  and v_temp should have same data type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to reward if useful...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 05:55:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427563#M542427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-20T05:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: loop thru select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427564#M542428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can loop at  select options and simultaneously move the values to variables&lt;/P&gt;&lt;P&gt; if it is of the type "I" "EQ". i.e. in the form of a range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This you can do as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report.&lt;/P&gt;&lt;P&gt;tables  vbak.&lt;/P&gt;&lt;P&gt;data: begin of t_vbeln occurs 0,&lt;/P&gt;&lt;P&gt;          vbeln type vbak-vbeln,&lt;/P&gt;&lt;P&gt;        end of t_vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options : s_vbeln for vbak-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at s_vbeln.&lt;/P&gt;&lt;P&gt;  t_vbeln-vbeln = s_vbeln-low.&lt;/P&gt;&lt;P&gt;  append t_vbeln.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here s_vbeln-low can also be assigned to a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I think, if however, the select options, is of the type I BT ie a value range like 100 to 200, then you have to code a logic with a counter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regs,&lt;/P&gt;&lt;P&gt;Sameer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 05:57:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427564#M542428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-20T05:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: loop thru select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427565#M542429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no it is not looping thru select option &lt;/P&gt;&lt;P&gt;the loop occurs only once even if i enter it for 20 values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 06:15:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427565#M542429</guid>
      <dc:creator>Karan_Chopra_</dc:creator>
      <dc:date>2007-06-20T06:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: loop thru select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427566#M542430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;try with this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just copy paste n run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: vbrk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options: s_plant for vbrk-bukrs.&lt;/P&gt;&lt;P&gt;types: begin of ty_plant,&lt;/P&gt;&lt;P&gt;bukrs type vbrk-bukrs,&lt;/P&gt;&lt;P&gt;end of ty_plant.&lt;/P&gt;&lt;P&gt;data: it_plant type standard table of ty_plant,&lt;/P&gt;&lt;P&gt;wa_plant type  ty_plant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;loop at s_plant.&lt;/P&gt;&lt;P&gt;move s_plant-low to wa_plant.&lt;/P&gt;&lt;P&gt;append wa_plant to it_plant.&lt;/P&gt;&lt;P&gt;clear wa_plant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move s_plant-high to wa_plant.&lt;/P&gt;&lt;P&gt;append wa_plant to it_plant.&lt;/P&gt;&lt;P&gt;clear wa_plant.&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;regards,&lt;/P&gt;&lt;P&gt;sudha.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 06:31:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427566#M542430</guid>
      <dc:creator>S0025444845</dc:creator>
      <dc:date>2007-06-20T06:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: loop thru select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427567#M542431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Forward to my previous answer..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to loop at a select option in which the values are like 1 to 200..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is NO DIRECT WAY of doing it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have to loop and select s_vbeln-low in a variable. (see my prev post)&lt;/P&gt;&lt;P&gt;then s_vbeln-high in another.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then put a logic to increment the values in a  DO-ENDDO loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;say it s_vbeln is 10 to 20.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do 10 times low (10) plus 1 (the difference) and move it to variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regs,&lt;/P&gt;&lt;P&gt;Sameer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 06:59:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427567#M542431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-20T06:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: loop thru select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427568#M542432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;still confused plzzz help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2007 05:03:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427568#M542432</guid>
      <dc:creator>Karan_Chopra_</dc:creator>
      <dc:date>2007-06-21T05:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: loop thru select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427569#M542433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;try with this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just copy paste n run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: vbrk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options: s_plant for vbrk-bukrs.&lt;/P&gt;&lt;P&gt;types: begin of ty_plant,&lt;/P&gt;&lt;P&gt;bukrs type vbrk-bukrs,&lt;/P&gt;&lt;P&gt;end of ty_plant.&lt;/P&gt;&lt;P&gt;data: it_plant type standard table of ty_plant,&lt;/P&gt;&lt;P&gt;wa_plant type ty_plant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;loop at s_plant.&lt;/P&gt;&lt;P&gt;move s_plant-low to wa_plant.&lt;/P&gt;&lt;P&gt;append wa_plant to it_plant.&lt;/P&gt;&lt;P&gt;clear wa_plant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move s_plant-high to wa_plant.&lt;/P&gt;&lt;P&gt;append wa_plant to it_plant.&lt;/P&gt;&lt;P&gt;clear wa_plant.&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;regards,&lt;/P&gt;&lt;P&gt;sudha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2007 05:23:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427569#M542433</guid>
      <dc:creator>S0025444845</dc:creator>
      <dc:date>2007-06-21T05:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: loop thru select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427570#M542434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its moving only high and low value into It_plant tableNOT all the values selected between them and looping only once&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2007 05:30:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427570#M542434</guid>
      <dc:creator>Karan_Chopra_</dc:creator>
      <dc:date>2007-06-21T05:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: loop thru select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427571#M542435</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;do like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from &amp;lt;dbtable&amp;gt; into table &amp;lt;itab&amp;gt; where keyfield in s_option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at  &amp;lt;itab&amp;gt; into &amp;lt;wa&amp;gt;.&lt;/P&gt;&lt;P&gt;move &amp;lt;wa&amp;gt; to &amp;lt;wa1&amp;gt;.&lt;/P&gt;&lt;P&gt;append &amp;lt;wa1&amp;gt; to &amp;lt;itab1&amp;gt;.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here in &amp;lt;itab1&amp;gt; we can find avbl fields from 1 to 20.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if useful,&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;seshu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2007 05:38:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427571#M542435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-21T05:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: loop thru select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427572#M542436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;then take the select option without intervals and do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;copy paste n run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_plant FOR vbrk-bukrs no intervals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF ty_plant,&lt;/P&gt;&lt;P&gt;bukrs TYPE vbrk-bukrs,&lt;/P&gt;&lt;P&gt;END OF ty_plant.&lt;/P&gt;&lt;P&gt;DATA: it_plant TYPE STANDARD TABLE OF ty_plant,&lt;/P&gt;&lt;P&gt;wa_plant TYPE  ty_plant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;  LOOP AT s_plant.&lt;/P&gt;&lt;P&gt;    MOVE s_plant-low TO wa_plant.&lt;/P&gt;&lt;P&gt;    APPEND wa_plant TO it_plant.&lt;/P&gt;&lt;P&gt;    CLEAR wa_plant.&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;regards,&lt;/P&gt;&lt;P&gt;sudha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2007 05:44:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427572#M542436</guid>
      <dc:creator>S0025444845</dc:creator>
      <dc:date>2007-06-21T05:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: loop thru select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427573#M542437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karan,&lt;/P&gt;&lt;P&gt;U r right .IT will loop only once if u loop at the select option.&lt;/P&gt;&lt;P&gt;What i guess u can do is select ur values not from the select option but from the table to which this select option corresponds.For ex.&lt;/P&gt;&lt;P&gt;###begin of code.&lt;/P&gt;&lt;P&gt;data:itab like mara occurs 0 with header line.&lt;/P&gt;&lt;P&gt;select-option:s_matnr for mara-matnr.&lt;/P&gt;&lt;P&gt;At selection screen.&lt;/P&gt;&lt;P&gt;select matnr &lt;/P&gt;&lt;P&gt;into corresponding fields of itab&lt;/P&gt;&lt;P&gt;from mara where matnr between s_matnr-low and S_matnr-high.&lt;/P&gt;&lt;P&gt;#end of code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after this i guess u will get ur values in the matnr field of table itab-matnr.&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2007 05:47:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427573#M542437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-21T05:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: loop thru select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427574#M542438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI karan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try like this.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: vbrk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options: s_plant for vbrk-bukrs.&lt;/P&gt;&lt;P&gt;types: begin of ty_plant,&lt;/P&gt;&lt;P&gt;bukrslow type vbrk-bukrs,&lt;/P&gt;&lt;P&gt;bukrshigh type vbrk-bukrs,&lt;/P&gt;&lt;P&gt;end of ty_plant.&lt;/P&gt;&lt;P&gt;data: it_plant type  table of ty_plant,&lt;/P&gt;&lt;P&gt;wa_plant type ty_plant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;loop at s_plant.&lt;/P&gt;&lt;P&gt;move s_plant-low to wa_plant-bukrslow.&lt;/P&gt;&lt;P&gt;move s_plant-low to wa_plant-bukrslow.&lt;/P&gt;&lt;P&gt;append wa_plant to it_plant.&lt;/P&gt;&lt;P&gt;clear wa_plant.&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;regards,&lt;/P&gt;&lt;P&gt;Ruchika&lt;/P&gt;&lt;P&gt;reward if useful...............&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2007 05:52:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-thru-select-options/m-p/2427574#M542438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-21T05:52:06Z</dc:date>
    </item>
  </channel>
</rss>

