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
- Send a maintenance order confirmation using API_MAINTORDERCONFIRMATION/MaintOrderConfirmation.
- Check the confirmation updated in SAP S/4HANA Cloud Public Edition.
- 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
SAP Knowledge Base Article - Public