cancel
Showing results for 
Search instead for 
Did you mean: 

Need to display the messages in a view which has the pop up on it

Former Member
0 Kudos

Hello all,

I have a view(View 1) in which if i click a button a pop up is being displayed.

Now on the pop up(which has view 2 of window 2) i have a button(Ok) and if i click it then based on a condition i need to close the pop up and then display the message in the message area of View 1.

Now if i click the button on the Pop up then it is being closed and the message is not being displayed on view 2.

I think the message is being displayed on the pop up and is being closed after that.

How can i display my message on View 1.

Any ideas...Please help

Thanks in advance,

Shravan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Shravan,

Create Message area in view1.

and also give VIEW name wile displaying error message and try.

*   report message
  CALL METHOD lo_message_manager->REPORT_ERROR_MESSAGE
    EXPORTING
      MESSAGE_TEXT              =
*      PARAMS                    =
*      MSG_USER_DATA             =
*      IS_PERMANENT              = ABAP_FALSE
*      SCOPE_PERMANENT_MSG       = CO_MSG_SCOPE_CONTROLLER
      VIEW                      =   VIEW1 .

Cheers,

Kris.

Former Member
0 Kudos

Thanks Kris....

Answers (0)