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: 

SY-DAYST System Field

Former Member
0 Kudos
1,515

Ok guys, I really need some help here. The system field SY-DAYST is used to determine whether it is Day Light Savings Time or not. If so, it is set to "X", if not, then blank. The problem is, is that we are currently on Daylight Savings Time, and this flag is not set in my system. I have been looking around and it appears that this flag is set at the operating system level. But we do not know how to set this flag. We are running on an AS400. Does anyone have any expericence with this?

Regards,

Rich Heilman

1 ACCEPTED SOLUTION

Former Member
0 Kudos
272

Hi,

check ou this sap note:

Note 118508 - Time settings in the operating system

Regards,

17 REPLIES 17

Former Member
0 Kudos
273

Hi,

check ou this sap note:

Note 118508 - Time settings in the operating system

Regards,

0 Kudos
272

I have read thru this one earlier, really no help. But Thank you.

Regards,

Rich Heilman

0 Kudos
272

Yep, already been thru that transaction, we actually had to fix the start and end for the summer time rule, this worked good, but the SY-DAYST is still not set to 'X'.

Thank You

Regards,

Rich Heilman

former_member194669
Active Contributor
0 Kudos
272

check tranx STZBD and STZBC

aRs

Message was edited by:

aRs

ferry_lianto
Active Contributor
0 Kudos
272

Hi Rich,

Talked to my BASIS folks, they only applied some patches for solaris operating system and they did not do anything in SAP system for day light saving purposes.

SAP system will take care by itself once the patches have been applied.

Regards,

Ferry Lianto

Former Member
0 Kudos
272

Should you be using the command TIMEZONE when using date/time stamps.

This would then take into account DST.

former_member194669
Active Contributor
0 Kudos
272

May this one give some info.

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

I talked to my basis they said, they applied some patches

aRs

0 Kudos
272

Yes, we have applied the required patches to the OS level as well, the system time and local time is coming correctly, but the SY-DAYST indicator is not being set. Can you comfirm that this system field is set in your systems.

report ztest.
Write:/ 'Sy-DaySt = ',  sy-dayst.

Regards,

Rich Heilman

0 Kudos
272

aRs, Actually already read that blog too. As you can see, I have done my homework.

Regards,

Rich Heilman

ferry_lianto
Active Contributor
0 Kudos
272

Hi Rich,

SY-DAYST is set to 'X' in our system.

Regards,

Ferry Lianto

0 Kudos
272

Hi Ferry,

Please let us know what are the time zones(USER and SYSTEM) in your user profile

Former Member
0 Kudos
272

Hi Rich,

Did you try bounce back the system??

Thanks

Naren

0 Kudos
272

Yes, we did bounce the instance, Thanks Naren.

Regards,

RIch Heilman

ferry_lianto
Active Contributor
0 Kudos
272

Hi,

Both my user and system time zones are EST.

Regards,

Ferry Lianto

Former Member
0 Kudos
272

Hi,

As i remembered, our basis team applied some patches new week ago related to DST. I checked in my system and field Sy-DAYST is set to 'X'.

Regards,

RS

0 Kudos
272

We are on EST time as the time zone, i think I have found a note that says, AS400 does not know of day light savings time, so maybe it is simply not set in this system. Maybe I have to resort to checking the sy-tzone = 14400-, Then I know that I'm on day light savings.

Thanks to all for you assistance.

Rich Heilman

former_member194669
Active Contributor
0 Kudos
272

As per basis

This is expert from SAP note 919538.

To make these changes in Time Zone Customizing, proceed as follows:

1. Call the maintenance dialog for the daylight saving time rules:

Release 4.6C and higher:

Transaction STZBC - "Variable Summer time rules" view (or IMG path 'General Settings' -> 'Time zones' -> 'Time zones basis customizing);

Releases 4.0B, 4.5B and 4.6B:

IMG under Cross-application Components ->

General Application Functions -> Maintain time zones -> Daylight Saving Time Rules

Release 3.1I:

Call table maintenance (transaction SM31) for the following table: Table TTZDV (Table => Maintain)

2. Create a new entry with the following data:

DST Rule: USA

Valid from: 2007

Start Mon.: 3 (March)

Start Day: 1 (Sunday)

Start DayMonth: 2 (2. occurrence of that particular weekday in the month)

Start Time: 02:00:00

End Month: 11 (November)

End Day: 1 (Sunday)

End Day/Mo.: 1 (1. occurrence of that particular weekday in the month)

End Time: 02:00:00

These changes are available in the attachment of Note 198411 as of Version TZ_2006_V02.

Note that you should not delete old entries in the daylight saving time rules (for example, entries valid as of 1990), because these entries will still be required for the correct conversion of data prior to 2007.

aRs