cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to create delivery order using the BAPI BAPI_OUTB_DELIVERY_CREATE_SLS from custom program

Ankita05
Discoverer
0 Kudos
202

Hi ABAP Experts,

When I am trying to create delivery from SE37 using the BAPI BAPI_OUTB_DELIVERY_CREATE_SLS

It is creating the delivery successfully.

Ankita05_0-1724427567808.png

Ankita05_2-1724427636983.png

 

But when Executing through custom program with the same parameter as mentioned above and same BAPI it is giving error.

Ankita05_3-1724427725358.png

I checked in MM03 , this material and its sales org are maintained properly still I am getting this error.

My query is how can we sort out this issue.

Accepted Solutions (0)

Answers (1)

Answers (1)

AVG
Explorer
0 Kudos

Check if you have used alpha input for the material and other fields.

Ex: Material SE37 : 8765

You should pass 000000000000008765 in case 18 char material.

 

Ankita05
Discoverer
0 Kudos
I have compared all the parameters. All parameters are same in the program as SE37