Skip to Content
0
Former Member
Oct 04, 2009 at 01:16 PM

show_as_popup of IF_WD_MESSAGE_MANAGER~REPORT_MESSAGE not working

513 Views

Hi experts,

Can someone tell me as to why show_as_popup is not working.

Below is my code

* get message manager
    LO_API_CONTROLLER ?= WD_THIS->WD_GET_API( ).
    call method LO_API_CONTROLLER->GET_MESSAGE_MANAGER
      receiving
        MESSAGE_MANAGER = LO_MESSAGE_MANAGER.

*     report message
          call method LO_MESSAGE_MANAGER->REPORT_MESSAGE
            exporting
              MESSAGE_TEXT  = LS_RET_MESSAGE-MESSAGE
              MESSAGE_TYPE  = 2
              SHOW_AS_POPUP = ABAP_TRUE
            receiving
              MESSAGE_ID    = L_MSG_ID.

the error message is displayed in its usual place and not as popup.

What is the problem? do i have to pass something else ?

Any clue is highly appreciated.

  • is there any other method(instead of calling a view in diff window) where in i can show error message in popup?

Regards,

Ajay