cancel
Showing results for 
Search instead for 
Did you mean: 

Setting update flag for line item is not updating properly after EHP4

Former Member
0 Kudos

Hi All,

We recently upgraded to EHP4 system. Previously we were using ECC6. We are facing issue in user exit.

Previously we implemented user exit in MV45AFZZ, USEREXIT_SAVE_DOCUMENT_PREPARE. Here we calculate total number of pallet material item for all the materials in sales order and update the quantity in 100 line item with standard pallet material.

Problem is, in this user exit, we check transaction is VA02, then we will update pallet quantity and set update flag as 'U' (t_xvbap-updkz = 'U'). It was properly updating till we didnt gone for EHP4. After implementing EHP4, initial line item is not there, and getting error message "100 line item missing".

Does any one faced this issue?

Regards,

Karthick S

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi Karthick,

if you change XVBAP and set XVBAP_UPDKZ = 'U', you have to insert the unchanged Information in YVBAP.

I had recently this problem.

There are some SAP-notes about this problem.

( XVBAP-UPDKZ = 'I' -- no YVBPA - entry

XVBAP-UPDKZ = 'U' -- YVBAP = old XVBAP -- with YVBAP-UPDKZ = blank

XVBAP-UPDKU = 'D' --- YVBAP = XVBAP with YVBAP-UPDKZ = 'D' )

hans

Answers (0)