2007 Feb 13 4:22 PM
I am performing batchsplit items inserted into an Outbound delivery thru the FM WS_DELIVERY_UPDATE2.
i am also passing the Handling units to this
Bu how to set picking and packing....because i am not able to do "Post goods issue" as it says " not fully picked".
any idea on how to set picking and packing using WS_DELIVERY_UPDATE2
thanks,
Subba
2007 Feb 13 7:30 PM
For each HU, fill table verko_tab with one record. Atleast two fields should be filled - exidv, vhilm
For each item in packed into HU, fill table verpo_tab with one record. Atleast 4 fields should be filled - exidv_ob, vbeln, posnr, tmeng.
And call FM, for example:
CALL FUNCTION 'WS_DELIVERY_UPDATE'
EXPORTING
vbkok_wa = l_vbkok
no_messages_update = 'X'
commit = 'X'
delivery = l_vbeln
if_database_update = '1'
TABLES
prot = lt_prot
verko_tab = lt_verko_pack
verpo_tab = lt_verpo_pack
EXCEPTIONS
error_message = 1
OTHERS = 2.
2007 Feb 13 7:30 PM
For each HU, fill table verko_tab with one record. Atleast two fields should be filled - exidv, vhilm
For each item in packed into HU, fill table verpo_tab with one record. Atleast 4 fields should be filled - exidv_ob, vbeln, posnr, tmeng.
And call FM, for example:
CALL FUNCTION 'WS_DELIVERY_UPDATE'
EXPORTING
vbkok_wa = l_vbkok
no_messages_update = 'X'
commit = 'X'
delivery = l_vbeln
if_database_update = '1'
TABLES
prot = lt_prot
verko_tab = lt_verko_pack
verpo_tab = lt_verpo_pack
EXCEPTIONS
error_message = 1
OTHERS = 2.
2007 Feb 14 6:09 AM
Hi Venu,
Earlier i was passing HU's in <b>IT_HANDLING_UNITS_1</b> structure and all HU'S were appearing in Delivery.
but i am not able to do PGI as it is not allowing to change the delivery and quantities are not picked.
i am also doing batch split in structure <b>VBPOK_TAB</b>
VBELN_VL POSNR_ VBELN POSNN V MATNR CHARG WERK
1850021323 000001 000000 233948 2090101606 1223
1850021323 000001 000000 233948 2090101706 1223
but still not clear in using verko_tab/verpo_tab structures so that the HU'S are picked and i can do PGI.
Subba
2007 Jun 19 3:34 AM