cancel
Showing results for 
Search instead for 
Did you mean: 

Problem: Messages in MessageArea are not displayed after popup window is called

Former Member
0 Kudos

Hello Experts!

I have a MessageArea UI element in my main view, which worked fine until I introduced a separate window appearing as a PopUp using a window manager. PopUp window has a button that calls a method in ComponentController , which should add messages to the MessageArea in the main View as the PopUp is immediately closed after button is clicked. Messages do not appear now.

My guess is that message manager is picking a MessageArea on PopUp rather then in the main window. If PopUp is removed all works fine.

Is my guess correct?

How would I specify correct message area?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can pass the view name of the main view as an exporting parameter to the method used to raise the message.

Regards,

Sayan

Former Member
0 Kudos

Thank you Sayan!

Your responce led me to the correct answer.

Case 4: If a message is reported when a modal dialog box is closed, the parameter VIEW must be populated. If this parameter is not populated, the message is not displayed.

http://www.stechno.net/sap-notes.html?view=sapnote&id=1458651

Answers (0)