Skip to Content
0
Jan 11, 2010 at 12:30 PM

Change header data of Handling Unit (VEKP)

10829 Views

Hello,

I have a requirement to change the BRGEW, NTGEW, TARAG and GEWEI fields of a Handling Unit (Table VEKP).

I found the BAPI, BAPI_HU_CHANGE_HEADER, but I need to change the HUs of VBOBJ = '01' (Outbound Deliveries)

The above BAPI puts a check and allows VPOBJ to be only 05, 06 or 12.

I tried calling the function module HU_HEADER_UPDATE.

This too returns an error (Handling unit to be changed could not be found)

Internally it calls V51P_FIND_HEADER which returns sy-subrc as 1 (Header not found) even though I can see the record in SE11.

Does anyone know how I can change the above header using this function module or any other?