cancel
Showing results for 
Search instead for 
Did you mean: 

Create link between Handling Unit and Inbound Delivery through API

tiborolle
Explorer
0 Kudos
814

Hi how to link through api inbound Delivery number with Handling Unit?
Handling Unit was created through API with custom numbering. Wanted to add refrenceDocumentNumber (Inbound Delivery) The HU was created but the added Inbound Delivery number not.

Tried to create an Handling Unit item with the same refrenceDocumentNumber and refrenceDocumentNumberItem but API error says the parent Handling Unit has no refrenceDocumentNumber.

What is the process link Inbound Delivery and Handling Unit through API?

 

View Entire Topic
baris_yalcin
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi tiborolle,

I don't understand your question.
It's about linking/assigning an existing handling unit (free/standalone) to an existing inbound delivery?
What do you mean with "custom numbering"? Do you pass from an external handling unit number/ID?
Which API do you mean?
Is this about S/4HANA Public Cloud or On-Premise/Private Cloud Edition?
Please provide more structured details for better understanding.

The Inbound Delivery API for LE (Logistics Execution) does not provide HUs at the moment: https://api.sap.com/api/API_INBOUND_DELIVERY_SRV_0002
Do you mean the Warehouse Inbound Delivery API instead (Cloud WM/EWM)?

The LE Outbound Delivery API (https://api.sap.com/api/API_OUTBOUND_DELIVERY_SRV_0002/overview) can handle handling units and even assign an existing handling unit to an outbound delivery:
https://help.sap.com/docs/SAP_S4HANA_CLOUD/588780cab2774a7ab9fffca3a7f919fe/27ca8a2be9924c76bdea2ab8...

In case of missing functionalities you can create a feature request via SAP Customer Influence (https://influence.sap.com/sap/ino/#). Then our product management will evaluate your request.

Best regards,
Barış

tiborolle
Explorer
0 Kudos
Hi Baris! Thank you for answer. Let me to explain what happens. We have external Android app connected to SAP Cloud Tenant through Mobile services. Trying to simulate same process like standard RF app with menu Inbound Process - Receiving of HU´s. Trying create link between Inbound Delivery and Handling Unit. After scanning a pre-printed HU number we try to pack Inbound Delivery items into that HU. I mean the API is /sap/opu/odata4/sap/api_handlingunit/srvd_a2x/sap/handlingunit/0001/HandlingUnit. As payload when we create Handling Unit - adding as Reference Document number the mentioned InbDel number. After POST the HU is created but linking to InbDel number not. The field in API "HandlingUnitReferenceDocument" remains empty, not linked in the background. Tried with HandlingUnitReferenceDocument association to HU but it seems not writable only a cross table. This is my problem if you understand.
tiborolle
Explorer
0 Kudos
In a second post attached a pic - I tried with create Handling Unit header with Item in the same call but not linking into Inbound Delivery...https://community.sap.com/t5/supply-chain-management-q-a/create-link-between-handling-unit-and-inbou...
tiborolle
Explorer
0 Kudos
And I yes I mean the Warehouse Inbound Delivery API instead (Cloud WM/EWM)
tiborolle
Explorer
0 Kudos
Communication scenario used here Communication Scenario Handling Unit Integration (SAP_COM_0364)
bcrao
Active Contributor
0 Kudos
Hi tiborolle,