Symptom
An error "Invalid Function Import Parameter 'DeliveryDocument'" occurs when performing a Post Goods Receipt for an Inbound Delivery via the API_INBOUND_DELIVERY_SRV.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Retrieve the specific inbound delivery via API Inbound Delivery (A2X) API_INBOUND_DELIVERY_SRV
Example URL: <host>/sap/opu/odata/sap/API_INBOUND_DELIVERY_SRV;v=2/PostGoodsReciept?DeliveryDocument='<InboundDeliveryID>' - The API call fails with error 'Invalid Function Import Parameter 'DeliveryDocument'
Cause
The error might be occurring because the “If-Match” header is missing.
Resolution
Add a new header in the webservice request with key 'If-Match' and value '*'.
See Also
Keywords
API_OUTBOUND_DELIVERY_SRV, Goods Receipt, Post, API, Inbound Delivery , KBA , LE-SHP-DL-2CL , Delivery Processing (Public Cloud) , How To
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public