Thursday

Runtime Analysis in ABAP

The runtime analysis provides an overview of the duration and performance of your source code, from individual statements up to complete transactions.
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.

Transaction SE30 to start the runtime analysis. In the initial screen, we see the four main functions of this tool, which can be activated by pushing the corresponding button.
·         Measurement in dialog status
·         Measurement of external session
·        Selection of measurement restrictions
·         Evaluation of measurement results
With large applications, it is advisable to first analyze the entire application and then check details in the hit lists.

Use the runtime analysis tool to measure the runtime of complex program segments or complete transactions.  
        
·       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.


No comments:

Followers

DISCLAIMER

All about contents or data or information taken from sap.com or other sap related web sites which are available on the Internet for this BLOG.
If you find any doubts or mistakes please refer the other SAP/ABAP related sites .