DEMO_GENERIC_PROGRAM is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Demonstration of Generic Program Generation and Associated Security Checks See
If you would like to execute this report or see the full code listing simply enter DEMO_GENERIC_PROGRAM into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Title: Create Generic Programs
Text Symbol: AUT = No authorization
Text Symbol: DCL = Only TYPE, DATA, and CONSTANTS are permitted in the declarations.
Text Symbol: EXE = Invalid operation in implementation
Text Symbol: PRS = Production system; program cannot be used
Text Symbol: SOK = No syntax errors
Text Symbol: SRF = Maximum number of generic programs reached; program must be restarted
Text Symbol: WTL = Error in program template.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = 'SE38' EXCEPTIONS ok = 1 not_ok = 2 OTHERS = 3.
HELP_OBJECT_SHOW CALL FUNCTION 'HELP_OBJECT_SHOW' EXPORTING dokclass = 'RE' doklangu = sy-langu dokname = 'DEMO_GENERIC_PROGRAM' TABLES links = g_links.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
DEMO_GENERIC_PROGRAM - Create Generic Programs DEMO_GENERIC_PROGRAM - Create Generic Programs DEMO_FUNCTION_GROUP_COUNTER - Demonstration of a Function Group Working as a Counter DEMO_FUNCTION_GROUP_COUNTER - Demonstration of a Function Group Working as a Counter DEMO_FREE_SELECTIONS - Dynamic Selections DEMO_FREE_SELECTIONS - Dynamic Selections