2011 Aug 03 11:29 AM
Hi all,
I have a requirement where BAPI should create outboud delivery doc for the reference of sales return doc and that bapi must have functionality to post the goods receipt also.
BAPI_OUTB_DELIVERY_CREATE_SLS bapi is allowing me to create outbound delivery doc and to use BAPI_OUTB_DELIVERY_CONFIRM_DEC
this doc must already available .
kindly sugust me bapi which create/post the doc in one shot.
regards,
padmaja.
2011 Aug 04 8:52 AM
Why don't you have BAPI_TRANSACTION_COMMIT between these two? Call BAPI_OUTB_DELIVERY_CREATE_SLS first and call BAPI_TRANSACTION_COMMIT. Now the document will be ready to be passed to BAPI_OUTB_DELIVERY_CONFIRM_DEC.
Hope this helps.
2011 Aug 04 9:00 AM
Hi Padmaja,
Use the first bapi and create a document then use the created document number and post it.
Regards,
Madhu.