<?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 loop through organization unit selected in select options in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-through-organization-unit-selected-in-select-options/m-p/2069745#M428576</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i need to get all organization units selected in select options(i have a table with sign, option, low, high fields). Is there any function module or should i use st like:&lt;/P&gt;&lt;P&gt; - with fm SELECT_OBJECTS_FOR_OTYPE get all org units and from this units take all units which corresponds selection criteria? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;JJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Mar 2007 13:53:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-26T13:53:29Z</dc:date>
    <item>
      <title>loop through organization unit selected in select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-through-organization-unit-selected-in-select-options/m-p/2069745#M428576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i need to get all organization units selected in select options(i have a table with sign, option, low, high fields). Is there any function module or should i use st like:&lt;/P&gt;&lt;P&gt; - with fm SELECT_OBJECTS_FOR_OTYPE get all org units and from this units take all units which corresponds selection criteria? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;JJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 13:53:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-through-organization-unit-selected-in-select-options/m-p/2069745#M428576</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T13:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: loop through organization unit selected in select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-through-organization-unit-selected-in-select-options/m-p/2069746#M428577</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;It's not recommendet to process a select option within a LOOP. There are many options, which makes it though to process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try always using the "IN" statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: &lt;/P&gt;&lt;P&gt;SELECT * FROM t001&lt;/P&gt;&lt;P&gt;INTO TABLE gt_t001&lt;/P&gt;&lt;P&gt;WHERE bukrs IN so_bukrs.   "&amp;lt;&amp;lt;&amp;lt; IN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ANd after a select like this, you can use the internal table, with the FOR ALL ENTRIES, during other selects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 14:17:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-through-organization-unit-selected-in-select-options/m-p/2069746#M428577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T14:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: loop through organization unit selected in select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-through-organization-unit-selected-in-select-options/m-p/2069747#M428578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you want the Org. Units entered in the Select-options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can use the select-option itself for that naaa....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is having the 4 fields you have soecified and you can use select-options as a normal internal table....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 14:19:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-through-organization-unit-selected-in-select-options/m-p/2069747#M428578</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T14:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: loop through organization unit selected in select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-through-organization-unit-selected-in-select-options/m-p/2069748#M428579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But what to do when user selects some interval of ids?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 14:58:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-through-organization-unit-selected-in-select-options/m-p/2069748#M428579</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T14:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: loop through organization unit selected in select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-through-organization-unit-selected-in-select-options/m-p/2069749#M428580</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;You can use Between condition in Where class.&lt;/P&gt;&lt;P&gt; Ex.&lt;/P&gt;&lt;P&gt;select fields from table where field between select-option-low and select-option-high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 15:21:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-through-organization-unit-selected-in-select-options/m-p/2069749#M428580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T15:21:59Z</dc:date>
    </item>
  </channel>
</rss>

