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:
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 transactionSE38
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.Then, open another session and call transaction
ST05
. The screen appears, as shown in the following screenshot:Make sure the SQL trace checkbox is on. Click the Activate Trace button on the toolbar. Make sure that before doing this, the message in the lower part of the screen reads, All Traces are Switched Off….
Now return to the first SAP session and execute the report with the relevant input values, as shown in the following screenshot:
Once the...