<?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 Loop in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-loop/m-p/6237045#M1381571</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="thread" id="1283414"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check with SE30 where your code spends the time, make sure you use a TYPE SORTED TABLE for the inner loop, sort key according to the where-condition.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Sep 2009 07:18:45 GMT</pubDate>
    <dc:creator>ThomasZloch</dc:creator>
    <dc:date>2009-09-28T07:18:45Z</dc:date>
    <item>
      <title>Nested Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-loop/m-p/6237043#M1381569</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;For every record in Outer loop i have to loop through internal table with date range to get total (from all the records that fall in date range) , i could do this but the problem is taking longtime 15min per data set, is there way we can improve . Though i have optimized the code to any extent but time remains same inspite clearing tables. Below are the SM50 Details if helps.&lt;/P&gt;&lt;P&gt;Roll In                             0                   0&lt;/P&gt;&lt;P&gt;Roll Out                            0                   0&lt;/P&gt;&lt;P&gt;Roll                          229,376  (Bytes)&lt;/P&gt;&lt;P&gt;Page                           24,576  (Bytes)&lt;/P&gt;&lt;P&gt;Memory (Total)                             96,395,984  (Bytes)&lt;/P&gt;&lt;P&gt;Memory(Total Private)                               0  (Bytes)&lt;/P&gt;&lt;P&gt;Memory (used)                              88,013,664  (Bytes)&lt;/P&gt;&lt;P&gt;Memory (Max. Transaction)                  96,395,984  (Bytes)&lt;/P&gt;&lt;P&gt;Memory (Max. Dialog Step)                  96,395,984  (Bytes)&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kunal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Sep 2009 19:54:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-loop/m-p/6237043#M1381569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-27T19:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-loop/m-p/6237044#M1381570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I feel it would be better if you could post your code, just in case if there is a room to improve the performance in the coding which you might not be aware of.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Sep 2009 20:12:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-loop/m-p/6237044#M1381570</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-27T20:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-loop/m-p/6237045#M1381571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="thread" id="1283414"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check with SE30 where your code spends the time, make sure you use a TYPE SORTED TABLE for the inner loop, sort key according to the where-condition.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2009 07:18:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-loop/m-p/6237045#M1381571</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2009-09-28T07:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nested-loop/m-p/6237046#M1381572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if both tables are as bellow reply you can use this logic&lt;/P&gt;&lt;P&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="8218071"&gt;&lt;/A&gt;|&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="8218071"&gt;&lt;/A&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;nafran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2009 06:15:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nested-loop/m-p/6237046#M1381572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-29T06:15:32Z</dc:date>
    </item>
  </channel>
</rss>

