Application Development 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: 

picking and packing using WS_DELIVERY_UPDATE2?

vsubbakrishna
Participant
0 Kudos
696

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos
336

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.

3 REPLIES 3

Former Member
0 Kudos
337

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.

0 Kudos
336

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

vsubbakrishna
Participant
0 Kudos
336

Answered!!