Translate

Note 101726 - Incorrect times and time zone setting

Summary
Symptom
Error message ZDATE_LARGE_TIME_DIFF
Incorrect times
Problems during the daylight saving time change
Additional key words
Timezone, UTC, GMT, time, date, tz, rsdbtime
Cause and prerequisites
This is generally caused by an incorrect time zone setting by the database or R/3 processes.

A correctly displayed local time, for example with 'date', does not ensure that the setting is correct because the time basis of the operating system, the UTC timer, is set indirectly by 'date'. If the time zone setting is incorrect, then the value of the UTC timer must also be incorrect if the correct local time is set with 'date'.

The UTC timer counts the seconds since 01/01/1970, 00:00:00, Greenwich Mean Time. At the correct setting it contains the same value in all computers, regardless of their location.

Errors in the time zone setting inevitably cause problems in a switch to daylight saving time and in distributed systems.

Time zone and UTC timer are attributes at operating system level, not of application software, for example database or R/3.
Solution
To solve the problems proceed as follows:
    1. Setting the UTC timer
    • Stop database and R/3
    • Log on as Superuser (root).
    • Set the General Mean Time (GMT) time zone (Greenwich time) for example in the C-shell with 'setenv TZ GMT'.
    • Display the time with 'date'
The time displayed must match Greenwich time.
Greenwich time is 2 hours behind compared to Central European Summer Time and 1 hour compared to Central European Winter Time.
    • If this is not the case, you must correct the UTC timer with 'date'.
Caution: you must enter the correct Greenwich time here
    • The UTC timer is now correctly set.
    2. Setting the time zone
    • Log on as the user for which you want to make or check the time zone setting, for example ora<sid> or <sid>adm
    • Display the time with 'date'. The displayed time must match the local time, both in daylight saving time and standard time.
    • If this is not the case, you must set a correct time zone, for example with C-shell 'setenv TZ <zeitzone>'
In you have questions regarding the correct time zone, contact your operating system manufacturer.
    • Make sure that the correct time zone is set automatically in the login script of the user in question.
    • It is even better to configure the correct time zone as a default in the operating system. You then do not need to set a time zone in the login script.
    • Make sure that processes which are not started in the normal login (for example via 'rexec', 'cron') also have a correct time zone setting. With rexec, an R/3 instance is started if it is started from the CCMS system monitor (RZ03) or an R/3 start-up profile or a computer (instead of 'local').
    • The time zone is now set correctly for the databases and R/3 processes.
    3. Check the settings to R/3
    • Start the database (DB) and R/3
    • Start the R/3 report RSDBTIME, all times should now be displayed correctly.
    • If times are displayed incorrectly, check the time zone setting in the environment variable TZ of the DB shadow processes and the R/3 processes, for example with 'ps eww <prozessnumber' or a suitable monitor of the operating system. 'ps' shows the contents of environment variables, however only in the Berkeley(BSD) mode that does not exist on all UNIX derivatives. If you have questions contact your operating system manufacturer.

Header Data


Release Status:Released for Customer
Released on:02.02.2000  23:00:00
Master Language:German
Priority:Recommendations/additional info
Category:Consulting
Primary Component:BC-SRV-TIM-TZ Time zones
Secondary Components:BC-KRN Kernel Components
Affected Releases
Release-Independent
Related Notes


 
1375438 - Globalization Collection Note
 
1165982 - Changes to time zone settings at operating system level

No comments:

Labels

sap hana hana database aws s4 hana hana db s4hana conversion steps sap hana azure bw4hana hana migration s4hana migration sap cloud migration steps sap hana migration steps sap hana migration to azure s4hana sap fiori fiori performance fiori erp s4 hana fiori sap fiori app sap fiori client sap fiori launchpad sap s4 hana fiori cisco ecc AI SAP AI abap dumps hana sap S/4HANA S/4HANA Conversion best sap ui5 & fiori training configuration database fiori tutorial on webide free sap ui5 & fiori training s/4 hana sap dumps sap fiori tutorial sap ui5 sap ui5 & fiori sap ui5 & fiori tutorial sara ui5cn 2367245 - Troubleshooting performance issues with SAP BPA Amazon free tier for SAP AWS setup Experience CALL_FUNCTION_NOT_FOUND CCMS Configuration and Use Create New Data Class in SAP (Oracle) Critical top SAP Abap dumps DHCP Clients Not Receiving IP Addresses Download Stack.xml HAN-DB HAN-DB-ENG High CPU Usage Due to Excessive Process Switching How To How to Start and Stop SAP Hana Tenant Database How to change SAP Hana Sql Output results are limited to 5000 Records How to perform SAP Dual Stack Split - Netweaver Inactive Objects in SAP Intercompany transactions in SAP AP / AR : Cross Company Code Transaction Interface Flapping Due to Duplex Mismatch KBA LOAD_PROGRAM_LOST MSSQL shrinking transaction log file Migrating to SAP hana database NAT Overload Causing Internet Access Failure Note 500235 - Network Diagnosis with NIPING OSPF Adjacency Not Forming PRINCE2 Foundation Sample Questions Preparing for S/4HANA Conversion and the MUST know items Push to Download Basket S/4HANA Migration Cockpit S/4JANA SAP BI Support Data Load Errors and Solutions SAP BI/BW Landscape SAP BPA SAP Basis SAP Basis Automation SAP Business Objects SAP CPS SAP Certification SAP FI Certification SAP FI Certification Sample Questions SAP HANA Admin - Cockpit SAP HANA DB Engines SAP HANA Database SAP HANA terminate session connection disconnect cancel kill hang stuck SAP Hana DB restore SAP Hana Numeric Error Codes SAP Landscape SAP Language installation SAP MM and Purchase Order Tables SAP Maintenance Planner SAP Note 500235 SAP R/3 Glossary SAP Readiness Check SAP S/4HANA 1709 Installation Files SAP S/4HANA 2023 SAP S/4HANA 2023 Installation SAP S/4HANA 2023 running SAP S/4HANA Installation SAP Scheduling SAP Solman 7.2 CHARM: SAP Support Package Stack Strategy SAP Support package SAP Upgrade SAP support stack upgrade SP stacks STORAGE_PARAMETERS_WRONG_SET SUSE/SLES/Kernel versions Setup of S/4hana 2023 TSV_TNEW_PAGE_ALLOC_FAILED TSV_TNEW_PAGE_ALLOC_FAILED error Transaction ID Unable to download an SAP Note Unix/Linux Command That Are Helpful For SAP Basis Upgrading SAP Kernel Without Downtime Upgrading windows server 2008 to windows server 2019 What is OSS Notes? SAP SNOTE Tutorial accounting agile ale idoc ale/edi archive FI documents audit auditing auditor aws aws cloud basic type bluefield approach ccms ccmsidb charm copilot datavard dbacockpit download sap note download snote edi idoc electronic data interchange enable sap archiving objects erpprep ffid firefighter fraud functional hana admin how to apply sap security note https://www.erpprep.com/ idoc install install sap fiori installation interfaces intermediate document internal control license key linux version materials management messsage niping test order type port prince2 agile prince2 agile practitioner purchasing quick info s4 hana sap abap dumps sap abbreviations sap activate certification sap activate project manager sap authorization sap aws sap brownfield sap ccms sap ccms configuration sap erp sap error sap grc sap greenfield sap internet demo system sap license sap maintenance certificate sap material management sap meaning sap mm sap mm consultant sap monthly security note sap netweaver sap network diagnostic sap niping sap note sap oss sap patch day sap performance sap performance issue sap purchase order sap s/4hana sap sales and distribution sap sap otc sap sd sap sd certification training sap sd course sap sd jobs sap sd module sap sd online training sap sd training sap sd tutorial sap sd tutorial for beginners sap security sap security note sap snote sap snote tutorial sap solution manager sap sql segregation of duties separation of duties sles slicense smc snote snote in sap system sod conflict solution manager solution maneger stop start hana database suse linux techie trex two step upgrade required waterfall