Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Packing a Delivery via function modules or BAPI's

Former Member
0 Kudos

Does anyone know the correct function modules to call in order to pack an outbound delivery. The HU is already been entered into the delivery. I just need to pack all the items into this HU and PGI the delivery. I've tried the following function modules:

SD_DELIVERY_UPDATE_PACKING

V51P_FIND_HEADER

V51P_NEUE_HU_PRO

I'm not sure what I'm doing wrong but the delivery doesn't get packed. Anyone have a clue?

Thank you,

8 REPLIES 8

ferry_lianto
Active Contributor
0 Kudos

Hi Tony,

Have you looked at this FM <b>PROCESS_HU_INBOUND_DLVRY</b>?

Hope this will help.

Regards,

Ferry Lianto

0 Kudos

Will PROCESS_HU_INBOUND_DLVRY work with an outbound delivery?

LucianoBentiveg
Active Contributor
0 Kudos

HU_DELIVERY_ITEMS_GENERATE ?

former_member181962
Active Contributor
0 Kudos

Check the FM HU_PACKING_DELIVERY.

ferry_lianto
Active Contributor
0 Kudos

Hi Tony,

I think it should work for outbound delivery.

You can also use this BAPI <b>BAPI_HU_CREATE</b>.

Hope this will help.

Regards,

Ferry Lianto

0 Kudos

The HU is already created. I was thinking of using BAPI_HU_PACK but I don't see any input parameters for a delivery item. When I call it I get this error:

HUDIALOG 038:

HU functions outside of the delivery only via unique number assignment

0 Kudos

How did you fix this issue?

manwell77t
Explorer
0 Kudos

The problem resides in external unique number assignement for handling units:

in SPRO:

> Logistics - General

> Handling Unit Management

> External Identification

> Set Unique Number Assignment for HU Identification

Simply flag the checkbox and Save!

Without this flag BAPI's raise this info message (HUDIALOG 038). Even if it is an info message and the number is returned at the end the handling unit won't be created!

Just flag it!