SAP ABAP Class CL_RSDDTREX_INDEX (Services for Indexes)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-BEX-OT (Application Component) OLAP Technology
     RSDDTREX_CORE (Package) BWA services that are also needed in the core
Properties
Class CL_RSDDTREX_INDEX  
Short Description Services for Indexes    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RSDDTREX_CORE   BWA services that are also needed in the core 
Created 20091103   SAP 
Last change 20140121   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)
2 RS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 RSD Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
4 RSDBI Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_RSDDTREX_INDEX has no interface implemented.
Friends
Class CL_RSDDTREX_INDEX has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 P_INDEX_ID Static Attribute Private Type reference (TYPE) TREXD_INDEX_ID Index ID 20091103
2 P_INDEX_TYPE Static Attribute Private Type reference (TYPE) CHAR1 '0'= Normal, '2'= Temp. Index 20091103
3 P_INSERT_ONLY Static Attribute Private Type reference (TYPE) CHAR1 0= No, 1= Yes 20091103
4 P_PART_SPEC Static Attribute Private Type reference (TYPE) STRING 20091103
5 P_RFCDEST Static Attribute Private Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20091103
6 P_SELF_JOIN_ATTR Static Attribute Private Type reference (TYPE) NUMC1 0= No, 1= Yes 20091103
7 P_TABLNM Static Attribute Private Type reference (TYPE) RSD_TABLNM 20091103
8 P_TRIGGER_DBFALLBACK Static Attribute Private Type reference (TYPE) RS_BOOL Boolean 20091103
9 P_T_COMP Static Attribute Private Type reference (TYPE) ABAP_COMPDESCR_TAB 20091103
10 P_T_KEYCOMP Static Attribute Private Type reference (TYPE) ABAP_COMPDESCR_TAB 20091103
11 P_T_MSG Static Attribute Private Type reference (TYPE) RS_T_MSG BW: Table with Messages (Application Log) 20091103
Methods
# Method Level Visibility Method type Description Created on
1 CREATE Static method Public Method Creation of an Index 20091103
2 DELETE Static method Public Method Deletion of an Index 20091214
3 EXISTS Static method Public Method Does the index exist in TREX? 20091103
4 WRITE Static method Public Method Writing data from an internal table to an index 20091103
5 _COMPARE_COMP Static method Private Method 20091103
6 _CREATE_INDEX Static method Private Method 20091103
7 _GET_COMPONENTS Static method Private Method 20091110
8 _GET_COMP_DBTABLNM Static method Private Method 20091103
9 _GET_COMP_STRUCTURE Static method Private Method 20091103
10 _GET_KEYCOMP_DBTABLNM Static method Private Method 20091103
11 _GET_PKGSIZE Static method Private Method 20091103
12 _INDEX_ITAB Static method Private Method 20091103
13 _INDEX_PLACEMENT Static method Private Method 20130603
14 _OPTIMIZE_INDEX Static method Private Method 20091103
15 _TRUNCATE Static method Private Method 20091103
Events
Class CL_RSDDTREX_INDEX has no event.
Types
Class CL_RSDDTREX_INDEX has no local type.
Method Signatures

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_INDEX_ID Call by reference Type reference (TYPE) TREXD_INDEX_ID Index-ID 20091111
2 Exporting E_T_MSG Call by reference Type reference (TYPE) RS_T_MSG BW: Tabelle mit Nachrichten (Application Log Protokoll) 20091103
3 Importing I_APPL Call by reference Type reference (TYPE) RSDDBBIAAPPL 'BIA' Applikation, die in den BIA indiziert (Namensraum) 20091103
4 Importing I_DBTABLNM Call by reference Type reference (TYPE) RSD_TABLNM 20091103
5 Importing I_ESTIMATED_SIZE Call by reference Type reference (TYPE) I 0 Estimated Size of the Index (used for splitting) 20130425
6 Importing I_FAST_PREPROCESSING Call by reference Type reference (TYPE) TREX_RFC-FLAG '' Indicator 20130425
7 Importing I_GROUP_NAME Call by reference Type reference (TYPE) STRING Group name 20130529
8 Importing I_GROUP_SUBTYPE Call by reference Type reference (TYPE) STRING Group subtype 20130529
9 Importing I_GROUP_TYPE Call by reference Type reference (TYPE) STRING RSD_C_GROUP_TYPE-TEMP Group type 20130529
10 Importing I_INDEX_ID Call by reference Type reference (TYPE) TREXD_INDEX_ID Index-ID 20100119
11 Importing I_INDEX_TYPE Call by reference Type reference (TYPE) CHAR1 '2' '0'=normal, '2'=temp.Index 20091103
12 Importing I_INSERT_ONLY Call by reference Type reference (TYPE) NUMC1 1 0=Nein, 1=Ja 20091103
13 Importing I_KEEP_LUW Call by reference Type reference (TYPE) RS_BOOL Boolean 20091103
14 Importing I_LOGICAL_INDEX_TYPE Call by reference Type reference (TYPE) TREX_RFC-FLAG '0' Indicator 20130425
15 Importing I_NAME Call by reference Type reference (TYPE) RSD_TABLNM Name des Index ohne Namespace 20091103
16 Importing I_PART_SPEC Call by reference Type reference (TYPE) STRING Index-Partitionen 20091103
17 Importing I_RFCDEST Call by reference Type reference (TYPE) RFCDEST logische Destination (Wird bei Funktionsaufruf angegeben) 20091103
18 Importing I_SELF_JOIN_ATTR Call by reference Type reference (TYPE) NUMC1 0 0=Nein, 1=Ja 20091103
19 Importing I_S_HIERARCHY_METADATA Call by reference Type reference (TYPE) TREXS_HIERARCHY_METADATA Hierarchy metadata 20130425
20 Importing I_S_STRUCTURE Call by reference Type reference (TYPE) ANY 20091103
21 Importing I_TRIGGER_DBFALLBACK Call by reference Type reference (TYPE) RS_BOOL RS_C_TRUE Trigger DB Fallback? 20130425
22 Importing I_T_ATTRIBUTES Call by reference Type reference (TYPE) TREXT_ATTR_DEF Attribute definitions 20130425
23 Importing I_T_COMP Call by reference Type reference (TYPE) ABAP_COMPDESCR_TAB 20091103
24 Importing I_T_KEYCOMP Call by reference Type reference (TYPE) ABAP_COMPDESCR_TAB 20091103
25 Importing I_T_KEY_ATTRIBUTES Call by reference Type reference (TYPE) TREXT_ATTRIBUTES Attributes 20130425
26 Importing I_T_PARTITION_ATTRIBUTES Call by reference Type reference (TYPE) TREXT_ATTRIBUTES Attributes 20130425
27 Importing I_USE_EXTERNAL_KEYS Call by reference Type reference (TYPE) TREX_RFC-FLAG '0' Indicator 20130425
# Exception Resumable Description Created on
1 CX_RSDR_TREX_ERROR Error occured inside TREX 20091103

Method DELETE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_SUBRC Call by reference Type reference (TYPE) SYSUBRC Rückgabewert von ABAP-Anweisungen 20091214
2 Exporting E_T_MSG Call by reference Type reference (TYPE) RS_T_MSG BW: Tabelle mit Nachrichten (Application Log Protokoll) 20091214
3 Importing I_APPL Call by reference Type reference (TYPE) RSDDBBIAAPPL Applikation, die in den BWA indiziert (Namensraum) 20091216
4 Importing I_INDEX_ID Call by reference Type reference (TYPE) TREXD_INDEX_ID Index-ID 20091214
5 Importing I_KEEP_LUW Call by reference Type reference (TYPE) RS_BOOL Boolean 20091216
6 Importing I_RFCDEST Call by reference Type reference (TYPE) RFCDEST logische Destination (Wird bei Funktionsaufruf angegeben) 20091214
7 Importing I_TABLNM Call by reference Type reference (TYPE) RSD_TABLNM 20091216

Method DELETE on class CL_RSDDTREX_INDEX has no exception.

Method EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_APPL Call by reference Type reference (TYPE) RSDDBBIAAPPL Applikation, die in den BWA indiziert (Namensraum) 20091130
2 Importing I_INDEX_ID Call by reference Type reference (TYPE) TREXD_INDEX_ID Index-ID 20091103
3 Importing I_IS_TEMPTAB Call by reference Type reference (TYPE) RS_BOOL RS_C_FALSE Boolean 20110527
4 Importing I_KEEP_LUW Call by reference Type reference (TYPE) RS_BOOL Boolean 20091103
5 Importing I_RFC_DEST Call by reference Type reference (TYPE) RFC_DEST SAPOSCOL-Destination 20091103
6 Importing I_TABLNM Call by reference Type reference (TYPE) RSD_TABLNM 20091103
7 Returning R_EXISTS Value transfer Type reference (TYPE) RS_BOOL Boolean 20091103
# Exception Resumable Description Created on
1 CX_RSDR_TREX_ERROR Error occured inside TREX 20091103

Method WRITE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_MSG Call by reference Type reference (TYPE) RS_T_MSG BW: Tabelle mit Nachrichten (Application Log Protokoll) 20091103
2 Importing I_APPL Call by reference Type reference (TYPE) RSDDBBIAAPPL 'BIA' Applikation, die in den BWA indiziert (Namensraum) 20091103
3 Importing I_FIELDNM_MAP Call by reference Type reference (TYPE) RS_BOOL RS_C_FALSE Feldnamen auf Trex-Attribute mappen 20130131
4 Importing I_IDX_CREATION_TYPE Call by reference Type reference (TYPE) TREXD_INDEX_ACTION 'N' Indextyp: N = INSERT, SPACE = REPLACE, rest nicht verwenden 20100803
5 Importing I_INDEXID Call by reference Type reference (TYPE) TREXD_INDEX_ID Index-ID 20091103
6 Importing I_KEEP_LUW Call by reference Type reference (TYPE) RS_BOOL RS_C_TRUE Boolean 20091103
7 Importing I_NAME Call by reference Type reference (TYPE) RSD_TABLNM 20091103
8 Importing I_RFCDEST Call by reference Type reference (TYPE) RFCDEST logische Destination (Wird bei Funktionsaufruf angegeben) 20091103
9 Importing I_TRUNCATE_BEFORE Call by reference Type reference (TYPE) RS_BOOL Boolean 20091103
10 Importing I_T_COMP Call by reference Type reference (TYPE) ABAP_COMPDESCR_TAB 20091103
11 Importing I_T_DATA Call by reference Type reference (TYPE) ANY TABLE 20091103
# Exception Resumable Description Created on
1 CX_RSDR_TREX_ERROR Error occured inside TREX 20091103

Method _COMPARE_COMP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_T_COMP Call by reference Type reference (TYPE) ABAP_COMPDESCR_TAB 20091103
2 Returning R_DIFF Value transfer Type reference (TYPE) RS_BOOL Boolean 20091103

Method _COMPARE_COMP on class CL_RSDDTREX_INDEX has no exception.

Method _CREATE_INDEX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ESTIMATED_SIZE Call by reference Type reference (TYPE) I 20130425
2 Importing I_FAST_PREPROCESSING Call by reference Type reference (TYPE) TREX_RFC-FLAG Indicator 20130425
3 Importing I_GROUP_NAME Call by reference Type reference (TYPE) STRING Group name 20130529
4 Importing I_GROUP_SUBTYPE Call by reference Type reference (TYPE) STRING Group subtype 20130529
5 Importing I_GROUP_TYPE Call by reference Type reference (TYPE) STRING Group type 20130529
6 Importing I_KEEP_LUW Call by reference Type reference (TYPE) RS_BOOL Boolean 20091103
7 Importing I_LOGICAL_INDEX_TYPE Call by reference Type reference (TYPE) TREX_RFC-FLAG Indicator 20130425
8 Importing I_S_HIERARCHY_METADATA Call by reference Type reference (TYPE) TREXS_HIERARCHY_METADATA Hierarchy metadata 20130425
9 Importing I_TRIGGER_DBFALLBACK Call by reference Type reference (TYPE) RS_BOOL Boolean 20130425
10 Importing I_T_ATTRIBUTES Call by reference Type reference (TYPE) TREXT_ATTR_DEF Attribute definitions 20130425
11 Importing I_T_KEY_ATTRIBUTES Call by reference Type reference (TYPE) TREXT_ATTRIBUTES Attributes 20130425
12 Importing I_T_PARTITION_ATTRIBUTES Call by reference Type reference (TYPE) TREXT_ATTRIBUTES Attributes 20130425
13 Importing I_USE_EXTERNAL_KEYS Call by reference Type reference (TYPE) TREX_RFC-FLAG Indicator 20130425
# Exception Resumable Description Created on
1 CX_RSDR_TREX_ERROR Error occured inside TREX 20091103

Method _GET_COMPONENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_S_TABLINE Call by reference Type reference (TYPE) ANY 20091110
2 Returning R_T_COMPONENTS Value transfer Type reference (TYPE) ABAP_COMPONENT_TAB 20091110

Method _GET_COMPONENTS on class CL_RSDDTREX_INDEX has no exception.

Method _GET_COMP_DBTABLNM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TABLNM Call by reference Type reference (TYPE) RSD_TABLNM 20091103
2 Returning R_T_COMP Value transfer Type reference (TYPE) ABAP_COMPDESCR_TAB 20091103

Method _GET_COMP_DBTABLNM on class CL_RSDDTREX_INDEX has no exception.

Method _GET_COMP_STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_S_STRUCTURE Call by reference Type reference (TYPE) ANY 20091103
2 Returning R_T_COMP Value transfer Type reference (TYPE) ABAP_COMPDESCR_TAB 20091103

Method _GET_COMP_STRUCTURE on class CL_RSDDTREX_INDEX has no exception.

Method _GET_KEYCOMP_DBTABLNM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TABLNM Call by reference Type reference (TYPE) RSD_TABLNM 20091103
2 Returning R_T_KEYCOMP Value transfer Type reference (TYPE) ABAP_COMPDESCR_TAB 20091103

Method _GET_KEYCOMP_DBTABLNM on class CL_RSDDTREX_INDEX has no exception.

Method _GET_PKGSIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_T_DATA Call by reference Type reference (TYPE) ANY TABLE 20091103
2 Returning R_PKGSIZE Value transfer Type reference (TYPE) INT4 Natürliche Zahl 20091103

Method _GET_PKGSIZE on class CL_RSDDTREX_INDEX has no exception.

Method _INDEX_ITAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DOC_ACTION Call by reference Type reference (TYPE) TREXD_INDEX_ACTION Dokumentaktion für Indizierung 20100803
2 Importing I_FIELDNM_MAP Call by reference Type reference (TYPE) RS_BOOL Feldnamen auf Trex-Attributnamen mappen 20130131
3 Importing I_KEEP_LUW Call by reference Type reference (TYPE) RS_BOOL Boolean 20091103
4 Importing I_T_DATA Call by reference Type reference (TYPE) ANY TABLE 20091103
# Exception Resumable Description Created on
1 CX_RSDR_TREX_ERROR Error occured inside TREX 20091103

Method _INDEX_PLACEMENT Signature

Method _INDEX_PLACEMENT on class CL_RSDDTREX_INDEX has no parameter.
# Exception Resumable Description Created on
1 CX_RSDR_TREX_ERROR Error occured inside TREX 20130603

Method _OPTIMIZE_INDEX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_KEEP_LUW Call by reference Type reference (TYPE) RS_BOOL Boolean 20091103
# Exception Resumable Description Created on
1 CX_RSDR_TREX_ERROR Error occured inside TREX 20091103

Method _TRUNCATE Signature

Method _TRUNCATE on class CL_RSDDTREX_INDEX has no parameter.
# Exception Resumable Description Created on
1 CX_RSDR_TREX_ERROR Error occured inside TREX 20091103
History
Last changed by/on SAP  20140121 
SAP Release Created in 730