
With the Runtime Analysis you can analyze the performance of ABAP programming units that you have created in the ABAP Workbench. Included in this are reports and subprograms, functions modules, modules, for example. It saves its results in performance data files, which you can display as lists. You can use these results to identify runtime-intensive statements, to combine table accesses, and show the hierarchy of program calls. From the results of the Runtime Analysis , you can identify:
Excessive or unnecessary use of modularization units
CPU-intensive program functions
User-specific functions that could be replaced with ABAP statements
Inefficient or redundant database access.
If you only want to analyze or fine-tune a program's database accesses, use the Performance Trace . At system level you should use the function
Measuring the Runtime of Program Segments
Use the runtime analysis tool to measure the runtime of complex program segments or complete transactions.
If you want to measure the runtime of smaller program segments or individual ABAP statements, use the ABAP statement GET RUN TIME FIELD.
Starting the Runtime Analysis
You can start the runtime analysis as follows:
|
Starting from |
Menu path |
|---|---|
|
Any screen |
|
|
The initial screen of the ABAP Workbench |
|
|
The initial screen of the ABAP Editor |
|
|
The ABAP Editor |
|
With larger applications, it is advisable to first analyze the entire application and then search for time-critical calls in the Hit Lists . These can be examined closely by making the relevant selections using
Restrictions Through Aggregation
Depending on the size of the program, considerable volumes of data can be generated during the runtime analysis . Therefore, this tool is defaulted to full aggregation . Only the
Standard Hit List is generated with all calls. The following information, however, is not generated:
Group Hit List
Hit List of Database Tables
Class Hit List
Instance Hit List
Method Hit List
Event Hit List
Hit List of Internal Tables
Call Hierarchy
Statistics
To cancel this restriction, switch off aggregation by replacing the standard variant in the initial screen with a temporary variant, for example. In this variant it is possible
to configure the Measurement Restrictions individually according to the selection of objects to be measured.