The Different Types Of ABAP Reports 

How many types of reports are there in ABAP and what is the difference between them? 

There are 2 type of reports. They are: 

- Interactive report 
- Classic reports 

In classic reports, we can see the output in single list where as in interactive reports we can see the output in multiple list. 

In ABAP, there are a total of 7 types of reports. They are: 

- Classical 
- Interactive 
- Logical Database 
- ABAP query 
- ALV Reports (ALV stands for ABAP List Viewer) 
- Report Writer/Report Painter 
- Views (There are different types of views also) 

Classical Reports

These are the most simple reports. Programmers learn this one first. It is just an output of data using the Write statement inside a loop. 

Classical reports are normal reports. These reports are not having any sub reports. IT IS HAVING ONLY ONE SCREEN/LIST FOR OUTPUT. 

Events In Classical Reports. 

INTIALIZATION: This event triggers before selection screen display. 

AT-SELECTION-SCREEN: This event triggers after processing user input still selection screen is in active mode. 

START OF SELECTION: Start of selection screen triggers after processing selection screen. 

END-OF-SELECTION : It is for Logical Database Reporting. 

Interactive Reports

As the name suggests, the user can Interact with the report. We can have a drill down into the report data. For example, Column one of the report displays the material numbers, and the user feels that he needs some more specific data about the vendor for that material, he can HIDE that data under those material numbers. 

And when the user clicks the material number, another report (actually sub report/secondary list) which displays the vendor details will be displayed. 

We can have a basic list (number starts from 0) and 20 secondary lists (1 to 21). 

Events associated with Interactive Reports are: 

AT LINE-SELECTION 

AT USER-COMMAND 

AT PF<key> 

TOP-OF-PAGE DURING LINE-SELECTION. 

HIDE statement holds the data to be displayed in the secondary list. 

sy-lisel : contains data of the selected line. 

sy-lsind : contains the level of report (from 0 to 21) 

More Abapers Questions:

ABAP Books List
ABAP/4 Certification, Programming and Object Oriented Programming Books

Smart Forms
SAP Smartforms

ABAP Menu:
ABAP Example Hints and Tips

Return to Index:-
SAP ABAP/4 Programming, Basis Administration, Configuration Hints and Tips

(c) www.gotothings.com All material on this site is Copyright.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
All product names are trademarks of their respective companies.  The site www.gotothings.com is in no way affiliated with SAP AG.
Any unauthorised copying or mirroring is prohibited.