on 01-10-2008 3:54 AM
Dear eyeryone.
Thanks for reading...
i have a component.
component name is z_compA.
z_compA have two window, window_1 and window_2.
each windows have two views.
view_11 and view_12 in window_1.
view_21 and view_22 in window_2.
How to navigation from winddow_1 to window_2?
I know how to navigate view.
But I don't know how to navigate window.
Hello,
You can use the following code snippet for reference, this one populates the other window as as Pop up
Based on your requirement call the specific method of if_wd_window_manager Interface.
DATA:
l_window_manager TYPE REF TO if_wd_window_manager,
l_cmp_api TYPE REF TO if_wd_component,
l_window TYPE REF TO if_wd_window.
DATA lo_view_controller TYPE REF TO if_wd_view_controller.
l_cmp_api = wd_comp_controller->wd_get_api( ).
l_window_manager = l_cmp_api->get_window_manager( ).
lo_view_controller = wd_this->wd_get_api( ).
l_window = l_window_manager->create_window(
window_name = 'WINDOW_2'
title = lv_title
message_display_mode =
if_wd_window=>co_msg_display_mode_selected
button_kind =
if_wd_window=>co_buttons_okcancel
message_type =
if_wd_window=>co_msg_type_none
).
Regards,
Ismail.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
window navigation use only window pop-up?
other case do not use window navigation?
for example..
Case 1. Window a(View a1, View a2, View b1, View b2).. or
Case 2. Window a(View a1, View a2), Window b(View b1, View b2)..
I think Case 2 has some benefits sometimes.
But i don't know how to window navigation..
Case 2 has not benefits??
hi ki-joo.....
try this out....
in the on action method...
click the code wizard.....
use generate pop up option....
give only the window name that you created.....
it might call the window2.
---regards
alex b justin
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.