on 05-16-2006 3:17 AM
Hi,
I have a requirement in which I need to close the window on click of a button.
Is there any method which handles this?
Regards,
Pratibha.
Hi ,
Try this
DATA lv_wc TYPE REF TO IF_WD_WINDOW_CONTROLLER.
data lv_view TYPE REF TO IF_WD_VIEW_CONTROLLER.
data lo_window type ref to if_wd_window.
lv_view = wd_this->wd_get_api( ).
lv_wc = lv_view->GET_EMBEDDING_WINDOW_CTLR( ).
lo_window = lv_wc ->GET_WINDOW( ).
lo_window->CLOSE( ).
Regards,
K. karthikeyan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pratibha,
have you read this? http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/04a5421935c511e10000000a1550b0/frameset.htm
Regards, Heidi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Pratibha,
Also this is solution for WD Java I hope you'll find similarities:
1. Save reference to IWDWindow returned with IWDWindowManager.open<>(...) method.
2. In action handler just call on this saved reference IWDWindow.close() (or IWDWindow.destroy if you have no plans to show it latter).
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.