Skip to content

Instantly share code, notes, and snippets.

@svict4
Created January 17, 2018 09:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save svict4/3b864e135595811db874381da6d91498 to your computer and use it in GitHub Desktop.
Save svict4/3b864e135595811db874381da6d91498 to your computer and use it in GitHub Desktop.
ABAP SAP CRM - Standard Report Program structure
REPORT Z_REPORT_PROGRAM_1.
*--------------------------------------------------------------------*
* Data declarations
*--------------------------------------------------------------------*
*--------------------------------------------------------------------*
* LOAD-OF-PROGRAM
* This is essentially the program's constructor.
*--------------------------------------------------------------------*
LOAD-OF-PROGRAM.
*--------------------------------------------------------------------*
* Initialisation
* The initialisation of the program, directly after LOAD-OF...
*--------------------------------------------------------------------*
INITIALIZATION.
*--------------------------------------------------------------------*
* AT SELECTION-SCREEN
* Defines event blocks for different events triggered at runtime
* during selecting screen processing.
*--------------------------------------------------------------------*
AT SELECTION-SCREEN.
*--------------------------------------------------------------------*
* START-OF-SELECTION
* Standard processing block of the program. Triggerred by running
* the program after any standard screens have been processed.
*--------------------------------------------------------------------*
START-OF-SELECTION.
*--------------------------------------------------------------------*
* END-OF-SELECTION
* Triggerred directly after START-OF... UNLESS the program is
* associated with a logical databse in which case triggered after
* database has completed work.
*--------------------------------------------------------------------*
END-OF-SELECTION.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment