‎2009 Nov 05 8:52 AM
Hey Folks
How to find the execution time taken by any ABAP object - say a report, a BAPI, etc.?
Is there any general way (a TCode or method) which can be applied to any object's performance analysis?
If yes, how? Please suggest.
Thanks
Rajvat
‎2009 Nov 05 8:54 AM
Plz SEARCH in SCN before posting you will get lot of posts
with transactions SE30,ST05 transactions.
‎2009 Nov 05 10:14 AM
Hi Gautham
I know using SE30 we can find performance of Programs and FMs. and ST05 for SQL quries.
But, how to analyze the result?
If I run the same object 5 times in SE30, it gives 5 different performance analysis. Why so?
And, I do not understand how to interpret the performance evaluation of Query in ST05.
Plz help...
Rajvat
‎2009 Nov 16 4:58 AM
hi,
in your ABAP program, before start-of-selection , use GET TIME STAMP and initiates a variable.
now before end of the REPORT just initiate another variable.
The difference of these 2 variables will give you the EXACT RUNTIME of the REPORT.
GET TIME STAMP FIELD time_stamp.
Effect
This statement assigns a time stamp for the current UTC reference time of the ABAP system> to the variable time_stamp. The data object time_stamp must have either the data type TIMESTAMP or TIMESTAMPL
GET TIME STAMP FIELD t1.
..............
GET TIME STAMP FIELD t2.
runtime = t2 - t1.
ags.
‎2009 Nov 05 8:55 AM
‎2009 Nov 16 5:05 AM