‎2006 Jun 21 8:25 PM
hi,
what is the system field for user time.
how it is used. please explain in detail with expamle.
thank u in advance
‎2006 Jun 21 8:38 PM
Hi Sri,
You need to use <b>SY-TIMLO</b> in case your company has multi countries or zones to work with. In other word, global company.
SY-UZEIT is good ONLY if your company only has one zone to work and support with.
Hope this will help.
Regards,
Ferry Lianto
‎2006 Jun 21 8:26 PM
System field for time is sy-uzeit.
This field can be basically used in many ways for many purposes which is very difficult to explain.
For example, if you want to track the time of change for a record in a table you can use this field.
Thanks,
Message was edited by: Naren Somen
‎2006 Jun 21 8:28 PM
The system field is sy-uzeit. It is a 6 character field which holds the time in the format HHMMSS. When you write this value to a list, it will automatically write in external format as HH:MM:SS.
write:/ sy-uzeit.This is used( a lot of times ) to print the current time on a report header along with the date, sy-datum. This way the user will always have a record of when the report was ran.
Regards,
Rich Heilman
‎2006 Jun 21 8:33 PM
hi
what u explained is for system time, but i want to know the the user time. can u calirfy now.
thank u in advance
regards,
sri
‎2006 Jun 21 8:35 PM
hi sri,
<b>sy-timlo:time, local time for user</b>
Message was edited by: PP
‎2006 Jun 21 8:38 PM
Ferry gave you the answer. If that is not what you are looking for let us know.
‎2006 Jun 21 8:38 PM
‎2006 Jun 21 8:30 PM
HI Srisaihari,
SY-UZEIT
Current (application server) time,
for example 164353, 215312.
***INCLUDE STARTTXT.
WRITE: / 'Program started by', SY-UNAME,
/ 'on host', SY-HOST,
'date:', SY-DATUM, 'time:', SY-UZEIT.
ULINE.
This could produce the following output:
on host ds0025 date: 03/19/1998 time: 09:00:39
Check this once.
https://forums.sdn.sap.com/thread. jspa?threadID=44431&messageID=447605
Regards,
Laxmi.
Message was edited by: Laxmi
‎2006 Jun 21 8:30 PM
Hi,
You can use SY-TIMLO (Date and time, local time for user).
WRITE: /01 SY-TIMLO.For others, SY-DATLO (Date and time, local date of user) and SY-ZONLO (Date and time, time zone of user).
Regards,
Ferry Lianto
‎2006 Jun 21 8:33 PM
‎2006 Jun 21 8:35 PM
Hi srihar
sy-TIMLO Local time for user
TSTLO Timestamp (date and time) for user
regards,
keerthi.
‎2006 Jun 21 8:38 PM
Hi Sri,
You need to use <b>SY-TIMLO</b> in case your company has multi countries or zones to work with. In other word, global company.
SY-UZEIT is good ONLY if your company only has one zone to work and support with.
Hope this will help.
Regards,
Ferry Lianto