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

Table and field for tracking RESPONSE TIME ..

I want to display the response time taken for the o/p to come .. Can u tell me the table and the field in which it is getting stored ?

Thanking you,

Shankar

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 20, 2005 at 11:44 AM

    Hello Shankar,

    I assume that you are running a report and at the end of the report you want to display to the user the total time it has taken to process the report for that particular run.

    This information is not stored in any table, to my knowledge. I guess it is not too useful to store it since the runtime of a program depends on several factors.

    There are some ABAP statements that help you measure the run time of the report. The following example should make it clear.

    
    DATA: T1   TYPE I, 
          T2   TYPE I, 
          TMIN TYPE I. 
    
    
    * All the global data declarations end at this point.
      START-OF-SELECTION.
        GET RUN TIME FIELD T1. 
    
    * All the Processing logic comes here , I am using an example   
        PERFORM GET_CUSTOMERS.
        PERFORM SELECT_SALES_ORDERS.
        PERFORM DETERMINE_OPEN_ORERS.
        PERFORM DISPLAY_CUSTOMERS_OPEN_ORDERS.
    
    * All the processing like database selection and application server processing is over by this point
    
      GET RUN TIME FIELD T2. 
    
      T2 = T2 - T1.
    
      WRITE: 'The processing has taken', 
             T2
             'microseconds'. 
    
    

    Hope this was helpful.

    Regards,

    Anand Mandalika.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 20, 2005 at 11:24 AM

    Hi Shankar,

    You can use the transaction se30 to test the response time of a report.

    Regards,

    Shabarish

    PS: assign point if this was helpful. 😊

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 20, 2005 at 12:31 PM

    Hi Anand,

    That was a very helpful piece of code.

    Shankar,

    If u r planning use the response time in a program then anand's method wud be pretty useful.

    Else if to chk the performance constraints SE30 will be helpful.You can chk the runtime of transactions, programs and FM by that.

    Regards,

    ShabZ

    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.