<?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 ST05 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/st05/m-p/2682095#M620028</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I'm using the ST05 to trace the table, I got the difference table everytime i trace in the same program.&lt;/P&gt;&lt;P&gt;Why can this happen?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Aug 2007 08:26:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-14T08:26:55Z</dc:date>
    <item>
      <title>ST05</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/st05/m-p/2682095#M620028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I'm using the ST05 to trace the table, I got the difference table everytime i trace in the same program.&lt;/P&gt;&lt;P&gt;Why can this happen?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 08:26:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/st05/m-p/2682095#M620028</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T08:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: ST05</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/st05/m-p/2682096#M620029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Are you running the same program everytime? or running the different programs?&lt;/P&gt;&lt;P&gt;If you run the same program everytime, where from different tables will come into the picture&lt;/P&gt;&lt;P&gt;See this and do again and see&lt;/P&gt;&lt;P&gt;SQL Trace &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;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Reward points for useful Answers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 08:37:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/st05/m-p/2682096#M620029</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T08:37:07Z</dc:date>
    </item>
  </channel>
</rss>

