‎2012 Jul 11 7:13 AM
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.
‎2012 Jul 11 7:18 AM
‎2012 Jul 11 7:18 AM
‎2012 Jul 11 7:57 AM
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
‎2012 Jul 11 9:05 AM
‎2013 Aug 26 8:56 PM
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