My requirement is when i enter the vendor, purchasing org and material in the transaction ME21N and hit ENTER, I want to check that a valid inforecord should exist for the vendor, purchasing org and material combination. If data is not found I want to give an error before I get the errors for mandatory fields from the standard code.
I want to know the exit/ BADI for ME21N where I can write my code. I have tried: ZXM06U36 , ZXM06U38 but this does not help as I do not have the material number in this exit. Thanks in advance.