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 to Create a Delivery

Former Member
0 Likes
725

Hi,

I have created a STO. I want to create a Delivery for this STO. Can anyone pls let me know the BAPI for creation of delivery and Shipment for a STO?

Pls help

Thnaks

Ram

4 REPLIES 4
Read only

Former Member
0 Likes
686

U can use the below FM...for the same.

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.

<b>--I will get you the BAPI for shipment creation but please assign points for all helpful answers!!</b>

Message was edited by: Anurag Bankley

Read only

0 Likes
686

Hi,

Thanks for the reply.

I want the BAPI for creation of Shipment also.

Pls help.

Thanks

Ram

Read only

0 Likes
686

Please try: BAPI_SHIPMENT_CREATE

Kind Regards

Eswar

Read only

0 Likes
686

Hi Ram

You can use BAPI_SHIPMENT_CREATE or SD_SHIPMENT_CREATE for shipment creation .

Regards

Saurabh