cancel
Showing results for 
Search instead for 
Did you mean: 

Warning messages in BAdI

Former Member
0 Kudos

Hi all,

I'm working on BAdI and I need to dislay a warning message but it doesnt display when my transaction run.

But if I change the message type to 'E', which is the error messsge, it will display.

Can some one tell me why is this happen?

How can I display my warning message using BAdI?

Thanks in advance.

Pompougnia.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

it depends on your(the user) customizing "local layout settings" if the warning message is displayed as dialog or only in the status line.

When you want to make sure that the warning is display as dialog you could

use one of the function modules ( search in SE37 POPUP) to display a text.

Hope this helps.

Regards

Bernd

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi pompougnia,

Here iam facing same problem as i can display the error message properly in UserExit using "message e127(zmced) with W_ERNAM LOC_PER i_LINE-tdline."

but am not able 2 generate the warning message using

"message w127(zmced) with W_ERNAM LOC_PER i_LINE-tdline".

Please help me out from this scenario. how did u achieve it

Thanks in Advance...

Former Member
0 Kudos

Did you try "W" initially ? Please give some more information on BAdI.