on 2025 May 12 2:00 PM
Hi ,
the Business Scenario:
The Production Order item is A . The component of Production Order is B and C.
I want to add a product D to the component of Production Order . And I want to add a by-product E to the component of Production Order .
But I find that there is no creat APIs for Production Order Component . It just have Read & Update & Delete for Production Order Component .
Request clarification before answering.
Hi @omega-ou
When I worked with Production Order in S/4HANA Cloud, I used the local API.
I added the co-product via i_productionordertp\_item.
And the Production Order Component via i_productionorderoperationtp\_operationcomponent.
Hope this helps you.
BR, Oleg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@omega-ou
In ADT, in your development system, open the business object interface I_PRODUCTIONORDERTP.
At the top, you can access the documentation.
In the right-hand window, you can see code examples for each operation.
You can also explore this business object at the link: https://api.sap.com/bointerface/I_PRODUCTIONORDERTP
BR Oleg
Hi @Oleg_Vokh ,
By any chance can you share sample code to add multiple items. I am okay with adding one item at a time. But having issues adding multiple.
Thanks
-Aman
Hi,
If you are using a 2SL system, you will need to patiently wait for the release of the V4 API, which you can reference in CIP: Improvement Request Details - Customer Influence
If you are using a 3SL system, you can check the API HUB to see if the business objects have already been published. You can access this through the following link: Business Object Interface | SAP S/4HANA Cloud Public Edition Business Object Interfaces | SAP Busine...
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 27 | |
| 25 | |
| 16 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.