Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

difference between sy-datum and sy-datlo

former_member230674
Contributor
0 Kudos

difference between sy-datum and sy-datlo

9 REPLIES 9

Former Member
0 Kudos

sy-datum contains the SERVER system date.

You can get more information about the system values if you go to SE11 and put SYST in the structures field.

sy-datlo: Date in the current user's time zone.

With the exception of sy-datlo and sy-timlo, all system fields refer to the local date and time of the current SAP system. The ABAP runtime environment clock is synchronized with the database server clock at regular intervals in order to calculate the local time of the SAP system. During the synchronization process, the ABAP runtime environment clock is set to the database server clock. Because this happens on all application servers in an SAP system, the ABAP runtime environment clock is synchronous with the clocks on all other application servers and with the database system clock, and thus shows the local time of the entire SAP system. The time zone on which the local time of an SAP system is based is the only entry in the database table TTZCU.

Former Member
0 Kudos

SY-DATLO - Local date of user (Date in the current user's time zone)

SY-DATUM - Current (application server) (Local date of the SAP system.)

Also check this weblog.

/people/horst.keller/blog/2004/11/29/abap-geek-8-150-summertime-blues-133

Former Member
0 Kudos

sy-datum - Current Date of Application Server

sy-datlo- Local Date for Current User

Former Member
0 Kudos

hi,

The GET TIME statement synchronizes the time on the application server with the time on the database server and writes it to the field SY-UZEIT. SY-DATUM and the system fields for the local timezone (SY-TIMLO, SY-DATLO, and SY-ZONLO) are also reset.

SY-DATLO

User’s local date, for example 19981129, 19990628, …

SY-DATUM

Current application server date, for example 19981130, 19990627, …

SY-DAYST

X during summertime, otherwise space.

SY-FDAYW

Factory calendar day of the week: Monday = 1 … Friday = 5.

SY-TIMLO

User’s local time, for example 154353, 225312, …

SY-TZONE

Time difference in seconds between local time and Greenwich Mean Time (UTC), for example,

360, 10800.

SY-UZEIT

Current application server time. for example 164353, 215312, …

SY-ZONLO

User’s time zone, for example, EST, UTC, …

reward points if useful

Former Member
0 Kudos

Hi,

SY-DATUM

Current application server date, for example 19981130, 19990627, …

SY-DATLO

User’s local date, for example 19981129, 19990628, …

For more information on the same refer:http://help.sap.com/saphelp_46c/helpdata/en/7b/fb96c8882811d295a90000e8353423/content.htm#datum

Best Regards,

Rajesh.

Please reward points if found helpful.

Former Member
0 Kudos

hi

sy-datlo: local date,based on the local time zone of user.

sy-datum: current of the application sever.

Former Member
0 Kudos

Hi,

sy-datlo

Date in the current user's time zone.

sy -datum

Local date of the SAP system.

Reward if found helpfull,

Cheers,

Chaitanya.

Former Member
0 Kudos

Hi,

sy-datum - Current Date of Application Server

sy-datlo- Local Date for Current User

Former Member
0 Kudos

SY-DATLO - Local Date

SY-DATUM - Server Date