sap abap simple alv message popup code example

Example: abap alv popup

DATA:
    go_popup  TYPE REF TO cl_reca_gui_f4_popup,
    gf_choice TYPE flag.

   CALL METHOD cl_reca_gui_f4_popup=>factory_grid
    EXPORTING
      it_f4value    = data_table[]
      if_multi      = abap_true
      id_title      = i_title
    RECEIVING
      ro_f4_instance = go_popup.

   CALL METHOD go_popup->display
    EXPORTING
      id_start_column = 10 "i_start_column
      id_start_line  = 10   "i_start_line
      id_end_column  = 50  "i_end_column
      id_end_line    = 20  "i_end_line
    IMPORTING
      et_result      = data_table[]
      ef_cancelled    = gf_choice.

Tags:

Abap Example