on 03-16-2015 3:35 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.