‎2006 Jan 24 4:46 AM
Hi ,
Iam doing Picking using the BAPI WS_DELIVERY_UPDATE.
Iam just passing the following fields .
vbkok_wa = < Delivery no in structure>
synchron = 'X'
delivery = 'Del #'
update_picking = 'X'
nicht_sperren = 'X'
Tables
vbpok_tab = ....
prot = ....
.
My delivery is not being picked properly using this BAPI. Am i missing any necessary parameters.
Thanks in advance,
Ajai
‎2006 Jan 24 4:57 AM
CALL FUNCTION 'WS_DELIVERY_UPDATE'
EXPORTING
VBKOK_WA = L_VBKOK
SYNCHRON = 'X'
NO_MESSAGES_UPDATE = ' '
COMMIT = 'X'
DELIVERY = L_VBKOK-VBELN_VL
NICHT_SPERREN = 'X'
TABLES
VBPOK_TAB = L_VBPOK.
COMMIT WORK.i think you did correctly, just check it in debug mode,
.
are L_VBKOK and L_VBPOK having any values.
vbkok should have delivery,
vbpok should have delivery , item.
regards
vijay
check
Message was edited by: Vijay Babu Dudla
‎2006 Jul 25 5:14 PM
I have similar issue, I'm looking to use this function to update serial numbers of line numbers and then PGI the outbound customer delivery. The deliveries are already picked/packed via an IDoc application. My code looks as follows but it's not updating the serial numbers, any advice?
CALL FUNCTION 'WS_DELIVERY_UPDATE'
EXPORTING
vbkok_wa = ls_vbkok_wa
delivery = ls_vbkok_wa-vbeln
commit = 'X'
it_sernr_update = 'X'
IMPORTING
ef_error_any_0 = l_any_update
ef_error_sernr_update = l_sernr_update
ef_error_in_goods_issue_0 = l_gi_update
ef_error_in_final_check_0 = l_fc_update
TABLES
it_verpo_sernr = it_serials
prot = it_prott
EXCEPTIONS
error_message = 1
OTHERS = 2.