cancel
Showing results for 
Search instead for 
Did you mean: 

How to window navigation

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member182190
Active Participant
0 Kudos

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.

Former Member
0 Kudos

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??

Former Member
0 Kudos

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

Former Member
0 Kudos

how to call window?

menu in code wizard..

Method Call in current controller

Method Call in Used controller

Instantiate used component

start navigation

read context

generated message

Potal integration

Personalization..

i don't find window navigation.

Former Member
0 Kudos

hi ki~joon....

in my system... before personaliztion there is an option called generate... popup.

or

you can make use of the interface if_wd_window... which has methods to create a window.

---regards,

alex b justin