Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Execution Time

Former Member
0 Likes
741

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

5 REPLIES 5
Read only

GauthamV
Active Contributor
0 Likes
610

Plz SEARCH in SCN before posting you will get lot of posts

with transactions SE30,ST05 transactions.

Read only

Former Member
0 Likes
610

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

Read only

0 Likes
610

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.

Read only

Former Member
0 Likes
610

Hello

Use SE30 for this.

Read only

Former Member
0 Likes
610

Thanks folks