Thursday, December 20, 2007

What are the events Usually used in a report program ?

INITIALIZATION Triggered before the selection screen is displayed

AT SELECTION-SCREEN Triggered after processing user input on the selection screen

START-OF-SELECTION Triggered after processing the selection screen

END-OF-SELECTION Triggered after processing all lines offered by the logical database.

TOP-OF-PAGE Triggered during list processing when a new page is started

END-OF-PAGE Triggered during list processing when a page is ended

AT LINE-SELECTION Triggered at which the user selects a line

AT USER-COMMAND Point at which the user presses a function key or enters a command in the command field.

AT PF Point at which the user presses the function key with the function code PF



To execute a processing block before the selection screen is processed, the event INITIALIZATION is used.

To execute a processing blocks while the system is processing selection screen, the event AT SELECTION-SCREEN is used.



The main purpose of the selection screen is to enable the user to control the database selections of the report program. The selection screen is always processed directly after a report program is started. The user can enter field values defined with the PARAMETERS statement and selection criteria defined with the SELECT-OPTIONS statement on this screen.

No comments:

Blog Archive