<?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: Long Calculation within loops in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/long-calculation-within-loops/m-p/1990802#M404213</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a customised FI report.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Mar 2007 10:26:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-12T10:26:44Z</dc:date>
    <item>
      <title>Long Calculation within loops</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/long-calculation-within-loops/m-p/1990798#M404209</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;I'm facing problems with a FI report. The batch job took approx 4hours for one variant and some variants can't even complete on time. For this case, out of the 4hrs, only 1 hour is due to SQL access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've traced the 3hr performance problem to a form which does calculation and sum of figures within loops.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What could be the problem... or what would be a good way to further investigate this?&lt;/P&gt;&lt;P&gt;So far I have only done performance tuning for programs due to inefficient SQL statements.&lt;/P&gt;&lt;P&gt;So, this is something new to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2007 10:05:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/long-calculation-within-loops/m-p/1990798#M404209</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-12T10:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Long Calculation within loops</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/long-calculation-within-loops/m-p/1990799#M404210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Charles, &lt;/P&gt;&lt;P&gt;Check the link below which gives tips such as use of BinarySearch with  Read table . Also in on of the reports i created , i found that all the dynamic stmt's are time consuming. Hence i tried to avoid them as much as i can. Paste the code in the form routine also to investigate the problem further. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.thespot4sap.com/Articles/SAPABAPPerformanceTuning_PerformanceAnalysisTools.asp" target="test_blank"&gt;http://www.thespot4sap.com/Articles/SAPABAPPerformanceTuning_PerformanceAnalysisTools.asp&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2007 10:11:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/long-calculation-within-loops/m-p/1990799#M404210</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-12T10:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Long Calculation within loops</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/long-calculation-within-loops/m-p/1990800#M404211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;read is not the problem. it doesnt use read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;some of the key abap used are:&lt;/P&gt;&lt;P&gt;within loop. ..&lt;/P&gt;&lt;P&gt;at new.&lt;/P&gt;&lt;P&gt;sum&lt;/P&gt;&lt;P&gt;compute&lt;/P&gt;&lt;P&gt;modify&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what can cause several hours of processing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any experts? i'll reward generously. thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2007 10:19:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/long-calculation-within-loops/m-p/1990800#M404211</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-12T10:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Long Calculation within loops</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/long-calculation-within-loops/m-p/1990801#M404212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Liu , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which transaction u are running , tuning will be based on the transaction to transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2007 10:22:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/long-calculation-within-loops/m-p/1990801#M404212</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-12T10:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Long Calculation within loops</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/long-calculation-within-loops/m-p/1990802#M404213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a customised FI report.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2007 10:26:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/long-calculation-within-loops/m-p/1990802#M404213</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-12T10:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Long Calculation within loops</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/long-calculation-within-loops/m-p/1990803#M404214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;found something interesting...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's something to do with this code..&lt;/P&gt;&lt;P&gt;&amp;amp; i think is the get time field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM timestamp  USING    value(itext) TYPE c.&lt;/P&gt;&lt;P&gt;  GET TIME FIELD ts-uzeit.&lt;/P&gt;&lt;P&gt;  MOVE sy-datum TO ts-datum.&lt;/P&gt;&lt;P&gt;  MOVE itext TO ts-event.&lt;/P&gt;&lt;P&gt;  APPEND ts. CLEAR ts.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  IF sy-batch EQ x&lt;/P&gt;&lt;P&gt;  OR write_ts EQ x.&lt;/P&gt;&lt;P&gt;    MESSAGE s020(nn) "&amp;amp;&lt;/P&gt;&lt;P&gt;     WITH itext.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 07:41:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/long-calculation-within-loops/m-p/1990803#M404214</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T07:41:13Z</dc:date>
    </item>
  </channel>
</rss>

