cancel
Showing results for 
Search instead for 
Did you mean: 

how to close webdynpro application

Former Member
0 Kudos

hi ,

from work item im opening the webdynpro form and entering some data and i will click on save to save the data.

after save i want to close my webdynpro application. how to do this.?

if any code i have to write in any method... guide me...

thanks,

Raghu

Accepted Solutions (0)

Answers (5)

Answers (5)

0 Kudos

Hi,

Steps to do

1.In window outbound plug define plug type Exit with parameter of type wdy_boolean.

2. In view properties , create controller usage to use window plug.

3. In view create a method to close the window, add below code.

DATA lo_w_main TYPE REF TO ig_w_main .
lo_w_main = wd_this->get_w_main_ctr( ).

lo_w_main->fire_exit_plg( close_window = abap_true ).

4. call the method you created when you want to close.

Former Member
0 Kudos

If you want to close the entire application you can use Exit Plug of WIndows and javascirpt in SICF. In this way it completely closes the application

Former Member
0 Kudos
Former Member
0 Kudos

Hi, Using Exit lugs you can close the running application. Check this blog which explains the step by step procedure to do so. [https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/6687] [original link is broken]; Regards, Radhika.

Former Member
0 Kudos

Do you want to close the whole IE window or just the application, if its just the application then you may make use of exit plugs in web dynpro, I am not sure if you would be able to close the IE window as a whole.

Thanks,

GLM