‎2008 Apr 08 2:49 PM
Can someone tell me how can I get the current time to the microsecond level. If I use sy-uzeit, it provides only till the seconds level.
Thanks..
Swetha.
‎2008 Apr 08 2:54 PM
hi,
5555178 Microseconds = 5.555178 Seconds
so
Microseconds = ( 5.555178 / 5555178 ) Seconds
so convert hours, minutes to seconds and then convert seconds to micro seconds .....
Regards,
Santosh
‎2008 Apr 08 2:56 PM
Try the following:
DATA rtime TYPE I.
SET RUN TIME CLOCK RESOLUTION HIGH.
GET RUN TIME FIELD rtime.
or have a look at global ABAP class CL_ABAP_RUNTIME
‎2008 Apr 08 3:04 PM
Look at GET RUN TIME FIELD f where field f is an integer. The number is in microseconds.
or use a field type TIMESTAMPL ( not just TIMESTAMP !!! )and fill it using statement GET TIME STAMP FIELD ...
Edited by: S@N on Apr 8, 2008 4:08 PM