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

Create Delivery

Former Member
0 Likes
1,218

Hi,

I m looking for a BAPI / FM to create delivery from sales order.

I tried using SHP_VL10_DELIVERY_CREATE, but this is not returning the messages correctly in case of delivery not getting created.

i also found a bapi BAPI_DELIVERYPROCESSING_EXEC, but this bapi is not released.

Any other solution...

Kate.

7 REPLIES 7
Read only

Former Member
0 Likes
1,082

A search on the forum with 'Bapi delivery create' returns some very useful threads. Have you tried that yet?

Sudha

Read only

0 Likes
1,082

Hi Sudha,

Yes, i did that.

I didnt find any link that gives some useful information about the return messages when the delivery is not created.

Kate.

Read only

0 Likes
1,082

Great to hear that. Its a common practice here to encourage people to search the forum for earlier replies and answer any specific questions after that, hence the question.

Have you tried the BAPI_OUTB_DELIVERY_CREATE_SLS? I found this BAPI on the system, not sure if it meets what you are looking for.

When you say there is no useful info returned when the delivery is not created, what are you referring to? Is the return table blank?

Sudha

Read only

0 Likes
1,082

Hi,

The bapi BAPI_OUTB_DELIVERY_CREATE_SLS is not on my system.

I have used RV_DELIVERY_CREATE, but this FM is not returning any error message in the case when delivery is not created.

the sy-subrc is 0 and there is no return table in this FM.

inside this FM there is another FM used to capture error in a database table VBSS. The FM name is RV_DELIVERY_CC_ERRORLOG_ADD.

I m looking for capturing the error messages if no delivery is created.

There is a bapi BAPI_DELIVERYPROCESSING_EXEC, but this is not yet released by SAP. So i dont want to use this one.

Is there any other alternative.

Kate

Read only

Former Member
0 Likes
1,082

Hi Kate...

use this fm it will helps

(BAPI_SALESORDER_CREATEFROMDAT2)

reward points to all helpful answers

kiran.M

Read only

0 Likes
1,082

Hi Kiran,

I m not looking for bapi to create sales order, but BAPI to create deliveries based on sales order.

Kate

Read only

Former Member
0 Likes
1,082

Hi Kate,

You can try with the FM:BAPI_OUTB_DELIVERY_CREATE_SLS

or FM:BAPI_GOODSMVT_CREATE.

Hope it works,

Thanks,

Sandeep.