on 02-26-2008 9:33 AM
Hi,
I am creating a pop up with properities close_in_any_case = abap_false but i need to close the pop up on certain actions.
i have used below code to close the pop up.
data lo_window type ref to if_wd_window.
lo_window->close( ).
But it throws error "NULL object reference". So how can i get the window reference to pop up ?
Thanks
Vimalraj
Hello Vimalraj,
the reference to the popup has to be a global attribute of your view. Then you can use:
check wd_this->r_window is bound.
wd_this->r_window->close( ).
in the ONACTION method for the close button.
Regards,
Rainer
Edited by: Rainer Liebisch on Feb 26, 2008 12:09 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.