SAP ABAP Class /BCV/CL_QRM_TESTCODE (QRM Test Code Generation and Execution)
Hierarchy
SAP_BS_FND (Software Component) SAP Business Suite Foundation
   CA-EPT-BCV (Application Component) Business Context Viewer
     /BCV/QRM (Package) BCV Query Management Layer
Properties
Class /BCV/CL_QRM_TESTCODE  
Short Description QRM Test Code Generation and Execution    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /BCV/QRM   BCV Query Management Layer 
Created 20090421   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class /BCV/CL_QRM_TESTCODE has no interface implemented.
Friends
Class /BCV/CL_QRM_TESTCODE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_FLD_GEN_ERROR Constant Public Type reference (TYPE) CHAR50 'GEN_ERROR' Generation Error Entry in ABAP Memory 20090424
2 GC_FLD_QUERY_ID Constant Public Type reference (TYPE) CHAR50 'QUERY_ID' Query ID Entry in ABAP Memory 20090421
3 GC_MAX_FIELDS Constant Public Type reference (TYPE) INT4 999 Maximum Number of Input Fields 20090504
4 GC_PROGCLASS Constant Private Type reference (TYPE) RSSG_PCLAS '/BCV/TEST_QUERY' BW generation tool: Program class for generated programs 20090421
5 GC_PROGCLASS2 Constant Private Type reference (TYPE) RSSG_PCLAS '/BCV/TEST_QUERY2' BW generation tool: Program class for generated programs 20110112
6 GC_TAB_SIZE Constant Public Type reference (TYPE) INT4 25 Number of Input Fields per Tab 20090428
7 GC_TXT_DDIC Constant Private Type reference (TYPE) CHAR8 'D ' Report text derived from DDIC 20090421
8 GC_TXT_SELECT Constant Private Type reference (TYPE) CHAR1 'S' Selection Parameter 20090421
Methods
# Method Level Visibility Method type Description Created on
1 CLEANUP_OLD Static method Private Method Cleanup old "non multi-value" report 20110112
2 COPY_VARIANT Static method Private Method Copy variants from old to new report 20110114
3 DELETE Static method Public Method Delete generated report (including its variants) 20090421
4 GENERATE Static method Private Method Generate report (if necessary) 20090421
5 GENERATE_TEXT Static method Private Method Generate texts of entry screen 20090421
6 GENERATE_TITLE Static method Private Method Generate the dynpro title (CUA status) 20090421
7 GET Static method Private Method Get generated report (in any case) 20090421
8 MEMORIZE Static method Private Method Memorize time and result of generation 20090421
9 SUBMIT Static method Public Method Execute test report (includes generation of report) 20090421
10 TEXTPOOL_REFERENCE Static method Private Method Dummy method to simulate usage of text elements 20090421
Events
Class /BCV/CL_QRM_TESTCODE has no event.
Types
Class /BCV/CL_QRM_TESTCODE has no local type.
Method Signatures

Method CLEANUP_OLD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_REPNAME_NEW Call by reference Type reference (TYPE) SYREPID Report Name (new) 20110112
2 Importing IV_REPNAME_OLD Call by reference Type reference (TYPE) SYREPID Report Name (old) 20110112
3 Importing IV_REPUID_NEW Call by reference Type reference (TYPE) /BCV/FND_REPUID Report ID (new) 20110112
4 Importing IV_REPUID_OLD Call by reference Type reference (TYPE) /BCV/FND_REPUID Report ID (old) 20110112

Method CLEANUP_OLD on class /BCV/CL_QRM_TESTCODE has no exception.

Method COPY_VARIANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_REPNAME_NEW Call by reference Type reference (TYPE) SYREPID Report Name (new) 20110114
2 Importing IV_REPNAME_OLD Call by reference Type reference (TYPE) SYREPID Report Name (old) 20110114

Method COPY_VARIANT on class /BCV/CL_QRM_TESTCODE has no exception.

Method DELETE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_QUERY_ID Call by reference Type reference (TYPE) /BCV/QRM_QUERY_ID Query ID 20090423

Method DELETE on class /BCV/CL_QRM_TESTCODE has no exception.

Method GENERATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_REPUID Call by reference Type reference (TYPE) /BCV/FND_REPUID Report ID 20090421
2 Exporting EV_REPNAME Call by reference Type reference (TYPE) SYREPID ABAP Program: Current Main Program 20090421
3 Importing IV_DEBUG_LEVEL Call by reference Type reference (TYPE) I 0 20090421
4 Importing IV_PROGCLASS Call by reference Type reference (TYPE) RSSG_PCLAS GC_PROGCLASS BW generation tool: Program class for generated programs 20090421
5 Importing IV_QUERY_ID Call by reference Type reference (TYPE) /BCV/QRM_QUERY_ID Query ID 20090423
# Exception Resumable Description Created on
1 /BCV/CX_QRM_TESTCODE Exception Class for Search Integration Layer 20090423

Method GENERATE_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_REPNAME Call by reference Type reference (TYPE) SYREPID ABAP Program: Current Main Program 20090421

Method GENERATE_TEXT on class /BCV/CL_QRM_TESTCODE has no exception.

Method GENERATE_TITLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_REPNAME Call by reference Type reference (TYPE) SYREPID ABAP Program: Current Main Program 20090421

Method GENERATE_TITLE on class /BCV/CL_QRM_TESTCODE has no exception.

Method GET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_NECESSARY Call by reference Type reference (TYPE) BOOLE_D Generation is necessary (code is outdated) 20090421
2 Exporting EV_OTHER_PC Call by reference Type reference (TYPE) BOOLE_D Report has other program class 20110112
3 Exporting EV_POSSIBLE Call by reference Type reference (TYPE) BOOLE_D Generation is possible (setup correct) 20090421
4 Exporting EV_REPNAME Call by reference Type reference (TYPE) SYREPID ABAP Program: Current Main Program 20090421
5 Exporting EV_REPUID Call by reference Type reference (TYPE) /BCV/FND_REPUID Report ID 20090421
6 Importing IV_PROGCLASS Call by reference Type reference (TYPE) RSSG_PCLAS GC_PROGCLASS BW generation tool: Program class for generated programs 20090421
7 Importing IV_QUERY_ID Call by reference Type reference (TYPE) /BCV/QRM_QUERY_ID Query ID 20090423
# Exception Resumable Description Created on
1 /BCV/CX_QRM_TESTCODE Exception Class for Search Integration Layer 20090423

Method MEMORIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_QUERY_ID Call by reference Type reference (TYPE) /BCV/QRM_QUERY_ID Query ID 20090423
2 Importing IV_REPUID Call by reference Type reference (TYPE) /BCV/FND_REPUID Report ID 20090421

Method MEMORIZE on class /BCV/CL_QRM_TESTCODE has no exception.

Method SUBMIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CREATED Call by reference Type reference (TYPE) BOOLE_D Report generated 20090421
2 Importing IV_AND_RETURN Call by reference Type reference (TYPE) BOOLE_D ABAP_TRUE and return (to caller) 20090421
3 Importing IV_CONTEXT_KEY Call by reference Type reference (TYPE) /BCV/FND_CONTEXT_KEY Context Key 20090423
4 Importing IV_FORCE_GENERATION Call by reference Type reference (TYPE) BOOLE_D ABAP_FALSE Force generation of report 20090421
5 Importing IV_QUERY_ID Call by reference Type reference (TYPE) /BCV/QRM_QUERY_ID Query ID 20090423
# Exception Resumable Description Created on
1 /BCV/CX_QRM_TESTCODE Exception Class for Search Integration Layer 20090423

Method TEXTPOOL_REFERENCE Signature

Method TEXTPOOL_REFERENCE on class /BCV/CL_QRM_TESTCODE has no parameter.
Method TEXTPOOL_REFERENCE on class /BCV/CL_QRM_TESTCODE has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 702