Symptom
- When posting to HandlingUnitItem to pack an inbound delivery before Goods Receipt, the API returns success without a response body, but no handling unit item is created (silent failure).
- In testing, the API can return HTTP 201 (created) while no handling unit item is persisted.
- When attempting related actions via the LE inbound delivery API, the following errors can occur:
• /IWBEP/CM_MGW_RT/022 - "Exception raised without specific error"
• HUSELECT/010 - "Required handling units could not be found"
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Create an inbound delivery with open delivery items.
- Create an empty handling unit via the Handling Unit (A2X) API by POSTing to HandlingUnit with warehouse and packaging material.
- Attempt to pack the inbound delivery item into the handling unit via POST to HandlingUnitItem, passing HandlingUnitReferenceDocument (inbound delivery number) and HandlingUnitRefDocumentItem (item number).
- Observe that the API returns success without an error, but no handling unit item is created.
Cause
- Packing an inbound delivery via API before Goods Receipt is not supported (missing functionality).
- HandlingUnitItem relies on StockItemUUID, a stock reference generated only after Goods Receipt.
- When called pre-GR, the service may return a success status without persisting any item and without raising a business error.
Resolution
1. Note that packing an inbound delivery via API before Goods Receipt is currently not supported in SAP S/4HANA Cloud Public Edition.
2. If packing via API is required, first post Goods Receipt so that stock is created and StockItemUUID exists, then use the Handling Unit (A2X) API to pack.
3. For supported capabilities related to creating handling units and assigning them to deliveries, refer to the documented APIs and guides.
4. If pre-GR packing via API is a requirement, submit a feature request following the official process (check "See Also" section below).
See Also
-
SAP Help Portal Inbound Delivery API - Overview
-
SAP Help Portal Create Handling Units
-
SAP Help Portal Assign Handling Unit to Delivery
-
KBA 3575878 - Issue with Packing Inbound Delivery via Handling Unit API in SAP S/4HANA Cloud Public Edition
-
KBA 2963059 - How to Submit Feature Requests for SAP S/4HANA Cloud Public Edition
Keywords
handlingunititem, handling unit api, inbound delivery, pre-gr, pre-goods receipt, pack via api, silent failure, http 201 no persistence, stockitemuuid, warehouse inbound delivery, ewm, hu item not created, assign handling unit, create handling unit, public cloud, /IWBEP/CM_MGW_RT/022 - “Exception raised without specific error” HUSELECT/010 - “Required handling units could not be found” , KBA , SCM-EWM-API-2CL , Remote APIs (Public Cloud) , Problem
SAP Knowledge Base Article - Public