Hierarchy
⤷
⤷
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
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 | Constant | Public | See coding | BAL-Sub Object | 20120905 | ||||
| 2 | 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 | Static method | Public | Method | Add Messages to the Application Log | 20120913 | |
| 2 | Static method | Public | Method | Optimize Commit | 20120706 | |
| 3 | Static method | Public | Method | Get messages from exception | 20121107 | |
| 4 | Static method | Public | Method | Get where-used-list for Analytic Index based on HAP | 20130614 | |
| 5 | Static method | Public | Method | Get BW-Variable | 20121115 | |
| 6 | Static method | Public | Method | Get BW-Variables | 20121115 | |
| 7 | Static method | Public | Method | Get Software / Application Component by Class | 20120829 | |
| 8 | Static method | Public | Method | Get dataelement | 20130704 | |
| 9 | Static method | Public | Method | Value help DB table | 20130627 | |
| 10 | Static method | Public | Method | Get default DB schema | 20120928 | |
| 11 | Static method | Public | Method | Get dataelement | 20130704 | |
| 12 | Static method | Public | Method | Get Target InfoProvider of HAAP | 20130429 | |
| 13 | Static method | Public | Method | Get TREX Name Mapper | 20120702 | |
| 14 | Static method | Public | Method | Get Table Name of DSO Object | 20130402 | |
| 15 | Static method | Public | Method | Get Persist Data Flag of Associated HANA Analysis Process | 20130513 | |
| 16 | Static method | Public | Method | Log Parameter Values of HANA Analysis Process | 20130401 | |
| 17 | Static method | Public | Method | Map DD03P To field descriptor | 20130801 | |
| 18 | Static method | Public | Method | Map Field Name To CalculationScenario Field Name | 20130624 | |
| 19 | Static method | Public | Method | Map Field Name To Database Table Field Name | 20130506 | |
| 20 | Static method | Private | Method | Writes a Message to the Appl. Log | 20120913 | |
| 21 | Static method | Public | Method | Exception MSG with SY message fields (or message table) | 20120423 | |
| 22 | Static method | Public | Method | Exception NOT_AUTHORIZED with SY message fields | 20121026 | |
| 23 | Static method | Public | Method | Exception OBJECT_LOCKED with SY message fields | 20120423 | |
| 24 | Static method | Public | Method | Exception OBJECT_NOT_FOUND with SY message fields | 20120423 | |
| 25 | Static method | Public | Method | Read Metadata | 20130801 | |
| 26 | 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 | 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 | I_INDEX_ID | Call by reference | Type reference (TYPE) | TREX_RFC-INDEX_ID | Index ID | 20120706 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | I_R_EXC | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Abstract Superclass for All Global Exceptions | 20121107 | |||
| 2 | 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 | E_T_OBJ_USED | Call by reference | Type reference (TYPE) | RSO_T_TLOGO_ASC | BI Repository: Table of Objects and Association Type | 20130614 | |||
| 2 | E_T_SOURCE | Call by reference | Type reference (TYPE) | RSO_T_TLOGO_ASC | BW Repository: Table of Objects and Association Type | 20130614 | |||
| 3 | E_T_TARGET | Call by reference | Type reference (TYPE) | RSO_T_TLOGO_ASC | BW Repository: Table of Objects and Association Type | 20130614 | |||
| 4 | I_INFOPROV | Call by reference | Type reference (TYPE) | RSINFOPROV | InfoProvider | 20130614 | |||
| 5 | 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 | I_VARUNIID | Call by reference | Type reference (TYPE) | RSZ_UID | Variable ID | 20121115 | |||
| 2 | R_S_GLOBV | Value transfer | Type reference (TYPE) | RZD1_S_GLOBV | Variable Name | 20121115 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | I_INFOPROV | Call by reference | Type reference (TYPE) | RSINFOPROV | InfoProvider | 20121115 | |||
| 2 | I_IOBJNM | Call by reference | Type reference (TYPE) | RSIOBJNM | InfoObject | 20121115 | |||
| 3 | R_T_BW_VARIABLE | Value transfer | Type reference (TYPE) | TN_T_BW_VARIABLE | BW-Variable - Table Type | 20121115 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | E_APPL_COMPONENT | Call by reference | Type reference (TYPE) | UFPS_POSID | Application component | 20120829 | |||
| 2 | E_SW_COMPONENT | Call by reference | Type reference (TYPE) | DLVUNIT | Software Component | 20120829 | |||
| 3 | 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 | E_DATAELEMENT | Call by reference | Type reference (TYPE) | DD04V-ROLLNAME | Data element (semantic domain) | 20130704 | |||
| 2 | E_SUBRC | Call by reference | Type reference (TYPE) | SY-SUBRC | ABAP System Field: Return Code of ABAP Statements | 20130704 | |||
| 3 | I_DATATYPE | Call by reference | Type reference (TYPE) | DD04V-DATATYPE | Data Type in ABAP Dictionary | 20130704 | |||
| 4 | I_DECIMALS | Call by reference | Type reference (TYPE) | DD04V-DECIMALS | Number of Decimal Places | 20130704 | |||
| 5 | I_LENGTH | Call by reference | Type reference (TYPE) | DD04V-LENG | Length (No. of Characters) | 20130704 | |||
| 6 | 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 | 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 | 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 | 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 | E_DOMNAME | Call by reference | Type reference (TYPE) | DD04V-DOMNAME | Domain name | 20130704 | |||
| 2 | E_SUBRC | Call by reference | Type reference (TYPE) | SY-SUBRC | ABAP System Field: Return Code of ABAP Statements | 20130704 | |||
| 3 | I_DATATYPE | Call by reference | Type reference (TYPE) | DD04V-DATATYPE | Data Type in ABAP Dictionary | 20130704 | |||
| 4 | I_DECIMALS | Call by reference | Type reference (TYPE) | DD04V-DECIMALS | Number of Decimal Places | 20130704 | |||
| 5 | I_LENGTH | Call by reference | Type reference (TYPE) | DD04V-LENG | Length (No. of Characters) | 20130704 | |||
| 6 | I_LOWERCASE | Call by reference | Type reference (TYPE) | DD04V-LOWERCASE | Lowercase letters allowed/not allowed | 20130704 | |||
| 7 | 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 | I_HAAPNM | Call by reference | Type reference (TYPE) | IF_RSDHAM_ANALYSIS=>TN_NAME | Name of HANA Analysis Process | 20130429 | |||
| 2 | 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 | I_CUBESUBTYPE | Call by reference | Type reference (TYPE) | RSCUBESUBTYPE | InfoProvider Subtype | 20120702 | |||
| 2 | I_CUBETYPE | Call by reference | Type reference (TYPE) | RSCUBETYPE | Type of InfoProvider | 20120702 | |||
| 3 | I_INFOPROV | Call by reference | Type reference (TYPE) | RSINFOPROV | InfoProvider | 20120702 | |||
| 4 | I_TLOGO | Call by reference | Type reference (TYPE) | RS_TLOGO | TLogo-Object of Infoprovider | 20120702 | |||
| 5 | I_T_DTA_PRO | Call by reference | Type reference (TYPE) | RSD_T_DTA_PRO | InfoObject Properties in Data Target | 20120702 | |||
| 6 | 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 | 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 | E_S_ODSO | Call by reference | Type reference (TYPE) | RSD_S_ODSO | Header: Data Store Object | 20130528 | |||
| 2 | E_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20130528 | |||
| 3 | I_INFOPROV | Call by reference | Type reference (TYPE) | RSINFOPROV | InfoProvider | 20130402 | |||
| 4 | I_TECHNICAL_FIELDS | Call by reference | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | 'X': Read technical fields | 20130714 | ||
| 5 | I_TLOGO | Call by reference | Type reference (TYPE) | RS_TLOGO | TLOGO | 20130402 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | I_R_HAAP | Call by reference | Object reference (TYPE REF TO) | CL_RSDHA_HAAP | Persistency layer of Analysis Processes | 20130513 | |||
| 2 | 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 | E_T_MSG | Call by reference | Type reference (TYPE) | RS_T_MSG | BW: Table with Messages (Application Log) | 20130401 | |||
| 2 | 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 | I_T_DD03P | Call by reference | Type reference (TYPE) | DD03PTAB | DD: Table Fields | 20130801 | |||
| 2 | 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 | I_FIELDNM | Call by reference | Type reference (TYPE) | STRING | Field Name | 20130624 | |||
| 2 | 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 | I_FIELDNM | Call by reference | Type reference (TYPE) | IF_RSDHA_TYPES=>TN_NAME | Technischer Name | 20130605 | |||
| 2 | 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 | I_MSGID | Call by reference | Type reference (TYPE) | RS_S_MSG-MSGID | 20120913 | ||||
| 2 | I_MSGNO | Call by reference | Type reference (TYPE) | RS_S_MSG-MSGNO | 20120913 | ||||
| 3 | I_MSGTY | Call by reference | Type reference (TYPE) | RS_S_MSG-MSGTY | 20120913 | ||||
| 4 | I_MSGV1 | Call by reference | Type reference (TYPE) | ANY | 20120913 | ||||
| 5 | I_MSGV2 | Call by reference | Type reference (TYPE) | ANY | 20120913 | ||||
| 6 | I_MSGV3 | Call by reference | Type reference (TYPE) | ANY | 20120913 | ||||
| 7 | I_MSGV4 | Call by reference | Type reference (TYPE) | ANY | 20120913 | ||||
| 8 | 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 | I_R_PREVIOUS | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Abstract Superclass for All Global Exceptions | 20120423 | |||
| 2 | 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 | Object Locked | 20120423 |
Method RAISE_EXC_NOT_AUTHORIZED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | Object Locked | 20121026 |
Method RAISE_EXC_OBJECT_LOCKED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | 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 | 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 | 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 | I_DB_TABLE | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20130801 | |||
| 2 | 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 | 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 | Exception with generic message | 20121125 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 730 |