02-24-2005 7:23 AM
Hello All,
We have a report when executed updates the Client, the Document No, the Documents posting date etc into a "Y" custom table. Currently i need to add the system date and time when the record(in general sense) was updated into the table. What should be the Field name and data element that i can use to get the System date and time. Would be of great help if info is provided.
Thanks,
- PSK
02-24-2005 7:35 AM
Hi Sravan,
try this data elements (look se11):
1) upddt = Date of the Last Document Update
2) UPTIM = Time of last change
regards
02-24-2005 7:43 AM
Hi Sravan,
Try using Sy-datum for date and sy-uzeit for time. you can see the dataelements for these system variables from SYST structure.
Thanks
Lakshman
02-24-2005 8:15 AM
Hi everyone,
You are all right (of course :-D). Just a detail: I recommend you to write "get time." just before assigning "sy-datum" and "sy-uzeit" to your variables. If you don't, you'll be assigning the same date and time for all the records you update/insert into the database.
I hope it helps. BR,
Alvaro