Hi, experts.
Currently, I have 1 Component with 2 Views and 2 Windows. V1 is embedded in W1 and V2 is embedded in W2.
V1 has a table element that lists db table entries. V2 also has a table element that lists what entries may be added to the db table.
On V1 button action, W2 is called via:
IF wd_this->m_popup_W2 IS INITIAL.
wd_this->m_popup_W2 = lo_window_manager->create_window(
window_name = 'W2'
button_kind = if_wd_window=>co_buttons_okcancel
message_type = if_wd_window=>co_msg_type_none ).
ENDIF.
wd_this->m_popup_W2->open( ).
where:
M_POPUP_ADD_RCP type ref to IF_WD_WINDOW
lo_window_manager TYPE REF TO if_wd_window_manager
On V2 button action, db table entries are updated and then W2/V2 is closed, which returns back to W1/V1.
My requirement/objective is to refresh V1 table contents after V2 has updated the db table. But it's not happening so I must be missing something or doing it wrong. Pls advise on what I must check and do. Do I need to have 2 Windows? I also don't think I set the Navigation links right.
Thanks in advance.