Application Development and Automation 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: 
Read only

FM or BAPI for Outbound delivery / Batch split

Former Member
0 Likes
6,549

Hello !

I need to create an outbound delivery from a sales order.

I also need to split the items of my delivery into different batchs.

The problem is I can't find a function module to do that. I have tried BAPI_DELIVERYPROCESSING_EXEC but I don't see how to split batch with it.

Any help would be welcome !

Thanks,

Yann Portrait

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,127

hi!!!!!!!

You can use the following BAPI and FM.

BAPI_SALESORDER_CREATEFROMDAT2.

BAPI_IBDLV_CREATE_ FROM_OBDLV.

BAPI_DELIVERYPROCESSING_EXEC

RV_DELIVERY_CREATE

GN_DELIVERY_CREATE.

RV_DELIVERY_CREATE_SINGLE

TO USE RV_DELIVERY_CREATE, i first you have to use function module SHP_GET_SD_DATA to get sales order data and then call RV_DELIVER_CREATE fm with corresponding tables parameters.

reward if helpful..

3 REPLIES 3
Read only

Former Member
0 Likes
2,128

hi!!!!!!!

You can use the following BAPI and FM.

BAPI_SALESORDER_CREATEFROMDAT2.

BAPI_IBDLV_CREATE_ FROM_OBDLV.

BAPI_DELIVERYPROCESSING_EXEC

RV_DELIVERY_CREATE

GN_DELIVERY_CREATE.

RV_DELIVERY_CREATE_SINGLE

TO USE RV_DELIVERY_CREATE, i first you have to use function module SHP_GET_SD_DATA to get sales order data and then call RV_DELIVER_CREATE fm with corresponding tables parameters.

reward if helpful..

Read only

2,127

Hi !

Thanks for this list.

However, I still wonder how I can split batch in my delivery.

Yann

Read only

Former Member
0 Likes
2,127

I finally found my way here :

thanks to <a href="https://forums.sdn.sap.com/profile.jspa?userID=3483985">Senthil G</a>