SAP NEWS-46-SE30



Get Example source ABAP code based on a different SAP table
  



Runtime Analysis in ABAP Release 4.6A
ITOC

ABAP_MODIFICATION_NN Measurement in Parallel Session

Runtime analysis can be activated for ten simultaneous ABAP sessions (work processes). This makes it possible to switch to a long-running job from outside. It is possible to switch in and out of the work processes that are measured using a screen similar to transaction SM50.

ABAP_MODIFICATION_NN Measurement Restrictions

It is possible to restrict the duration of a measurement, the size of the performance data file, and also the objects that are measured.
The duration of the measurement is specified in minutes. The measurement ends after this time. The maximum duration is approximately 72 minutes.
The size of the performance data file is specified in kilobytes. Once this size is reached, the measurement ends.
It is possible to restrict the measurement to specific objects:
Programs and function pools
Global and local classes
Methods, subroutines, or function modules
Particular statements

ABAP_MODIFICATION_NN Aggregation

Aggregations can be full aggregations and aggregations by call point. In full aggregation, all performance data for a particular type of event is summarized in a single performance record. In aggregations by call point, all performance data from a particular event onwards is summarized.
This makes it possible to use aggregation as the first step in a runtime analysis to identify the most time-consuming calls. The second, more detailed analysis can then be restricted to these objects.
Certain information does not exist when aggregations are used: There is no hierarchy. Furthermore, it is not possible to branch to the call point from a full aggregation. The effect of the display filter is that the events are displayed without their net times being recalculated.

ABAP_MODIFICATION_NN Measurement Variants

The default variant is stored under the name DEFAULT. If this variant is changed, the changed data is assigned temporarily under the name USER_DEFAULT. If the same restrictions are used frequently, it is best to create a variant. A variant exists only in the system in which it is created, and it can be used, changed, or deleted by any user.

ABAP_MODIFICATION_NN Unique Identification of Internal Tables

The name of an internal table is the internally unique ID. This makes it possible to distinguish between identically named internal tables from different procedures. The actual name of the internal table can be identified by navigating to the editor.

ABAP_MODIFICATION_NN Measurement for Particular Statements

The total runtime of all loop passes is determined in LOOP AT itab . CREATE OBJECT is only measured if the method CONSTRUCTOR is overwritten.

ABAP_MODIFICATION_NN Hit Lists

In the hit list of the database tables, the buffering is empty if buffering is switched off or not allowed. As well as the database hit list, there are object-based hit lists for classes, instances, and internal tables. For classes and instances, there is a further division between methods and events.

ABAP_MODIFICATION_NN Use of New Tools

The various hit lists are created using ABAP List Viewer. All regular ALV functions are available within the hit list, although full navigation from the list is not possible.
ABAP List Viewer is also used to display the performance statistics. They are calculated using method calls, and the load time and net runtime of the program are added to them.

ABAP_MODIFICATION_NN Changes to the User Interface

The user interface of the runtime analysis tool has been fully revised. The new features are represented by four main areas, which can be branched to from the initial screen, namely:
Executing the runtime analysis
Switching on an ABAP session
Setting the measurement restrictions
Analyzing the measurement results