_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
© SAP AG 2007 / 0
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
What Time Is It Where _________________________________
You Are? Best Practices _________________________________
for Managing Global SAP
Systems Running on _________________________________
Different Time Zones _________________________________
Alexander Davidenkoff _________________________________
SAP AG
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
Motivation and overview of time zones _________________________________
User-related time zone approach _________________________________
Object-related time zone approach _________________________________
Which year?
_________________________________
So, it is 00h 37m 54s
It is 05h 07m 54s
2007 _________________________________
Which day is
today? _________________________________
DST applies! Which day is today? It is Nov 1
_________________________________
So, it is 15h 37m 54s It is Oct 31
DST applies
It is 09 h 37m 54s _________________________________
DST applies _________________________________
So, it is 18h 37m 54s
UTC = Universal Time Coordinated
DST = Daylight Saving Time
© SAP AG 2007 / 3
© SAP AG 2007 / 4
© SAP AG 2007 / 6
Time Zones
_________________________________
Time zones are important attributes of
_________________________________
Application objects (customers, vendors, plants, companies, … )
Events (scheduling, tracking, period determination, ... ) _________________________________
Time zone related functionality of Basis system _________________________________
– Unification and serialization of system events
Logistics _________________________________
– Scheduling and tracking of business events
– Shipping and transport, stock movements, service calls
_________________________________
Financials _________________________________
– Determination of posting dates (resulting in posting periods)
Organizational Issue: _________________________________
– End-user support around the world
_________________________________
_________________________________
© SAP AG 2007 / 7
© SAP AG 2007 / 8
Technical Basis Environment
_________________________________
The SAP Basis/Web Application Server (WAS)/SAP NetWeaver® system is
always using system time _________________________________
All Basis services such as
– Batch processing _________________________________
– Update requests
– Syslog message _________________________________
– Change document
Example: The end user needs to calculate system time to schedule a batch job _________________________________
Exception: Transaction SP01 (display spool requests) is using user time
instead of system time (and as of SAP R/3 Enterprise some more system _________________________________
transactions are exceptions)
All system processes that are active in the SAP system (all application
_________________________________
servers database [DB], DB listener, etc.), must have the same time zones
_________________________________
Also relevant to the system time are discussions about system availability,
downtime, maintenance _________________________________
Interfaces to systems in other time zones handled individually
_________________________________
© SAP AG 2007 / 9
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
Motivation and overview of time zones _________________________________
User-related time zone approach _________________________________
© SAP AG 2007 / 11
Configuration in SAP NetWeaver ABAP
_________________________________
Time zone settings defined
within the IMG _________________________________
System time zone will be set
– This time must match _________________________________
operating system
Default time zone is used for _________________________________
users/objects without time
zone settings _________________________________
Time zone for user is
defined in the user address _________________________________
– Will be maintained by end
user _________________________________
Functionality used for
proposals _________________________________
Recommended to run a
unique approach (i.e., if user _________________________________
time zone is applied,
maintain it for all users) _________________________________
© SAP AG 2007 / 12
Activates
_________________________________
time zone
settings _________________________________
_________________________________
Shows user and _________________________________
system time
zone in
© SAP AG 2007 / 13
transaction SU3
© SAP AG 2007 / 14
Time Zone Functionality: User Settings in Java/Portal
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
© SAP AG 2007 / 15
© SAP AG 2007 / 16
© SAP AG 2007 / 18
© SAP AG 2007 / 19
© SAP AG 2007 / 20
Time Zones in SAP NetWeaver BI
_________________________________
The local time is customized by transaction STZAC
_________________________________
_________________________________
_________________________________
_________________________________
If the user time zone differs from the system time zone, you
can see this in the system status (or transaction SU01): _________________________________
User is assigned
_________________________________
to CET (Central
European Time) _________________________________
_________________________________
User is assigned
to EST (Eastern
Standard Time)
_________________________________
© SAP AG 2007 / 21
© SAP AG 2007 / 22
© SAP AG 2007 / 23
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
Motivation and overview of time zones _________________________________
User-related time zone approach _________________________________
Object-related time zone approach _________________________________
© SAP AG 2007 / 25
© SAP AG 2007 / 28
© SAP AG 2007 / 29
Time Zone of Address
_________________________________
Maintenance screen for
the address of a plant _________________________________
with field for the time zone
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
© SAP AG 2007 / 30
© SAP AG 2007 / 31
© SAP AG 2007 / 32
Time Zones in CRM: Object-Related Approach
ITEM
_________________________________
_________________________________
Date
profile _________________________________
Assign to
_________________________________
© SAP AG 2007 / 34
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
Motivation and overview of time zones _________________________________
User-related time zone approach _________________________________
Object-related time zone approach _________________________________
© SAP AG 2007 / 36
© SAP AG 2007 / 37
© SAP AG 2007 / 38
Time Zones Customizing Transactions
_________________________________
_________________________________
_________________________________
Main Time Zones Customizing Transactions
(T-Codes) _________________________________
T-Code Description _________________________________
STZAC Maintain time zone Customizing
_________________________________
STZAD Display time zone Customizing
STZBC Maintain time zone basis Customizing _________________________________
STZBD Display time zone basis Customizing
_________________________________
STZGC Maintain geographic time zone Customizing
STZGD Display geographic time zone Customizing _________________________________
_________________________________
© SAP AG 2007 / 39
© SAP AG 2007 / 40
© SAP AG 2007 / 41
ABAP Commands
_________________________________
CONVERT
CONVERT TIMESTAMP f1 TIMEZONE f2 INTO DATE f3
_________________________________
TIME f4
_________________________________
– See help in ABAP
WRITE
_________________________________
Output of time Stamp _________________________________
WRITE f1 TIMEZONE f2
Output of time Stamp (only date) _________________________________
WRITE f1 TIMEZONE f2 AS DATE
Output of time Stamp (only time) _________________________________
WRITE f1 TIMEZONE f2 AS TIME
_________________________________
_________________________________
_________________________________
© SAP AG 2007 / 42
© SAP AG 2007 / 43
© SAP AG 2007 / 44
Switch to/from DST
_________________________________
In a global system use time zone of the majority of users
_________________________________
Switch from winter to summer time (DST)
– Generally no problem for duplicate timestamps, etc. _________________________________
– Possibly batch jobs and background jobs must be rescheduled
_________________________________
Switch from summer (DST) to winter time: _________________________________
– 2 hours downtime to be planned during switch from summer to
winter time (double hour problem, could lead to duplicate _________________________________
timestamps)
– Up from Basis ≥ 6.40 a “slowdown” of SAP kernel possible so that _________________________________
only “one hour consumed for two real hours”
– Check is needed if application supports this mechanism _________________________________
– More information in SAP Notes 102088 and 7417 and references
_________________________________
If no downtime acceptable:
– Operate a global system in UTC without DST! _________________________________
© SAP AG 2007 / 45
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
Motivation and overview of time zones _________________________________
User-related time zone approach _________________________________
© SAP AG 2007 / 47
Time Zone Functionality (Mostly) Implemented
_________________________________
User-related time zone approach
_________________________________
Mostly being used for financial applications
Being used for Basis system transaction spool display (SP01) _________________________________
and up from SAP R/3 Enterprise in a few more system transactions
_________________________________
Object-related time zone approach
Being used for logistics applications _________________________________
Some functionality still missing in SAP ERP components
_________________________________
Implemented in SAP SCM and in CRM (date formats)
© SAP AG 2007 / 48
Resources
_________________________________
SAP Service Marketplace:
_________________________________
General information about global solutions
– http://service.sap.com/globalization * _________________________________
Æ List of FAQ Æ Which time-zone functionality does SAP currently
offer? _________________________________
Æ Media Library Æ Globalization Workshop Æ Country Version and
Time Zones _________________________________
More Questions? Write email to globalization@sap.com
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
* Requires login credentials to the SAP Service Marketplace
© SAP AG 2007 / 49
© SAP AG 2007 / 52
Your Turn
_________________________________
Thank _________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
© SAP AG 2007 / 53
YOU! _________________________________
Copyright 2007 SAP AG. All Rights Reserved.
_________________________________
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be
changed without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.
Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation.
_________________________________
IBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390, OS/400, iSeries, pSeries, xSeries, zSeries, System i, System i5, System p,
_________________________________
System p5, System x, System z, System z9, z/OS, AFP, Intelligent Miner, WebSphere, Netfinity, Tivoli, Informix, i5/OS, POWER, POWER5, POWER5+, OpenPower and PowerPC are
trademarks or registered trademarks of IBM Corporation.
Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries.
Oracle is a registered trademark of Oracle Corporation.
UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.
Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc.
_________________________________
HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C®, World Wide Web Consortium, Massachusetts Institute of Technology.
Java is a registered trademark of Sun Microsystems, Inc.
JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape.
_________________________________
MaxDB is a trademark of MySQL AB, Sweden.
SAP, R/3, SAP, SAP.com, xApps, xApp, SAP NetWeaver, Duet, PartnerEdge, and other SAP products and services mentioned herein as well as their respective logos are trademarks
or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their
respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.
_________________________________
The information in this document is proprietary to SAP. No part of this document may be reproduced, copied, or transmitted in any form or for any purpose without the express prior
written permission of SAP AG.
This document is a preliminary version and not subject to your license agreement or any other agreement with SAP. This document contains only intended strategies, developments,
and functionalities of the SAP® product and is not intended to be binding upon SAP to any particular course of business, product strategy, and/or development. Please note that this
_________________________________
document is subject to change and may be changed by SAP at any time without notice.
SAP assumes no responsibility for errors or omissions in this document. SAP does not warrant the accuracy or completeness of the information, text, graphics, links, or other items
contained within this material. This document is provided without a warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability,
fitness for a particular purpose, or non-infringement.
_________________________________
SAP shall have no liability for damages of any kind including without limitation direct, special, indirect, or consequential damages that may result from the use of these materials. This
limitation shall not apply in cases of intent or gross negligence.
The statutory liability for personal injury and defective products is not affected. SAP has no control over the information that you may access through the use of hot links contained in
these materials and does not endorse your use of third-party Web pages nor provide any warranty whatsoever relating to third-party Web pages.
_________________________________
_________________________________
© SAP AG 2007 / 54
Wellesley Information Services, 990 Washington Street, Suite 308, Dedham, MA 02026
Copyright © 2007 Wellesley Information Services. All rights reserved.