ABAP TRANSACTION CODE AND EVENTS
Module Objectives
•Create transaction codes to load custom programs
•Utilize ABAP Events to manage program processing
•Utilize ABAP Events to manage program processing
Creating a Custom Transaction Code
Creating a Custom Transaction Code |
we will click on ABAP Repository object and search for Transaction and write the object name.
Creating A transaction Code |
we will enter the transaction code and select the Start object type and enter the transection text and program name
ABAP Events
- Events are declared through the event keyword
- Events are triggered when the program encounters a particular scenario (i.e. program is loaded, execution after selection screen, etc.)
- Events are terminated when any of these scenarios are met
-Declaration of another event
-Declaration of a subroutine or local method
-End of source code
ABAP Event Keywords
ABAP Events |
ABAP Events
LOAD-OF-PROGRAM
•Occurs prior to the loading of the selection screen
•Infrequently used but can be utilized for additional security checks
INITIALIZATION
•Occurs after to the loading of the selection screen but before it is displayed
•Often used to pre-populate select-options
AT SELECTION-SCREEN
•Occurs at the selection screen prior to executing the main program
•Used to control and validate selection screen elements
•Has additional variants such as ON VALUE-REQUEST, and OUTPUT
START-OF-SELECTION
•Occurs after the selection screen has been validated
•Used to contain the main processing and display components of the program
Comments
Post a Comment