≡ Menu

Interactive Reports in SAP ABAP

SAP ABAP Interactive Reports-

Interactive Reports in SAP- ABAP classical reports have just one program that creates just a single list. Typically, this results in the data having all the information displayed, even those that the reader may not be interested in. This results in a lot of cluttering of data or overloading of information.

To improve upon this, we have Interactive reports in ABAP. Using interactive reports we can get the sort of output we want, single out on the details of a particular data entry and interact with the system. We can tell the system about the specific data that we need.

While in classical reports, we have only one list, in interactive reports, we have a secondary list, which can lead to another list – so we have 19 secondary lists and one basic lists in interactive reports, or a total of 20 lists in all. Even the secondary lists can be interactive.

Interactive reports are also event driven reports. The events of an interactive report are

  • At line-selection
  • At user-command (for menu driven programming)
  •  Top-of-Page During Line-Selection (for Secondary Page Header info).

At line Selection: – 

This event is triggered by double clicking on basic list or any secondary list triggers. Here, SY-LSIND gives the index of the list currently created. For BASIC list, SY-LSIND is always 0.

Hide Technique: –

HIDE command temporarily stores the content of a clicked field (or variable) in THE system area, in relation to the current output line. HIDE statement is always placed directly after the output statement. Even a chain of HIDE statements can be used to store several variables.

Syntax: HIDE: – 

SY-LSIND indicates the index of the list and is used to handle all the secondary lists.


Write: / ‘basic list’.

Will create a basic list.

If sy-lsind = 1.

Write: / ‘first secondary list’.

Elseif sy-lsind = 2.

Write: / ‘second secondary list’.