SAP - ABAP EVENTS During Runtime Of A Report Program.

ABAP Programs are event driven and hence it’s important to have a proper upstanding of events to have a good understanding to ABAP programming. The general flow of an ABAP program is controlled by events. Events are defined in an ABAP program using event keywords such as initialization, start-of-selection & end-of-selection. The event keywords are reserved words and no user can create can create a new event. Events are tags that identify a block of codes . The block of code associated with an event begins with an event keyword and ends when the next event keyword is encountered. The different events available are: INITIALIZATION. - Used to set default Values AT SELECTION-SCREEN OUTPUT. AT SELECTION-SCREEN ON <FIELD>. AT SELECTION-SCREEN ON BLOCK <blockname>. AT SELECTION-SCREEN. - Used to validate the fields on selection screen. START-OF-SELECTION. TOP-OF-PAGE. END-OF-SELECTION. END-OF-PAGE. AT PF<NN>. AT LINE SELECTION. AT USER COMMAND TO...