cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI to create delivery with batch split and handling units?

Former Member
0 Kudos

Hello all -

I am trying to find a BAPI that will allow me to create a delivery with a batch split and assign handling units, but have been unsuccessful.

I can use BAPI_DELIVERYPROCESSING_EXEC to create the delivery, but I can't get it to assign the batches or the handling units.

Does anyone have any suggestions as to how I can accomplish this?

Thanks!

Susanna

Accepted Solutions (1)

Accepted Solutions (1)

ferry_lianto
Active Contributor
0 Kudos

Hi Susanna,

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

Hope this will help.

Regards,

Ferry Lianto

Former Member
0 Kudos

Thanks Ferry -

I might be able to use that FM to add the handling units after the fact, but I am trying to avoid doing the delivery creation in two steps.

Also I still don't know how to accomplish the batch split.

Thanks,

Susanna

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Try these

PROCESS_HU_INBOUND_DLVRY

BAPI_INB_DELIVERY_CHANGE

Regards,

Shashank

Former Member
0 Kudos

I did end up having to do it in two steps...

I used BAPI_DELIVERYPROCESSING_EXEC to create the delivery, then used WS_DELIVERY_UPDATE to update the batch split and handling unit assignment.

Thanks,

Susanna

Former Member
0 Kudos

Hi Susanna,

Just wondering, we have a two step process like you have below. The delivery is created without any batches on it. We are looking at using WS_DELIVERY_UPDATE to create batch split items for each delivery item, but cannot get it to work.

Do you know what fields need to be populated in WS_DELIVERY_UPDATE to do this?

Thanks,

Finbarr

ferry_lianto
Active Contributor
0 Kudos

Hi Susanna,

I am afraid you have to do in two steps.

In the mean time, I will do more research perhaps there is other FM that can handle both functionalty as you wish.

Regards,

Ferry Lianto