- Classical Reports are reports which contain both selection-screen and output screen.
- SAP ABAP is an event driven programming language, ABAP programs executed based on events not line-by-line.
Below are the list and sequence of events available under classical reports, each event has
This event is used to load
This event is used to initialize variables, screen default values and other default actions.
At Selection-Screen output
By using this event we can manipulate dynamic selection-screen changes.
At Selection-Screen on field
This event is used to validate a single selection-screen input parameter.
Syntax: AT SELECTION-SCREEN ON <parameter name
>."Validate ainput parameter
At Selection-Screen on value request
This event is used to provide value help
Syntax: AT SELECTION-SCREEN ON VALUE REQUEST FOR <parameter name
>."Input search help for ainput parameters
At Selection-Screen on help request
By using this event we can provide F1 help for
Syntax: AT SELECTION-SCREEN ON HELP REQUEST FOR <parameter name
>."Input (F1) help for ainput parameters
This event is used to validate multiple input fields
Syntax: AT SELECTION-SCREEN
." usedto validate multiple input fields
This is default event which is used to write actual business logic
We can use this event just to state that start-of-selection is ended, this event is used with logical databases, logical databases are in HR ABAP only. In normal
."Start of selection is ended
This event prints constant heading for all pages.
This event prints constant footer for all pages.
Before using this event, we need to reserve some lines for displaying footer
."Page footer Example: REPORT ZPROGRAM LINE-COUNT 27 (3). " Here we reserve 3 lines for footer