Zed FrameOpen workbench

REUSE_ALV_GRID_DISPLAY_LVC — ABAP Function Module

Display a typed internal table using the common local ALV renderer.

REUSE_ALV_GRID_DISPLAY_LVC

Display a typed internal table using the common local ALV renderer.

Parameters
NameDirectionTypeDescription
T_OUTTAB (required)TABLESANY TABLEOutput records
IT_FIELDCATEXPORTINGANY TABLEOptional classic field catalog
IT_FIELDCAT_LVCEXPORTINGANY TABLEOptional LVC field catalog
IS_LAYOUTEXPORTINGANYLayout settings: ZEBRA
IS_LAYOUT_LVCEXPORTINGANYLVC layout settings: ZEBRA
I_GRID_TITLEEXPORTINGSTRINGGrid heading
I_STRUCTURE_NAMEEXPORTINGSTRINGLocal structure type name
TYPES: BEGIN OF ty_row, id TYPE i, label TYPE string, END OF ty_row.
DATA rows TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
rows = VALUE #( ( id = 1 label = 'Local ALV' ) ).
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
  EXPORTING i_grid_title = 'Classic ALV example'
  TABLES t_outtab = rows.

Example output:

Classic ALV example
ID | LABEL
1 | Local ALV

Supports table data, column labels/visibility/totals and zebra layout. Callback programs, editable GUI grids and frontend services are not implemented.