Supply Chain Management Blogs by SAP
Expand your SAP SCM knowledge and stay informed about supply chain management technology and solutions with blog posts by SAP. Follow and stay connected.
cancel
Showing results for 
Search instead for 
Did you mean: 
surany_gecse
Explorer

Sometimes it can be confusing when someone is working in time zone-"A",

The location product he/she is working on is at a location in time zone "B",

also some dependent location products are in a time zone "C",

and you check some additional information about the order data with GT_IO, where you see a fourth kind of timestamp...

In the transaction /SAPAPO/RRP3 where you list the orders for a specific location product with exact date/time data, in the settings menu you can set the time zone for your screen as you wish. (set for user location, location of the product, to any time zone of your preference, or simply to UTC)

With that you can change the "external representation of time", which means the date/time data on your screen will converted to be shown according to your preference.

In some other transaction you also have this possibility (like in /SAPAPO/PPT1 or /SAPAPO/CDPS0).

As per in the online documentation about time zones there is another definition for "internal representation of time"

The presence of internal and external representation if time means, that for the storage date/time data is unified, it is converted to UTC+0.

So the transactions can understand the dates/times created by each other.

According to these when date/time data is readen out from LiveCache - (where it is always stored in UTC+0 !) - it will be converted from internal representation to external representation in the transacions to display.

So if you suspect that a date/time on the screen is wrong, always check the time zone setting in the menu first, and according to the settings there, check the time zone setting of the location (/SAPAPO/LOC3), or time zone settings of the user (SU01), and also you can compare them to values visible in GT_IO.

Back to /SAPAPO/RRP3, using the OK-code 'GT_IO', to display some additional information about the orders in the chart displayed, for example the creation time of the order object.

In the chart of GT_IO (and partially that is why this blog post has been created) the date/time data is shown (differently from RRP3) always exactly as it is stored in the LiveCache (in "internal representation form")

So you will have same date/time data of RRP3 and in GT_IO if you set time zone to UTC.

More details about Time Zones and Representation in the SAP Online Documentation: Time Zones (BC-SRV-TIM)

You can find an application example of GT_IO on the SCN: How to read order details from the liveCache with FM /SAPAPO/OM_ORDER_GET_DATA

1 Comment