Skip to Content
0
Former Member
Jun 23, 2010 at 02:18 PM

Override storage location during PGI of Delivery

400 Views

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'

EXPORTING

vbkok_wa = wa_du_vbkok

commit = 'X'

delivery = wa_du_vbkok-vbeln_vl

update_picking = 'X'

it_sernr_update = t_sernr_t

TABLES

vbpok_tab = t_du_vbpok

EXCEPTIONS

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 .

Thanks ,

Kiran.