You are on page 1of 2

Interactive Reports in SAP ABAP SAP Training Tutorials

1 of 3

http://www.saponlinetutorials.com/interactive-reports-sap-abap/

Home
SAP
SAP CRM
Security
SAP PS
SAP ABAP
SAP PP
SAP HCM
SAP FICO
SAP SD
SAP MM

Interactive Reports in SAP ABAP


SAP ABAP Interactive ReportsInteractive 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:
Ads by Google

Sap ABAP Programming


Online Sap Training
Sap Tutorial
This event is triggered by double clicking on basic list or any secondary list triggers. Here, SY-LSIND gives

5/22/2015 12:08 AM

Interactive Reports in SAP ABAP SAP Training Tutorials

2 of 3

http://www.saponlinetutorials.com/interactive-reports-sap-abap/

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.
Example:Write: / basic list.
Will create a basic list.
If sy-lsind = 1.
Write: / first secondary list.
Elseif sy-lsind = 2.
Write: / second secondary list.
Endif.
Download Free Training materials
Ads by Google

Ads by Google

Sap Crystal Reports


Sap Fico
Sap Download
Sap ERP System
Sap CRM
Sap Business Objects
Next post: ERP SAP Software Overview
Previous post: Business Partner Grouping in SAP CRM

Recent Posts
What is SAP Software? Definition of SAP ERP Software
Functional Areas in SAP
Configure New Business Areas in SAP SAP Online Tutorials
Assign Company Code to Company in SAP

5/22/2015 12:08 AM