Code: Alles auswählen.
DATA:
lr_view TYPE REF TO if_wd_view_controller,
lr_api_main TYPE REF TO if_wd_component,
lr_win_mngr TYPE REF TO if_wd_window_manager.
l_fenster_zwei type REF TO IF_WD_WINDOW.
lr_view = wd_this->wd_get_api( ).
lr_api_main = wd_comp_controller->wd_get_api( ).
lr_win_mngr = lr_api_main->get_window_manager( ).
CALL METHOD lr_win_mngr->create_window
EXPORTING
modal = abap_true
window_name = 'FNZ'
title = 'Mein zweites Fenster'
close_button = abap_true
RECEIVING
window = wd_comp_controller->l_fenster_zwei.
wd_comp_controller->l_fenster_zwei->open( ).