<?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 sql trace in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-trace/m-p/1989863#M403924</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is SQL Trace?tell me plz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 03 Mar 2007 19:01:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-03T19:01:07Z</dc:date>
    <item>
      <title>sql trace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-trace/m-p/1989863#M403924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is SQL Trace?tell me plz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Mar 2007 19:01:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-trace/m-p/1989863#M403924</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-03T19:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: sql trace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-trace/m-p/1989864#M403925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dharmpal, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              SQL Trace is a Performance trace function for monitoring and analyzing SQL statements used in reports and transactions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Award points if it helps and close the thread. &lt;/P&gt;&lt;P&gt;You can award points in left column which will be shown in stars&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Br,&lt;/P&gt;&lt;P&gt;Laxmi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Mar 2007 19:07:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-trace/m-p/1989864#M403925</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-03T19:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: sql trace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-trace/m-p/1989865#M403926</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;ST05 -&amp;gt; SQL Trace can be used for performing SQL statement analysis..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/17/358df9c9fee2469105731e10756921/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/17/358df9c9fee2469105731e10756921/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Mar 2007 20:53:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-trace/m-p/1989865#M403926</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-03T20:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: sql trace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-trace/m-p/1989866#M403927</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;Well using SQL trace&lt;/P&gt;&lt;P&gt;like as follows: &lt;/P&gt;&lt;P&gt;Goto transaction ST05. Press TRACE ON.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execute your transaction .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Come back to this screen and click TRACE OFF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then check the trace details.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------" /&gt;&lt;P&gt;You end up getting unnecessary details &lt;/P&gt;&lt;P&gt;Lets say you have to analyze your particular SQL query, &lt;/P&gt;&lt;P&gt;1. put a breakpoint at the select statement and execute the transaction , as it stops at your breakpoint , run SQL trace in seperate session.&lt;/P&gt;&lt;P&gt;2. Trace ON&lt;/P&gt;&lt;P&gt;3. Execute the select statement.&lt;/P&gt;&lt;P&gt;4. Trace OFF&lt;/P&gt;&lt;P&gt;5. Analyze.&lt;/P&gt;&lt;P&gt;In this way you can analyze your particular select query &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls check links like:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/17/358df9c9fee2469105731e10756921/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/17/358df9c9fee2469105731e10756921/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_bw30b/helpdata/en/d1/801f89454211d189710000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_bw30b/helpdata/en/d1/801f89454211d189710000e8322d00/frameset.htm&lt;/A&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;&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 analyze database select statements. Simply execute ST05 to turn on SQL trace, then execute the statement/program you want to analyze. Now turn off SQL trace using ST05 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And click on list trace to view the details.&lt;/P&gt;&lt;P&gt;Authorization trace analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Open two sessions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Execute transaction ST01 in one of the sessions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Select the authorization checkbox, note the other traces &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can perform (SQL, RFC, Table Buffer etc) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Click the 'Trace On' button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Within your other session execute the transaction/report &lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;6. Return to the session where you turned the trace on and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;click on 'Trace Off' otherwise it will continue to record all authorization checks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7. Click on the 'Analysis' button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8. Enter appropriate data into selection screen such as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Username, type of trace records (i.e. Authorization check) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9. Click on the Execute button. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10. Report displaying trace results will now be displayed&lt;/P&gt;&lt;P&gt;GO THROUGH THIS&lt;/P&gt;&lt;P&gt;Tools provided for Performance Analysis&lt;/P&gt;&lt;P&gt;Following are the different tools provided by SAP for performance analysis of an ABAP object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls:award points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nidhi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Mar 2007 21:11:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-trace/m-p/1989866#M403927</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-03T21:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: sql trace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-trace/m-p/1989867#M403928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NICE INFO NIDHI................&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Mar 2008 17:56:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-trace/m-p/1989867#M403928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-30T17:56:11Z</dc:date>
    </item>
  </channel>
</rss>

