Skip to Content
0
Former Member
Jul 23, 2009 at 04:01 AM

User Exit MV45AFZZ for VA01 / VA02

201 Views

Hi All Expert,

I want to implement a checking in the User Exit MV45AFZZ at the FORM USEREXIT_SAVE_DOCUMENT_PREPARE

for t-code VA01 / VA02

which calculate the difference of the values of some condition type when the document is save.

for e.g.

ZS00 = 80

ZS24 = 5

ZS25 = 5

ZS28 = 10

ZSPP = 100

if ZSPP <> ZS00 + .... ZS28, display warning message...

However, when using VA02, as the ZS00 ... ZS28 changes are not affect the net value of the document,

if they have been changed, the program code have not been run.... so the checking is not functional.

Does anyone know the way to improve this checking?

Please help.

Terry