Skip to Content
author's profile photo Former Member
Former Member

SYS-Date/Time

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Feb 24, 2005 at 07: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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 24, 2005 at 07: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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.