📜  abap alv popup - Abap 代码示例

📅  最后修改于: 2022-03-11 14:53:31.749000             🧑  作者: Mango

代码示例1
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.