Skip to Content
author's profile photo Former Member
Former Member

Execution Time

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Nov 05, 2009 at 08:54 AM

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

    with transactions SE30,ST05 transactions.

    Add a comment
    10|10000 characters needed characters exceeded

    • 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.

  • author's profile photo Former Member
    Former Member
    Posted on Nov 05, 2009 at 08:55 AM

    Hello

    Use SE30 for this.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 16, 2009 at 05:05 AM

    Thanks folks

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.