Carrying out SQL trace

In this recipe, we will see how we can carry out an SQL trace. We will run the trace on the program RIBELF00 (Display Document Flow).

How to do it...

We will now carry out the following steps:

  1. In one SAP session, open the transaction that is to be traced. In our case, we have to trace the program RIBELF00. We enter on transaction SE38 the program name in the field provided, and execute the program in order to display the selection screen. We will not execute the program, yet we will enter the input values on the selection screen.
  2. Then, open another session and call transaction ST05. The screen appears, as shown in the following screenshot:
  3. Make sure the SQL trace checkbox is on. Click the Activate Trace button on the toolbar. ...

Get SAP ABAP Advanced Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.