<?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: Running performance trace in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-performance-trace/m-p/3300851#M790175</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It should all be in the help file (ST05) I posted the link to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, what I do is open two sessions. In one, strart ST05. In the other your program. If you know where the problem in the program lies, you can execute to that point. Activate the trace when you reach the point in the program you want to check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jan 2008 21:04:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-22T21:04:33Z</dc:date>
    <item>
      <title>Running performance trace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-performance-trace/m-p/3300845#M790169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All:&lt;/P&gt;&lt;P&gt;      I have a Z program with some performance issues and I would like to run performance trace on the program to see where I could optimize it. Could someone please tell me how I should go about this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Mithun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Jan 22, 2008 3:53 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2008 20:47:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-performance-trace/m-p/3300845#M790169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-22T20:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Running performance trace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-performance-trace/m-p/3300846#M790170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can start with transaction ST05.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And see:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Performance Trace|http://help.sap.com/saphelp_47x200/helpdata/EN/d1/801f7c454211d189710000e8322d00/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Jan 22, 2008 3:58 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2008 20:55:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-performance-trace/m-p/3300846#M790170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-22T20:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Running performance trace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-performance-trace/m-p/3300847#M790171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use &lt;STRONG&gt;ST05&lt;/STRONG&gt; &lt;STRONG&gt;SE30&lt;/STRONG&gt; and &lt;STRONG&gt;ST04&lt;/STRONG&gt; transacctions...Best thing is to analyse the Database plan in order to fix access to the data. Sometimes a simple index can boost you program in 50% -;)&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>Tue, 22 Jan 2008 20:56:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-performance-trace/m-p/3300847#M790171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-22T20:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Running performance trace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-performance-trace/m-p/3300848#M790172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone for the feedback. Should I run the trace first and then execute Z program? What are the sequence of actions I need to do? Sorry, I am new to ABAP and appreciate your feedback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Mithun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2008 20:59:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-performance-trace/m-p/3300848#M790172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-22T20:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Running performance trace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-performance-trace/m-p/3300849#M790173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the blog on SQL Trace&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/siegfried.boes/blog/2007/09/05/the-sql-trace-st05-150-quick-and-easy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check the blog on SE30 (Runtime Analysis)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/siegfried.boes/blog/2007/11/13/the-abap-runtime-trace-se30--quick-and-easy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to Start the Trace, Run the Program, Stop the Trace and then List Trace.&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;Abhishek Jolly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Abhishek Jolly on Jan 22, 2008 10:01 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2008 21:00:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-performance-trace/m-p/3300849#M790173</guid>
      <dc:creator>former_member195698</dc:creator>
      <dc:date>2008-01-22T21:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Running performance trace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-performance-trace/m-p/3300850#M790174</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;&lt;/P&gt;&lt;P&gt;SQL trace(ST05) provides the developer with the ability to analyse database select statements. Simply execute ST05&lt;/P&gt;&lt;P&gt;to turn on SQL trace, then execute the statement/program you want to analyse. Now turn off SQL trace using ST05&lt;/P&gt;&lt;P&gt;and click on list trace to view the details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also perform traces on other items such as authorisation objects.&lt;/P&gt;&lt;P&gt;Authorisation trace analysis 1. Open two sessions&lt;/P&gt;&lt;P&gt;2. Execute transaction ST01 in one of the sessions&lt;/P&gt;&lt;P&gt;3. Select the authorisation checkbox, note the other traces&lt;/P&gt;&lt;P&gt;you can perform (SQL, RFC, Table Buffer etc)&lt;/P&gt;&lt;P&gt;4. Click the 'Trace On' button&lt;/P&gt;&lt;P&gt;5. Within your other session execte the transaction/report&lt;/P&gt;&lt;P&gt;you want to trace or get the user in question to do it&lt;/P&gt;&lt;P&gt;6. Return to the session where you turned the trace on and&lt;/P&gt;&lt;P&gt;click on 'Trace Off' otherwise it will continue to record&lt;/P&gt;&lt;P&gt;all athorisation checks&lt;/P&gt;&lt;P&gt;7. Click on the 'Analysis' button&lt;/P&gt;&lt;P&gt;8. Enter appropriate data into selection screen such as&lt;/P&gt;&lt;P&gt;Username, type of trace records (i.e. Authorization check)&lt;/P&gt;&lt;P&gt;9. Click on the Execute button.&lt;/P&gt;&lt;P&gt;10. Report displaying trace results will now be displayed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/perform/perform_sqltrace.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/perform/perform_sqltrace.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some useful transaction related to this are ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ST01 SAP system trace&lt;/P&gt;&lt;P&gt;ST02 Buffer statistics.&lt;/P&gt;&lt;P&gt;ST03 Workload analysis.&lt;/P&gt;&lt;P&gt;ST04 Database performance analysis.&lt;/P&gt;&lt;P&gt;ST05 SQL trace .&lt;/P&gt;&lt;P&gt;ST06 Operating system monitor ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the recorded SQL trace you can deduce:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;· Which SQL statements your application carries out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;· Which values the system uses for specific database accesses and changes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;· How the system translates ABAP OPEN SQL commands (such as&lt;/P&gt;&lt;P&gt;SELECT) into standard SQL commands&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;· Where your application positions COMMIT statements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;· Where your application makes repeated database accesses&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;· What database accesses or changes occur in the update section of your&lt;/P&gt;&lt;P&gt;application&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the below links, you will get the idea&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/d1/801f89454211d189710000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/d1/801f89454211d189710000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapbrain.com/TOOLS/SQLTRACE/SQL_TRACE.html" target="test_blank"&gt;http://www.sapbrain.com/TOOLS/SQLTRACE/SQL_TRACE.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the following links:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapbrainsonline.com/TOOLS/RUNTIMEanalysis/SAP_runtime_analysis.html" target="test_blank"&gt;http://www.sapbrainsonline.com/TOOLS/RUNTIMEanalysis/SAP_runtime_analysis.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapbrainsonline.com/TOOLS/SQLTRACE/SQL_TRACE.html" target="test_blank"&gt;http://www.sapbrainsonline.com/TOOLS/SQLTRACE/SQL_TRACE.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;shashikanth naram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2008 21:02:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-performance-trace/m-p/3300850#M790174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-22T21:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Running performance trace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-performance-trace/m-p/3300851#M790175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It should all be in the help file (ST05) I posted the link to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, what I do is open two sessions. In one, strart ST05. In the other your program. If you know where the problem in the program lies, you can execute to that point. Activate the trace when you reach the point in the program you want to check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2008 21:04:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-performance-trace/m-p/3300851#M790175</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-22T21:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Running performance trace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-performance-trace/m-p/3300852#M790176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also try Code Inspector (Tcode SCI ), it will give the SQL statements in your program which are not using Indexes&lt;/P&gt;&lt;P&gt;(These queries might be the potential Performance degrader)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regard,&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2008 21:06:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-performance-trace/m-p/3300852#M790176</guid>
      <dc:creator>former_member195698</dc:creator>
      <dc:date>2008-01-22T21:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Running performance trace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/running-performance-trace/m-p/3300853#M790177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone for the feedback. I rewarded full points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mithun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2008 21:16:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/running-performance-trace/m-p/3300853#M790177</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-22T21:16:45Z</dc:date>
    </item>
  </channel>
</rss>

