Showing results for 
Search instead for 
Did you mean: 

Displaying Error message in Standard ME21N Screen

0 Kudos

Hi all.

I need help.

During PO Creation in ME21N T-code, when we enter the vendor value and if the vendor is flagged for deletion(LFB1-LOEVM = X) , I need to display a error message that 'The Vendor &1 is flagged for deletion' if the user presses enter.

How to do this?

BADI's or Custom Exits???

Suggestions Please......

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Issue is fixed. I used the Customer Exit 'EXIT_SAPMM06E_007' to trigger the error message when i press enter since this is the exit which is for PAI event of the Header datas.

Active Contributor
0 Kudos

BAdI ME_PROCESS_PO_CUST, method PROCESS_HEADER, look at attached sample.