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

Bapi for creating an Outbound Delivery

Former Member
0 Likes
506

Hello everybody.

I need a Bapi to create an outbound delivery with reference to a Sales Order.

This type of deliveries are created in transaction VL01N.

Do you know if there is a Bapi for this purpose?

Any help is very apreciated. Thanks.

Hello everybody.

I need a Bapi to create an outbound delivery with reference to a Sales Order.

This type of deliveries are created in transaction VL01N.

Do you know if there is a Bapi for this purpose?

Any help is very apreciated. Thanks.

2 REPLIES 2
Read only

Former Member
0 Likes
459

Hello,

Try the following.

BAPI_OUTB_DELIVERY_SAVEREPLICA

BAPI_DELIVERPROCESSING_EXEC

The below is for creating delivery for STO's.

----


  • Delivery creation

----


call function 'SHP_VL10_DELIVERY_CREATE'

exporting

IF_LEDAT = I_LFDAT

IF_NUR_VORGABE_POS = YES

IT_KEY_ENQUE_READ = IT_KEY_ENQUE_READ

IT_KOMDLGN = IT_KOMDLGN

changing

CX_SD_ORDER = XS_SD_ORDER

CT_VBSK_ALL = XT_VBSK_ALL

CT_VBLS = XT_VBLS

CT_KEY_LATE = XT_KEY_LATE.

Thanks,

Suresh Ganti

Read only

Former Member
0 Likes
459

hi

good

try with these BAPIS

BAPI - BAPI_DELIVERYPROCESSING_EXEC

FM's : RV_DELIVERY_CREATE,GN_DELIVERY_CREATE

thanks

mrutyun^