on 08-16-2009 3:53 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Refer this SAP Online Help :
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/ca3351508f04e7e10000000a42189c/content.htm
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.