on 02-19-2010 1:16 PM
Hi Experts,
In my application to Display popup i am using the another window of same component. I dont want to use the standard button kind to close the window. In that pop window view , i created OK button, ONACTIONOK i have to close the popup window. How can i Program it .Please help me out.
Thanks,
Dayakar Padibandla
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use this code:
method ONACTIONACTONOK .
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.
endmethod.
Regards
Arjun
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.