SAP ABAP Class CL_RSDDTREX_TABLSERVICE (All Kinds of Service Functionality for TREX)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-BEX-OT (Application Component) OLAP Technology
     RSDDTREX (Package) TREX Aggregate
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_RSDDTREX_BASE Basic Class TREX Aggregate 20050907
Properties
Class CL_RSDDTREX_TABLSERVICE  
Short Description All Kinds of Service Functionality for TREX    
Super Class CL_RSDDTREX_BASE Basic Class TREX Aggregate 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RSDDTREX   TREX Aggregate 
Created 20050907   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 RSDTR Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
5 RSDU Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
6 RSENQ Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_RSDDTREX_TABLSERVICE has no interface implemented.
Friends
Class CL_RSDDTREX_TABLSERVICE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 P_EPSILON Static Attribute Private Type reference (TYPE) F 20071120
2 P_T_TABLES Static Attribute Private Type reference (TYPE) RSDDB_T_TABLES Tables of BIA Index 20070208
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_INDEX_EXISTS_BW Static method Public Method If Index Already Exists - Check in TREXDIRTABL 20050907
2 CHECK_INDEX_EXISTS_TREX Static method Public Method If This Index Already Exists - Check with SHOW_INDEX 20050907
3 COMPARE_TABLE_LINES Static method Public Method Compares 2 Rows of a Table with FLOATs 20050907
4 CONVERT_BWTAB_TO_TREXTAB Static method Public Method 20060907
5 COUNT_DISTINCT Static method Public Method Number of Different Values in the Fields for a Table 20051024
6 COUNT_WHERE_FIELD_ZERO Static method Public Method Number of Zeros in Field of a Table 20050907
7 DELETE_NEWDIMIDS Static method Public Method 20061026
8 ESTIMATE_INDEXTIME Static method Public Method Estimate Runtime for Indexing of Fact Index 20060112
9 ESTIMATE_MEMORYSIZE Static method Public Method Define Main Memory Usage with TREX API 20051024
10 ESTIMATE_TABLSIZE Static method Public Method Create Estimation of Table Size for Index 20050907
11 GET_DIMCHAR_FROM_TABLNM Static method Public Method Gets Last Character of Table Name = Dimension 20060117
12 GET_DIMNM_FROM_TABLNM Static method Public Method Name of Dimension from Name of DIM Table and IC Name 20061026
13 GET_FIX_FIELDNM Static method Public Method Field Name in Fact Tables for T/U/P Dimension 20060707
14 GET_FTAB_INFO Static method Public Method Checks whether table is fact table of an InfoCube 20090216
15 GET_INDEXSIZE Static method Public Method 20060215
16 GET_INDEX_INSERT_ONLY Static method Public Method 20070312
17 GET_KEY_FIELDS Static method Public Method Key Fields for a Table 20050907
18 GET_MDTABLES Static method Public Method All Master Data Tables of a BIA Index 20060102
19 GET_PQ_TABLNM Static method Public Method 20090916
20 GET_SIDCONVERT Static method Public Method Characteristic is BIA-SIDCONVERT: A SID index exists 20080812
21 GET_SIZECATEGORIES Static method Public Method Size Categories of a Table Like SE11 20050907
22 GET_TABLTP Static method Public Method Character 5 from Table Name 20060322
23 GET_TAB_DDICINFO Static method Public Method DDIC info for table 20090731
24 GET_TAB_METAINFO Static method Public Method DDIC Info for Table 20050907
25 GET_TREX_DOC_ACTION Static method Public Method Find Table Type (Insert/Update) 20100803
26 GET_XY_TABLNM Static method Public Method 20050907
27 TREXRELEVANT_FIELD Static method Public Method Is this Field Relevant for TREX Aggregates? 20050907
28 _DIMTABL_GET_FROM_FIELDNM Static method Private Method 20051026
29 _GET_WHERE Static method Private Method 20051111
Events
Class CL_RSDDTREX_TABLSERVICE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TP_S_SHARED Private See coding 20060113 BEGIN OF tp_s_shared, infocube TYPE rsd_infocube, tablnm TYPE rsd_tablnm, shared TYPE rs_bool, END OF tp_s_shared
2 TP_TH_SHARED Private See coding 20060113 tp_th_shared TYPE HASHED TABLE OF tp_s_shared WITH UNIQUE KEY infocube tablnm
Method Signatures

Method CHECK_INDEX_EXISTS_BW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_STATUS Call by reference Type reference (TYPE) RSDDIDXSTATUS 20050907
2 Importing I_TABLNM Call by reference Type reference (TYPE) RSD_TABLNM 20050907
3 Returning R_STATUS Value transfer Type reference (TYPE) RSDDIDXSTATUS Boolean 20050907

Method CHECK_INDEX_EXISTS_BW on class CL_RSDDTREX_TABLSERVICE has no exception.

Method CHECK_INDEX_EXISTS_TREX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INDEX_ID Call by reference Type reference (TYPE) TREXD_INDEX_ID 20050907
2 Importing I_KEEP_LUW Call by reference Type reference (TYPE) RS_BOOL Boolean 20061102
3 Importing I_RFC_DEST Call by reference Type reference (TYPE) RFC_DEST SAPOSCOL-Destination 20050907
4 Importing I_TABLNM Call by reference Type reference (TYPE) RSD_TABLNM 20050907
5 Returning R_EXISTS Value transfer Type reference (TYPE) RS_BOOL Boolean 20050907
# Exception Resumable Description Created on
1 CX_RSDDB_BIAAPI Fehlermeldung aus BIA-API 20060908

Method COMPARE_TABLE_LINES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_S_LINE1 Call by reference Type reference (TYPE) ANY 20050907
2 Importing I_S_LINE2 Call by reference Type reference (TYPE) ANY 20050907
3 Importing I_T_COMP Call by reference Type reference (TYPE) ABAP_COMPDESCR_TAB 20050907
4 Returning R_FALSE Value transfer Type reference (TYPE) RS_BOOL Boolean 20050907

Method COMPARE_TABLE_LINES on class CL_RSDDTREX_TABLSERVICE has no exception.

Method CONVERT_BWTAB_TO_TREXTAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_TABIX Call by reference Type reference (TYPE) INT4 Natürliche Zahl 20060907
2 Exporting E_T_INDEX_DOCS Call by reference Type reference (TYPE) TREXT_INDEX_DOCS Belege zur Indizierung 20060907
3 Importing I_T_COMP_TREX Call by reference Type reference (TYPE) TREXT_COMP_DESCR Beschreibung der Komponenten 20080827
4 Importing I_T_KEYCOMP Call by reference Type reference (TYPE) ABAP_COMPDESCR_TAB 20060907
5 Importing I_T_TABLE Call by reference Type reference (TYPE) ANY TABLE 20060907

Method CONVERT_BWTAB_TO_TREXTAB on class CL_RSDDTREX_TABLSERVICE has no exception.

Method COUNT_DISTINCT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_T_ATTR_INFO Call by reference Type reference (TYPE) RSDTR_T_ATTR_INFO Index-Attribut Informationen 20051108
2 Importing I_INFOCUBE Call by reference Type reference (TYPE) RSD_INFOCUBE 20051024
3 Importing I_SAMPLE Call by reference Type reference (TYPE) RS_BOOL Boolean 20051024
4 Importing I_TABLNM Call by reference Type reference (TYPE) RSD_TABLNM 20051024
5 Importing I_TABLSIZE Call by reference Type reference (TYPE) INT4 Natürliche Zahl 20051115
6 Importing I_TABLTP Call by reference Type reference (TYPE) CHAR1 Einstelliges Kennzeichen 20051024

Method COUNT_DISTINCT on class CL_RSDDTREX_TABLSERVICE has no exception.

Method COUNT_WHERE_FIELD_ZERO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FIELDNM Call by reference Type reference (TYPE) ABAP_COMPNAME 20050907
2 Importing I_INFOCUBE Call by reference Type reference (TYPE) RSD_INFOCUBE 20050907
3 Importing I_SAMPLE Call by reference Type reference (TYPE) RS_BOOL Boolean 20050907
4 Importing I_TABLNM Call by reference Type reference (TYPE) RSD_TABLNM 20050907
5 Importing I_TABLSIZE Call by reference Type reference (TYPE) F 20050907
6 Importing I_TABLTP Call by reference Type reference (TYPE) CHAR1 Einstelliges Kennzeichen 20050907
7 Returning R_NULL Value transfer Type reference (TYPE) INT4 Natürliche Zahl 20050907

Method COUNT_WHERE_FIELD_ZERO on class CL_RSDDTREX_TABLSERVICE has no exception.

Method DELETE_NEWDIMIDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INFOCUBE Call by reference Type reference (TYPE) RSINFOCUBE InfoCube 20061026
2 Importing I_TABLNM Call by reference Type reference (TYPE) RSD_TABLNM 20061026

Method DELETE_NEWDIMIDS on class CL_RSDDTREX_TABLSERVICE has no exception.

Method ESTIMATE_INDEXTIME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INFOCUBE Call by reference Type reference (TYPE) RSD_INFOCUBE 20060112
2 Returning R_SECONDS Value transfer Type reference (TYPE) INT4 Natürliche Zahl 20060112

Method ESTIMATE_INDEXTIME on class CL_RSDDTREX_TABLSERVICE has no exception.

Method ESTIMATE_MEMORYSIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TSX_INDEX_INFO Call by reference Type reference (TYPE) RSDTR_TSX_INDEX_INFO Index-Informationen (Speicher-Verbrauch) 20051024
2 Importing I_INFOCUBE Call by reference Type reference (TYPE) RSD_INFOCUBE 20051024
3 Importing I_SAMPLE Call by reference Type reference (TYPE) RS_BOOL RS_C_TRUE Boolean 20051111
4 Importing I_TABLNM Call by reference Type reference (TYPE) RSD_TABLNM 20051024

Method ESTIMATE_MEMORYSIZE on class CL_RSDDTREX_TABLSERVICE has no exception.

Method ESTIMATE_TABLSIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_COUNT Call by reference Type reference (TYPE) RS_BOOL Boolean 20050907
2 Importing I_TABLNM Call by reference Type reference (TYPE) RSD_TABLNM 20050907
3 Importing I_WHERE Call by reference Type reference (TYPE) STRING 20050907
4 Returning R_TABLSIZE Value transfer Type reference (TYPE) INT4 Natürliche Zahl 20050907

Method ESTIMATE_TABLSIZE on class CL_RSDDTREX_TABLSERVICE has no exception.

Method GET_DIMCHAR_FROM_TABLNM 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 20060117
2 Returning R_DIMCHAR Value transfer Type reference (TYPE) CHAR1 Einstelliges Kennzeichen 20060117

Method GET_DIMCHAR_FROM_TABLNM on class CL_RSDDTREX_TABLSERVICE has no exception.

Method GET_DIMNM_FROM_TABLNM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INFOCUBE Call by reference Type reference (TYPE) RSINFOCUBE InfoCube 20061026
2 Importing I_TABLNM Call by reference Type reference (TYPE) RSD_TABLNM 20061026
3 Returning R_DIMENSION Value transfer Type reference (TYPE) RSD_DIMENSION 20061026

Method GET_DIMNM_FROM_TABLNM on class CL_RSDDTREX_TABLSERVICE has no exception.

Method GET_FIX_FIELDNM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INFOCUBE Call by reference Type reference (TYPE) RSD_INFOCUBE 20060707
2 Importing I_PDIM Call by reference Type reference (TYPE) RS_BOOL Boolean 20060707
3 Importing I_TDIM Call by reference Type reference (TYPE) RS_BOOL Boolean 20060707
4 Importing I_UDIM Call by reference Type reference (TYPE) RS_BOOL Boolean 20060707
5 Returning R_FIELDNM Value transfer Type reference (TYPE) RSD_FIELDNM 20060707

Method GET_FIX_FIELDNM on class CL_RSDDTREX_TABLSERVICE has no exception.

Method GET_FTAB_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_EFACTTAB Call by reference Type reference (TYPE) RSD_TABLNM 20090216
2 Exporting E_IS_FTAB Value transfer Type reference (TYPE) RS_BOOL Boolean 20090216
3 Importing I_TABLNM Call by reference Type reference (TYPE) RSD_TABLNM 20090216

Method GET_FTAB_INFO on class CL_RSDDTREX_TABLSERVICE has no exception.

Method GET_INDEXSIZE 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 20060215
2 Returning R_INDEXSIZE Value transfer Type reference (TYPE) INT4 Natürliche Zahl 20060215
# Exception Resumable Description Created on
1 INDEX_UNKNOWN 20060215

Method GET_INDEX_INSERT_ONLY 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 20070312
2 Returning R_INSERT_ONLY Value transfer Type reference (TYPE) RS_BOOL Boolean 20070312
# Exception Resumable Description Created on
1 INPUT_INVALID 20070312

Method GET_KEY_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_KEYFIELDS Call by reference Type reference (TYPE) TREXT_ATTRIBUTES 20050907
2 Importing I_S_BWTABLES Call by reference Type reference (TYPE) RSDTR_S_BWTABLES 20050907

Method GET_KEY_FIELDS on class CL_RSDDTREX_TABLSERVICE has no exception.

Method GET_MDTABLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INFOCUBE Call by reference Type reference (TYPE) RSD_INFOCUBE 20060102
2 Returning R_T_TABLES Value transfer Type reference (TYPE) RSDDB_T_TABLES Tabellen zu einem TREX Aggregat 20061016

Method GET_MDTABLES on class CL_RSDDTREX_TABLSERVICE has no exception.

Method GET_PQ_TABLNM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_PTAB Call by reference Type reference (TYPE) RSD_TABLNM 20090916
2 Exporting E_QTAB Call by reference Type reference (TYPE) RSD_TABLNM 20090916
3 Importing I_CHABASNM Call by reference Type reference (TYPE) RSIOBJNM InfoObject 20090916

Method GET_PQ_TABLNM on class CL_RSDDTREX_TABLSERVICE has no exception.

Method GET_SIDCONVERT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHABASNM Call by reference Type reference (TYPE) RSCHABASNM Referenzmerkmal 20080812
2 Importing I_R_IOBJ Call by reference Object reference (TYPE REF TO) IF_RSD_CHA_PROP Properties of Characteristic 20130209
3 Returning R_IS_SIDCONVERT Value transfer Type reference (TYPE) RS_BOOL Boolean 20080812

Method GET_SIDCONVERT on class CL_RSDDTREX_TABLSERVICE has no exception.

Method GET_SIZECATEGORIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_SIZECAT Call by reference Type reference (TYPE) RSDTR_T_SIZECAT 20050907
2 Importing I_TABLNM Call by reference Type reference (TYPE) RSD_TABLNM 20050907

Method GET_SIZECATEGORIES on class CL_RSDDTREX_TABLSERVICE has no exception.

Method GET_TABLTP 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 20060322
2 Returning R_TABLTP Value transfer Type reference (TYPE) CHAR1 Einstelliges Kennzeichen 20060322

Method GET_TABLTP on class CL_RSDDTREX_TABLSERVICE has no exception.

Method GET_TAB_DDICINFO 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 20090731
2 Returning R_T_COMPDESCR Value transfer Type reference (TYPE) ABAP_COMPDESCR_TAB 20090731

Method GET_TAB_DDICINFO on class CL_RSDDTREX_TABLSERVICE has no exception.

Method GET_TAB_METAINFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_COMP Call by reference Type reference (TYPE) ABAP_COMPONENT_TAB 20050907
2 Exporting E_T_COMPDESCR Call by reference Type reference (TYPE) ABAP_COMPDESCR_TAB 20050907
3 Importing I_S_TABLINE Call by reference Type reference (TYPE) ANY 20050907
4 Importing I_TABLNM Call by reference Type reference (TYPE) RSD_TABLNM 20051024

Method GET_TAB_METAINFO on class CL_RSDDTREX_TABLSERVICE has no exception.

Method GET_TREX_DOC_ACTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_R_OBJ Call by reference Object reference (TYPE REF TO) IF_RSDDB_OBJ BIA-Index Objekt 20100803
2 Importing I_TABLNM Call by reference Type reference (TYPE) TABNAME Tabellenname 20100803
3 Returning R_DOC_ACTION Value transfer Type reference (TYPE) TREXD_INDEX_ACTION Dokumentaktion für Indizierung 20100803

Method GET_TREX_DOC_ACTION on class CL_RSDDTREX_TABLSERVICE has no exception.

Method GET_XY_TABLNM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_XTAB Call by reference Type reference (TYPE) RSD_TABLNM 20050907
2 Exporting E_YTAB Call by reference Type reference (TYPE) RSD_TABLNM 20050907
3 Importing I_CHABASNM Call by reference Type reference (TYPE) RSIOBJNM InfoObject 20050907

Method GET_XY_TABLNM on class CL_RSDDTREX_TABLSERVICE has no exception.

Method TREXRELEVANT_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FIELDNM Call by reference Type reference (TYPE) RSD_FIELDNM 20050907
2 Importing I_NCUMFL Call by reference Type reference (TYPE) RS_BOOL Bestandscube? 20050907
3 Importing I_S_BWTABLES Call by reference Type reference (TYPE) RSDTR_S_BWTABLES Einstelliges Kennzeichen 20050907
4 Returning R_RELEVANT Value transfer Type reference (TYPE) RS_BOOL Boolean 20050907

Method TREXRELEVANT_FIELD on class CL_RSDDTREX_TABLSERVICE has no exception.

Method _DIMTABL_GET_FROM_FIELDNM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FIELDNM Call by reference Type reference (TYPE) RSD_FIELDNM 20051026
2 Importing I_INFOCUBE Call by reference Type reference (TYPE) RSD_INFOCUBE 20051026
3 Returning R_DIMTABLNM Value transfer Type reference (TYPE) RSD_TABLNM 20051026

Method _DIMTABL_GET_FROM_FIELDNM on class CL_RSDDTREX_TABLSERVICE has no exception.

Method _GET_WHERE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_PARTSIZE Call by reference Type reference (TYPE) INT4 Natürliche Zahl 20051115
2 Exporting E_WHERE Value transfer Type reference (TYPE) STRING 20051115
3 Importing I_INFOCUBE Call by reference Type reference (TYPE) RSD_INFOCUBE 20051111

Method _GET_WHERE on class CL_RSDDTREX_TABLSERVICE has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 700