SAP Knowledge Base Article - Public

3726817 - Handling unit information is not returned via API for consignment fill-up deliveries after goods movement is posted

Symptom

  • Different data is returned with API_OUTBOUND_DELIVERY_SRV_0002 for normal deliveries and consignment fill-up deliveries.
  • Handling unit information is not returned via API for consignment fill-up deliveries after goods movement is posted

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Use the API_OUTBOUND_DELIVERY_SRV_0002 to query the handling unit information for consignment fill-up delivery (create from consignment fill-up order) and standard delivery (created from standard sales order).
  2. Observe that handling unit information is returned for the standard delivery but not for the consignment fill-up delivery after goods movement is posted.

Cause

  • When goods issue is posted for a consignment fill-up delivery, the stock is transferred to the customer consignment stock.
  • The handling unit is no longer attached to the delivery document but is associated with the order consignment stock for the particular customer.
  • The API request `to_HandlingUnitHeaderDelivery` only provides handling unit header information for handling units associated with the delivery document.

Resolution

After goods issue posting, query the handling units using the Handling Unit ODATA API and query the Handling Unit information via the $filter=HandlingUnitReferenceDocument. 

/sap/opu/odata4/sap/api_handlingunit/srvd_a2x/sap/handlingunit/0001/HandlingUnit?$filter=HandlingUnitReferenceDocument eq '********'

See Also

Handling Unit ODATA API

Keywords

api_outbound_delivery_srv_0002, consignment fill-up delivery, handling unit, goods issue, handlingunitreferencedocument, odata api, delivery document, consignment stock, handling unit header, query handling units, data discrepancy. , KBA , LO-HU-2CL , Handling Unit Management (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions