SAP /SCMTMS/CL_Q_SUPERCLASS OO Class - TM Query Superclass









/SCMTMS/CL_Q_SUPERCLASS is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class /SCMTMS/CL_Q_SUPERCLASS including details of:

  • Interface class implementations
  • Inheritance details
  • Methods defined within class ( including link to full details )
  • Attributes ( including initial values )
  • Class Events

Interface Implementation

This OO class is an Interface Implementation, which means it will implement its own version of the methods from implementation class /BOBF/IF_FRW_QUERY

Method list of /SCMTMS/CL_Q_SUPERCLASS SAP class


A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD. Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...


Method NameDescriptionVisability
ADAPT_QUERY_RESULTRedefine: Adapt query results after query runProtected
CALL METHOD /scmtms/cl_q_superclass=>ADAPT_QUERY_RESULT...more details

ADAPT_SELECTION_PARAMETERSRedefine: Adapt and extract sel. parameters in subclassProtected
CALL METHOD /scmtms/cl_q_superclass=>ADAPT_SELECTION_PARAMETERS...more details

ADD2SELECT_PATHAdd step to the SELECT pathProtected
CALL METHOD /scmtms/cl_q_superclass=>ADD2SELECT_PATH...more details

BUILD_ATTR_CLAUSEBuild list of attributes to be selected by the queryProtected
CALL METHOD /scmtms/cl_q_superclass=>BUILD_ATTR_CLAUSE...more details

BUILD_FROM_CLAUSEOBSOLETE - use BUILD_FROM_CLAUSE_2()Protected
CALL METHOD /scmtms/cl_q_superclass=>BUILD_FROM_CLAUSE...more details

BUILD_FROM_CLAUSE_2Build FROM clause for query select statement (Version 2)Protected
CALL METHOD /scmtms/cl_q_superclass=>BUILD_FROM_CLAUSE_2...more details

BUILD_FROM_CLAUSE_RECOBSOLETEProtected
CALL METHOD /scmtms/cl_q_superclass=>BUILD_FROM_CLAUSE_REC...more details

BUILD_SORT_OPTIONSBuild ORDER BY clausePrivate
CALL METHOD /scmtms/cl_q_superclass=>BUILD_SORT_OPTIONS...more details

BUILD_SUBQ_CLAUSESBuild subquery clausesProtected
CALL METHOD /scmtms/cl_q_superclass=>BUILD_SUBQ_CLAUSES...more details

BUILD_WHERE_CLAUSEBuild WHERE clause for query select statementProtected
CALL METHOD /scmtms/cl_q_superclass=>BUILD_WHERE_CLAUSE...more details

CHECKNCOMPLETE_ENH_TABLESCheck and complete enhance tablesProtected
CALL METHOD /scmtms/cl_q_superclass=>CHECKNCOMPLETE_ENH_TABLES...more details

CLEAR_SINGLE_RANGEClears the range defined in iv_whereProtected
CALL METHOD /scmtms/cl_q_superclass=>CLEAR_SINGLE_RANGE...more details

CONDENSE_RESULT_DATACondense Result Table dataProtected
CALL METHOD /scmtms/cl_q_superclass=>CONDENSE_RESULT_DATA...more details

DO_AUTHORITY_CHECKCheck authority for selected Result Table dataProtected
CALL METHOD /scmtms/cl_q_superclass=>DO_AUTHORITY_CHECK...more details

DO_QUERYDo generic query on basis of the query enhancement tableProtected
CALL METHOD /scmtms/cl_q_superclass=>DO_QUERY...more details

DO_SELECT_1_SUBQUERYDo SELECT with 1 sub queryPrivate
CALL METHOD /scmtms/cl_q_superclass=>DO_SELECT_1_SUBQUERY...more details

DO_SELECT_1_SUBQUERY_NEWDo SELECT with 1 sub query new SQL syntaxPrivate
CALL METHOD /scmtms/cl_q_superclass=>DO_SELECT_1_SUBQUERY_NEW...more details

DO_SELECT_2_SUBQUERYDo SELECT with 2 sub queriesPrivate
CALL METHOD /scmtms/cl_q_superclass=>DO_SELECT_2_SUBQUERY...more details

DO_SELECT_2_SUBQUERY_NEWDo SELECT with 2 sub queries new SQL syntaxPrivate
CALL METHOD /scmtms/cl_q_superclass=>DO_SELECT_2_SUBQUERY_NEW...more details

DO_SELECT_3_SUBQUERYDo SELECT with 3 sub queriesPrivate
CALL METHOD /scmtms/cl_q_superclass=>DO_SELECT_3_SUBQUERY...more details

DO_SELECT_3_SUBQUERY_NEWDo SELECT with 3 sub queries new SQL syntaxPrivate
CALL METHOD /scmtms/cl_q_superclass=>DO_SELECT_3_SUBQUERY_NEW...more details

DO_SELECT_NO_SUBQUERYDo SELECT without sub queries (standard case)Private
CALL METHOD /scmtms/cl_q_superclass=>DO_SELECT_NO_SUBQUERY...more details

DO_SELECT_NO_SUBQUERY_NEWDo SELECT without sub queries (standard case) new SQL syntaxPrivate
CALL METHOD /scmtms/cl_q_superclass=>DO_SELECT_NO_SUBQUERY_NEW...more details

DO_SELECT_WITH_SUBQUERYDo SELECT with sub queriesPrivate
CALL METHOD /scmtms/cl_q_superclass=>DO_SELECT_WITH_SUBQUERY...more details

EXTEND_RANGE_STRUCTUREUtil: Extends reference for ranges and returns new referenceProtected
CALL METHOD /scmtms/cl_q_superclass=>EXTEND_RANGE_STRUCTURE...more details

EXTEND_SELECT_CLAUSESRedefine: Extend SELECT clausesProtected
CALL METHOD /scmtms/cl_q_superclass=>EXTEND_SELECT_CLAUSES...more details

EXTEND_SINGLE_RANGEExtends the range in iv_where with the selection parameterProtected
CALL METHOD /scmtms/cl_q_superclass=>EXTEND_SINGLE_RANGE...more details

FILL_EXPORTING_PARAMETERSFill ES_QUERY_INFO structure and filter key tablePublic
CALL METHOD /scmtms/cl_q_superclass=>FILL_EXPORTING_PARAMETERS...more details

FILTER_AFTER_SELECTIONFilter CT_DATA_P after SQL selectionPrivate
CALL METHOD /scmtms/cl_q_superclass=>FILTER_AFTER_SELECTION...more details

GET_ALIAS_FOR_TABLEReturns alias name for given tableProtected
CALL METHOD /scmtms/cl_q_superclass=>GET_ALIAS_FOR_TABLE...more details

GET_AUTHCHECK_FIELDSGet attributes being relevant for authority checkPrivate
CALL METHOD /scmtms/cl_q_superclass=>GET_AUTHCHECK_FIELDS...more details

GET_AUTHORITY_CHECK_FIELDSGet authority check relevant fieldsProtected
CALL METHOD /scmtms/cl_q_superclass=>GET_AUTHORITY_CHECK_FIELDS...more details

GET_PRESELECTED_FILTER_KEYSRedefine: Get pre-selected filter keys for query selectionProtected
CALL METHOD /scmtms/cl_q_superclass=>GET_PRESELECTED_FILTER_KEYS...more details

GET_Q2ROOT_NODESGet nodes from query node to root node (w/o query node)Protected
CALL METHOD /scmtms/cl_q_superclass=>GET_Q2ROOT_NODES...more details

GET_QUERY_DB_KEY_ATTRGet the query db_key attribute nameProtected
CALL METHOD /scmtms/cl_q_superclass=>GET_QUERY_DB_KEY_ATTR...more details

GET_QUERY_ENHANCE_TABLERedefine: Enhance queryProtected
CALL METHOD /scmtms/cl_q_superclass=>GET_QUERY_ENHANCE_TABLE...more details

GET_QUERY_NODE_FILTER_ATTRRedefine: Get FOR ALL ENTRIES query node filter attributeProtected
CALL METHOD /scmtms/cl_q_superclass=>GET_QUERY_NODE_FILTER_ATTR...more details

GET_RANGES_CTRUtil: Returns #of ranges contained in the data referenceProtected
CALL METHOD /scmtms/cl_q_superclass=>GET_RANGES_CTR...more details

GET_RANGE_FOR_ALPHA_DDFIELDReturn range table for ddfields with ALPHAProtected
CALL METHOD /scmtms/cl_q_superclass=>GET_RANGE_FOR_ALPHA_DDFIELD...more details

GET_RESULT_DATAGet generic result query tableProtected
CALL METHOD /scmtms/cl_q_superclass=>GET_RESULT_DATA...more details

GET_SELPARAM_FILTER_ATTRIBUTESTest Purpose: Return all possible filter attribute namesProtected
CALL METHOD /scmtms/cl_q_superclass=>GET_SELPARAM_FILTER_ATTRIBUTES...more details

GET_SUBTREE_ASSOCSGet subtree associations (recursively)Protected
CALL METHOD /scmtms/cl_q_superclass=>GET_SUBTREE_ASSOCS...more details

HANDLE_GROUP_SELECTIONHandle group selectionPrivate
CALL METHOD /scmtms/cl_q_superclass=>HANDLE_GROUP_SELECTION...more details

MOVE_CORRESPONDINGMove components from table Source to table DestinationProtected
CALL METHOD /scmtms/cl_q_superclass=>MOVE_CORRESPONDING...more details

NAME_WITHOUT_NAMESPACEReturn name without namespaceProtected
CALL METHOD /scmtms/cl_q_superclass=>NAME_WITHOUT_NAMESPACE...more details

PROCESS_SELECT_PACKProcess one data package of the DB SELECTPrivate
CALL METHOD /scmtms/cl_q_superclass=>PROCESS_SELECT_PACK...more details

QUERYPublic
CALL METHOD /scmtms/cl_q_superclass=>QUERY...more details

QUERY_CALL_BADICall query BAdIProtected
CALL METHOD /scmtms/cl_q_superclass=>QUERY_CALL_BADI...more details

REGISTER_SELECT_PATH_NODEUtil: Register node which is relevant for the select pathProtected
CALL METHOD /scmtms/cl_q_superclass=>REGISTER_SELECT_PATH_NODE...more details



/SCMTMS/CL_Q_SUPERCLASS attributes

List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.

NameLevelDescriptionInitial ValueTypeVisability
C_DB_KEYConstantField Name'DB_KEY'LIKE
FIELDNAME
Protected
C_EVENT_CLAUSESConstantEnhancement Event: Select Clauses Enhancement'3'LIKE
CHAR1
Protected
C_EVENT_PRESEL_FILTERConstantEnhancement Event: Preselection Filter'4'LIKE
CHAR1
Protected
C_EVENT_QRENHConstantEnhancement Event: Query/Result Structure Enhancement'1'LIKE
CHAR1
Protected
C_EVENT_QRENH_FINALConstantEnhancement Event: After DB Selection'5'LIKE
CHAR1
Protected
C_EVENT_RESENHConstantEnhancement Event: Result Table Enhancement'2'LIKE
CHAR1
Protected
C_PARENT_KEYConstantField Name'PARENT_KEY'LIKE
FIELDNAME
Protected
C_QUERY_PACK_SIZEConstantDefault query package size501LIKE
INT4
Public
C_ROOT_KEYConstantField Name'ROOT_KEY'LIKE
FIELDNAME
Protected
C_STOP_PARENT_KEYConstantField Name'STOP_PARENT_KEY'LIKE
FIELDNAME
Protected
C_STOP_SUCC_KEYConstant'SUCC_STOP_KEY'LIKE
FIELDNAME
Protected
C_TABLE_ALIASStatic AttributeTable alias template for DB-select'A'LIKE
STRING
Protected
GV_DEBUGInstance AttributeDebug mode on?ABAP_FALSELIKE
ABAP_BOOL
Protected
MO_KEY_DATAInstance AttributeDB Result Table - Key StructureLIKE
DATA
Protected
MO_QUERY_CONFInstance AttributeInterface for ConfigurationLIKE
/BOBF/IF_FRW_CONFIGURATION
Protected
MO_SDESCRStatic AttributeQuery Result Structure DescriptorLIKE
CL_ABAP_STRUCTDESCR
Public
MO_TDESCRStatic AttributeLIKE
CL_ABAP_TABLEDESCR
Public
MS_QUERYInstance AttributeConfiguration: QueryLIKE
/BOBF/S_CONFRO_QUERY
Protected
MS_QUERY_NODEInstance AttributeConfiguration: NodeLIKE
/BOBF/S_CONFRO_NODE
Protected
MT_DFIESInstance AttributeQuery Filter Structure ComponentsLIKE
DDFIELDS
Protected
MT_DFIES_RESULTInstance AttributeQuery ET_DATA Line Type ComponentsLIKE
DDFIELDS
Protected
MT_GROUP_SELECTION_ATTRInstance AttributeList of Query Result Structure AttributesLIKE
/BOBF/T_FRW_NAME
Protected
MT_NODE_ATTRInstance AttributeNode with counter and query attributesLIKE
TT_NODE
Protected
MT_PATH_NODESInstance AttributeSource nodes in pathsLIKE
TT_PATH_NODES
Protected
MT_SELECT_PATHInstance AttributeSELECT pathLIKE
TT_SELECT_PATH
Protected
MV_DB_KEY_ATTRInstance AttributeField NameC_DB_KEYLIKE
FIELDNAME
Protected
MV_FORCE_PSIZE_PROCESSINGInstance AttributeUse query pack.size even, if max. rows is undefinedABAP_FALSELIKE
ABAP_BOOL
Protected
MV_MAX_DB_CNTInstance AttributeMax. DB Counter being used within current SELECT'00'LIKE
NUMC2
Protected
MV_MULTIVAL_SEPARATORStatic AttributeSeparator for multi value result list attribute values'/'LIKE
CHAR1
Protected
MV_NEW_SQL_SYNTAXInstance AttributeUse new SQL syntax for selectionABAP_FALSELIKE
ABAP_BOOL
Protected
MV_NO_DB_KEY_IN_TABLEInstance AttributeTrue, if db table does not contain DB_KEY at allABAP_FALSELIKE
ABAP_BOOL
Protected
MV_QUERY_PACK_SIZEStatic AttributeQuery package sizeLIKE
INT4
Public
MV_QUERY_PRIVILEGEDStatic AttributeQuery running in privilege mode?LIKE
ABAP_BOOL
Private
MV_READ4VALUEHELPStatic AttributeQuery used from within Value Help (check also with ACTVT F4)ABAP_FALSELIKE
ABAP_BOOL
Public
MV_SKIP_QUERYInstance AttributeSkip further query processingABAP_FALSELIKE
ABAP_BOOL
Protected
SC_QUERYCAT_GENConstantGeneric Result Query Category'G'LIKE
CHAR1
Protected
SC_QUERYCAT_STDConstantStandard Query CategorySPACELIKE
CHAR1
Protected
SC_RANGEConstantLIKE
Protected




/SCMTMS/CL_Q_SUPERCLASS types

TT_ADD_RESULT_DATA_ATTR - Additional attributes for the result data table
TT_CONF_KEY -
TT_DBKEY -
TT_NODE - Node with counter and query attributes
TT_PATH - OBSOLETE! Do not use
TT_PATH_NODES -
TT_RANGES - Table of range tables
TT_SELECT_PATH - Select Path
TT_SUBQUERY_ENH - Subquery enhancements table
TT_SUBQ_SELECT_CLAUSE - Subquery SELECT clauses
TT_SUBTREE_ASSOC - Subtree associations (sorted by target_node_key, src_nd_key)
TT_TCQTYI -
TY_ADD_RESULT_DATA_ATTR - Additional attributes for the result data table
TY_CONF_KEY -
TY_DBKEY -
TY_DB_KEY - DB_KEY structure
TY_NODE - Node with counter and query attributes
TY_PATH - OBSOLETE! Do not use
TY_SELECT_PATH - Select Path
TY_SUBQUERY_ENH - Subquery enhancement structure
TY_SUBQ_SELECT_CLAUSE - Subquery SELECT clauses

Links to Related Class(s)

/SCMTMS/...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!