on 04-09-2015 12:27 PM
Hi Experts,
In Main screen, we have link to action in table control. So, when user clicks on link to action, we are opening POP UP with all data filled but no button for pop up.
Also we did some validation in the pop up screen. So When user clicks close button at the right corner, the same error message is appearing in Main screen, which we don't want.
Please suggest me how to stop the error message after closure of pop up.
Regards,
Reny Richard
Hi Reny,
You can create one close button in the popup and call this code there , it will clear the messages when you are closing the popup.
DATA l_current_controller TYPE REF TO if_wd_controller,
DATA l_message_manager TYPE REF TO if_wd_message_manager.
l_current_controller ?= wd_this->wd_get_api( ).
CALL METHOD l_current_controller->get_message_manager
RECEIVING
message_manager = l_message_manager.
l_message_manager->clear_messages( ).
- Gowtham
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gowtham/Mani,
Thanks for the reply..
It is working fine when we write the code in exit method.
Regards,
Reny Richard
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Reni,
Is your issue resolved ? Kindly revert back if not .
- Gowtham
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Reny,
If you want to use the standard close button, you can write the clear message (As Gowtham Reply) in WDDOEXIT method of pop up view.
Regards,
Manikandan S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
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.