<?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: Nested Loops in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-loops/m-p/2681972#M619976</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loops &lt;/P&gt;&lt;P&gt;In a loop, a statement block is executed several times in succession. There are four kinds of loops in ABAP:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Unconditional loops using the DO statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Conditional loops using the WHILE statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Loops through internal tables and extract datasets using the LOOP statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Loops through datasets from database tables using the SELECT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This section deals with DO and WHILE loops. SELECT is an Open SQL statement, and is described in the Open SQLsection. The LOOP statement is described in the sections on internal tables and extract datasets.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb3564358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb3564358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Aug 2007 15:11:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-22T15:11:11Z</dc:date>
    <item>
      <title>Nested Loops</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-loops/m-p/2681967#M619971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; 	WHAT R THE EFFECTS OF ISSUING NESTED LOOPS STATEMENTS INSIDE A PROGRAM?HOW TO OVERCOME THAT PROBLEM?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 08:36:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-loops/m-p/2681967#M619971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T08:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Loops</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-loops/m-p/2681968#M619972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hI Basu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use read statement instead of loop....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please close u r previous threads which are opened&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 08:41:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-loops/m-p/2681968#M619972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T08:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Loops</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-loops/m-p/2681969#M619973</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 will affect on performance, so use read statement within loop instead of nested loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 09:14:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-loops/m-p/2681969#M619973</guid>
      <dc:creator>former_member386202</dc:creator>
      <dc:date>2007-08-22T09:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Loops</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-loops/m-p/2681970#M619974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In nested loop &lt;/P&gt;&lt;P&gt;for every outer loop, it wants to match the inner loop.&lt;/P&gt;&lt;P&gt;so no of hit is MxN.&lt;/P&gt;&lt;P&gt;u should avoid it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 13:43:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-loops/m-p/2681970#M619974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T13:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Loops</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-loops/m-p/2681971#M619975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select from table1 to an internal table it1.&lt;/P&gt;&lt;P&gt;select from table2 to an internal table it2 for all entries in table it1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now &lt;/P&gt;&lt;P&gt;loop at it2.&lt;/P&gt;&lt;P&gt;read table it1 matching common key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;put inanother internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 13:46:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-loops/m-p/2681971#M619975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T13:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Loops</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-loops/m-p/2681972#M619976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loops &lt;/P&gt;&lt;P&gt;In a loop, a statement block is executed several times in succession. There are four kinds of loops in ABAP:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Unconditional loops using the DO statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Conditional loops using the WHILE statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Loops through internal tables and extract datasets using the LOOP statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Loops through datasets from database tables using the SELECT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This section deals with DO and WHILE loops. SELECT is an Open SQL statement, and is described in the Open SQLsection. The LOOP statement is described in the sections on internal tables and extract datasets.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb3564358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb3564358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 15:11:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-loops/m-p/2681972#M619976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T15:11:11Z</dc:date>
    </item>
  </channel>
</rss>

