SAP Knowledge Base Article - Public

3576491 - Incorrect time while creating confirmation for maintenance order via API in SAP S/4HANA Cloud Public Edition

Symptom

  • When creating maintenance order confirmation via API, the time is incorrectly updated in SAP S/4HANA Cloud Public Edition.
  • In API payload, actual date of confirmation has been maintained according to user local time zone, but the date updated in system is in different time zone.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Send a maintenance order confirmation using API_MAINTORDERCONFIRMATION/MaintOrderConfirmation.
  2. Check the confirmation updated in SAP S/4HANA Cloud Public Edition.
  3. Observe the date time showing in incorrect time zone.

Cause

The Date/Time maintained in the API payload is not in UTC time zone, it's following the time zone of the maintenance plant assigned in maintenance order.

Resolution

Check the time zone of maintenance plant before maintain the API payload, make sure the date/time for order confirmation has been correctly converted according to plant time zone.

Keywords

Maintenance Order, Time Confirmation, API, Time Zone, Plant, Execution Time, API_MAINTORDERCONFIRMATION/MaintOrderConfirmation, UTC. , KBA , PM-FIO-2CL , Fiori User Interface (UI) for PM (Public Cloud) , PM-WOC-MO-2CL , Maintenance Orders (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions