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: 

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

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

Hello Subhanshu,

What BADI/Enhancement are you using ?Syntax seems to be correct, I guess its the badi you are using that doesnot support.

Thanks

Amber

0 Kudos

Hi Amber,

Badi which i am using also supporting it, i tries with Enhancement point also but still it is not working.

Thanks & Regards,

Subhanshu Shrivastava