SAP Knowledge Base Article - Public

3674578 - Post Goods Receipt for Inbound Delivery (API_INBOUND_DELIVERY_SRV) Fails with Error 'Invalid Function Import Parameter 'DeliveryDocument' - SAP S/4HANA Cloud Public Edition

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

  1. 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>'
  2. 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

Help Portal - Post Goods Receipt

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