cancel
Showing results for 
Search instead for 
Did you mean: 

Messages are not displayed

Former Member
0 Kudos

Hi Gurus,

In my Web dynpro application, i am facing weird situation where i am not able to show messages during Error Handling.

In my application, on clicking some action in one of the view, a pop up gets generated with list of values stored in a table, so if the user doesn't select any selection it will throw an error, but unfortunately messages are not getting displayed i checked in debug mode my message text is having value.

I am not understanding why this type of problem is coming.

For your reference i am keeping my code below.

IF lo_el_partners IS INITIAL.

       CLEAR lv_msg.

       lv_msg  = wd_assist->if_wd_component_assistance~get_text( key = '058' ).

*       report message

       CALL METHOD lo_message_manager->report_error_message

         EXPORTING

           message_text = lv_msg.

endif.

Accepted Solutions (0)

Answers (1)

Answers (1)

ramakrishnappa
Active Contributor
0 Kudos

Hi VR,

From your code, I can only suspect whether the control is reaching the statement report_error_message( ), because you are testing lo_el_partners is initial. Make sure that control is entering inside "IF" condition.


Or paste complete validation logic, to analyse further.

Regards,

Rama

Former Member
0 Kudos

Hi Ramakrishna,

I checked in debug mode the control is going in If condition but somehow the message not getting triggered.