SAP ABAP Class CL_RSDHA_UTILITIES (Utilities: Miscelllaneous)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-WHM-DST-HAP (Application Component) HANA Analysis Process
     RSDHA (Package) SAP HANA Analysis in BW
Properties
Class CL_RSDHA_UTILITIES  
Short Description Utilities: Miscelllaneous    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class RSDHA    
Program status     
Category 0   
Package RSDHA   SAP HANA Analysis in BW 
Created 20120423   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 CL_RSDHA_UTILITIES Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 IF_RSDHAM_ANALYSIS Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
4 IF_RSDHAM_FIELD_DESCR Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
5 IF_RSDHAM_TGT_INFOPROV Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
6 IF_RSDHAR_ANALYSIS Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
7 IF_RSDHA_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
8 RS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
9 RZD1 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_RSDHA_UTILITIES has no interface implemented.
Friends
Class CL_RSDHA_UTILITIES has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 N_C_BAL_SUBOBJECT Constant Public See coding BAL-Sub Object 20120905
2 P_C_BAL_OBJECT Constant Private Type reference (TYPE) BAL_S_LOG-OBJECT 'AIND' Application Log: Object Name 20120905
Methods
# Method Level Visibility Method type Description Created on
1 ADD_MESSAGES_TO_APPL_LOG Static method Public Method Add Messages to the Application Log 20120913
2 COMMIT_OPTIMIZE Static method Public Method Optimize Commit 20120706
3 EXCEPTION_TO_MESSAGE Static method Public Method Get messages from exception 20121107
4 GET_AINX_HAP_WHERE_USED Static method Public Method Get where-used-list for Analytic Index based on HAP 20130614
5 GET_BW_VARIABLE Static method Public Method Get BW-Variable 20121115
6 GET_BW_VARIABLES Static method Public Method Get BW-Variables 20121115
7 GET_COMPONENTS_BY_CLASS Static method Public Method Get Software / Application Component by Class 20120829
8 GET_DATAELEMENT_BY_NAMING Static method Public Method Get dataelement 20130704
9 GET_DB_TABLE_LIST Static method Public Method Value help DB table 20130627
10 GET_DEFAULT_DB_SCHEMA Static method Public Method Get default DB schema 20120928
11 GET_DOMAIN_BY_NAMING Static method Public Method Get dataelement 20130704
12 GET_HAAP_TGT_INFOPROV Static method Public Method Get Target InfoProvider of HAAP 20130429
13 GET_NAME_MAPPER Static method Public Method Get TREX Name Mapper 20120702
14 GET_ODSO_TABLNM Static method Public Method Get Table Name of DSO Object 20130402
15 GET_PERSIST_DATA Static method Public Method Get Persist Data Flag of Associated HANA Analysis Process 20130513
16 LOG_CONTROL_PARAMETER_VALUES Static method Public Method Log Parameter Values of HANA Analysis Process 20130401
17 MAP_DD03P_TO_FIELD_DESCR Static method Public Method Map DD03P To field descriptor 20130801
18 MAP_FIELDNM_TO_CS_FIELDNM Static method Public Method Map Field Name To CalculationScenario Field Name 20130624
19 MAP_FIELDNM_TO_DB_FIELDNM Static method Public Method Map Field Name To Database Table Field Name 20130506
20 P_ADD_MESSAGE_TO_APPL_LOG Static method Private Method Writes a Message to the Appl. Log 20120913
21 RAISE_EXC_MSG Static method Public Method Exception MSG with SY message fields (or message table) 20120423
22 RAISE_EXC_NOT_AUTHORIZED Static method Public Method Exception NOT_AUTHORIZED with SY message fields 20121026
23 RAISE_EXC_OBJECT_LOCKED Static method Public Method Exception OBJECT_LOCKED with SY message fields 20120423
24 RAISE_EXC_OBJECT_NOT_FOUND Static method Public Method Exception OBJECT_NOT_FOUND with SY message fields 20120423
25 READ_DB_TABLE_METADATA Static method Public Method Read Metadata 20130801
26 SPLIT_SQL_EXCEPTION_TEXT Static method Public Method Split Text of SQL-Exception 20121125
Events
Class CL_RSDHA_UTILITIES has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TN_T_BW_VARIABLE Public See coding BW-Variable - Table Type 20121115 tn_t_bw_variable TYPE STANDARD TABLE OF rszx_variables WITH DEFAULT KEY
Method Signatures

Method ADD_MESSAGES_TO_APPL_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_T_MSG Call by reference Type reference (TYPE) RS_T_MSG BW: Table with Messages (Application Log) 20120913

Method ADD_MESSAGES_TO_APPL_LOG on class CL_RSDHA_UTILITIES has no exception.

Method COMMIT_OPTIMIZE 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) TREX_RFC-INDEX_ID Index ID 20120706
# Exception Resumable Description Created on
1 CX_RSDHA_MSG Exception with generic message 20120706

Method EXCEPTION_TO_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_R_EXC Call by reference Object reference (TYPE REF TO) CX_ROOT Abstract Superclass for All Global Exceptions 20121107
2 Returning R_T_MSG Value transfer Type reference (TYPE) RS_T_MSG BW: Table with Messages (Application Log) 20121107

Method EXCEPTION_TO_MESSAGE on class CL_RSDHA_UTILITIES has no exception.

Method GET_AINX_HAP_WHERE_USED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_OBJ_USED Call by reference Type reference (TYPE) RSO_T_TLOGO_ASC BI Repository: Table of Objects and Association Type 20130614
2 Exporting E_T_SOURCE Call by reference Type reference (TYPE) RSO_T_TLOGO_ASC BW Repository: Table of Objects and Association Type 20130614
3 Exporting E_T_TARGET Call by reference Type reference (TYPE) RSO_T_TLOGO_ASC BW Repository: Table of Objects and Association Type 20130614
4 Importing I_INFOPROV Call by reference Type reference (TYPE) RSINFOPROV InfoProvider 20130614
5 Importing I_OBJVERS Call by reference Type reference (TYPE) RSOBJVERS RS_C_OBJVERS-ACTIVE Object Version 20130614

Method GET_AINX_HAP_WHERE_USED on class CL_RSDHA_UTILITIES has no exception.

Method GET_BW_VARIABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_VARUNIID Call by reference Type reference (TYPE) RSZ_UID Variable ID 20121115
2 Returning R_S_GLOBV Value transfer Type reference (TYPE) RZD1_S_GLOBV Variable Name 20121115
# Exception Resumable Description Created on
1 CX_RSDHA_OBJECT_NOT_FOUND Exception: Object not found 20121115

Method GET_BW_VARIABLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INFOPROV Call by reference Type reference (TYPE) RSINFOPROV InfoProvider 20121115
2 Importing I_IOBJNM Call by reference Type reference (TYPE) RSIOBJNM InfoObject 20121115
3 Returning R_T_BW_VARIABLE Value transfer Type reference (TYPE) TN_T_BW_VARIABLE BW-Variable - Table Type 20121115
# Exception Resumable Description Created on
1 CX_RSDHA_MSG Exception with generic message 20121115

Method GET_COMPONENTS_BY_CLASS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_APPL_COMPONENT Call by reference Type reference (TYPE) UFPS_POSID Application component 20120829
2 Exporting E_SW_COMPONENT Call by reference Type reference (TYPE) DLVUNIT Software Component 20120829
3 Importing I_CLASS Call by reference Type reference (TYPE) DDOBJNAME Class name 20120829

Method GET_COMPONENTS_BY_CLASS on class CL_RSDHA_UTILITIES has no exception.

Method GET_DATAELEMENT_BY_NAMING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DATAELEMENT Call by reference Type reference (TYPE) DD04V-ROLLNAME Data element (semantic domain) 20130704
2 Exporting E_SUBRC Call by reference Type reference (TYPE) SY-SUBRC ABAP System Field: Return Code of ABAP Statements 20130704
3 Importing I_DATATYPE Call by reference Type reference (TYPE) DD04V-DATATYPE Data Type in ABAP Dictionary 20130704
4 Importing I_DECIMALS Call by reference Type reference (TYPE) DD04V-DECIMALS Number of Decimal Places 20130704
5 Importing I_LENGTH Call by reference Type reference (TYPE) DD04V-LENG Length (No. of Characters) 20130704
6 Importing I_LOWERCASE Call by reference Type reference (TYPE) DD04V-LOWERCASE Lowercase letters allowed/not allowed 20130704

Method GET_DATAELEMENT_BY_NAMING on class CL_RSDHA_UTILITIES has no exception.

Method GET_DB_TABLE_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_DB_TABLE_LIST Call by reference Type reference (TYPE) IF_RSDHA_TYPES=>TN_T_DB_TABLE_LIST DB Table List (Table Type) 20130627
2 Importing I_PATTERN Call by reference Type reference (TYPE) HELP_INFO-FLDVALUE Screen field contents 20130627

Method GET_DB_TABLE_LIST on class CL_RSDHA_UTILITIES has no exception.

Method GET_DEFAULT_DB_SCHEMA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_DB_SCHEMA Value transfer Type reference (TYPE) STRING Schema name 20120928

Method GET_DEFAULT_DB_SCHEMA on class CL_RSDHA_UTILITIES has no exception.

Method GET_DOMAIN_BY_NAMING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DOMNAME Call by reference Type reference (TYPE) DD04V-DOMNAME Domain name 20130704
2 Exporting E_SUBRC Call by reference Type reference (TYPE) SY-SUBRC ABAP System Field: Return Code of ABAP Statements 20130704
3 Importing I_DATATYPE Call by reference Type reference (TYPE) DD04V-DATATYPE Data Type in ABAP Dictionary 20130704
4 Importing I_DECIMALS Call by reference Type reference (TYPE) DD04V-DECIMALS Number of Decimal Places 20130704
5 Importing I_LENGTH Call by reference Type reference (TYPE) DD04V-LENG Length (No. of Characters) 20130704
6 Importing I_LOWERCASE Call by reference Type reference (TYPE) DD04V-LOWERCASE Lowercase letters allowed/not allowed 20130704
7 Importing I_SIGNFLAG Call by reference Type reference (TYPE) DD04V-SIGNFLAG Flag for sign in numerical fields 20130704

Method GET_DOMAIN_BY_NAMING on class CL_RSDHA_UTILITIES has no exception.

Method GET_HAAP_TGT_INFOPROV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_HAAPNM Call by reference Type reference (TYPE) IF_RSDHAM_ANALYSIS=>TN_NAME Name of HANA Analysis Process 20130429
2 Returning R_S_TLOGO Value transfer Type reference (TYPE) RSO_S_TLOGO BW Repository: TLOGO Object and Type 20130429

Method GET_HAAP_TGT_INFOPROV on class CL_RSDHA_UTILITIES has no exception.

Method GET_NAME_MAPPER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CUBESUBTYPE Call by reference Type reference (TYPE) RSCUBESUBTYPE InfoProvider Subtype 20120702
2 Importing I_CUBETYPE Call by reference Type reference (TYPE) RSCUBETYPE Type of InfoProvider 20120702
3 Importing I_INFOPROV Call by reference Type reference (TYPE) RSINFOPROV InfoProvider 20120702
4 Importing I_TLOGO Call by reference Type reference (TYPE) RS_TLOGO TLogo-Object of Infoprovider 20120702
5 Importing I_T_DTA_PRO Call by reference Type reference (TYPE) RSD_T_DTA_PRO InfoObject Properties in Data Target 20120702
6 Returning R_R_NAME_MAPPER Value transfer Object reference (TYPE REF TO) IF_RSDRV_TREX_NAME_MAPPER Name Mapper BI <-> Trex View attributes 20120702
# Exception Resumable Description Created on
1 CX_RSDHA_MSG Exception with generic message 20130924

Method GET_ODSO_TABLNM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_S_ODSO Call by reference Type reference (TYPE) RSD_S_ODSO Header: Data Store Object 20130528
2 Exporting E_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20130528
3 Importing I_INFOPROV Call by reference Type reference (TYPE) RSINFOPROV InfoProvider 20130402
4 Importing I_TECHNICAL_FIELDS Call by reference Type reference (TYPE) RS_BOOL RS_C_FALSE 'X': Read technical fields 20130714
5 Importing I_TLOGO Call by reference Type reference (TYPE) RS_TLOGO TLOGO 20130402
# Exception Resumable Description Created on
1 CX_RSDHA_MSG Exception with generic message 20130402

Method GET_PERSIST_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_R_HAAP Call by reference Object reference (TYPE REF TO) CL_RSDHA_HAAP Persistency layer of Analysis Processes 20130513
2 Returning R_PERSIST_DATA Value transfer Type reference (TYPE) IF_RSDHAM_ANALYSIS=>TN_PERSIST_DATA Persist data flag (for AINX source which is gen. by an HAP) 20130513

Method GET_PERSIST_DATA on class CL_RSDHA_UTILITIES has no exception.

Method LOG_CONTROL_PARAMETER_VALUES 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: Table with Messages (Application Log) 20130401
2 Importing I_HAAPNM Call by reference Type reference (TYPE) IF_RSDHAM_ANALYSIS=>TN_NAME Name of HANA Analysis Process 20130401

Method LOG_CONTROL_PARAMETER_VALUES on class CL_RSDHA_UTILITIES has no exception.

Method MAP_DD03P_TO_FIELD_DESCR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_T_DD03P Call by reference Type reference (TYPE) DD03PTAB DD: Table Fields 20130801
2 Returning R_TH_FIELD Value transfer Type reference (TYPE) IF_RSDHA_TYPES=>TN_TH_FIELD_DESCR Field Descriptor - Table Type 20130801

Method MAP_DD03P_TO_FIELD_DESCR on class CL_RSDHA_UTILITIES has no exception.

Method MAP_FIELDNM_TO_CS_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) STRING Field Name 20130624
2 Returning R_CS_FIELDNM Value transfer Type reference (TYPE) STRING Calculation Scenario Field Name 20130624

Method MAP_FIELDNM_TO_CS_FIELDNM on class CL_RSDHA_UTILITIES has no exception.

Method MAP_FIELDNM_TO_DB_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) IF_RSDHA_TYPES=>TN_NAME Technischer Name 20130605
2 Returning R_DB_FIELDNM Value transfer Type reference (TYPE) IF_RSDHA_TYPES=>TN_NAME Technischer Name 20130506

Method MAP_FIELDNM_TO_DB_FIELDNM on class CL_RSDHA_UTILITIES has no exception.

Method P_ADD_MESSAGE_TO_APPL_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MSGID Call by reference Type reference (TYPE) RS_S_MSG-MSGID 20120913
2 Importing I_MSGNO Call by reference Type reference (TYPE) RS_S_MSG-MSGNO 20120913
3 Importing I_MSGTY Call by reference Type reference (TYPE) RS_S_MSG-MSGTY 20120913
4 Importing I_MSGV1 Call by reference Type reference (TYPE) ANY 20120913
5 Importing I_MSGV2 Call by reference Type reference (TYPE) ANY 20120913
6 Importing I_MSGV3 Call by reference Type reference (TYPE) ANY 20120913
7 Importing I_MSGV4 Call by reference Type reference (TYPE) ANY 20120913
8 Importing I_PROBCLASS Call by reference Type reference (TYPE) BALPROBCL Application Log: Message Problem Class 20120913

Method P_ADD_MESSAGE_TO_APPL_LOG on class CL_RSDHA_UTILITIES has no exception.

Method RAISE_EXC_MSG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_R_PREVIOUS Call by reference Object reference (TYPE REF TO) CX_ROOT Abstract Superclass for All Global Exceptions 20120423
2 Importing I_T_MSG Call by reference Type reference (TYPE) RS_T_MSG BW: Table with Messages (Application Log) 20120820
# Exception Resumable Description Created on
1 CX_RSDHA_MSG Object Locked 20120423

Method RAISE_EXC_NOT_AUTHORIZED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_R_PREVIOUS Call by reference Object reference (TYPE REF TO) CX_ROOT Abstract Superclass for All Global Exceptions 20121026
# Exception Resumable Description Created on
1 CX_RSDHA_NOT_AUTHORIZED Object Locked 20121026

Method RAISE_EXC_OBJECT_LOCKED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_R_PREVIOUS Call by reference Object reference (TYPE REF TO) CX_ROOT Abstract Superclass for All Global Exceptions 20120423
# Exception Resumable Description Created on
1 CX_RSDHA_OBJECT_LOCKED Object Locked 20120423

Method RAISE_EXC_OBJECT_NOT_FOUND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_R_PREVIOUS Call by reference Object reference (TYPE REF TO) CX_ROOT Abstract Superclass for All Global Exceptions 20120423
# Exception Resumable Description Created on
1 CX_RSDHA_OBJECT_NOT_FOUND Object Not Found 20120423

Method READ_DB_TABLE_METADATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DB_TABLE Call by reference Type reference (TYPE) TABNAME Table Name 20130801
2 Returning R_TH_FIELD Value transfer Type reference (TYPE) IF_RSDHA_TYPES=>TN_TH_FIELD_DESCR Field Descriptor - Table Type 20130801

Method READ_DB_TABLE_METADATA on class CL_RSDHA_UTILITIES has no exception.

Method SPLIT_SQL_EXCEPTION_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_R_SQL_EXCEPTION Call by reference Object reference (TYPE REF TO) CX_SQL_EXCEPTION Exception Class for SQL Error 20121125
# Exception Resumable Description Created on
1 CX_RSDHA_MSG Exception with generic message 20121125
History
Last changed by/on SAP  20140121 
SAP Release Created in 730