cancel
Showing results for 
Search instead for 
Did you mean: 

T100 Message in Popup

Former Member
0 Kudos

Hi all,

I want to use a message class to display messages in Web Dynpro. Using method REPORT_T100_MESSAGE of IF_WD_MESSAGE_MANAGER it is easy to display this messages in a Message Area. But I need to display them in a popup. 

REPORT_T100_MESSAGE has a parameter 'show_as_popup' but when I use it like this:

  CALL METHOD L_MESSAGE_MANAGER->REPORT_T100_MESSAGE

    EXPORTING

      MSGID  =' ZXYZ''

      MSGNO = '000'

      MSGTY = 'E'

      show_as_popup       = abap_true.

...the message is still shown in the message area.

In the following discussions it is suggested to populate parameter 'view':

http://scn.sap.com/thread/1492863

http://scn.sap.com/message/10430603

When I populate the field with the name of my main view, the message is still shown in the Message Area.

When I create a new View and open it in a popup window, the messages are shown in the popup - but they are shown in the Message Area of the popup. The same happens if I only use parameter 'view' and leave parameter 'show_as_popup' away. So paramter 'view' seems to work, while parameter show_as_popup does not seem to have any effect.

What am I missing here? Anyone knows how to display t100 messages in a popup propperly?

Thanks and Regards,

Felix

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Felix,

Have a look into the below thread.Might give you idea.

http://scn.sap.com/thread/1106827

http://scn.sap.com/thread/3166584

Thanks

Katrice