on 08-25-2015 7:44 AM
Hi,
The output of the webdynpro I have created has a submit button. Once submitted, a pop up is displayed with a message. On clicking on, the pop up closes but not the main page.
The main page view and pop up view are view in 2 different windows. How do I close the main view on clicking 'OK' at the pop up.
I do see topics on this in this forum but unfortunately it did not help.
Need advice and suggestions please.
Thanks,
Deepak
Hi Deepak,
You can achieve this by using exit plug to close your Web Dynpro application. Please check the below doc.
BR,
RAM.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ram,
Thanks for the link. It is helpful to a certain extent but does not solve my issue. I wanted to close the browser once the pop up button is actioned. I see that in a pop up we have an option to close it by using the method close( ). I do not see a similar method for the main view.
Thanks,
Deepak
Hi Deepak,
Create an exit plug for the main window and use that controller in the view of your popup window.
On clicking a button in the pop up, fire the exit plug for the main window.
Example : lo_main_window type ref to ig_zwd_main_window.
lo_main_window = wd_this->get_zwd_main_window_ctr( ).
lo_main_window->fire_exit_plg( ).
please refer to the provided link to automatically close the browser:
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
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.