SAP ABAP Class CL_RSDRS_STMT_SRVS (Service Class for SQL Statement Generation)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-BEX-OT (Application Component) OLAP Technology
     RSDRS (Package) Data Manager SQL Interface
Properties
Class CL_RSDRS_STMT_SRVS  
Short Description Service Class for SQL Statement Generation    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RSDRS   Data Manager SQL Interface 
Created 20030224   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 RS 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_RSDRS_STMT_SRVS has no interface implemented.
Friends
Class CL_RSDRS_STMT_SRVS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 N_SIZE Instance attribute Public Type reference (TYPE) I size of statement 20040413
2 P_T_CODE Instance attribute Private Type reference (TYPE) TN_T_ABAPSOURCE generated code 20030224
Methods
# Method Level Visibility Method type Description Created on
1 APPEND Instance method Public Method append line to objects internal code 20030224
2 APPEND_AND_SPLIT Static method Private Method Append a line and split it 20030714
3 APPEND_LINES Instance method Public Method append lines to objects code 20030224
4 APPEND_SIZE Static method Public Method Append line to c_t_code, adapt c_size 20030224
5 APPEND_STRING Instance method Public Method append string to objects internal code 20031210
6 APPEND_TOKEN Static method Private Method Append a sql stmt token to code ... 20030714
7 BUILD_CONDITION Static method Public Method build the condition part of a where condition 20030224
8 BUILD_PARENTHESIS Instance method Public Method Build parenthesis part of where/having statement 20030301
9 CHANGE_QUOTES Static method Public Method Changes a single quote into two single quotes 20030224
10 CHANGE_WILDCARDS Static method Public Method Change ABAP wildcards into SQL wildcards 20030224
11 CLEAR_CODE Instance method Public Method clear the code 20030224
12 FLUSH_PARENTHESIS Instance method Public Method Close all parenthesis up to level 0 20030301
13 GET_CODE Instance method Public Method gets the generated code 20030224
14 GET_PARTIM_SID_REF Static method Public Method Returns the SID of a PARTTIM for reference points 20070205
15 INITIAL_CHA_CONST Static method Public Method set initial value for character constant 20030224
16 SPLIT_LINE Static method Public Method split a line into several lines 20030224
Events
Class CL_RSDRS_STMT_SRVS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TN_ABAPLINE Public Type reference (TYPE) RS_CHAR255 Line of ABAP or SQL Stmt Code 20030930
2 TN_T_ABAPSOURCE Public Type reference (TYPE) RSDR0_T_ABAPSOURCE ABAP or SQL Statement Code 20030930
Method Signatures

Method APPEND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_LINE Call by reference Type reference (TYPE) TN_ABAPLINE line to append 20030224
# Exception Resumable Description Created on
1 CX_RSDRS_STMT_TOO_LONG Fehler im Programm (interner Fehler) 20030925

Method APPEND_AND_SPLIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_T_CODE Call by reference Type reference (TYPE) TN_T_ABAPSOURCE Code to append line to 20030714
2 Importing I_LINE Call by reference Type reference (TYPE) TN_ABAPLINE Line to append 20030714
# Exception Resumable Description Created on
1 CX_RSDRS_STMT_TOO_LONG SQL-Statement ist zu groß 20030925

Method APPEND_LINES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_T_LINES Call by reference Type reference (TYPE) TN_T_ABAPSOURCE lines to append 20030224
# Exception Resumable Description Created on
1 CX_RSDRS_STMT_TOO_LONG Fehler im Programm (interner Fehler) 20030925

Method APPEND_SIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_SIZE Call by reference Type reference (TYPE) I current size of statement 20030224
2 Changing C_T_CODE Call by reference Type reference (TYPE) TN_T_ABAPSOURCE current statement 20030224
3 Importing I_LINE Call by reference Type reference (TYPE) RSDRS_ABAPLINE Line of code 20030224
# Exception Resumable Description Created on
1 CX_RSDRS_STMT_TOO_LONG Fehler im Programm (interner Fehler) 20030925

Method APPEND_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_STRING Call by reference Type reference (TYPE) STRING line to append 20031210
# Exception Resumable Description Created on
1 CX_RSDRS_STMT_TOO_LONG Fehler im Programm (interner Fehler) 20031210

Method APPEND_TOKEN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_LINE Call by reference Type reference (TYPE) ABAPSOURCE Current buffered line 20030714
2 Changing C_LINE_LEN Call by reference Type reference (TYPE) I Length of current line 20030714
3 Changing C_T_CODE Call by reference Type reference (TYPE) TN_T_ABAPSOURCE Generated Code 20030714
4 Importing I_FLUSH Call by reference Type reference (TYPE) RS_BOOL Flush last line 20030714
5 Importing I_LEN Call by reference Type reference (TYPE) I Strlen of token 20030714
6 Importing I_TOKEN Call by reference Type reference (TYPE) TN_ABAPLINE Token 20030714
# Exception Resumable Description Created on
1 CX_RSDRS_STMT_TOO_LONG SQL-Statement ist zu groß 20030925

Method BUILD_CONDITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_CONDITION Call by reference Type reference (TYPE) TN_T_ABAPSOURCE Conditions 20030224
2 Importing I_COMPOP Call by reference Type reference (TYPE) RS_S_RANGE-OPT comparison operator 20030224
3 Importing I_HIGH Value transfer Type reference (TYPE) RSCHAVL high value for operator 20030224
4 Importing I_LOW Value transfer Type reference (TYPE) RSCHAVL low value for operator 20030224
5 Importing I_NUMFL Call by reference Type reference (TYPE) RS_BOOL Boolean 20030224
6 Importing I_RAWEND Call by reference Type reference (TYPE) CHAR20 ''' )' end of rawfield 20060710
7 Importing I_RAWFL Call by reference Type reference (TYPE) RS_BOOL field is raw 20060710
8 Importing I_RAWSTART Call by reference Type reference (TYPE) CHAR20 'HEXTORAW( ''' start of rawfield 20060710
9 Importing I_SUBQUERY_ID Call by reference Type reference (TYPE) RSDRS_SUBQUERY_ID subquery within where condition 20030224
10 Importing I_TH_INLIST Call by reference Type reference (TYPE) RSDRS_TH_CHAVL In List values 20040130
11 Importing I_TH_IN_SID Call by reference Type reference (TYPE) RRSI_TS_EQSID SID inlist Values 20040213

Method BUILD_CONDITION on class CL_RSDRS_STMT_SRVS has no exception.

Method BUILD_PARENTHESIS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_ACT_LEVEL Call by reference Type reference (TYPE) RSDRS_S_WHERE-LEVEL actual poarenthesis level 20030301
2 Importing I_BOOLOP Call by reference Type reference (TYPE) RSDRS_S_WHERE-BOOLOP Boolop from where-condition 20030301
3 Importing I_ISOLATE Call by reference Type reference (TYPE) RSDRS_S_WHERE-ISOLATE Isolate from where condition 20030301
4 Importing I_LEVEL Call by reference Type reference (TYPE) RSDRS_S_WHERE-LEVEL Level from where condition 20030301
5 Importing I_NOT_LEVEL Call by reference Type reference (TYPE) RSDRS_S_WHERE-LEVEL -1 20121004
# Exception Resumable Description Created on
1 CX_RSDRS_STMT_TOO_LONG Fehler im Programm (interner Fehler) 20030925

Method CHANGE_QUOTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_STRING Call by reference Type reference (TYPE) ABAPSOURCE string to change quotes in 20030224

Method CHANGE_QUOTES on class CL_RSDRS_STMT_SRVS has no exception.

Method CHANGE_WILDCARDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_STRING Call by reference Type reference (TYPE) ABAPSOURCE line to change chars in 20030224
2 Exporting E_ESC Call by reference Type reference (TYPE) C wildcard char used 20030224

Method CHANGE_WILDCARDS on class CL_RSDRS_STMT_SRVS has no exception.

Method CLEAR_CODE Signature

Method CLEAR_CODE on class CL_RSDRS_STMT_SRVS has no parameter.
Method CLEAR_CODE on class CL_RSDRS_STMT_SRVS has no exception.

Method FLUSH_PARENTHESIS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_ACT_LEVEL Call by reference Type reference (TYPE) I actual parenthesis level 20030301
# Exception Resumable Description Created on
1 CX_RSDRS_STMT_TOO_LONG Fehler im Programm (interner Fehler) 20030925

Method GET_CODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_CODE Call by reference Type reference (TYPE) TN_T_ABAPSOURCE code appended 20030224

Method GET_CODE on class CL_RSDRS_STMT_SRVS has no exception.

Method GET_PARTIM_SID_REF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NCUMTIM Call by reference Type reference (TYPE) RSNCUMTIM Bezugszeitmerkmal für Bestände 20070205
2 Importing I_PARTIM Call by reference Type reference (TYPE) RSPARTTIM Partitionierungs-Zeitmerkmal 20070205
3 Importing I_TH_COB_PRO Call by reference Type reference (TYPE) RSDRS_TH_COB_PRO Eigenschafen InfoObjects (im Kontext InfoCube / ODS Objekt) 20070206
4 Returning R_PARTIM_SID_REF Value transfer Type reference (TYPE) RSSID SID für Partitionierungs-Zeitmerkmal von Stützstellen 20070205

Method GET_PARTIM_SID_REF on class CL_RSDRS_STMT_SRVS has no exception.

Method INITIAL_CHA_CONST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_CONST Call by reference Type reference (TYPE) RSDRS_ABAPLINE constant value 20030224
2 Importing I_CHANM Call by reference Type reference (TYPE) RSCHANM Name of Characteristic 20030224
3 Importing I_TH_COB_PRO Call by reference Type reference (TYPE) RSDRS_TH_COB_PRO COB PRO for query 20030224

Method INITIAL_CHA_CONST on class CL_RSDRS_STMT_SRVS has no exception.

Method SPLIT_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_CODE Call by reference Type reference (TYPE) TN_T_ABAPSOURCE result 20030224
2 Importing I_STRING Call by reference Type reference (TYPE) STRING line to split 20030224

Method SPLIT_LINE on class CL_RSDRS_STMT_SRVS has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 400