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

what is the odatav2 api to add a material assignment to production routing header

RaulM
Explorer
0 Kudos
411

Hello experts,

i've been using the API_PRODUCTION_ROUTING api to post a new material assignment to SAP public cloud.

somehting like this:

query = `/ProductionRoutingHeader(ProductionRouting='${ProductionRout}', ProductionRoutingGroup='${ProductionRoutGroup}',ProductionRoutingInternalVers='${ProductionRoutiVers}')/to_MatlAssgmt`
and then post the product and plant in the payload.
 
but it seems this got deprecated. Is there a replacement for this? i cant seem to find the same type of endpoint.
Thank you.
View Entire Topic
Enda
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello @RaulM 

 

We have Version 3 of the Routing API API_PRODUCTION_ROUTING;v=3

https://api.sap.com/api/sap-s4-CE_API_PRODUCTION_ROUTING_0003-v3/overview )

 

Please check the sample payload at Create Production Routing Material Assignment (Version 3)

 

Best Regards

Enda

RaulM
Explorer
0 Kudos
thank you Edna, this seems to do the job