‎2007 Jun 06 12:19 PM
‎2007 Jun 06 12:25 PM
hi prasanth,
just read this documentation,
Runtime Analysis:Runtime analysis shows you how long it takes to process ABAP code, from single statements to a complete transaction.
To start the runtime analysis, choose Tools -> ABAP Workbench -> Test -> Runtime analysis (or transaction SE30). On the initial screen you can choose one of four main functions.
Measurement in the current status
Measurement in a new session
Select measurement restrictions
Analyze performance data
For large applications it is recommended that you first analyze the entire application and hit list.
SQL TraceThe SQL Trace function is an on-demand log of selected SQL statements that are issued against the database through the Open SQL Engine. The SQL Trace can be switched on or off dynamically. The log format is database independent. Besides the SQL statement text, each log record contains information about the point in time when the statement was executed, its duration, its input parameters and results (where applicable) as well as context information.
Features
The SQL Trace is especially useful for:
· Development
SQL Trace can help JDO, enterprise beans, servlet and JSP developers to learn which kind of database accesses their code produces.
· Performance analysis
Typically, performance issues are caused by inefficient database accesses. In this case SQL Trace can be used to show the issued SQL statements and their duration, thus helping to identify inefficient SQL statements.
Break Point Vs Watch Point
When you set a breakpoint in the Debugger, it is created as a debugger breakpoint by default. A debugger breakpoint is only valid while the Debugger instance, in which it was set, is active. When the Debugger is closed, all debugger breakpoints set in it are deleted.
Watchpoints allow you the option of monitoring the content of individual variables.
The Debugger stops as soon as the value of the monitored variable changes.
In addition, conditions can be specified. The Debugger also checks whether such a condition is fulfilled
AL21analyze the performance of ABAP program
reward points if helpful,
regards,
seshu.
‎2007 Jun 06 12:28 PM
hi,
follow the below links to get knowledge regarding RUNTIME ANALYSIS.
http://help.sap.com/saphelp_nw04/helpdata/en/c6/617cafe68c11d2b2ab080009b43351/content.htm
http://www.sap-basis-abap.com/sapta002.htm
regards,
sudheer.
‎2007 Jun 06 12:31 PM
Hi,
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:
· 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.
Jogdand M B
‎2007 Jun 06 12:33 PM
‎2007 Jun 06 12:37 PM
Hi prashanth,
Runtime analysis is a workbench tool, which shows u the execution time and the performance of the program. The t/c for runtime analysis is SE30.
Regards...
Arun.
‎2007 Jun 07 8:07 AM
to know about more perfomance issues in Runtime anlaysis...
go thru SE30 - > click tips and tricks....try it ...good one
Regards..
Balaji (Assign points if this helps u )
‎2007 Jun 07 8:07 AM
to know about more perfomance issues in Runtime anlaysis...
go thru SE30 - > click tips and tricks....try it ...good one
Regards..
Balaji (Assign points if this helps u )