Skip to Content

Generate a warning message from Team Calendar BAdI

Jun 06, 2017 at 03:32 PM


avatar image

Hi experts,

I am currently working on an implementation of BAdI HRESS_B_TEAM_CALENDAR_ENH. Under certain circumstances, I want to generate a warning or Information message that should appear in the message area of the WebDynpro application. However, the BAdI has no Parameter that could pass a message to the calling application, nor could I find any message handler class being used here. Is there a way to generate a message from this BAdI?



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Shankar Reddy Chamala Jul 11, 2017 at 10:59 AM

Check the CALL METHOD message_handler->add_message.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thanks Shankar,

the thing is: this class/method does not have a message_handler variable.

Now I know that a message handler is usually a singleton, so I can easily get the instance of a message handler class. But there are several Interfaces and classes of message handlers. Can you tell me which is the right one to use in this context?