cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Unable to create HU's after GR posting from custom fiori app in s4 hana public cloud.

0 Kudos
189

Hello Experts,

Need your expertise here.

We are working on S/4HANA Public Cloud (WM-managed storage location).
We have developed a custom SAPUI5 application to perform Goods Receipt for inbound materials. The GR posting is successfully done using the standard API:
• API_MATERIAL_DOCUMENT_SRV
Service: /sap/opu/odata/sap/API_MATERIAL_DOCUMENT_SRV
When GR is posted from the standard SAP Web GUI / Fiori “Post Goods Movement”, the system automatically creates:
1. Warehouse Task (WT)
2. Handling Unit (HU)
However, when the GR is posted using API_MATERIAL_DOCUMENT_SRV, no Warehouse Task or Handling Unit is created automatically.
We require the same system behavior through the API, because warehouse operations depend on HU creation after GR.

 Expected Behavior
• After GR posting via API, system should trigger WM follow-up actions:
 Create Handling Unit
 Create Warehouse Task
 HU should reference the material document

 Actual Behavior
• Material document is successfully created.
• No Warehouse Task is created.
• No Handling Unit is created.
• There is no documented public API that creates HU for a GR in WM-managed locations.

 What we already checked
✔ API_MATERIAL_DOCUMENT_SRV
✔ API_PURCHASEORDER_2_SRV
✔ API_INBOUND_DELIVERY_SRV
✔ API_HANDLING_UNIT (A2X) – not available / not supported in our S/4HANA Public Cloud system
✔ No BAdI or extensibility available for auto-HU creation after GR
✔ No replacement API documented in SAP API Hub for HU creation from GR

 Request
1. Please confirm whether automatic HU + WT creation is supported when GR is posted via API in a WM-managed storage location in S/4HANA Public Cloud.
2. If supported, provide:
• API name
• Service path
• Sample payload
• Any required configuration
3. If not supported, please confirm if this is a product limitation and provide recommended alternative.

 System Details
• S/4HANA Cloud Public Edition
• Scope Item: Warehouse Management in Stock Room Management (If applicable)
• Material Document posted via: API_MATERIAL_DOCUMENT_SRV

 Steps to Reproduce
1. Use API_MATERIAL_DOCUMENT_SRV to post GR for PO
2. GR document successfully created
3. Check /SCWM/PRDI or HU Fiori app → no HU, no WT

Accepted Solutions (0)

Answers (0)