The ABAP Trace
Analyzing the runtime behavior of your ABAP applications can be very helpful when performance is an issue.
One of the tools to perform such a runtime analysis is the ABAP Trace (transaction code SAT), which replaces the older Runtime Analysis (SE30).
Starting a trace measurement in SAT is quite similar to starting one in transaction SE30 .
You can maintain trace conditions and restrictions in a variant. Variants are used to ensure the trace data you need while keeping extraneous data and storage use to a minimum.
When creating a variant, a screen with the following three tabs appears: Duration and type , Statements and Program Components . If you do not specify an explicit variant for a measurement, the system uses the standard variant, named DEFAULT. It makes sense to restrict them as much as possible in order to not reach the maximum trace file size, particularly when you expect long running trace measurements.
Trace Results Evaluation
After the trace measurement has been executed, the trace results can be analyzed. Choose the Evaluate tab on the initial screen of transaction SAT , find your trace result and double-click it. Transaction SAT can also display trace results immediately after trace execution if you select the Eval. Immediately checkbox on the initial screen.
ABAP Trace Results
Depending on what you are trying to analyze, use the following tools:
Hint: In the initial screen of the runtime analysis, you can choose Tips & Tricks to display a demonstration environment that contains useful performance tips and illustrates the benefits of different source codes by comparing their runtimes. These tips can help you replace the statements that the runtime analysis has identified as performance intensive with other statements that give better performance.