2008 Jul 14 3:39 PM
Hi frenz,
I want to know what is the execution time of my program/report.
Is there any function or statement for getting execution time?
Please do let me know.
<removed_by_moderator>
Regards
RH
Edited by: Julius Bussche on Sep 9, 2008 4:22 PM
2008 Jul 14 3:41 PM
hi,
Check out STAT transaction .... or else you can even do do SQL Trace i,e, ST05 or RTA i.e, SE30 ..
Hi
After Execute ur prog , in the rightmost (Down) corner ,one bar shows your client no. If u click there , it ii show some informations. In that RESPONSE TIME ............ that is your execution time
2008 Jul 14 3:41 PM
hi,
Check out STAT transaction .... or else you can even do do SQL Trace i,e, ST05 or RTA i.e, SE30 ..
2008 Jul 14 3:42 PM
Hi,
Goto Tx : SE30 and give your program or transactio name and execute it.
After that click on the analyze buton after coming to main screen.
It will display the total time (runtime/ABAp time/System time).
Cheers,
Simha.
2008 Jul 14 3:42 PM
Hi,
Check in STAD (ECC6.0) or STAT (earlier versions).
Regards,
Subramanian
2008 Jul 14 3:43 PM
Add the statement GET RUN TIME FIELD zlv_time1 and GET RUN TIME FIELD zlv_time2 in the top and the end of your program. The difference between these 2 is the runtime in microseconds.
Regards,
John.
2008 Jul 14 6:34 PM
another trick is, if you are running this via DIA mode (online), after report runs just check the bottom right hand corner of your SAPGUI (click the pull up icon).
2008 Jul 14 8:48 PM
Get sy-uzeit at the initialization of your program and then at the end.
Find the difference between the two and there is your run time.
Regards
C
2008 Jul 16 6:09 AM
Hi
Using the statement "GET RUN TIME FIELD" you can get the execution time in Microseconds.
Eg.
DATA T TYPE I.
GET RUN TIME FIELD T.
WRITE: / 'Runtime', T.
DO 10 TIMES.
GET RUN TIME FIELD T.
WRITE: / 'Runtime', T.
ENDDO.
Hope this would help you.
Murthy
2008 Jul 16 7:08 AM
Hi
After Execute ur prog , in the rightmost (Down) corner ,one bar shows your client no. If u click there , it ii show some informations. In that RESPONSE TIME ............ that is your execution time
2008 Jul 16 1:20 PM
Hi,
Here's a complete example of how to program a time measurement:
DATA:
tstart TYPE i,
tstop TYPE i,
trun TYPE i.
* Record start time
GET RUN TIME FIELD tstart.
* Now do something that takes time...
(...)
* Record end time
GET RUN TIME FIELD tstop.
* Run time (milliseconds instead of microseconds)
trun = ( tstop - tstart ) / 1000.
WRITE: / 'Exec time:', trun, 'milliseconds'.Regards,
Mark M
2008 Jul 16 4:25 PM
Hi,
Use SE30(Run time analysis).
Goto Se30> Give desc and ur program name>click execute button>then click evaluate button>u will get execution time in micro seconds.
2008 Aug 04 7:53 AM
Goto transaction se30.
and execute your program to get the performance and execution time.
2008 Aug 04 7:56 AM
SY-UZEIT stopres the curerent system time.
So with the help of SY-UZEIT in write statement you can easily get the value.
Put the statemnet in your code
WRITE: 'Execution Time: ',SY-UZEIT.Regards,
Anirban
2008 Aug 06 6:55 AM
Hi Ronny.
I would like to suggest,
Transaction ST03N - Workload Monitor
In the Left Pane window - The Date and Time of Execution will be displayed as well as the detailed analysis.
Hope that's usefull.
Good Luck & Regards.
Harsh Dave
2008 Aug 07 6:14 AM
Hi Ronny.
I would like to suggest,
Transaction STAD, can also be used.
Enter the program name/Transaction - Response time - Execution time.
Press Enter.
The details will be displayed.
Good Luck & Regards.
Harsh Dave
2008 Sep 09 3:11 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |