on 12-10-2009 6:01 AM
Hello experts,
Can i close a pop up on action of a button within the pop up, if so ? could you please tell me how to do i achieve the same.
Thanking you in advance.
Tamanna K .
Try the following code:
data lo_api_controller type ref to if_wd_view_controller.
data lo_window type REF TO IF_WD_WINDOW.
lo_api_controller = wd_this->wd_get_api( ).
lo_window = lo_api_controller->GET_EMBEDDING_WINDOW( ).
*close window
lo_window->CLOSE( ).
hope this helps.
Regards
Manas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Try this :
data:
l_api type ref to if_wd_view_controller,
l_window_ctlr type ref to if_wd_window_controller,
l_popup type ref to if_wd_window.
l_api = wd_this->wd_get_api( ).
l_window_ctlr = l_api->get_embedding_window_ctlr( ).
if l_window_ctlr is bound.
l_popup = l_window_ctlr->get_window( ).
l_popup->close( 'l_popup' ).
endif.
l_popup is the name of my Pop Up Window .
hi
try this code
w_this->POPUP_WIN->close( ).
// where POPUP_WIN is the name of window in which ur POUP view is embedded
regards,
amit
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 | |
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.