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: 

BAPI for VL01n - Outbound Delivery

aayushaggarwal
Participant
0 Kudos

Hi Experts,

Can anyone please tell me the BAPI used to create Outbound Delivery (same as VL01n)

and the sample code for that

I am trying to use BAPI_OUTB_DELIVERY_CREATENOREF, but it is not helping...

Thanks in advance,

Aayush

6 REPLIES 6

Former Member
0 Kudos

Hi,

You can check the BAPI - BAPI_DELIVERYPROCESSING_EXEC .

This BAPI is not yet released so I would suggest you search the SDN for more options. Check the below link for sample code.

BAPI or FM to create outbound delivery from Sal... | SCN

Hope this helps.

0 Kudos

Hi,

In the Bapi BAPI_DELIVERPROCESSING_EXEC i am getting the below error


Output V1 039

and it is terminating the program.

Do you have any idea of this??

Regards,

Aayush

0 Kudos

Check the Credit limit of the customer for which you are creating the Delivery, the message says credit limit has exceeded. Ask your functional guy to increase the credit limit and check again. Also analyse the dump in ST22 and check what is causing the dump.

Hope this helps.

Former Member
0 Kudos

Hi,

Use below FM

BAPI_OUTB_DELIVERY_SAVEREPLICA

BAPI_DELIVERPROCESSING_EXEC

Regards,

Salil


0 Kudos

Hi,

BAPI_OUTB_DELIVERY_SAVEREPLICA is giving an error


vlbapi 004

i saw it in se91, and don't know how to resolve it...

Regards,

Aayush

0 Kudos

Try to make the delivery in VL01N for the sae document which you are using in the BAPI and check if the same error exist. If yes show this to your functional guy and s/he should be able to help.