BASIS Function module Used the same way in S/4HANA

REUSE_ALV_LIST_DISPLAY Simple List Output (Single or Multi-Line ALV List)

Displays an internal table as an ALV in classic list format and produces print-friendly list output instead of a grid. Reports that run in the background and write lists to spool, or outputs that need several lines per row, use it. When run in the background the output goes to spool automatically; events and field catalog use the same SLIS types as REUSE_ALV_GRID_DISPLAY.

Function group
SALV
Remote-enabled (RFC)
No
Type
Function module

Importing parameters

ParameterTypeDescriptionRequired
I_CALLBACK_PROGRAMSY-REPIDCallback program—
I_CALLBACK_PF_STATUS_SETSLIS_FORMNAMEFORM routine that sets the GUI status—
I_CALLBACK_USER_COMMANDSLIS_FORMNAMEFORM routine that handles user commands—
I_STRUCTURE_NAMEDD02L-TABNAMEDictionary structure name—
IS_LAYOUTSLIS_LAYOUT_ALVLayout settings—
IT_FIELDCATSLIS_T_FIELDCAT_ALVField catalog—
IT_SORTSLIS_T_SORTINFO_ALVSort criteria—
IT_FILTERSLIS_T_FILTER_ALVFilter criteria—
IT_EVENTSSLIS_T_EVENTEvent table—
I_SAVE—Layout save mode (A, U, X)—
IS_VARIANTDISVARIANTDisplay variant—

Exporting parameters

ParameterTypeDescription
E_EXIT_CAUSED_BY_CALLER—Exit caused by caller
ES_EXIT_CAUSED_BY_USERSLIS_EXIT_BY_USERExit caused by user

Tables parameters

ParameterTypeDescriptionRequired
T_OUTTAB—Output tableYes

Exceptions

  • PROGRAM_ERROR — Program error

Call template (ABAP)

A skeleton generated from the interface. It lists mandatory importing parameters, exporting parameters and tables; declare the variables with suitable types in your own program.

CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
  IMPORTING
    e_exit_caused_by_caller = lv_e_exit_caused_by_caller
    es_exit_caused_by_user = lv_es_exit_caused_by_user
  TABLES
    t_outtab = lt_t_outtab
  EXCEPTIONS
    program_error = 1
    OTHERS = 2.

Can't find the report you need?

We also build anything that is not in the catalog. Describe it briefly and we will suggest the right solution.

Request a custom report