2007 Aug 15 2:10 PM
Hi,
how can i get the time between several statements in abap.
SY-UZEIT is not possible.
example:
start.
select ...
select ...
select ...
end.
i will get the time between start and end.
Thanks.
Regards, Dieter
2007 Aug 15 2:16 PM
Hi,
Do you want this in ABAP program or just need to check after the program execution.
Regards,
Atish
Hi,
how can i get the time between several statements in abap.
SY-UZEIT is not possible.
example:
start.
select ...
select ...
select ...
end.
i will get the time between start and end.
Thanks.
Regards, Dieter
2007 Aug 15 2:15 PM
hi
good
go through this link,hope this ll help you to solve your problem
http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb3564358411d1829f0000e829fbfe/content.htm
thanks
mrutyun^
2007 Aug 15 2:16 PM
Hi,
Do you want this in ABAP program or just need to check after the program execution.
Regards,
Atish
2007 Aug 15 2:23 PM
Hi Atish,
i will get the Information in Abap and write it when the Report is finished.
Example:
get the starttime
do anything.
get the endtime.
difference = endtime - starttime.
write: starttime, endtime, difference.
Inporting for me is specially the difference in sec.
Regards, Dieter
2007 Aug 15 2:27 PM
Hi,
Why can't you get the value of sy-uzeit and use it?
starttime = sy-uzeit.
Perform processing.
endtime = sy-uzeit.
difference = endtime - starttime.
Will this not solve your problem?
Regards,
Sharmila
2007 Aug 15 2:33 PM
Hi,
i do this:
TABLES: MARA.
DATA: UZEIT0 LIKE SY-UZEIT.
DATA: UZEIT1 LIKE SY-UZEIT.
<b>UZEIT0 = SY-UZEIT</b>.
SELECT * FROM MARA.
ENDSELECT.
<b>UZEIT1 = SY-UZEIT</b>.
WRITE: UZEIT0, UZEIT1.
uzeit0 and uzeit1 have the same value!
Regards, Dieter
2007 Aug 15 2:37 PM
Hi,
Sy-uzeit will not solve your purpose as it will have time upto seconds only and you need the system variable which stores the time in milliseconds. i am not in front of system so can't tell you the exact variable but you can search in syst if any variable you can use or check the program of ST05, how they store the milliseconds, you may get some idea.
Regards,
Atish
2007 Aug 15 2:50 PM
2007 Aug 15 2:52 PM
Hi,
I think you can use GET TIME STAMP FIELD.. just check for the correct syntax.
Regards,
Atish
2007 Aug 15 3:07 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |