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

BAPI or Function Module or Other (not bdc) to Create Pick Doc on Delivery?

Former Member
0 Likes
412

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
371

Hi,

You may try the FM WS_DELIVERY_UPDATE

Hope this may help you.

Regards,

Smart Varghese

1 REPLY 1
Read only

Former Member
0 Likes
372

Hi,

You may try the FM WS_DELIVERY_UPDATE

Hope this may help you.

Regards,

Smart Varghese