SCHEME_TEST is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Verification and test of schemes The schemes in SCHEME_SAMPLE and SCHEME_ERROR can be instantiated both symbolically and with values; other schemes can only be instantiated symbolically...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 SCHEME_TEST 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.
Test: Schema instantiation
Selection Text: COND_VAL = Value of conditions
Selection Text: GENFORCE = Force generation
Selection Text: INST_REP = Number of time measurements
Selection Text: LOOP_REP = Repetition of schema loops
Selection Text: REAL = Instantiation with values
Selection Text: SCHEME = Pattern for schema name
Selection Text: SC_PROG = Schema program
Selection Text: TABNAME = Table Name
Selection Text: TEST = Symbolic instantiation
Selection Text: VAR = Value for VAR
Selection Text: VIEWNAME = View name
Title: Schema: test instantiation
Text Symbol: 001 = Schema selection
Text Symbol: 002 = Test parameter
Text Symbol: 003 = Time measurement
Text Symbol: 004 = Values for SCHEME_SAMPLE
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SCHEME_INSTANTIATE * CALL FUNCTION 'SCHEME_INSTANTIATE' * EXPORTING * calling_program = callprog * scheme_program = sc_prog * scheme_name = scheme * TABLES * result_tab = result_tab * EXCEPTIONS * ...
DD_SCHEME_TEST CALL FUNCTION 'DD_SCHEME_TEST' EXPORTING CALLING_PROGRAM = CALLPROG SCHEME_PROGRAM = SC_PROG SCHEME_NAME = SCHEME TEST_LOOP_REPEAT = LOOP_REP TEST_CONDITION_VALUE = COND_VAL GENFORCE = GENFORCE MEASURE_REPEAT = INST_REP EXCEPTIONS OTHERS = 4.
DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING TABNAME = TABNAME IMPORTING X030L_WA = X030L_WA DDOBJTYPE = TABCLASS TABLES X031L_TAB = X031L_TAB EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.
DDIF_VIEW_GET CALL FUNCTION 'DDIF_VIEW_GET' EXPORTING NAME = VIEWNAME IMPORTING DD25V_WA = DD25V_WA GOTSTATE = GOTSTATE TABLES DD26V_TAB = DD26V_TAB DD27P_TAB = DD27P_TAB EXCEPTIONS OTHERS = 2 .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.