cancel
Showing results for 
Search instead for 
Did you mean: 

Format field OpSchedldStartTime of Odata API_PRODUCTION_ORDER_2_SRV/ScheduleProductionOrderOperation

mark_fryu
Participant
0 Kudos
584

hi, can anyone give me a concrete example of the value to pass for the OpSchedldStartTime field?

On the documentation it says: PT21H12M31S but I can't understand what the value should be.

if I pass 2023-09-29T00:00:00.000 I get the following error Wrong literal format for literal: '[datetime'']'.

Documentation : https://help.sap.com/docs/SAP_S4HANA_ON-PREMISE/a6f0333202384ba2b48a841a4a6deb1b/fcab73a7730e4f88b40...

View Entire Topic
dharamverma
Explorer
0 Kudos

Please use format 2024-01-11T00:00:00

Sample Payload

<?xml version="1.0" encoding="UTF-8"?> <A_ProductionOrder_2><A_ProductionOrder_2Type><MfgOrderPlannedEndDate>2024-01-11T00:00:00</MfgOrderPlannedEndDate></A_ProductionOrder_2Type></A_ProductionOrder_2>

mark_fryu
Participant
0 Kudos

Hi, thanks, I tried but nothing. The problem is on the field OpSchedldStartTime: