on 05-22-2023 4:20 PM
For example, The PO created without components. Later they just add Material at component level and saved it, The reservation and reservation item is created automatically. (Created in S4 hana system without using API). Example W1503 PO
If the customers wants to add new material to PO created with empty components, How can i know what is the reservation and reservation item. Reservation and reservation item need to happen automatically when i added material at component. How can i add new material with the help of API without reservation and res item?
In summary, is there an API that can be used to add new material at item level ?
Hi Oscar,
With the API it doesn't appear to be possible to add a component
The documentation of the API at the link below has the following constraints :
With this service, it is not possible to:
This would be missing functionality . Please consider raising a feature request if you would like it added
2963059 ( https://launchpad.support.sap.com/#/notes/2963059 )
Best Regards
Enda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi graciano18
We have the API API_PRODUCTION_ORDER_2_SRV in S/4HANA Cloud
It has an Entity A_ProductionOrderComponent_4 which supports a PATCH operation and includes the material field
https://help.sap.com/docs/SAP_S4HANA_CLOUD/d35113ee62644d3abee1aaec148291d9/8cdaccb89bfa42d8b2c4040f...
https://api.sap.com/api/API_PRODUCTION_ORDER_2_SRV/overview
Have you considered using this ?
Best Regards
Enda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Enda, thank you for the respone.
Please see the comment from customer below:
Through the API how to add a new component to the production order?
Hi Enda,
Currently i have used A_ProductionOrderComponent_4, but with the help of this API, we can update the existing material/ requested quantity with the help of reservation and reservation items fields are are mandatory.
FYI
To change an existing component of a production order we need the reservation and the reservation item number but to add a new component a reservation is not needed. It will be created by SAP upon saving the production order.
Through the API how to add a new component to the production order?
Thanks,
Madhava
User | Count |
---|---|
100 | |
8 | |
8 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.