SAP Reports / Programs | Basis Components | ABAP Runtime Environment | Syntax, Compiler, Runtime(BC-ABA-LA) SAP BC

DEMO_GENERIC_PROGRAM SAP ABAP Report - Create Generic Programs







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 see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT DEMO_GENERIC_PROGRAM. "Basic submit
SUBMIT DEMO_GENERIC_PROGRAM AND RETURN. "Return to original report after report execution complete
SUBMIT DEMO_GENERIC_PROGRAM VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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.


INCLUDES used within this REPORT DEMO_GENERIC_PROGRAM

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name DEMO_GENERIC_PROGRAM or its description.