Skip to Content

Generate a warning message from Team Calendar BAdI

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?

Thanks

Alexandre

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jul 11, 2017 at 10:59 AM

    Check the CALL METHOD message_handler->add_message.

    Add comment
    10|10000 characters needed 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?