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_QUERYMethod 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 Name | Description | Visability |
| ADAPT_QUERY_RESULT | Redefine: Adapt query results after query run | Protected |
| CALL METHOD /scmtms/cl_q_superclass=>ADAPT_QUERY_RESULT...more details | ||
| ADAPT_SELECTION_PARAMETERS | Redefine: Adapt and extract sel. parameters in subclass | Protected |
| CALL METHOD /scmtms/cl_q_superclass=>ADAPT_SELECTION_PARAMETERS...more details | ||
| ADD2SELECT_PATH | Add step to the SELECT path | Protected |
| CALL METHOD /scmtms/cl_q_superclass=>ADD2SELECT_PATH...more details | ||
| BUILD_ATTR_CLAUSE | Build list of attributes to be selected by the query | Protected |
| CALL METHOD /scmtms/cl_q_superclass=>BUILD_ATTR_CLAUSE...more details | ||
| BUILD_FROM_CLAUSE | OBSOLETE - use BUILD_FROM_CLAUSE_2() | Protected |
| CALL METHOD /scmtms/cl_q_superclass=>BUILD_FROM_CLAUSE...more details | ||
| BUILD_FROM_CLAUSE_2 | Build FROM clause for query select statement (Version 2) | Protected |
| CALL METHOD /scmtms/cl_q_superclass=>BUILD_FROM_CLAUSE_2...more details | ||
|
| ||
| BUILD_FROM_CLAUSE_REC | OBSOLETE | Protected |
| CALL METHOD /scmtms/cl_q_superclass=>BUILD_FROM_CLAUSE_REC...more details | ||
| BUILD_SORT_OPTIONS | Build ORDER BY clause | Private |
| CALL METHOD /scmtms/cl_q_superclass=>BUILD_SORT_OPTIONS...more details | ||
| BUILD_SUBQ_CLAUSES | Build subquery clauses | Protected |
| CALL METHOD /scmtms/cl_q_superclass=>BUILD_SUBQ_CLAUSES...more details | ||
| BUILD_WHERE_CLAUSE | Build WHERE clause for query select statement | Protected |
| CALL METHOD /scmtms/cl_q_superclass=>BUILD_WHERE_CLAUSE...more details | ||
| CHECKNCOMPLETE_ENH_TABLES | Check and complete enhance tables | Protected |
| CALL METHOD /scmtms/cl_q_superclass=>CHECKNCOMPLETE_ENH_TABLES...more details | ||
| CLEAR_SINGLE_RANGE | Clears the range defined in iv_where | Protected |
| CALL METHOD /scmtms/cl_q_superclass=>CLEAR_SINGLE_RANGE...more details | ||
| CONDENSE_RESULT_DATA | Condense Result Table data | Protected |
| CALL METHOD /scmtms/cl_q_superclass=>CONDENSE_RESULT_DATA...more details | ||
| DO_AUTHORITY_CHECK | Check authority for selected Result Table data | Protected |
| CALL METHOD /scmtms/cl_q_superclass=>DO_AUTHORITY_CHECK...more details | ||
| DO_QUERY | Do generic query on basis of the query enhancement table | Protected |
| CALL METHOD /scmtms/cl_q_superclass=>DO_QUERY...more details | ||
| DO_SELECT_1_SUBQUERY | Do SELECT with 1 sub query | Private |
| CALL METHOD /scmtms/cl_q_superclass=>DO_SELECT_1_SUBQUERY...more details | ||
| DO_SELECT_1_SUBQUERY_NEW | Do SELECT with 1 sub query new SQL syntax | Private |
| CALL METHOD /scmtms/cl_q_superclass=>DO_SELECT_1_SUBQUERY_NEW...more details | ||
| DO_SELECT_2_SUBQUERY | Do SELECT with 2 sub queries | Private |
| CALL METHOD /scmtms/cl_q_superclass=>DO_SELECT_2_SUBQUERY...more details | ||
| DO_SELECT_2_SUBQUERY_NEW | Do SELECT with 2 sub queries new SQL syntax | Private |
| CALL METHOD /scmtms/cl_q_superclass=>DO_SELECT_2_SUBQUERY_NEW...more details | ||
| DO_SELECT_3_SUBQUERY | Do SELECT with 3 sub queries | Private |
| CALL METHOD /scmtms/cl_q_superclass=>DO_SELECT_3_SUBQUERY...more details | ||
| DO_SELECT_3_SUBQUERY_NEW | Do SELECT with 3 sub queries new SQL syntax | Private |
| CALL METHOD /scmtms/cl_q_superclass=>DO_SELECT_3_SUBQUERY_NEW...more details | ||
| DO_SELECT_NO_SUBQUERY | Do SELECT without sub queries (standard case) | Private |
| CALL METHOD /scmtms/cl_q_superclass=>DO_SELECT_NO_SUBQUERY...more details | ||
| DO_SELECT_NO_SUBQUERY_NEW | Do SELECT without sub queries (standard case) new SQL syntax | Private |
| CALL METHOD /scmtms/cl_q_superclass=>DO_SELECT_NO_SUBQUERY_NEW...more details | ||
| DO_SELECT_WITH_SUBQUERY | Do SELECT with sub queries | Private |
| CALL METHOD /scmtms/cl_q_superclass=>DO_SELECT_WITH_SUBQUERY...more details | ||
| EXTEND_RANGE_STRUCTURE | Util: Extends reference for ranges and returns new reference | Protected |
| CALL METHOD /scmtms/cl_q_superclass=>EXTEND_RANGE_STRUCTURE...more details | ||
| EXTEND_SELECT_CLAUSES | Redefine: Extend SELECT clauses | Protected |
| CALL METHOD /scmtms/cl_q_superclass=>EXTEND_SELECT_CLAUSES...more details | ||
| EXTEND_SINGLE_RANGE | Extends the range in iv_where with the selection parameter | Protected |
| CALL METHOD /scmtms/cl_q_superclass=>EXTEND_SINGLE_RANGE...more details | ||
| FILL_EXPORTING_PARAMETERS | Fill ES_QUERY_INFO structure and filter key table | Public |
| CALL METHOD /scmtms/cl_q_superclass=>FILL_EXPORTING_PARAMETERS...more details | ||
| FILTER_AFTER_SELECTION | Filter CT_DATA_P after SQL selection | Private |
| CALL METHOD /scmtms/cl_q_superclass=>FILTER_AFTER_SELECTION...more details | ||
| GET_ALIAS_FOR_TABLE | Returns alias name for given table | Protected |
| CALL METHOD /scmtms/cl_q_superclass=>GET_ALIAS_FOR_TABLE...more details | ||
| GET_AUTHCHECK_FIELDS | Get attributes being relevant for authority check | Private |
| CALL METHOD /scmtms/cl_q_superclass=>GET_AUTHCHECK_FIELDS...more details | ||
| GET_AUTHORITY_CHECK_FIELDS | Get authority check relevant fields | Protected |
| CALL METHOD /scmtms/cl_q_superclass=>GET_AUTHORITY_CHECK_FIELDS...more details | ||
| GET_PRESELECTED_FILTER_KEYS | Redefine: Get pre-selected filter keys for query selection | Protected |
| CALL METHOD /scmtms/cl_q_superclass=>GET_PRESELECTED_FILTER_KEYS...more details | ||
| GET_Q2ROOT_NODES | Get 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_ATTR | Get the query db_key attribute name | Protected |
| CALL METHOD /scmtms/cl_q_superclass=>GET_QUERY_DB_KEY_ATTR...more details | ||
| GET_QUERY_ENHANCE_TABLE | Redefine: Enhance query | Protected |
| CALL METHOD /scmtms/cl_q_superclass=>GET_QUERY_ENHANCE_TABLE...more details | ||
| GET_QUERY_NODE_FILTER_ATTR | Redefine: Get FOR ALL ENTRIES query node filter attribute | Protected |
| CALL METHOD /scmtms/cl_q_superclass=>GET_QUERY_NODE_FILTER_ATTR...more details | ||
| GET_RANGES_CTR | Util: Returns #of ranges contained in the data reference | Protected |
| CALL METHOD /scmtms/cl_q_superclass=>GET_RANGES_CTR...more details | ||
| GET_RANGE_FOR_ALPHA_DDFIELD | Return range table for ddfields with ALPHA | Protected |
| CALL METHOD /scmtms/cl_q_superclass=>GET_RANGE_FOR_ALPHA_DDFIELD...more details | ||
| GET_RESULT_DATA | Get generic result query table | Protected |
| CALL METHOD /scmtms/cl_q_superclass=>GET_RESULT_DATA...more details | ||
| GET_SELPARAM_FILTER_ATTRIBUTES | Test Purpose: Return all possible filter attribute names | Protected |
| CALL METHOD /scmtms/cl_q_superclass=>GET_SELPARAM_FILTER_ATTRIBUTES...more details | ||
| GET_SUBTREE_ASSOCS | Get subtree associations (recursively) | Protected |
| CALL METHOD /scmtms/cl_q_superclass=>GET_SUBTREE_ASSOCS...more details | ||
| HANDLE_GROUP_SELECTION | Handle group selection | Private |
| CALL METHOD /scmtms/cl_q_superclass=>HANDLE_GROUP_SELECTION...more details | ||
| MOVE_CORRESPONDING | Move components from table Source to table Destination | Protected |
| CALL METHOD /scmtms/cl_q_superclass=>MOVE_CORRESPONDING...more details | ||
| NAME_WITHOUT_NAMESPACE | Return name without namespace | Protected |
| CALL METHOD /scmtms/cl_q_superclass=>NAME_WITHOUT_NAMESPACE...more details | ||
| PROCESS_SELECT_PACK | Process one data package of the DB SELECT | Private |
| CALL METHOD /scmtms/cl_q_superclass=>PROCESS_SELECT_PACK...more details | ||
| QUERY | Public | |
| CALL METHOD /scmtms/cl_q_superclass=>QUERY...more details | ||
| QUERY_CALL_BADI | Call query BAdI | Protected |
| CALL METHOD /scmtms/cl_q_superclass=>QUERY_CALL_BADI...more details | ||
| REGISTER_SELECT_PATH_NODE | Util: Register node which is relevant for the select path | Protected |
| 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.
| Name | Level | Description | Initial Value | Type | Visability |
| C_DB_KEY | Constant | Field Name | 'DB_KEY' | LIKE FIELDNAME | Protected |
| C_EVENT_CLAUSES | Constant | Enhancement Event: Select Clauses Enhancement | '3' | LIKE CHAR1 | Protected |
| C_EVENT_PRESEL_FILTER | Constant | Enhancement Event: Preselection Filter | '4' | LIKE CHAR1 | Protected |
| C_EVENT_QRENH | Constant | Enhancement Event: Query/Result Structure Enhancement | '1' | LIKE CHAR1 | Protected |
| C_EVENT_QRENH_FINAL | Constant | Enhancement Event: After DB Selection | '5' | LIKE CHAR1 | Protected |
| C_EVENT_RESENH | Constant | Enhancement Event: Result Table Enhancement | '2' | LIKE CHAR1 | Protected |
| C_PARENT_KEY | Constant | Field Name | 'PARENT_KEY' | LIKE FIELDNAME | Protected |
| C_QUERY_PACK_SIZE | Constant | Default query package size | 501 | LIKE INT4 | Public |
| C_ROOT_KEY | Constant | Field Name | 'ROOT_KEY' | LIKE FIELDNAME | Protected |
| C_STOP_PARENT_KEY | Constant | Field Name | 'STOP_PARENT_KEY' | LIKE FIELDNAME | Protected |
| C_STOP_SUCC_KEY | Constant | 'SUCC_STOP_KEY' | LIKE FIELDNAME | Protected | |
| C_TABLE_ALIAS | Static Attribute | Table alias template for DB-select | 'A' | LIKE STRING | Protected |
| GV_DEBUG | Instance Attribute | Debug mode on? | ABAP_FALSE | LIKE ABAP_BOOL | Protected |
| MO_KEY_DATA | Instance Attribute | DB Result Table - Key Structure | LIKE DATA | Protected | |
| MO_QUERY_CONF | Instance Attribute | Interface for Configuration | LIKE /BOBF/IF_FRW_CONFIGURATION | Protected | |
| MO_SDESCR | Static Attribute | Query Result Structure Descriptor | LIKE CL_ABAP_STRUCTDESCR | Public | |
| MO_TDESCR | Static Attribute | LIKE CL_ABAP_TABLEDESCR | Public | ||
| MS_QUERY | Instance Attribute | Configuration: Query | LIKE /BOBF/S_CONFRO_QUERY | Protected | |
| MS_QUERY_NODE | Instance Attribute | Configuration: Node | LIKE /BOBF/S_CONFRO_NODE | Protected | |
| MT_DFIES | Instance Attribute | Query Filter Structure Components | LIKE DDFIELDS | Protected | |
| MT_DFIES_RESULT | Instance Attribute | Query ET_DATA Line Type Components | LIKE DDFIELDS | Protected | |
| MT_GROUP_SELECTION_ATTR | Instance Attribute | List of Query Result Structure Attributes | LIKE /BOBF/T_FRW_NAME | Protected | |
| MT_NODE_ATTR | Instance Attribute | Node with counter and query attributes | LIKE TT_NODE | Protected | |
| MT_PATH_NODES | Instance Attribute | Source nodes in paths | LIKE TT_PATH_NODES | Protected | |
| MT_SELECT_PATH | Instance Attribute | SELECT path | LIKE TT_SELECT_PATH | Protected | |
| MV_DB_KEY_ATTR | Instance Attribute | Field Name | C_DB_KEY | LIKE FIELDNAME | Protected |
| MV_FORCE_PSIZE_PROCESSING | Instance Attribute | Use query pack.size even, if max. rows is undefined | ABAP_FALSE | LIKE ABAP_BOOL | Protected |
| MV_MAX_DB_CNT | Instance Attribute | Max. DB Counter being used within current SELECT | '00' | LIKE NUMC2 | Protected |
| MV_MULTIVAL_SEPARATOR | Static Attribute | Separator for multi value result list attribute values | '/' | LIKE CHAR1 | Protected |
| MV_NEW_SQL_SYNTAX | Instance Attribute | Use new SQL syntax for selection | ABAP_FALSE | LIKE ABAP_BOOL | Protected |
| MV_NO_DB_KEY_IN_TABLE | Instance Attribute | True, if db table does not contain DB_KEY at all | ABAP_FALSE | LIKE ABAP_BOOL | Protected |
| MV_QUERY_PACK_SIZE | Static Attribute | Query package size | LIKE INT4 | Public | |
| MV_QUERY_PRIVILEGED | Static Attribute | Query running in privilege mode? | LIKE ABAP_BOOL | Private | |
| MV_READ4VALUEHELP | Static Attribute | Query used from within Value Help (check also with ACTVT F4) | ABAP_FALSE | LIKE ABAP_BOOL | Public |
| MV_SKIP_QUERY | Instance Attribute | Skip further query processing | ABAP_FALSE | LIKE ABAP_BOOL | Protected |
| SC_QUERYCAT_GEN | Constant | Generic Result Query Category | 'G' | LIKE CHAR1 | Protected |
| SC_QUERYCAT_STD | Constant | Standard Query Category | SPACE | LIKE CHAR1 | Protected |
| SC_RANGE | Constant | LIKE | Protected |
/SCMTMS/CL_Q_SUPERCLASS types
TT_ADD_RESULT_DATA_ATTR - Additional attributes for the result data tableTT_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