Entering content frameBackground documentation Functional Overview Locate the document in its SAP Library structure

Use

The runtime analysis tool allows you to examine the performance of any ABAP programs, such as reports, subroutines, function modules or classes, that you create in the ABAP Workbench. 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:

Note

If you only want to analyze or fine-tune a program’s database accesses, use the Structure link Performance Trace. For fine-tuning at system level, use the Structure link SAP-System Trace.

 

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:

To start from

Choose

Any screen

System ® Utilities ® Runtime analysis ® Execute

The initial screen of the ABAP

Workbench

Test ® Runtime analysis

The initial screen of the ABAP

Editor

Program ® Execute ® Runtime analysis

The ABAP Editor

Utilities ® More utilities ® Runtime analysis

 

With larger applications, it is advisable to first analyze the entire application and then search for time-critical calls in the hit lists. You can then examine these systematically by making the appropriate selections in Measurement restrictions.

Restrictions through Aggregation

Depending on the size of the program, considerable volumes of data can be generated during the runtime analysis. For this reason, this tool is defaulted to Full aggregation. This means that only the standard hit list is generated with all calls. The following information, however, is not generated:

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, you can then configure the measurement restrictions according to the selected objects to be measured.

 

 

 

 

Leaving content frame