Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
P. 1
Sap Abap Reports

Sap Abap Reports



|Views: 14,719|Likes:
Published by Pavan
SAP ABAP Reports with sample logic and screen shots
SAP ABAP Reports with sample logic and screen shots

More info:

Published by: Pavan on Oct 16, 2009
Copyright:Public Domain


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





Created by Pavan Page 1 of 107Mail: Praveen.srrec@gmail.com
In ABAP, there are total of 7 types of reports. They are:
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 simplest reports. Programmers learn this one first. It is just an outputof data using the Write statement inside a loop.
Classical reports are normal reports. These reports are not having any subreports. 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 inputstill selection screen is in active mode.
START OF SELECTION: Start of selection screen triggers after processingselection screen.END-OF-SELECTION: It is for Logical Database Reporting.Event blocks are introduced by an
event keyword
. They end when the nextprocessing block begins. The following processing block can either be an eventblock or another processing block allowed in this context – for example, asubroutine or a dialog module. Event keywords have the same name as the eventsto which they react.
Created by Pavan Page 2 of 107Mail: Praveen.srrec@gmail.com
The sequence in which the processing blocks occur in the program is irrelevant.The actual processing sequence is determined by the external events. However, tomake your programs easier to understand, you should include the event blocks inyour program in approximately the same order in which they will be called by thesystem. Subroutines should be placed at the end of the program.With only two exceptions (
), event blockshave
no local data area
. All declarative statements in event blocks are handledwith the global data declarations in the program. You should therefore include allof your declarations at the start of the program.Statements that are not assigned to a processing block are never executed. Inexecutable programs, all non-declarative statements between the
statement and the first processing block are assigned to the defaultevent
if a program does not contain an explicit
Created by Pavan Page 3 of 107Mail: Praveen.srrec@gmail.com
event block, these statements form the entire
block. If a program contains an explicitly defined
event block, these statements are inserted at thebeginning of this event block. If a program does not contain any explicit eventblocks, all non-declarative statements form the processing block 
In ABAP Editor initialscreen give your programname and then press F5 orclick on Create

Activity (297)

You've already reviewed this. Edit your review.
Udit Bansal added this note
Useful one...
Naresh Vepuri liked this
Pavan liked this
rajesh98765 added this note
very useful material............ru a trainer...?
Chinvar Manisha added this note
how to download reports...?
C Muni Krishna added this note
how to download it
sanju4love liked this
seenusrinivas liked this
saisuni.m liked this
hembeck119 liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->