cancel
Showing results for 
Search instead for 
Did you mean: 

DateTime in OData API response doesn't match with UI

SAPSupport
Employee
Employee
0 Kudos
604

Hi Experts,

When I query data with OData API "API_OUTBOUND_DELIVERY_SRV", I found the Date Time value is not the same with UI.
Is the API returns the date time with Server's time zone?
May I ask is the Timezone fixed on server for SAP S/4HANA public cloud edition? If so what's the Timezone?


------------------------------------------------------------------------------------------------------------------------------------------------
Learn more about the SAP Support user and program here.

View Entire Topic
SAPSupport
Employee
Employee
0 Kudos

Value pairs, which refer to date and time fields, are displayed in Coordinated Universal Time (UTC). This does not apply to attributes which only have a date field but no time field.

Please refer to the following help documentation,

S/4HANA Cloud Edition:

https://help.sap.com/docs/SAP_S4HANA_CLOUD/588780cab2774a7ab9fffca3a7f919fe/a4e35aa266bb4b11a7d79629...

On-Premise Edition:

https://help.sap.com/docs/SAP_S4HANA_ON-PREMISE/2f36056ae9a044bba55bcbad204b7bc5/a4e35aa266bb4b11a7d...

adrien_delanoe
Participant
0 Kudos

@SAPSupport, can you please update your answer? The links you provided are not working anymore.

This date inconsistency still occures between API and UI even though the timezone is exactly the same (both CET in UI and API in my case), we need to understand what is the logic behind this to build an interface.

Many thanks,

Adrien

RaymondGiuseppi
Active Contributor
0 Kudos

Try to seach for your version:

(or, with luck, Wayback Machine - Internet Archive)

adrien_delanoe
Participant
0 Kudos
Hi Raymond