Hi friends, I am using the below code to display any errors which my Function module returns.
l_current_controller ?= wd_this->wd_get_api( ).
CALL METHOD l_current_controller->get_message_manager
RECEIVING
message_manager = l_message_manager.
CALL METHOD l_message_manager->report_t100_message
EXPORTING
msgid = ls_messages-msgid
msgno = ls_messages-msgno
msgty = ls_messages-msgty
p1 = lv_msg1
p2 = lv_msg2
p3 = lv_msg3
p4 = lv_msg4.
If i have errors in my WDA.. once when i hit a button or trigger any action.. the errors are going (not visible any more). I want them to be there till i use clear_messages( ) method .
Becuase the user is not able to know what errors are there and what he has to change in the screen.
can be this possible in WDA// i want the message area to be displayed the errors though i do any other actions..
kindly reply,
Niraja