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

System Date Format

hi ,

how can i find the system date format.

regards

arun

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 29, 2004 at 05:58 AM

    Check table <b>USR01</b>, field <b>DATFM</b>.

    if DATFM = 1, format is DD.MM.YYYY

    If you want the path, SYSTEM --> USER PROFILE --> OWN DATA

    Regards,

    Subramanian V.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello Arun,

      In case of the BDC, you have to know the format in which the date is stored in the file. Let us say that the date in your flat file is stored in the format DD/MM/YYYY.

      data: w_flat_file_date(10) value '29/12/2004'.
      data: w_temp_date type d,
            w_screen_date(10) type c. 
      
      w_temp_date+0(4) = w_flat_file_date+6(4).
      w_temp_date+4(2) = w_flat_file_date+3(2).
      w_temp_date+6(2) = w_flat_file_date+0(2).
      
      write w_temp_date to w_screen_date.
      

      Now, w_screen_date contains the date in the format in which it is displayed on the screen.

      Hope this helps,

      Regards,

      Anand Mandalika.

  • Posted on Dec 29, 2004 at 06:00 AM

    System date format is always YYYYMMDD.

    if you want to find out about user specific date format you can get the same from USR01-DATFM

    Regards

    Raja

    Add a comment
    10|10000 characters needed characters exceeded

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.