Header Ads

Pop-up window in Web UI


There are many methods to do this.It depends on the way and the action required to launch the pop up and the info to be shown in the pop up.There are many standard methods to create a pop up in this interface IF_BSP_WD_WINDOW_MANAGER.

A sample snippet...to show a decision pop up.

  CALL METHOD comp_controller->window_manager->create_popup_2_confirm
        EXPORTING
          iv_title          = lv_title
          iv_text           = lv_text
          iv_btncombination = if_bsp_wd_window_manager=>co_btncomb_okcancel
        RECEIVING
          rv_result         = confirm_popup.

      confirm_popup->set_on_close_event( iv_event_name = 'POPUP_CLOSED' iv_view = me ).     ENDIF.

    confirm_popup->open( ).
Powered by Blogger.