3 weeks ago
While working on an integration to create sales orders in SAP S/4HANA Cloud, I came across two relevant OData APIs provided by SAP:
I encountered some unexpected limitations and I am hoping you could help me with a best practice approach.
Create a Sales Order via API
Include a billing plan on item level
Include the requested delivery date on item level
Supports billing plan at item level
Does not support Requested Delivery Date at item level directly in the item payload
Strangely enough, the “Create Sales Order” Fiori app does let you enter requested delivery dates per item manually
You can only set it via a second call to the schedule line entity (to_ItemScheduleLine)
No support for billing plans
Does support Requested Delivery Date per item
Since I want both the billing plan and requested delivery date, I’m forced to:
Use V2 API to create the Sales Order with Billing Plan.
Make a second API call to /A_SalesOrderItemScheduleLine to update the RequestedDeliveryDate.
Request clarification before answering.
Check whether you need to implement the code corrections as recommended in SAP note 3432687
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
4 | |
4 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.