on 05-11-2012 10:52 AM
Hi experts,
I have created popup window for user login . and embeded a view which accept user name and pwd also contains a submit button.
in submit method action handler i am verifying user and then opening interface view of another component.
Till verification i able to do but i am not geting how to close the pop up window and open the window of interface view.
Hi vishal for ur requirement u hav to subscribe a button for opning a new window ..
for opening a new window u hav to go for create external window..
i think this will be usefull..
Thanks And Regards ..
Lokesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vishal,
1. wherever you are opening popup window, there do assign the window reference means, let create a IF_WD_WINDOW reference at Component Controller/Assistance class level and assign the popup window reference like below.
eg. wd_comp_controller->lr_window = lo_window.
2. on Logon popup in Submit action just use close method like below.
wd_comp_controller->lr_window->close( ).
3. now you can navigate to required window/view.
thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check the below code:
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
lo_window = lo_window_manager->create_window_for_cmp_usage(
interface_view_name = 'W_EXISTING_ASSIGNMNT'
component_usage_name = 'ITEM_ASSIGNMENT'
title = lv_text_101
close_in_any_case = abap_true
message_display_mode = if_wd_window=>co_msg_display_mode_selected
).
Lo_window->open.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
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.