cancel
Showing results for 
Search instead for 
Did you mean: 

REPORT_SUCCESS in IF_WD_MESSAGE_MANAGER is not working after Ehp5 Upgarde

Former Member
0 Kudos

Hi All,

Before EhP5 upgarde we are using the REPORT_SUCCESS method of interface IF_WD_MESSAGE_MANAGER as below.

data lo_api_controller     type ref to if_wd_controller.
    data lo_message_manager    type ref to if_wd_message_manager.

    lo_api_controller ?= wd_this->wd_get_api( ).

    call method lo_api_controller->get_message_manager
      receiving
        message_manager = lo_message_manager.	

    lv_text =
      wd_assist->if_wd_component_assistance~get_text( 'AIU' ).


    call method lo_message_manager->report_success
      exporting
        message_text = lv_text.

But after upgrade the message is not displaying .Can anyone help what could be the issue.When i check the inteface it is updated by SAP ,but how to check the particular issue.

Thanks in advance.

Regards

CB

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi CB,

In the method, pass the 'VIEW' parameter with the view name where you want the display the message.

call method lo_message_manager->report_success

exporting

message_text = lv_text.

code should be like below.

call method lo_message_manager->report_success

exporting

message_text = lv_text

view = 'Main_view'. "This the view name where I want to display the message.

Thanks,

Nag.

Former Member
0 Kudos

If it is a known bug then there must be a note in sap at service dot com. If you have seen any exporting parameters like io-view or something like that then supply the view controller.