Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem in VA01 while saving

Former Member
0 Likes
369

Hi,

While saving VA01 the values are showing correct but after saving the values are wrong in the display mode. I have written the calculated values in MV45AFZZ user exit.

And one more thing is i dont want few line items to be displayed, like i want only confirmed quantities not unconfirmed quantities.

How to delete the un confirmed items while saving or before saving.

Regards

Srinath

1 REPLY 1
Read only

Former Member
0 Likes
330

Hi,

You have to write the code in form-routine "USEREXIT_SAVE_DOCUMENT_PREPARE" of user exit "MV45AFZZ". To delete the Line items, Read the required record from internal table structures XVBAP & XVBEP and set the field value of XVBAP-UPDKZ & XVBEP-UPDKZ to 'D'.

Regards

Vinod