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 :
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkHbTmXkcbTqSpcOIXq6-PJt0uvLSnGypOwBizXrk6uW-RA9XKLgqyieYe6z4Yflxvk51HBg90cHDt-FefFfGufAwpTw4wBlirp3eTMvhQfEDukfLnrBlepUe9ZJaVeoG2pjIq0Ohu_iU2/s400/trace1.bmp)
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
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU_YlaOsSenEuZDkJkEL1w_IMJhTlPbdTTtihyo3BI7N2J4xlVhHhubYKKN6Z6rXO2tQPWnnehmkHRv6ZJeTHOMWm9pJpb3GlryyRG8V3PN5ys_cr4In-hLp4XupUjPi80Vu7Cj3ty2L95/s400/trace2.bmp)
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.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2sMJmN_u79wGCPQWNkM1SBRb_odMEXAE4XTtrvBoWRvkBbfbqqc31zEp3gYN6HuykmwCtrAckmuGhkUaB9oqYzlkJYkMfqL01Cdsx47gRtItRUQJBQTFQrJeL_3E6roVj8IaC9FttBAON/s400/trace3.bmp)
Deactivate Trace : This functionality is used to deactivate the trace
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9Cjf10D5bQJbgTf5B2TCxr-eQDGLbM3db4A7w9M_KoZ6Ftco2TTI462AaQbw9u2eszo-BR1SkqlQZ94g9kaP7QIiv4Gv6WfQ4QDVLLb6T-CvtPf-ZtCys2youESurAgJTJYoBGB-1jGHF/s400/trace9.bmp)
Display Trace : This functionality is used to display trace
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjAwqjPkz8XTp_gX3taOMsiVf8I-xCxBoBcGPwPX-bQ9IfzhvvaxhX3iss7I5JJA10vxBDt4U2Bl_nvPzKhvCwq8Mzi0Wc8Vwl5a_UnnCd6Zr7CG4X-RpMIBlaIMllhNTDgCNeah1FOH6S/s400/trace4.bmp)
Click on tick mark to display the trace
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXr7NzMEEZARHiWr4Oz7ElIoaQS4Gz9i2umh5-baYYKK2ipZ6hYfYdmR-rLYVaCaKF9sfPaRqX4JoV6FafKt5oF7sjgK-qCKFD3cwoinm0EYoLdhwq2LVI8Z_nu5YBoxud6mOSeQb9uYZS/s400/trace5.bmp)
Click on Yes to display the trace as below:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFY8knZkaMMtmkwcaxEV_pp5g8y3FQDDZm9Mfd3UJ2W5jkS8zCnBNQ1NH8UWbOWtUiFaNE_fFhm_Tx5ifH1-3zgHB24Bhfynz64Sg-qHgnjZg3isQQWzjN9cKGAQ0B9GdmXLQTvkPRnk9j/s400/trace6.bmp)
Enter SQL Statement : This functionality is used to analyse an SQL statement
Click on this pushbutton to view the below screen :
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFIMYhgE-5KNjZmH91tQqYSgNi95aI8lC2sQjtWxZmx7ky-svgtrrs80Cnj2_0x2g6uejpr3EiuxXvnm7cwnhH4LoK2sYwhj9bBu2VNO69i_IlCgnxTx3hzDuRjIZDP-N_enar1jdEt7kt/s400/trace7.bmp)
Trace Status : This area is used to inform about the status of the trace at that point of time like traces activated, deactivated etc
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBOs62V4S3fHQju6AewLkY9w8UGmlIyYFWik2E90IAh1u3_hYfR4ctOpICw-Wqqxjt50w1troBbI3tVtSisxLdUJYOkQa7khM3jOxZF4U34Waino7yNKWTlKanGa3iA3h6D0wB5DYnEhmZ/s400/trace8.bmp)
No comments:
Post a Comment