cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Wait Time not available in production order operations API

RobC99
Newcomer
0 Kudos
111

A minimum Wait Time is visible for each production order operation in SAP. This wait time is not available in any production order operation API endpoint (API_PRODUCTION_ORDER_2_SRV). Can this field be added to the endpoint, or is there an alternative endpoint?

I know the value is available via the routing endpoint (API_PRODUCTION_ROUTING;v=0003), but this endpoint returns the base value in the routing, not the actual value in the production order operation. If someone manually overrides the value, the value returned by the routing endpoint will not be correct. 

Accepted Solutions (0)

Answers (1)

Answers (1)

Chris1973
Active Contributor
0 Kudos

Good day @RobC99 

Thank you for your question.

Have a look at these references for more information.

Production Order (Version 2), Operations for Production Order (Version 2), CDS Views, APIs for Manufacturing

The entity set A_ProductionOrderOperation includes various key fields but not the field for Wait Time. The API focuses on order-execution data and doesn’t yet expose all scheduling- relevant parameters. The options provided by the Clean-Core approach is to either follow the analytical approach by using Released CDS views, Use Released API for scheduling data or use a Custom Logic BAdI.

To summarise, the current API does not expose the wait time field because it focuses on operational execution data. Consider using the CDS view I_ProdnOrdOpSchedgParams (includes manual overrides), which you can join with I_ProductionOrderOperation. If API access is required, you can implement a Custom Logic BAdI to append the field to the existing endpoint or monitor the upcoming API_PRODUCTION_ORDER_3_SRV which will natively include it.

 

Let me know if you have further questions.

Best regards

Chris