Hi Experts ,
FM WS_DELIVERY_UPDATE_2 has been used to do picking and PGI . Below is the code which is written
CALL FUNCTION 'WS_DELIVERY_UPDATE_2'
vbkok_wa = wa_du_vbkok
commit = 'X'
delivery = wa_du_vbkok-vbeln_vl
update_picking = 'X'
it_sernr_update = t_sernr_t
vbpok_tab = t_du_vbpok
error_message = 1
OTHERS = 2.
While doing PGI It takes storage location from delivery . We need to override storage location at item level . The storage location is stored in Ztable . We need to override storage location from delivery number's storage location to one in ztable .
We are passing storage location to be over written in t_du_vbpok but still it takes storage location from delivery . It will be of great help for any suggestions to achieve this .