on 05-14-2010 2:33 PM
Hi,
Please suggest how browser window can be closed in WD ABAP?
Regards,
Anindita
Alternatively, just use the FPM framework - it can detect that the application is in it's own browser window when launched from the portal and enables a "close" button.
You can also create a FPM close event which closes the application:
data: lo_fpm type ref to if_fpm.
lo_fpm = cl_fpm=>get_instance( ).
lo_fpm->RAISE_EVENT_BY_ID( cl_fpm_event=>gc_event_close ).
As this is handled within the framework you have access to the standard eventing and checking - so ensuring application is in a fit state to exit etc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
In order to close window just check close_window parameter.
wd_this->fire_to_exit_plg( url = <url> close_window = close_window ).
Note: Link removed by moderator because site contained had copies of SAP owned materials
Regards and Best wishes.
Edited by: Thomas Jung on May 14, 2010 10:41 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I suggest you read about Exit Plugs with the parameter CLOSE_WINDOW:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/ca3351508f04e7e10000000a42189c/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.