on 05-21-2008 4:15 PM
Hello Web dynpro experts.
I have a message area in a view, and filled with some error messages that are assessed from WDDOINIT method in the component controller.
I need to leave only the last error message, and clean up the history of the message area. How should I perform this task?
Thank you very much.
Hi Carlos
Use the method Get_messages which will returns you all the messages and then use the method Remove_message with which you can remove individual messages from the message area.Both methods are there in the IF_WD_MESSAGE_MANAGER
Regards
Naresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You can use the method GET_MESSAGES to get the last message and CLEAR_MESSAGES to clear all messages from interface IF_WD_MESSAGE_MANAGER.
More help [http://help.sap.com/saphelp_nw04s/helpdata/en/6c/7aae42cd7fb611e10000000a155106/frameset.htm].
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.