Tuesday, October 14, 2014

How to activate a Trace for a user in SAP system ?

How to activate a Trace for a user in SAP system ?


This article answers the following queries :

  • What are the different types of traces in SAP ?

  • How to activate a Trace for a user in SAP system ?

  • How to do performance analysis in SAP system ?

What are the different types of traces in SAP ?

  • SQL Trace (Trace for SQL statements)


  • Enqueue Trace (Trace for enqueue/lock requests, waiting etc)


  • RFC Trace


  • Table Buffer Trace

How to activate a Trace for a user in SAP system ?

Goto transaction ST05  and you will get the below screen :



Select the type of trace you would like to activate and press activate trace to start tracing.

Please find below functionality of various functions in the above screenshot :

Activate Trace : This is used to activate the trace for the same user who is starting the trace



Activate Trace with Filter :  This functionality is used to trace the activity of a different user(other than the user who is starting the trace) and filter can be done to trace a  specific transaction or program.



Deactivate Trace :  This functionality is used to deactivate the trace




Display Trace :   This functionality is used to display trace



Click on tick mark to display the trace



Click on Yes to display the trace as below:



Enter SQL Statement : This functionality is used to analyse an SQL statement

Click on this pushbutton to view the below screen :



Trace Status : This area is used to inform about the status of the trace at that point of time like traces activated, deactivated etc

Post a Comment