ALV list display versus ALV grid display: what is the difference? And what are the ways to build a field catalog?
Say your answer out loud first.
Practise another way
List display writes the ALV as a classic list, so it prints well and runs fine in the background. Grid display uses the SAP GUI grid control, with column resizing, scrolling and editing.
For the field catalog there are three options: automatic from a Dictionary structure, semi-automatic with LVC_FIELDCATALOG_MERGE and then adjusting rows, or fully manual for computed columns. With CL_SALV_TABLE a field catalog is usually not needed at all, because the class reads the table type at runtime.
List versus grid.
| ALV list | ALV grid | |
|---|---|---|
| Old API | REUSE_ALV_LIST_DISPLAY |
REUSE_ALV_GRID_DISPLAY |
| Object API | CL_SALV_TABLE with list_display = abap_true |
CL_SALV_TABLE default, or CL_GUI_ALV_GRID |
| Rendering | Classic list in the list buffer | SAP GUI grid control |
| Strengths | Printing, background jobs, spool | Interactive: resize, drag columns, editing (grid class only) |
The grid control needs a SAP GUI front end, so for output that must run in a background job a list is the honest choice. CL_SALV_TABLE lets you switch with one parameter of factory, which is why it makes a good default.
The field catalog tells ALV the type, texts and properties of each column. With CL_GUI_ALV_GRID it is a table of type LVC_T_FCAT passed to set_table_for_first_display; the REUSE_* modules use SLIS_T_FIELDCAT_ALV from type pool SLIS. Three ways to build it:
- Automatic: pass a Dictionary structure name (
i_structure_name), and ALV builds the catalog itself. Works when the output table matches the structure. - Semi-automatic: call
LVC_FIELDCATALOG_MERGE(orREUSE_ALV_FIELDCATALOG_MERGEfor SLIS) with the Dictionary structure, then change rows: hide withNO_OUT, set texts, append rows for extra columns such as icons. - Manual: append one row per column yourself (
fieldname,ref_table/ref_fieldordatatype,coltext,outputlen). Needed for computed columns.
DATA fcat TYPE lvc_t_fcat.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING i_structure_name = 'SFLIGHT'
CHANGING ct_fieldcat = fcat
EXCEPTIONS OTHERS = 1.
LOOP AT fcat ASSIGNING FIELD-SYMBOL(<f>).
CASE <f>-fieldname.
WHEN 'MANDT'. <f>-no_out = abap_true.
WHEN 'SEATSOCC'. <f>-do_sum = abap_true.
ENDCASE.
ENDLOOP.
APPEND VALUE #( fieldname = 'STATUS_ICON' coltext = 'Status' icon = abap_true ) TO fcat.
CL_SALV_TABLE needs no field catalog: it derives columns from the table's type at runtime, and you change them through get_columns( ) (texts, visibility, optimize width). After display, the grid class can read and change the catalog with get_frontend_fieldcatalog / set_frontend_fieldcatalog.
Release note. All of this is classic ABAP (SAP GUI). It is not available in ABAP Cloud; there a Fiori elements list report gets its columns from CDS annotations such as @UI.lineItem.
Separates rendering (list vs grid control), explains the three field catalog methods with the real function module and types, and knows SALV builds columns itself.
Says grid 'looks nicer' and only knows filling the field catalog by hand.
Mixing SLIS and LVC types: SLIS_T_FIELDCAT_ALV belongs to the REUSE modules, LVC_T_FCAT to CL_GUI_ALV_GRID. Passing one to the other does not compile or silently loses settings.
- Which type pool do the REUSE function modules need, and why do you not need it with SALV?
- How do you hide a column and add a total?
- What happens to a grid ALV in a background job?
- How do you change the field catalog after the list is displayed?
4 official pages and 5 prep guides. Confidence: high. Checked 3 Dec 2026.
- Official page Backs the answer.
- Official page Backs the answer.
- Official page Backs the answer.
- Prep guide Gives the question.
- Prep guide Gives the question.
- Prep guide Gives the question.
- Prep guide Gives the question.
- Prep guide Gives the question.
- Official page Backs the answer.