Sunteți pe pagina 1din 2

ReportS:

Classical , ALV , OOPS ALV : Interactive


Reports are used for internal purpose of any company .
Like displaying profit, sales transaction , purchase transaction.
Classical Reports:
These reports are also called as list reports.
Events:
Events are used to perform certain action at runtime.
Initilization.
1.Initilization event is used to initilise(Default) the values on the selection
screen.
2.This event is also used to initialise global data like clearing workarea,varia
bles,refreshing internal table.
3.***Date and time related calculations we have to do it in initialization event
only.
q.**** what is use of at selection screen output?
sol: This event is used to chnage the properties of selection screen elements
like from input enable to input disable , active to inactive, intensfified on/of
f etc etc
HOW?
Modification Id: modification id is used to uniquely identify the selection scre
en element .
Functionality.
whenever we have to change the property of a screen then the loop the screen , c
hnage the property ,finally modify the screen.
PBO = AT SELECTION_SCREEN OUTPUT.
PAI = AT SELECTION_SCREEN.
q. how to place selection screen elements in single line?
sol: use the syntax
selection-screen begin of line.
selection-screen end of line.
Note: we cannot place select options in single line.
Note: whenever we try to place selection screen elements on single line the sele
ction text is lost.
q. How to place push buttons on application toolbar of selection screen?
sol:
by using structure sscrfields.
Note: SAP by default gives 5 push buttons on the application toolbar which are i
nactive.
To make this button active we need to use the synatx:
selection-screen function key:<i>.
where i = 1 to 5.
A push button will always contain text and function code attached to it.
Function code is handled by SAP starting from FC0<i> which is stored in UCOMM fi
eld of structure sscrfields .
This Function code can be read in AT SELECTION SCREEN Event.
Button Text can be populated using FUNCTXT_0<i> of structure sscrfields.

S-ar putea să vă placă și