cancel
Showing results for 
Search instead for 
Did you mean: 

How to update VEPO-VBELN after HU Repack

SampathReddy
Participant
0 Kudos
2,463

Hello All,

I am using BAPI_HU_REPACK to create a new HU with Qty from the source HU and it works well.

My issue is after Repack source HU Item VEPO-VBELN is blank, before VBELN is has value filled with Inbound delivery number.

Before Repack HU Header VPOBJKEY is filled with Inbound delivery and getting overwritten after Unpack. And I was able to update Inbound delivery using FM HU_HEADER_UPDATE.

I couldn't use FM HU_ITEM_CHANGE as the structure doen't have VBELN field. Please let me know how to update VEPO-VBELN with Inbound delivery value.

Thanks in advance !

View Entire Topic
SampathReddy
Participant
0 Kudos

Hello Jurgen,

Appreciate your answer and sorry for the late response from my end.

What I understood from the Note 58128 is, we cant use BAPI/FM to repack/unpack HUs which are assigned to Inbound delivery(Object -03).

But the real issue after we do Goods receipt(GI), HUs are no longer assigned to Inbound delivery as the object value is changes to 12(free to use) from 03-Inbound delivery.

So in this case WS_DELIVERY_UPDATE is of no use but still if we want to update VEKP-VPOBJ, we should do system modification.

Thanks,
Sampath