<?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 in select options in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-select-options/m-p/3955589#M945345</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;loop at S_VENDO.&lt;/P&gt;&lt;P&gt;use S_VENDO-low &lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know if u have any question.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kinjal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jun 2008 00:17:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-06T00:17:31Z</dc:date>
    <item>
      <title>Loop in select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-select-options/m-p/3955582#M945338</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;&lt;/P&gt;&lt;P&gt;In DEV in debugging mode, S_VENDO is showing three entries but&lt;/P&gt;&lt;P&gt; in PRD in debugging mode it shows one table entry.&lt;/P&gt;&lt;P&gt;and thats why looping in not happening in PRD properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am inserting three entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how to loop in select option field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Anurodh Jindal on Jun 5, 2008 1:32 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2008 11:32:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-select-options/m-p/3955582#M945338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-05T11:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Loop in select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-select-options/m-p/3955583#M945339</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;data: s_sel like line of &amp;lt;select-option name&amp;gt;.&lt;/P&gt;&lt;P&gt;loop at &amp;lt;select-option name&amp;gt; into s_sel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*write your code&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;select option is an internal table without header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2008 11:35:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-select-options/m-p/3955583#M945339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-05T11:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Loop in select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-select-options/m-p/3955584#M945340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Buddy,&lt;/P&gt;&lt;P&gt;               Pls elaborate on your query...what is s_vendno etc etc..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nayan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2008 11:36:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-select-options/m-p/3955584#M945340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-05T11:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Loop in select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-select-options/m-p/3955585#M945341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Better if U have all the entries in S_VENDO-low ..&lt;/P&gt;&lt;P&gt;loop at S_VENDO.&lt;/P&gt;&lt;P&gt;use ...   S_VENDO-low to pass &lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2008 11:40:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-select-options/m-p/3955585#M945341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-05T11:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Loop in select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-select-options/m-p/3955586#M945342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you looking in the new debugger? Try entering the table &lt;STRONG&gt;S_VENDO[]&lt;/STRONG&gt; in the debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2008 11:43:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-select-options/m-p/3955586#M945342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-05T11:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Loop in select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-select-options/m-p/3955587#M945343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in debugging it shows like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SIGN    OPTION LOW  HIGH&lt;/P&gt;&lt;P&gt;I             BT         600       603&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and thats why loop read 1 st entry i.e 600 only and after that it terminate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to make them read all entries&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2008 11:44:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-select-options/m-p/3955587#M945343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-05T11:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Loop in select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-select-options/m-p/3955588#M945344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anurodh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You really need to post the code you are trying to debug.  What you are stating doesn't make a lot of sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The select-option field is generally used as a RANGE in IF, CHECK, SELECT and others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why would you want to loop thru this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are building this range in the INITIALIZATION section, or AT SELECT-SCREEN OUTPUT,  Might be better to write each line to the RANGE it self.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You also may want to check and see if the the records actually exist in your PRD system.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2008 11:51:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-select-options/m-p/3955588#M945344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-05T11:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Loop in select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-select-options/m-p/3955589#M945345</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;loop at S_VENDO.&lt;/P&gt;&lt;P&gt;use S_VENDO-low &lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know if u have any question.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kinjal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 00:17:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-select-options/m-p/3955589#M945345</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T00:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Loop in select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-select-options/m-p/3955590#M945346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;Hi Anurodh,&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;I have a similar problem in my program.&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;//&amp;nbsp;&amp;nbsp; in debugging it shows like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;SIGN&amp;nbsp;&amp;nbsp;&amp;nbsp; OPTION LOW&amp;nbsp; HIGH&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;I&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 600&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 603&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;and thats why loop read 1 st entry i.e 600 only and after that it terminate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;I have to make them read all entries //&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;What was the solution you used to solve this issue. Kindly reply. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Apr 2014 07:54:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-select-options/m-p/3955590#M945346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-27T07:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Loop in select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-select-options/m-p/3955591#M945347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let us know why you need to loop in the range table as you can directly use it in your query or condition. Still if you want to loop, you will have to check the low as well as high values, and then adjust the loop accordingly. For ex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;LOOP &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;AT &lt;/SPAN&gt;s&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;vendo &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;ls_vendo&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; lv_vendo &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;s_vendo&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;low&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;s_vendo&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;high &lt;SPAN class="L0S52"&gt;IS &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;NOT &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;INITIAL&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;WHILE &lt;/SPAN&gt;lv_vendo &amp;lt;= s&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;vendo&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;high&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S31"&gt;"write your code here using lv_vendo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lv_vendo &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;lv_vendo + &lt;SPAN class="L0S32"&gt;1&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDWHILE&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ELSE&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S31"&gt;"write your code here using lv_vendo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Let me know if you have any further doubts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Rachna&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 09:03:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-select-options/m-p/3955591#M945347</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-28T09:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Loop in select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-select-options/m-p/3955592#M945348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rachna,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks a lot for your reply.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Yes, in the current requirement, I cannot use the Select Value in where condition and so, I will have to loop it.&lt;/P&gt;&lt;P&gt;I solved the issue in an other way.&lt;/P&gt;&lt;P&gt;Collected all the user values in a Select-option which has restrictions placed on it, allowing only multiple low values. (I used an FM Select_options_restrict). I then looped the Select table and processed the further code. There by, arrived at the right output.&lt;/P&gt;&lt;P&gt;Thanks again, Cheers &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/748/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 20:04:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-select-options/m-p/3955592#M945348</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-29T20:04:07Z</dc:date>
    </item>
  </channel>
</rss>

