Skip to Content
1
Jun 05, 2020 at 06:24 PM

Pack inbound delivery to create a new HU with packaging material from packaging instruction

1020 Views

Hello Experts,

Could anyone suggest a working code to pack the inbound delivery to create a new HU with packaging material?

Kindly note the things I have been able to do so far :

1) I know the packaging material and I am able to create a HU and attach it to the Inbound delivery by using FMs in the following sequence :

BAPI_HU_CREATE ( To create the Hu with Packaging material )

BAPI_HU_CHANGE_HEADER ( To attach the Inbound Delivery to this HU )

Next up, I have tried the following FMs, but none of them does the packing :
1) PROCESS_HU_INBOUND_DLVRY : This can also create the Hu and I can skip the previous steps, but it does not perform packing.
2) WS_DELIVERY_UPDATE : I get errors : 609 / 608 saying Delivery is not picked
3) HU_PACKING_AND_UNPACKING : This is also used in Tcode VL32n, but some of the global tables are not populated even though I call HU_GET_HUs to populate one of the global tables.

Kindly suggest a working code or any tips to solve this scenario.