<?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: How to avoid nested loops(if the inner loop also multiple records) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-nested-loops-if-the-inner-loop-also-multiple-records/m-p/1723709#M315660</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Govinda,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Please see the already posted thread&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="124922"&gt;&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sekhar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Nov 2006 07:40:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-22T07:40:55Z</dc:date>
    <item>
      <title>How to avoid nested loops(if the inner loop also multiple records)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-nested-loops-if-the-inner-loop-also-multiple-records/m-p/1723707#M315658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;                 I am using loop inside loop giving timing out so in this case how i will avoid loop inside loop since the inner loop also having so many records. I heard that some parallel cursor concept but i dont know about that .&lt;/P&gt;&lt;P&gt;Can you please suggest how to avoind nested loop with some example&lt;/P&gt;&lt;P&gt;Points will be award and your answers are highly appreciable&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Govind&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2006 07:23:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-nested-loops-if-the-inner-loop-also-multiple-records/m-p/1723707#M315658</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-22T07:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid nested loops(if the inner loop also multiple records)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-nested-loops-if-the-inner-loop-also-multiple-records/m-p/1723708#M315659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out the link.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb3b23358411d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb3b23358411d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2084321"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="586144"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2351489"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1290733"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2006 07:25:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-nested-loops-if-the-inner-loop-also-multiple-records/m-p/1723708#M315659</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-22T07:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid nested loops(if the inner loop also multiple records)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-nested-loops-if-the-inner-loop-also-multiple-records/m-p/1723709#M315660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Govinda,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Please see the already posted thread&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="124922"&gt;&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sekhar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2006 07:40:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-nested-loops-if-the-inner-loop-also-multiple-records/m-p/1723709#M315660</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-22T07:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid nested loops(if the inner loop also multiple records)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-nested-loops-if-the-inner-loop-also-multiple-records/m-p/1723710#M315661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Govind!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is also a nice weblog &amp;lt;a href="/people/rob.burbank/blog/2006/02/07/performance-of-nested-loops"&amp;gt;'Performance of Nested Loops'&amp;lt;/a&amp;gt; with coding example from Rob. Have a look. The nested loop itself isn't the problem, you just should use binary search or an internal table of type 'sorted'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2006 09:07:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-nested-loops-if-the-inner-loop-also-multiple-records/m-p/1723710#M315661</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2006-11-22T09:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid nested loops(if the inner loop also multiple records)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-nested-loops-if-the-inner-loop-also-multiple-records/m-p/1723711#M315662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of using loop inside loop,&lt;/P&gt;&lt;P&gt;use loop and read statement.&lt;/P&gt;&lt;P&gt;if both the tables have some common key then use the keyoption else use the index and increment the index after readind.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at ITAB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    read table ITAB2 with  key or&lt;/P&gt;&lt;P&gt;    read table ITAB2 INDEX count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   count  =  count + 1.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2006 09:35:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-nested-loops-if-the-inner-loop-also-multiple-records/m-p/1723711#M315662</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-22T09:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid nested loops(if the inner loop also multiple records)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-nested-loops-if-the-inner-loop-also-multiple-records/m-p/1723712#M315663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;         I solved my problem and awarded the points also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Govind&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2006 06:28:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-nested-loops-if-the-inner-loop-also-multiple-records/m-p/1723712#M315663</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-23T06:28:09Z</dc:date>
    </item>
  </channel>
</rss>

