Symptom
Below error message occurs when creating Handling Unit with Odata API /sap/opu/odata4/sap/api_handlingunit/srvd_a2x/sap/handlingunit/0001/HandlingUnit
Error ID "HU_RAP 003"
Message Text "Packaging material &1 invalid"
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
Sample URL
Sample Payload
{ "HandlingUnitExternalID": "$1", "Warehouse": "", "PackagingMaterial": "TGD-PALLET-INT-1", "_HandlingUnitItem": [ { "HandlingUnitExternalID": "$1", "HandlingUnitTypeOfContent": "1", "Plant": "1010", "StorageLocation": "101A", "Material": "FG126 ", "HandlingUnitQuantity": 2, "HandlingUnitQuantityUnit": "PC", "_HandlingUnitItemSerialNumber": [ { "SerialNumber": "31" } , { "SerialNumber": "32" } ] } ]}
Cause
Only packaging material with material Type "VERP" or "LEIH" is allowed to create Handling Units with API.
Resolution
- Check if the packaging matrial exist or not at the system.
- Change the material type as "VERP" or "LEIH" with APP Change Material (APP ID MM02) or APP Manage Product Master Data (APP ID F1602).
Keywords
Packaging Material HU_RAP 003, ODATA API, /sap/opu/odata4/sap/api_handlingunit/srvd_a2x/sap/handlingunit/0001/HandlingUnit, Handling Unit, Serial Number , KBA , LO-HU-2CL , Handling Unit Management (Public Cloud) , Bug Filed
Product
SAP S/4HANA Cloud Public Edition all versions