Show TOC

Overview of FunctionsLocate this document in the navigation structure

Use

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.

    Note

    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

    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:

Starting from

Menu path

Any screen

Start of the navigation path System Next navigation step Utilities Next navigation step Runtime Analysis Next navigation step Execute End of the navigation path

The initial screen of the ABAP Workbench

Start of the navigation path Test Next navigation step Runtime analysis End of the navigation path

The initial screen of the ABAP Editor

Start of the navigation path Program Next navigation step Execute Next navigation step Runtime Analysis End of the navigation path

The ABAP Editor

Start of the navigation path Utilities Next navigation step More Utilities Next navigation step Runtime Analysis End of the navigation path

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

Measurement Restrictions .

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.