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

How to use BAPI_OUTB_DELIVERY_CREATE_SLS function?

Former Member
0 Likes
14,534

I ran BAPI_OUTB_DELIVERY_CREATE_SLS function -> the result is successful by returnning a Delivery Order number but when I checked this Delivery Order number by tcode vl06f, it is not exist in the database.

Please tell me why?

Thanks,

Nguyen Quang Dai.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
8,164

The result after ran the function as below:

4 REPLIES 4
Read only

Former Member
0 Likes
8,165

The result after ran the function as below:

Read only

0 Likes
8,162

Hi Nguyen,

The reason why you couldn't find this delivery is because you didn't do a 'COMMIT WORK' for the LUW to actually close and update the DB tables. So next time you want to test using Function module make sure you run the BAPI_TRANSACTION_COMMIT after your BAPI call.

You can run multiple FMs in a row like this.

1. Go to SE37 and select 'Test sequences' from the Menu as shown.

2.In the next screen enter the function module names as shown below and execute.

3 . After executing first function module note the delivery number & just press 'Back' button. This will take you to the second function module. Just run it with WAIT parameter as 'X'.

4. Now go to delivery transaction and enter the delivery number. You should be able to see it now.

Cheers,

Mahesh

Read only

0 Likes
8,162

The problem was solved. Thanks a lot

Read only

Former Member
0 Likes
8,162

Hello Nguyen,

I read this post.
Do you know, can I you this BABI to create an outbound delivery with Relations to a scheduling Agreement?

I tried something, but nothing works.......

Have you an idea?

thanks.

best regards

Stefan