SAP INITIALIZATION ABAP Statements



Get Example source ABAP code based on a different SAP table
  


ID INITIALIZATION
• INITIALIZATION ABAP Statement

INITIALIZATION
Short Reference

ABAP_SYNTAX
INITIALIZATION.

What does it do?
This event keyword defines an event block for initializing an executable program. The associated event is raised by the ABAP runtime framework during the flow of an executable program, directly after LOAD-OF-PROGRAM and before the selection screen processing of any existing standard selection screen. Here, the input fields of the selection screen can be initialized only once, including those fields defined in the logical database linked with the program.



Latest notes:

When an executable program defines a standard selection screen, it is called again by the ABAP runtime framework after it has been executed, whereby the event INITIALIZATION is raised again. However, the initialization of parameters or selection criteria of the selection screen no longer has any effect, since these are automatically filled with previous user entries on the selection screen during the selection screen event AT SELECTION-SCREEN OUTPUT. To initialize the selection screen explicitly for each call, the event AT SELECTION-SCREEN OUTPUT must be used.
ABAP_HINT_END



Example ABAP Coding

Prefills a parameter on the standard selection screen of an executable program when the event INITIALIZATION is raised.
ABEXA 00330
ABAP_EXAMPLE_END

Return to menu