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

WS_DELIVERY_UPDATE not setting pick request complete

Former Member
0 Likes
1,632

Hi,

i can pick a delivery with this Fm but it creates and picking request and does not set it to complete. This is for a non wm plant.

Any one knowwhat flag i have to set to get this to update corectly.

If i look in the delivery i can see the picking number has been inserted.

Kieran

4 REPLIES 4
Read only

Former Member
0 Likes
1,134

Instead of WS_DELIVERY_UPDATE try using WS_DELIVERY_UPDATE_2..

call function 'WS_DELIVERY_UPDATE_2'

exporting

vbkok_wa = wa_vbkok

delivery = p_vbeln

update_picking = 'X'

no_messages_update = 'X'

synchron = 'X'

commit = 'X'

nicht_sperren = 'x'

if_database_update = '1'

if_error_messages_send = 'x'

importing

ef_error_any = z_error_any

ef_error_in_item_deletion = z_deletion_error

ef_error_in_pod_update = z_pod_error

ef_error_in_interface = z_interface_error

ef_error_in_goods_issue = z_pgi_error

ef_error_in_final_check = z_final_error

tables

vbpok_tab = t_vbpok

prot = z_prot.

Read only

Former Member
0 Likes
1,134

Hi kieran,

You need to remove the CHECK MARK ( TICK ) from the option RELEVANT FOR PICKING .........delivery ITEM CATEGORY DEFINITION.

This will then set the delivery to COMPLETE in document flow.

Cheers

VJ

if it helps dont forget to reward points.

Read only

Former Member
0 Likes
1,134

Thnaks guys, forgot to update this, in the end the issue was to set the pick to option in the line detail. Even though there are no tos in my situation it seems to be this that sets the pick instruction to complete.

I will update with the exact field next time i get on thet system to check.

K

Read only

0 Likes
1,134

I am stuck here. May I know where to set Pick TO Option?