Skip to Content
Former Member
Apr 30, 2012 at 12:16 PM

System is not showing the warning message,only type 'E' message is working in PO(ME21N,ME22N,ME23N) enhancement & BADI


Hi Experts,

I need to post custom warning massege in ME21N,ME22N,ME23N transactions whenever user clicks on check button OR after entering GL account and press enter.

I need to validate GL Account field & give "WARNING' massge (W) if GL Account does not match with the with Z table entries.

i have also used below method but it is not working .

MESSAGE w398(00) WITH 'a' 'b' 'c' 'd' INTO gl_dummy.

mmpur_message_enaco ' ' '00' '398' 'a' 'b 'c' 'd'.

also i can not use any function module because many BDC's are also being used in many programs.

Please provide your valuable suggestion.

Thanks & Regards,

Subhanshu Shrivastava

SAP-ABAP Consultant