Application Development 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: 

Validation of Invoice in VA01.

amysh95
Participant
0 Kudos

Hi Gurus,

I create a Sales Order (eg. ZXXX) through a Z-development. My requirement is that i need to validate that the SO i am entering need to check in my zmastertable as it's status is approved, rejected or blank. if it is status is blank or rejected then i need to display an error other vice invoice will be overwritten.

this is the screen where i need to check.

So i need to know where i need to put this code.

2 REPLIES 2

former_member596005
Participant
0 Kudos

HI aman sharma

write a validation in USEREXIT_SAVE_DOCUMENT_PREPARE , so that you may achieve it

VenkatRamesh_V
Active Contributor
0 Kudos

Hi,

Include MV45AFZZ - form userexit_save_document_prepare.