Skip to Content
author's profile photo Former Member
Former Member

ABOUT ST05

Hai friends,

<b>give me procedure how to use ST05</b>

Regards

kishore

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2007 at 08:50 AM

    Hi

    SQL Trace

    SQL trace(ST05) provides the developer with the ability to analyse database select statements. Simply execute ST05

    to turn on SQL trace, then execute the statement/program you want to analyse. Now turn off SQL trace using ST05

    and click on list trace to view the details.

    You can also perform traces on other items such as authorisation objects.

    Authorisation trace analysis 1. Open two sessions

    2. Execute transaction ST01 in one of the sessions

    3. Select the authorisation checkbox, note the other traces

    you can perform (SQL, RFC, Table Buffer etc)

    4. Click the 'Trace On' button

    5. Within your other session execte the transaction/report

    you want to trace or get the user in question to do it

    6. Return to the session where you turned the trace on and

    click on 'Trace Off' otherwise it will continue to record

    all athorisation checks

    7. Click on the 'Analysis' button

    8. Enter appropriate data into selection screen such as

    Username, type of trace records (i.e. Authorization check)

    9. Click on the Execute button.

    10. Report displaying trace results will now be displayed

    http://www.sapdevelopment.co.uk/perform/perform_sqltrace.htm

    Some useful transaction related to this are ..

    ST01 SAP system trace

    ST02 Buffer statistics.

    ST03 Workload analysis.

    ST04 Database performance analysis.

    ST05 SQL trace .

    ST06 Operating system monitor ...

    From the recorded SQL trace you can deduce:

    · Which SQL statements your application carries out

    · Which values the system uses for specific database accesses and changes

    · How the system translates ABAP OPEN SQL commands (such as

    SELECT) into standard SQL commands

    · Where your application positions COMMIT statements

    · Where your application makes repeated database accesses

    · What database accesses or changes occur in the update section of your

    application

    Look at the below links, you will get the idea

    http://help.sap.com/saphelp_erp2005/helpdata/en/d1/801f89454211d189710000e8322d00/content.htm

    http://www.sapbrain.com/TOOLS/SQLTRACE/SQL_TRACE.html

    Check the following links:

    http://www.sapbrainsonline.com/TOOLS/RUNTIMEanalysis/SAP_runtime_analysis.html

    http://www.sapbrainsonline.com/TOOLS/SQLTRACE/SQL_TRACE.html

    regards

    siva

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2007 at 08:50 AM
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.