Symptom
- An inbound delivery is created for packing.
- The Handling Unit API is used to create handling unit with reference to the inbound delivery.
- The Handling Unit is created but the reference document is not set.
Environment
SAP S/4HANA Cloud Public Edition
Cause
- The Handling Unit API can only create standalone handling units without reference documents.
- Inbound Delivery OData API does not support creating or assigning handling units.
Resolution
As a workaround, consider using the Deliveryrequest_in API. This API is intended for supplier to customer integration, but it might be useful depending on the specific use case.
The values for batch-managed materials and handling units in an inbound delivery created with the API "Inbound Delivery – Create (B2B)" do not always reflect the corresponding values and structures specified in the payload, or in some cases with batch-managed materials and handling units, the inbound delivery cannot be created using this API. For more details, refer to the KBA 3546523 - Using the API "Inbound Delivery – Create (B2B)" with batches and handling units - SAP S/4HANA Cloud Public Edition 2408 and higher.
If the SOAP above is not fitting for the use case, consider creating a customer influence request for it. Refer to: 2963059 - How to Submit Feature Requests for SAP S/4HANA Cloud Product
See Also
- Overview | Handling Unit | SAP Business Accelerator Hub
- Operations for Inbound Delivery API | SAP Help Portal
- Overview | Inbound Delivery - Create (B2B) | SAP Business Accelerator Hub
- 2963059 - How to Submit Feature Requests for SAP S/4HANA Cloud Product
- 3546523 - Using the API "Inbound Delivery – Create (B2B)" with batches and handling units - SAP S/4HANA Cloud Public Edition 2408 and higher.
Keywords
SAP S/4HANA Cloud Public Edition, Handling Unit API, Inbound Delivery, OData API, Deliveryrequest_in API, create, assign, handling units, standalone, supplier to customer integration, customer influence request, feature requests. , KBA , LO-HU-API-2CL , HU Application Interfaces (Public Cloud) , Problem