Close the main view after exiting popup view in webdynpro
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.
Taiyeb Shaikh Firfiray replied
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( ).
please refer to the provided link to automatically close the browser: