Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

reports

Former Member
0 Kudos

Advantages of classical reports over interactive reports.

2 REPLIES 2

Former Member
0 Kudos

Hi

Interactive reporting allows for the user to interact with the list. For example, the use can double click on a line of the list (which will trigger the event AT LINE-SELECTION); he can select a list line and click on a pushbutton on the Application toolbar (which will be handled in the AT USER-COMMAND event) or he can click on one of the function keys (which will be handled oin the AT PFnn event).

In classical reporting, there's no user interaction on the list. The program is executed and a list is displayed. The user can just view the list and probably print it. And the events (START-OF-SELECTION, END-OF-SELECTION, TOP-OF-PAGE) are not controlled by the user in this case.

The AT SELECTION-SCREEN event is triggerred if your report has a selection screen. Selection screen will appear if there are any PARAMETERS or SELECT-OPITONs for your report.

This event is primarily used for user-input validations.

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 proccesing user input still selection screen is in active mode.

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

TOP-OF-PAGE:this event triggers before the first write statement. It provides header for abap reports.

END-OF-PAGE:triggers before the new page starts. It provides footer for page.

AT PFn: For predefined function keys...

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

AT USER-COMMAND : It provides user functions keys.

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: 1. AT LINE-SELECTION 2. AT USER-COMMAND 3. AT PF<key> 4. 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)

http://www.sap-img.com/abap/difference-between-drilldown-report-and-interactive-report.htm

<b>Reward if usefull</b>

Former Member
0 Kudos

Hi Sandeep,

In the Interactive Reports,

We get the item details of the PArticular header you select in the output.Also, AT-LINE-SCREEN Event is triggered in this Case.

In Classical Report,

We get the total header and item details in a page .

Reply me if you have any Issue.

Regards,

Anil Kumar Ch.

REWARD IF USEFUL.

Edited by: Anil Kumar Chinthala on Jan 28, 2008 3:30 PM