<?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: Measuring Performance of the Program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/measuring-performance-of-the-program/m-p/2321361#M509675</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you need to test at peak time ,use ST05 transaction to find out time taken by each query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else if you get chance to move dummy program to prd system,then use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;get run time field f1. statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the example program..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables : mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : f1 type i,&lt;/P&gt;&lt;P&gt;       f2 type i,&lt;/P&gt;&lt;P&gt;       f3 type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;get run time field f1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from mara into mara.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;get run time field f2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f3 = f2 - f1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/ f3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if possible create secondary index and then use in ur select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 May 2007 14:59:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-23T14:59:12Z</dc:date>
    <item>
      <title>Measuring Performance of the Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/measuring-performance-of-the-program/m-p/2321357#M509671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is an task of  resolving the performance issue with an Report Program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's taking long time in the production system .&lt;/P&gt;&lt;P&gt;I Optimized the code by placing a few select stmts  and a nested loop outside  the loop in which they were.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like measure in terms of time taken in the foreground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I measure using SE30 , the Test data being the same , it gives different results on different  runs and  .I suppose it becoz of other transactions  taking the Servers time. And the same with SM36.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to test the performance of  the code in terms of execution time  without the disturbance of the other transactions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 14:23:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/measuring-performance-of-the-program/m-p/2321357#M509671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T14:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Measuring Performance of the Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/measuring-performance-of-the-program/m-p/2321358#M509672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think so actually, because as long as the report is executed inside R/3, all running processes should affect the performance of your report....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SE30 is a good tool, and difference between runs should not be that bigger....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to use Field-Symbols on your LOOPS....Don't use Nested Loops, Don't use SELECT-ENDSELECT stmts.....and try to find all keys and indexes for Data access....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 14:31:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/measuring-performance-of-the-program/m-p/2321358#M509672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T14:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: Measuring Performance of the Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/measuring-performance-of-the-program/m-p/2321359#M509673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also use the ST05 to optimise your SQL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 14:36:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/measuring-performance-of-the-program/m-p/2321359#M509673</guid>
      <dc:creator>alex_m</dc:creator>
      <dc:date>2007-05-23T14:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Measuring Performance of the Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/measuring-performance-of-the-program/m-p/2321360#M509674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you'll find that quite often a statement runs much more quickly the second time it is executed due to non SAP buffering. See the following to see how I get around it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/rob.burbank/blog/2006/11/16/performance--what-will-kill-you-and-what-will-leave-you-with-only-a-flesh-wound&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 14:41:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/measuring-performance-of-the-program/m-p/2321360#M509674</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T14:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Measuring Performance of the Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/measuring-performance-of-the-program/m-p/2321361#M509675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you need to test at peak time ,use ST05 transaction to find out time taken by each query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else if you get chance to move dummy program to prd system,then use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;get run time field f1. statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the example program..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables : mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : f1 type i,&lt;/P&gt;&lt;P&gt;       f2 type i,&lt;/P&gt;&lt;P&gt;       f3 type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;get run time field f1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from mara into mara.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;get run time field f2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f3 = f2 - f1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/ f3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if possible create secondary index and then use in ur select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 14:59:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/measuring-performance-of-the-program/m-p/2321361#M509675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T14:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Measuring Performance of the Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/measuring-performance-of-the-program/m-p/2321362#M509676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to the transaction ST05 and Click on the Option "TRACE ON".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to your report's transaction, run the report,  go back to ST05 and click on the option "TRACE OFF".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this, click on  "LIST TRACE" and you will be able to see the detail of the SQL comands you ahve executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can change the Trace Modes on ST05 to ahve more/less detail on your performance tracing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 15:04:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/measuring-performance-of-the-program/m-p/2321362#M509676</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T15:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Measuring Performance of the Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/measuring-performance-of-the-program/m-p/2321363#M509677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alvaro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run in the fore ground it is getting timed out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when I run it in the Back Grnd (SM 36)  the execution time is varying from 8 secs to 5719 sec which is huge diff. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even I wonder how is that happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 15:47:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/measuring-performance-of-the-program/m-p/2321363#M509677</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T15:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Measuring Performance of the Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/measuring-performance-of-the-program/m-p/2321364#M509678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;time set up by basis for foreground and back ground..&lt;/P&gt;&lt;P&gt;for ur program max it will run 1 hour to 2 hour in foreground..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to run tst system by using st05 and you could find out time taken by each query&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 16:32:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/measuring-performance-of-the-program/m-p/2321364#M509678</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T16:32:13Z</dc:date>
    </item>
  </channel>
</rss>

