on 06-11-2008 1:25 AM
Hi,
In my application i'm using Message_Area to display the error message.
Whenever there is a error it is updating the Message_Area.
For ex:
1. error 1
2. error 2
But I want to show only the lastest error mst(error 2).
How to clear the messages in Message_Area.
Thankx,
* get message manager
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( ).
lo_message_manager = lo_api_controller->get_message_manager( ).
* report message
lo_message_manager->clear_messages(
* including_permanent_msg = ABAP_FALSE
* only_permanent_msg = ABAP_FALSE
).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
refer to this component
wdr_test_msg_manager_00 -
component
START -
View
on actionpopup_testcase6 -
method
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.