Hi all!
i'm using bapi BAPI_OUTB_DELIVERY_CREATE_SLS to create delivery from given sales order in my custom report.
And it works great!
Then the users asked to schedule the report as background job and... the problems starts.
The bapi cannot create any delivery and return table is empty!
Using the same data and running online the deliveries are created!
Any hint?! I got the same problem using BAPI_DELIVERYPROCESSING_EXEC too.
Image may be NSFW.
Clik here to view.