What is the difference between a classical report, an interactive report and an ALV report? How does drill-down work in a classic interactive list?
Say your answer out loud first.
Practise another way
A classical report writes lines with WRITE into the list buffer and shows one basic list. An interactive report reacts to the user: a double-click raises AT LINE-SELECTION, and the program builds a details list.
The field sy-lsind holds the list level. HIDE stores the key of each line, so the key is back in the program variables when the user clicks.
An ALV report hands an internal table to the SAP List Viewer, which gives sorting, filters, totals and export for free.
Classical report. An executable program fills the list buffer with WRITE, SKIP, ULINE and formats with FORMAT. Page headers come from TOP-OF-PAGE, footers from END-OF-PAGE. The user sees one basic list and can only scroll and print.
Interactive report. The same list, but the program reacts to user actions on it:
AT LINE-SELECTIONruns when the user double-clicks (or presses F2, function codePICK) on a line. Whatever youWRITEthere becomes a details list.AT USER-COMMANDruns for your own function codes from the GUI status.sy-lsindholds the current list level,sy-liselthe content of the selected line.TOP-OF-PAGE DURING LINE-SELECTIONgives headers for details lists.
How the program knows which line was clicked: HIDE. HIDE dobj stores the value of a global, flat variable with the current list line in the hide area.
When the user clicks that line, the runtime puts the stored values back into the variables before AT LINE-SELECTION runs. Clear the variable after the loop, so a click on a header line is easy to detect.
DATA wa TYPE spfli.
START-OF-SELECTION.
SELECT * FROM spfli INTO @wa UP TO 20 ROWS.
WRITE: / wa-carrid, wa-connid HOTSPOT.
HIDE: wa-carrid, wa-connid.
ENDSELECT.
CLEAR wa.
AT LINE-SELECTION.
CHECK wa-carrid IS NOT INITIAL. " header or empty line clicked
WRITE: / |Flight { wa-carrid } { wa-connid }, list level { sy-lsind }|.
CLEAR wa.
ALV report. You pass an internal table to the SAP List Viewer (CL_SALV_TABLE, the grid control, or the old REUSE_ALV_* function modules).
Sorting, filtering, totals, layouts, Excel export come without code. Drill-down is an event (double_click, link_click for a hotspot) instead of AT LINE-SELECTION.
Where this stands in 2026. SAP's own cheat sheets treat classic lists as old technology and point to ALV classes such as CL_SALV_TABLE instead. Both exist only in classic ABAP.
ABAP Cloud (SAP Business AI Platform, ABAP environment, formerly SAP BTP, and developer extensibility in S/4HANA) has no lists and no SAP GUI. So a report becomes a Fiori elements list report on a CDS-based service.
Explains the events behind interaction (AT LINE-SELECTION, sy-lsind, HIDE) and positions ALV and Fiori elements as the successors.
Says 'interactive reports have more than one screen' without naming the events, HIDE or the list level.
Reading the clicked line by parsing sy-lisel text. HIDE the key fields instead; sy-lisel is only the printed text and breaks when the layout changes.
- Why must the variable you HIDE be global and flat?
- How do you tell that the user clicked a header line and not a data line?
- How does drill-down work in CL_SALV_TABLE instead?
- What replaces a classic report in ABAP Cloud?
1 candidate write-up, 3 official pages and 7 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.
- Prep guide Gives the question.
- Prep guide Gives the question.
- Candidate write-up Gives the question.