‎2010 Mar 31 9:46 PM
How can I create a Picking document for a delivery (already created) with a Function Module or BAPI (trying to avoid BDC)?
Like when you go into a delivery and add picking qtys, then go to Document flow, you see a new docno for the pick qty you just added.
I've written logic that updates picking qtys and other stuff on Deliveries using SD_DELIVERY_UPDATE_PICKING_1 and using BAPI_OUTB_DELIVERY_CHANGE. It works well. And, it uses the preceding and subsequent docnos.
But I have some Deliveries that do not have an additional docno (or subsequent docno). These two modules ask for preceding and subsequent docnos. So how would I do this when only a delivery is created without any subsequent docnos? Which nis why I am trying to find out how (FM or BAPI?) to create one. Unless, someone can share a better way?
Thank-You.
Edited by: Tom Matys on Mar 31, 2010 4:50 PM
‎2010 Apr 01 6:35 AM
Hi,
You may try the FM WS_DELIVERY_UPDATE
Hope this may help you.
Regards,
Smart Varghese
‎2010 Apr 01 6:35 AM
Hi,
You may try the FM WS_DELIVERY_UPDATE
Hope this may help you.
Regards,
Smart Varghese