SAP ABAP Class CL_RSQVT_CONDITION (Query Model: Abstract Condition)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-SYS-DB (Application Component) BW Database platforms
     RSQVT (Package) SAP Query Analysis Tool
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_RSQVT_CCOND Query Model: Complex Condtition 20060509
2 Inheritance (c INHERITING FROM c_ref)  CL_RSQVT_JCOND Query Model: Join Condition 20060509
3 Inheritance (c INHERITING FROM c_ref)  CL_RSQVT_LCOND Query Model: Local Condition 20060509
4 Inheritance (c INHERITING FROM c_ref)  CL_RSQVT_TCOND Query Model: Condition with Table Reference 20060509
Properties
Class CL_RSQVT_CONDITION  
Short Description Query Model: Abstract Condition    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RSQVT   SAP Query Analysis Tool 
Created 20060509   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 RSD Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 RSDRS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_RSQVT_CONDITION has no interface implemented.
Friends
Class CL_RSQVT_CONDITION has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MARKED Instance attribute Protected Type reference (TYPE) RS_BOOL Boolean Variable (X=True, -=False, Space=Unknown) 20060509
2 OJOIN_ID Instance attribute Protected Type reference (TYPE) I 20060614
3 TYPE Instance attribute Protected See coding 20060509
Methods
# Method Level Visibility Method type Description Created on
1 ADD_SX_WHERE Instance method Public Method 20060509
2 CLONE Instance method Public Method 20070131
3 FLATTEN Instance method Public Method Collects Subnodes with Same OP into Current Node 20060517
4 GET_ALIASES Instance method Public Method 20060509
5 GET_NL_PART Instance method Public Method 20060509
6 GET_OJOIN_ID Instance method Public Method 20060614
7 GET_PATH_OBJECT Instance method Public Method 20060509
8 GET_TYPE Instance method Public Method 20060517
9 ISOLATE_ALIASES Instance method Public Method 20070226
10 ISOLATE_JOINS Instance method Public Method 20060516
11 IS_COVERED Instance method Public Method 20060509
12 MARKED_SUBTREE Instance method Public Method 20060509
13 MARK_PATH Instance method Public Method 20060509
14 MINIMIZE Instance method Public Method Extract Common Subexpressions 20060510
15 NEGATE Instance method Public Method 20070129
16 NORMALIZE Instance method Public Method Transform AND NOT, OR NOT to AND, OR, NOT 20060509
17 PARSE_SX_HAVING Static method Public Method Returns Complex Condition from RSDRS:sx_where 20060629
18 PARSE_SX_WHERE Static method Public Method Returns Complex Condition from RSDRS:sx_where 20060509
19 PUSH_NEGATIONS Instance method Public Method 20070202
20 SET_OJOIN_ID Instance method Public Method 20060614
21 SIMPLIFY Instance method Public Method Removes Invalid Complex Conditions 20060509
22 TOSTRING Instance method Public Method 20060509
23 TO_T_WHERE Instance method Public Method 20060509
24 UNMARK_ALL Instance method Public Method 20060509
Events
Class CL_RSQVT_CONDITION has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 COND_FIELDS Public See coding 20060630 begin of cond_fields, position TYPE i, " to create a sort order level TYPE i, " parenthesis level isolate TYPE i, boolop TYPE rsdrs_boolop, " boolean operator AND, OR, NONE flush TYPE rs_bool, " close all brackets at the end tabalias TYPE rsdrs_alias, fieldnm TYPE rsd_fieldnm, aggr TYPE rsaggrgen, " aggregation type compop TYPE rs_s_range-opt, " comparison EQ, LT, LE, ... numfl TYPE rs_bool, " values numeric ? low TYPE rschavl, high TYPE rschavl, factor TYPE rsdrs_factor, th_inlist TYPE rsdrs_th_chavl, " chavl inlist values th_in_sid TYPE rsdrs_th_sid, " sid inlist values tabalias2 TYPE rsdrs_alias, " comparison of two fields fieldnm2 TYPE rsd_fieldnm, subquery_id TYPE rsdrs_subquery_id, end of cond_fields
Method Signatures

Method ADD_SX_WHERE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ACTLEVEL Call by reference Type reference (TYPE) I 20060509
2 Importing I_FIELDS Call by reference Type reference (TYPE) COND_FIELDS 20060630
3 Importing I_FLUSHED Call by reference Type reference (TYPE) RS_BOOL boolsche Variable (X=true, -=false, space=unknown) 20060529
4 Importing I_LASTLEVEL Call by reference Type reference (TYPE) I 20060627
5 Importing I_MODEL Call by reference Object reference (TYPE REF TO) CL_RSQVT_MODEL SQLVIS Query Model 20060530
6 Importing I_QUERYBLOCK Call by reference Object reference (TYPE REF TO) CL_RSQVT_QUERYBLOCK Query Model: Queryblock 20060703
7 Importing I_TH_SUBQUERY Call by reference Type reference (TYPE) RSDRS_TH_SUBQUERY 20060530
# Exception Resumable Description Created on
1 CX_RSQVT_MODEL_ERROR 20060621
2 CX_RSQVT_PARSE_ERROR 20060621
3 CX_SQL_EXCEPTION Ausnahmeklasse für SQL Fehler 20070201

Method CLONE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DEEP Call by reference Type reference (TYPE) BOOLEAN boolsche Variable (X=true, -=false, space=unknown) 20070131
2 Returning R_NODE Value transfer Object reference (TYPE REF TO) CL_RSQVT_CONDITION Query Model: abstrakte Condition 20070131

Method CLONE on class CL_RSQVT_CONDITION has no exception.

Method FLATTEN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_COND Value transfer Object reference (TYPE REF TO) CL_RSQVT_CONDITION SQLVIS Query Model: abstrakte Condition 20060517

Method FLATTEN on class CL_RSQVT_CONDITION has no exception.

Method GET_ALIASES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_ALIASES Value transfer Type reference (TYPE) TABLE 20060509

Method GET_ALIASES on class CL_RSQVT_CONDITION has no exception.

Method GET_NL_PART Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ALIAS Call by reference Type reference (TYPE) RSDRS_ALIAS 20060509
2 Importing I_NEGATIONS Call by reference Type reference (TYPE) I 20070227
3 Returning R_COND Value transfer Object reference (TYPE REF TO) CL_RSQVT_CONDITION SQLVIS Query Model: abstrakte Condition 20060509
# Exception Resumable Description Created on
1 CX_RSQVT_MODEL_ERROR 20060621

Method GET_OJOIN_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_ID Value transfer Type reference (TYPE) I 20060614

Method GET_OJOIN_ID on class CL_RSQVT_CONDITION has no exception.

Method GET_PATH_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PATH Call by reference Type reference (TYPE) STRING 20060509
2 Returning R_OBJECT Value transfer Object reference (TYPE REF TO) CL_RSQVT_CONDITION SQLVIS Query Model: abstrakte Condition 20060509
# Exception Resumable Description Created on
1 CX_RSQVT_MODEL_ERROR 20060621

Method GET_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_TYPE Value transfer Type reference (TYPE) STRING 20060517

Method GET_TYPE on class CL_RSQVT_CONDITION has no exception.

Method ISOLATE_ALIASES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ALIASES Call by reference Type reference (TYPE) TABLE 20070226
2 Importing I_NEGATIONS Call by reference Type reference (TYPE) I 20070227
3 Returning R_COND Value transfer Object reference (TYPE REF TO) CL_RSQVT_CONDITION Query Model: abstrakte Condition 20070226
# Exception Resumable Description Created on
1 CX_RSQVT_MODEL_ERROR Exception: Fehler im Model 20070226

Method ISOLATE_JOINS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ALIAS Call by reference Type reference (TYPE) RSDRS_ALIAS '' 20060516
2 Returning R_COND Value transfer Object reference (TYPE REF TO) CL_RSQVT_CONDITION SQLVIS Query Model: abstrakte Condition 20060516
# Exception Resumable Description Created on
1 CX_RSQVT_MODEL_ERROR 20060621

Method IS_COVERED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ALIAS Call by reference Type reference (TYPE) RSDRS_ALIAS 20060509
2 Importing I_COLUMN Call by reference Type reference (TYPE) RSD_FIELDNM 20060509
3 Returning R_COVERED Value transfer Type reference (TYPE) BOOLEAN boolsche Variable (X=true, -=false, space=unknown) 20060509

Method IS_COVERED on class CL_RSQVT_CONDITION has no exception.

Method MARKED_SUBTREE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_RESULT Value transfer Object reference (TYPE REF TO) CL_RSQVT_CONDITION SQLVIS Query Model: abstrakte Condition 20060509
# Exception Resumable Description Created on
1 CX_RSQVT_MODEL_ERROR 20060621

Method MARK_PATH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PATH Call by reference Type reference (TYPE) STRING 20060509
# Exception Resumable Description Created on
1 CX_RSQVT_MODEL_ERROR 20060621

Method MINIMIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_CHANGED Call by reference Type reference (TYPE) BOOLEAN boolsche Variable (X=true, -=false, space=unknown) 20060511
# Exception Resumable Description Created on
1 CX_RSQVT_MODEL_ERROR 20060621

Method NEGATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_NODE Value transfer Object reference (TYPE REF TO) CL_RSQVT_CONDITION Query Model: abstrakte Condition 20070129
# Exception Resumable Description Created on
1 CX_RSQVT_MODEL_ERROR Exception: Fehler im Model 20070130

Method NORMALIZE Signature

Method NORMALIZE on class CL_RSQVT_CONDITION has no parameter.
# Exception Resumable Description Created on
1 CX_RSQVT_MODEL_ERROR 20060621

Method PARSE_SX_HAVING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MODEL Call by reference Object reference (TYPE REF TO) CL_RSQVT_MODEL SQLVIS Query Model 20060629
2 Importing I_QUERYBLOCK Call by reference Object reference (TYPE REF TO) CL_RSQVT_QUERYBLOCK Query Model: Queryblock 20060703
3 Importing I_SX_HAVING Call by reference Type reference (TYPE) RSDRS_T_HAVING 20060630
4 Importing I_TH_SUBQUERY Call by reference Type reference (TYPE) RSDRS_TH_SUBQUERY 20060629
5 Returning R_CONDITION Value transfer Object reference (TYPE REF TO) CL_RSQVT_CONDITION SQLVIS Query Model: abstrakte Condition 20060629
# Exception Resumable Description Created on
1 CX_RSQVT_MODEL_ERROR 20060629
2 CX_RSQVT_PARSE_ERROR 20060629
3 CX_SQL_EXCEPTION Ausnahmeklasse für SQL Fehler 20070201

Method PARSE_SX_WHERE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MODEL Call by reference Object reference (TYPE REF TO) CL_RSQVT_MODEL SQLVIS Query Model 20060530
2 Importing I_QUERYBLOCK Call by reference Object reference (TYPE REF TO) CL_RSQVT_QUERYBLOCK Query Model: Queryblock 20060703
3 Importing I_SX_WHERE Call by reference Type reference (TYPE) RSDRS_T_WHERE 20060509
4 Importing I_TH_SUBQUERY Call by reference Type reference (TYPE) RSDRS_TH_SUBQUERY 20060530
5 Returning R_CONDITION Value transfer Object reference (TYPE REF TO) CL_RSQVT_CONDITION SQLVIS Query Model: abstrakte Condition 20060509
# Exception Resumable Description Created on
1 CX_RSQVT_MODEL_ERROR 20060621
2 CX_RSQVT_PARSE_ERROR 20060621
3 CX_SQL_EXCEPTION Ausnahmeklasse für SQL Fehler 20070201

Method PUSH_NEGATIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_NODE Value transfer Object reference (TYPE REF TO) CL_RSQVT_CONDITION Query Model: abstrakte Condition 20070202
# Exception Resumable Description Created on
1 CX_RSQVT_MODEL_ERROR Exception: Fehler im Model 20070202

Method SET_OJOIN_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ID Call by reference Type reference (TYPE) I 20060614
2 Importing I_RECURSE Call by reference Type reference (TYPE) RS_BOOL boolsche Variable (X=true, -=false, space=unknown) 20060614

Method SET_OJOIN_ID on class CL_RSQVT_CONDITION has no exception.

Method SIMPLIFY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_COND Value transfer Object reference (TYPE REF TO) CL_RSQVT_CONDITION SQLVIS Query Model: abstrakte Condition 20060509

Method SIMPLIFY on class CL_RSQVT_CONDITION has no exception.

Method TOSTRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LEFT_DEEP Call by reference Type reference (TYPE) RS_BOOL Boolean 20070202
2 Importing OMIT_ALIAS Call by reference Type reference (TYPE) RS_BOOL boolsche Variable (X=true, -=false, space=unknown) 20060509
3 Returning R_STRING Value transfer Type reference (TYPE) STRING 20060509

Method TOSTRING on class CL_RSQVT_CONDITION has no exception.

Method TO_T_WHERE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_WHERE Value transfer Type reference (TYPE) TABLE 20060509
2 Importing I_LAST_LEVEL Call by reference Type reference (TYPE) I 0 20060509
3 Importing I_LAST_OP Call by reference Type reference (TYPE) RSDRS_BOOLOP RSDRS_C_BOOLOP-NONE 20060509
4 Importing I_LEVEL Call by reference Type reference (TYPE) I 0 20060509
# Exception Resumable Description Created on
1 CX_RSQVT_MODEL_ERROR 20060621

Method UNMARK_ALL Signature

Method UNMARK_ALL on class CL_RSQVT_CONDITION has no parameter.
Method UNMARK_ALL on class CL_RSQVT_CONDITION has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 350