You can trace the execution of an ABAP program even if you cannot start it directly yourself.
That is, you can schedule a trace: Tell the ABAP trace to wait until a program runs and then automatically trace its execution.
Procedure
Switch to the
ABAP Profiling
perspective.
Open the
ABAP Traces Requests
view.
Then click on the Schedule Trace button or choose Schedule Trace... (Ctrl N) from the context menu of a line in the view.
The Trace Schedule dialog opens. You can specify what you want to trace in this dialog.
Click on OK in the Schedule Trace dialog to schedule your traces.
Look Filling Out the ABAP Trace Request Dialog for more information on the fields in the dialog.
Open the new entry in the ABAP Trace Requests view to see the status of your asynchronous trace request.
Any program execution that meets your scheduling specifications (type of activity, user, client, and so on) will be traced.
It does not matter whether the program is started from the ABAP Development Tools client or from the back-end system.
Use the Refresh (F5) function in the context menu to monitor your trace request.
When the Executions column in ABAP Trace Requests shows that at least one trace has been made, you can switch to the ABAP Traces
view to examine the trace. To do so, mark the trace request entry and choose Show inABAP Traces.
The cursor will be positioned on the trace entry in the ABAP Traces view.
Double-click on a trace to open it in the Trace Hitlist view. You can also start the Call Tree or Trace Hitlist from the context menu of a trace entry.