06-02-2006 11:06 AM
hi
i have a requirement in which against production order goods movement inbound delivery will be created, after creating delivery
1. Create one handling unit on the delivery using the PackMatl. Pack all the items in the delivery in the handling unit.
2. Set serial numbers in the handling unit
can any one suggest something
06-02-2006 11:07 AM
Hi,
1. BAPI_HU_CREATE
2. WS_DELIVERY_UPDATE
Regards,
Ravi
Note :Please mark the helpful answers
06-02-2006 11:12 AM
hi i am using the WS_DELIVERY_UPDATE as i have to create , one handling unit on the delivery using the PackMatl and i am having packmatl,
while packing items in HU it is giving error .
CALL FUNCTION 'WS_DELIVERY_UPDATE'
EXPORTING
vbkok_wa = w_vbkok
synchron = 'X'
delivery = w_vbkok-vbeln_vl
if_database_update = '1'
TABLES
prot = t_prot
verko_tab = t_verko_tab
verpo_tab = t_verpo_tab
it_verpo_sernr = t_verpo_sernr
et_created_hus = t_et_created_hus.
t_prot is not initial means error , can you suggest what might be the reason.
06-02-2006 11:11 AM
Hi,
you need to use the BAPI <b>BAPI_HU_CREATE</b> to create the handling units.
Regards
vijay
06-02-2006 11:11 AM
Hi,
check this thread
<a class="jive_macro jive_macro_message" href="" __jive_macro_name="message" modifiedtitle="true" __default_attr="1603558"></a>
Regards
Aswin