Hello,
I developed WDA with Tree UI element. now on click of childnode (UI elemment TreeItemType), i am opening window. below is the code that i put in method.
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(
window_name = 'W_JOBCODE'
title = l_string
close_in_any_case = abap_true
message_display_mode = if_wd_window=>co_msg_display_mode_selected
close_button = abap_true
button_kind = if_wd_window=>co_buttons_close
message_type = if_wd_window=>co_msg_type_none
default_button = if_wd_window=>co_button_close
).
l_api = wd_this->wd_get_api( ).
lo_window->set_window_position( position = if_wd_window=>co_center ).
lo_window->set_window_size( width = '900px' height = '900px' ).
lo_window->open( ).
also i embeded view V_JOBCODE inside window W_JOBCODE.
my requirement is that when this window gets opened, my earlier view should be displayed in background. Now when the window is getting opened, the ealier view is not displayed at all. earlier i developed another WDA where i am displaying window on click of URL to Action UI element and there i am able to see the 1st view in background. I checked all things but not sure why for my current WDA, i am not able to see 1st view in background.
Please let me know if anyone has any clue.
Regards,
Chandra