Professional Documents
Culture Documents
Time Zones in Sap Presentation
Time Zones in Sap Presentation
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
SAP AG 2007 / 0
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
Motivation and overview of time zones
_________________________________
_________________________________
_________________________________
_________________________________
Wrap-up
_________________________________
_________________________________
UTC
_________________________________
_________________________________
It is Oct 31 (UK)
It is Nov 1 (DE)
It is Oct 31
_________________________________
_________________________________
Which year?
2007
Which day is
today?
DST applies!
It is Nov 1
It is Oct 31
_________________________________
_________________________________
DST applies
It is 09 h 37m 54s
DST applies
UTC = Universal Time Coordinated
DST = Daylight Saving Time
_________________________________
_________________________________
_________________________________
SAP AG 2007 / 3
_________________________________
The solution must support global business practices
Global reporting, consolidation
Global process definition
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
SAP AG 2007 / 4
_________________________________
More and more customers are implementing a global solution
Several topics are always visible
_________________________________
Language support: (e.g., How to handle these fancy scripts for Asia?)
_________________________________
Unicode support
_________________________________
_________________________________
And:
How to handle systems running on multiple time zones?
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
ESS/MSS
Test CompanyApplication
_________________________________
_________________________________
_________________________________
Todays date: Local or
Global Universal Time
Coordinated (UTC)?
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
SAP AG 2007 / 6
Time Zones
_________________________________
Time zones are important attributes of
Application objects (customers, vendors, plants, companies, )
Events (scheduling, tracking, period determination, ... )
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
_________________________________
Operating System Time
Time zone is defined within the user settings
Environment variable TZ under Unix
This time zone setting also defines daylight saving time
- Time does not need to be adjusted
SAP AG 2007 / 8
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
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
_________________________________
_________________________________
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
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
Date and time in wall-clock format
Problem: (e.g., The posting day should be in the right period)
No time zone information by default
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
Have to refer to the local date and time instead of system date
and time
_________________________________
_________________________________
_________________________________
SAP AG 2007 / 11
_________________________________
Time zone settings defined
within the IMG
System time zone will be set
This time must match
operating system
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
SAP AG 2007 / 12
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
Activates
time zone
settings
_________________________________
_________________________________
SAP AG 2007 / 13
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
Shows user
time zone in
any
application
or
transaction
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
SAP AG 2007 / 14
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
Local time zone in SAP
NetWeaver Portal User
Profile
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
SAP AG 2007 / 15
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
FI posting without time zone
setting for the end user
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
SAP AG 2007 / 16
_________________________________
Purpose
This scenario describes the contents of date fields on the FI
document when the time zone function is enabled in the system
(DST = Daylight Saving Time)
Scenario
System Time Zone =
UTC+10
(e.g., Australia)
13.11.05/09:47:06
System date/time =
12.11.05/18:47:06
_________________________________
_________________________________
_________________________________
_________________________________
(system time+15 h)
Result
When the time zone function is enabled in the system, default dates at
the time of data entry are based on the users time zone, not the
system date
The Entry date and Time of entry fields in the accounting document
header receive the system date and time (table BKPF)
SAP AG 2007 / 17
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
Purpose
This topic discusses the implications of the fiscal period end for a
corporation or companies with plants located in multiple time zones
Scenario
You may have one or both of the following situations:
_________________________________
_________________________________
_________________________________
_________________________________
2. Separate entities within a corporation (for example, with plants that are
located in separate time zones)
_________________________________
Result
_________________________________
FI close period
The FI posting periods are determined by the fiscal year variant
associated with the company code. You can open/close posting periods
based on a company codes local time if you have a unique fiscal year
variant defined for each company code. Authorizations can be used to
prevent unwanted postings into open periods other than the current
period.
_________________________________
_________________________________
_________________________________
SAP AG 2007 / 18
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
Customizing
node for
company
code
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
SAP AG 2007 / 19
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
Maintenance screen for
the address of a company
code with field for
the time zone
_________________________________
_________________________________
_________________________________
_________________________________
SAP AG 2007 / 20
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
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
_________________________________
All SAP NetWeaver BI monitors display timestamps regarding the
user time zone:
RSD1
Cube
administrator
_________________________________
_________________________________
_________________________________
_________________________________
Monitor
details
Monitor
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
SAP AG 2007 / 22
_________________________________
Basis monitors display timestamps regarding the system time:
ST22 Dump Analysis
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
SAP AG 2007 / 23
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
Motivation and overview of time zones
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
Wrap-up
_________________________________
Time zone in logistics should reflect business object location
Time zone as attribute of a business object ...
_________________________________
_________________________________
Plant
Warehouse
_________________________________
Customer
User
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
Tracking
Transportation
_________________________________
Service management
Customer calls/call centers
SAP AG 2007 / 25
_________________________________
Plant
Eastern Europe
(UTC + 2)
Object view
Store
Central Europe
(UTC + 1)
Customer
Americas
(UTC - 8)
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
Production time:
8:00 PM
Store-in time:
7:30 PM
Delivery time:
8:00 PM
Database view
SAP AG 2007 / 26
Arrival time:
7:00 PM
Arrives before
produced!
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
Plant
Eastern Europe (UTC + 2)
Production time:
8:00 PM
Object view
Customer
Americas (UTC - 8)
Store
Arrival time:
7:00 PM
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
Production time:
6:00 PM
Store-in time:
6:30 PM
Delivery time:
7:00 PM
Arrival time:
3:00 AM
_________________________________
_________________________________
_________________________________
(UTC)
_________________________________
Database view
SAP AG 2007 / 27
_________________________________
Customizing
of plant data
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
SAP AG 2007 / 28
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
Customizing
of plant
address
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
SAP AG 2007 / 29
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
SAP AG 2007 / 30
_________________________________
Financial Accounting
_________________________________
Company code
_________________________________
Logistics General
Locations
_________________________________
Plants
_________________________________
Sales organizations
Sales office
_________________________________
Materials Management
_________________________________
_________________________________
Logistics eExecution
Transportation planning point
_________________________________
Customer
_________________________________
...
SAP AG 2007 / 31
_________________________________
_________________________________
_________________________________
Custom izing: Plant
Plant
1000
Location
1000
Nam e
Loc.type
1001
Production plant
Street
Alsterstr. 13
Town
General
Address
Street
Alsterstr. 13
Town
Region 02
Hamburg
Tim e zone
CET
Language
Germ an
SAP AG 2001
SAP AG 2007 / 32
Region 02
Hamburg
Tim e zone
CET
Language
Germ an
APO
Time zone to
be maintained
in SAP R/3 for
use in Supply
Chain
Management
(SCM)/Advanced
Planning and
Optimization
(APO)
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
Date Profile
Duration
Mandatory
CRM transaction
types
z Mandatory:
Number value
Time unit (e.g., 4 days)
Date
format
_________________________________
_________________________________
_________________________________
_________________________________
z Date rules
Assigned
to
_________________________________
_________________________________
_________________________________
Reference
Object
z Only by having a
Mandatory
reference object
at certain time
can become local
_________________________________
CRM item
categories
_________________________________
_________________________________
_________________________________
Date management is possible at header and item levels
IMG Customer Relationship Management Basic Functions
Date Management Assign Date Profile to Transaction Type or
Assign Date Profile to Item Category
_________________________________
_________________________________
_________________________________
HEADER
_________________________________
_________________________________
Assign to
ITEM
_________________________________
_________________________________
Date
profile
_________________________________
Assign to
_________________________________
SAP AG 2007 / 34
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
Motivation and overview of time zones
_________________________________
_________________________________
_________________________________
_________________________________
Wrap-up
_________________________________
_________________________________
Set of rules that dictates the offset of the users local time from
UTC
_________________________________
Time Zone
DST rule
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
SAP AG 2007 / 36
_________________________________
_________________________________
_________________________________
_________________________________
List of all defined time
zones in SAP Customizing.
New time zones can be added
with own names.
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
SAP AG 2007 / 37
_________________________________
Field for Timestamp: TSTMP (DEC 15 Internal P (8: Short/11 Long))
Field for Time zone: TZONE ((CHAR 6) Internal C (6))
Customizing tables
TTZCU: Customizing Time Zones
TTZD: DST rules
TTZDF: DST (fixed annual rules)
TTZDV: DST (variable rules)
TTZR: Time Zone rules
TTZZ: Time Zones
System fields
SYST-TSTUT
Time Stamp
SYST-DATUM/SYST-UZEIT
System date and time
SYST-DATLO/SYST-TIMLO
System time converted into users time zone
SAP AG 2007 / 38
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
Main Time Zones Customizing Transactions
(T-Codes)
T-Code
_________________________________
_________________________________
_________________________________
Description
STZAC
STZAD
STZBC
STZBD
STZGC
STZGD
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
SAP AG 2007 / 39
_________________________________
TZ_UTIL (Function Group) Time Zone Utilities
TZON_CHECK_TIMEZONE
TZON_GET_TIMEZONE_TEXT
TZON_GET_USER_TIMEZONE
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
SAP AG 2007 / 40
_________________________________
_________________________________
_________________________________
Example for ABAP
function that
converts local time
to system time
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
SAP AG 2007 / 41
ABAP Commands
_________________________________
CONVERT
CONVERT TIMESTAMP f1
TIME f4
TIMEZONE f2
INTO
DATE f3
_________________________________
_________________________________
_________________________________
WRITE
_________________________________
_________________________________
AS DATE
AS TIME
_________________________________
_________________________________
_________________________________
_________________________________
SAP AG 2007 / 42
_________________________________
Run tests with client and server within different time zones
Run tests with different parties involved in the scenario (plant,
customer, processor, ) and locate these parties in different
time zones
Run tests (entering/processing time dependent data) and set the
local time of the server within duplicate hour at end of DST
(switching date from/to DST)
Run tests entering time dependent data. Choose legal and illegal
timepoints as well as time durations that touch.
The duplicate hour at the end of DST
The missing hour at the beginning of DST
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
SAP AG 2007 / 43
_________________________________
in Germany
in Australia
NSW Sydney
(New South
Wales)
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
SAP AG 2007 / 44
_________________________________
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
If no downtime acceptable:
Operate a global system in UTC without DST!
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
SAP AG 2007 / 45
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
Motivation and overview of time zones
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
The system needs to know
Correct UTC time or
Time zone, date, and time
to convert properly between
universal time and local time
When using a local point in time,
when changing from summer time to
winter time, an indicator is needed during
the duplicate hour
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
SAP AG 2007 / 47
_________________________________
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
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
SAP AG 2007 / 48
Resources
_________________________________
SAP Service Marketplace:
General information about global solutions
http://service.sap.com/globalization *
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
http://help.sap.com > SAP ERP >
ERP Central Component Release
6.0 SR1 SP08 > English > SAP
Library > SAP ERP Central
Component > Cross-Application
Components > General
Application Functions (CA-GTF) >
Time Zones (CA-GTF-TIM)
SAP AG 2007 / 50
_________________________________
_________________________________
_________________________________
_________________________________
Access to time
zone specific
online
documentation
_________________________________
_________________________________
_________________________________
_________________________________
Available end of
October 2007
in German first,
English follows in
April 2008
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
SAP PRESS
270 Pages
_________________________________
_________________________________
www.sappress.com/product.cfm?account=&product=H2917
SAP AG 2007 / 51
_________________________________
Time zones are supported in SAP
The user-related time zone approach assigns every SAP user
a local time zone. It is mostly used in financial applications.
The business object-related time zone approach assigns every
business object with a configured address a time zone. It is used
for logistics applications mostly.
SAP CRM and SCM provide extended time zone functionality
If time zones are actively used, the user and object-related
settings should be used for all user and all business objects
You can customize and configure time zones
An ABAP function library allows you to develop specific
customized programs for your own time zone requirements
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
SAP AG 2007 / 52
Your Turn
Thank
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
YOU!
SAP AG 2007 / 53
_________________________________
_________________________________
_________________________________
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