Hello,
i managed to implement a popup window when the "Save document" button is pressed. The user answer on the popup determines a certain action when saving.
Problem:
The popup window is not shown immediately, but only after all the events are processed.
Tell me please, what should i do so that the popup window would be shown immediately when the code is compiled ?
Here is the code for popup window:
CALL METHOD comp_controller->window_manager->create_popup_2_confirm
EXPORTING
iv_title = lv_save
iv_text = lv_text
iv_btncombination = if_bsp_wd_window_manager=>co_btncomb_yesnocancel
RECEIVING
rv_result = confirm_popup.
confirm_popup->set_on_close_event( iv_event_name = 'TAKSA_UPDATE_POPUP_TODO'
iv_view = me ).
confirm_popup->open( ).
Thank you !