Hierarchy
⤷
⤷
Properties
| Class | CL_RSDHA_FORMULAS | |
| Short Description | Formulas | |
| 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 | 20130116 | SAP |
| Last change | 20140121 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 2 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 3 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 4 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_RSDHA_FORMULAS has no interface implemented.
Friends
Class CL_RSDHA_FORMULAS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | See coding | XML Attribute Names | 20130116 | ||||
| 2 | Constant | Public | See coding | XML Tag Names | 20130116 | ||||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_RSDHA_FORMULAS_FOBU_CONNECT | Connector for Formulas | 20130117 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | TP_TH_FOBU | Buffered FOBU objects | 20130116 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | IF_RSDHA_TYPES=>TN_TH_FORMULA | Formula fields (table) | 20130116 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | CL_RSDHAM_FIELD_DESCR=>TN_TH_FIELD | Input fields | 20130117 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Change formula properties | 20130123 | |
| 2 | Instance method | Public | Method | Check formulas | 20130116 | |
| 3 | Instance method | Public | Constructor | CONSTRUCTOR | 20130116 | |
| 4 | Instance method | Public | Method | Create CalcViews | 20130117 | |
| 5 | Instance method | Public | Method | Create formula | 20130506 | |
| 6 | Instance method | Public | Method | Create new fomula | 20130123 | |
| 7 | Instance method | Public | Method | Delete formula by name | 20130123 | |
| 8 | Instance method | Public | Method | Deserialize from XML document | 20130116 | |
| 9 | Instance method | Public | Method | Check existence of formula by name | 20130123 | |
| 10 | Instance method | Public | Method | Get/create formula builder object (by name) | 20130116 | |
| 11 | Instance method | Public | Method | Get formula properties | 20130123 | |
| 12 | Instance method | Public | Method | Get formulas (all) | 20130116 | |
| 13 | Instance method | Public | Method | Get formula fields | 20130116 | |
| 14 | Instance method | Public | Method | Get input fields (possible operands) | 20130116 | |
| 15 | Instance method | Public | Method | Get used input fields which are used as operands | 20130117 | |
| 16 | Instance method | Public | Method | Get number of formulas | 20130117 | |
| 17 | Instance method | Public | Method | Check formula name (must not collide with input fields) | 20130131 | |
| 18 | Instance method | Private | Method | Transform formula token table to string | 20130121 | |
| 19 | Instance method | Private | Method | Translate formula | 20130121 | |
| 20 | Instance method | Private | Method | Traverse DOM: Description | 20130128 | |
| 21 | Instance method | Private | Method | Traverse DOM: Descriptions | 20130128 | |
| 22 | Instance method | Public | Method | Refresh formula strings from buffered FOBU objects | 20130116 | |
| 23 | Instance method | Public | Method | Serialize into XML document | 20130116 | |
| 24 | Instance method | Public | Method | Set formulas (all) | 20130116 | |
| 25 | Instance method | Public | Method | Set input fields (possible operands) | 20130116 |
Events
Class CL_RSDHA_FORMULAS has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TN_S_SYM | Public | Type reference (TYPE) | SFBE_SIMPLE_TOKEN | Symbol (token) structure | 20130122 | |
| 2 | TN_T_SYM | Public | Type reference (TYPE) | SFBE_SIMPLE_TOKEN_TAB | Symbol (token) table | 20130122 | |
| 3 | TP_S_FOBU | Private | See coding | Structure for FOBU object | 20130116 | BEGIN OF TP_S_FOBU,
name type if_rsdham_field_descr=>tn_name,
r_fobu type REF TO cl_fobu_formula,
end OF TP_S_FOBU
|
|
| 4 | TP_TH_FOBU | Private | See coding | Buffered FOBU objects | 20130116 | tp_th_fobu TYPE HASHED TABLE OF tp_s_fobu WITH UNIQUE KEY name
|
Method Signatures
Method CHANGE_FORMULA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FORMULA_STRING | Call by reference | Type reference (TYPE) | IF_RSDHA_TYPES=>TN_S_FORMULA-FORMULA_STRING | Formula string | 20130123 | |||
| 2 | I_NAME | Call by reference | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_NAME | Formula name | 20130123 | |||
| 3 | I_NEW_NAME | Call by reference | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_NAME | New formula name | 20130123 | |||
| 4 | I_S_TYPE | Call by reference | Type reference (TYPE) | IF_RSDHA_TYPES=>TN_S_FORMULA_TYPE | Formula field type | 20130123 | |||
| 5 | I_TEXT_LG | Call by reference | Type reference (TYPE) | IF_RSDHA_TYPES=>TN_TEXT_LG | Formula text | 20130128 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception: Object not found | 20130123 | ||
| 2 | Invalid Technical Name | 20130123 |
Method CHECK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_SUBRC | Call by reference | Type reference (TYPE) | SYSUBRC | Return Value of ABAP Statements | 20130116 | |||
| 2 | E_T_MSG | Call by reference | Type reference (TYPE) | RS_T_MSG | BW: Table with Messages (Application Log) | 20130116 | |||
| 3 | I_NAME | Call by reference | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_NAME | Formula Name | 20130124 |
Method CHECK on class CL_RSDHA_FORMULAS has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_TH_FIELD | Call by reference | Type reference (TYPE) | CL_RSDHAM_FIELD_DESCR=>TN_TH_FIELD | Hashed table for field list | 20130116 |
Method CONSTRUCTOR on class CL_RSDHA_FORMULAS has no exception.
Method CREATE_CALCVIEWS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_R_OUTPUT_VIEW | Call by reference | Object reference (TYPE REF TO) | CL_RSDD_CS_CALCVIEW | Output View | 20130117 | |||
| 2 | I_ADD_INPUT_FIELDS | Call by reference | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_TH_NAME | Additional input fields for output view | 20130117 | |||
| 3 | I_OUTPUT_FORMULA_FIELDS | Call by reference | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_TH_NAME | Formula fields for output view | 20130128 | |||
| 4 | I_R_CALCSCENARIO | Call by reference | Object reference (TYPE REF TO) | CL_RSDD_CS_CALCSCENARIO | Calculation Scenario | 20130117 | |||
| 5 | I_R_SOURCE_VIEW | Call by reference | Object reference (TYPE REF TO) | CL_RSDD_CS_CALCVIEW | View for source data | 20130117 | |||
| 6 | I_VIEW_PREFIX | Call by reference | Type reference (TYPE) | STRING | Prefix for view names | 20130117 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception with generic message | 20130117 |
Method CREATE_FOBU_FORMULA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_R_FOBU_FORMULA | Value transfer | Object reference (TYPE REF TO) | CL_FOBU_FORMULA | Formula builder | 20130506 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception with generic message | 20130506 | ||
| 2 | Exception: Object not found | 20130506 |
Method CREATE_FORMULA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FORMULA_STRING | Call by reference | Type reference (TYPE) | IF_RSDHA_TYPES=>TN_S_FORMULA-FORMULA_STRING | Formula string | 20130123 | |||
| 2 | I_NAME | Call by reference | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_NAME | Formula name | 20130123 | |||
| 3 | I_S_TYPE | Call by reference | Type reference (TYPE) | IF_RSDHA_TYPES=>TN_S_FORMULA_TYPE | Formula field type | 20130123 | |||
| 4 | I_TEXT_LG | Call by reference | Type reference (TYPE) | IF_RSDHA_TYPES=>TN_TEXT_LG | Formula text | 20130128 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Object Already Exists | 20130123 |
Method DELETE_FORMULA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_NAME | Call by reference | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_NAME | Technischer Name | 20130123 |
Method DELETE_FORMULA on class CL_RSDHA_FORMULAS has no exception.
Method DESERIALIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_NODE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | Formulas Node | 20130116 |
Method DESERIALIZE on class CL_RSDHA_FORMULAS has no exception.
Method EXISTS_FORMULA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_NAME | Call by reference | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_NAME | Formula name | 20130123 | |||
| 2 | R_RESULT | Value transfer | Type reference (TYPE) | RS_BOOL | Boolean | 20130123 |
Method EXISTS_FORMULA on class CL_RSDHA_FORMULAS has no exception.
Method GET_FOBU_FORMULA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_NAME | Call by reference | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_NAME | Formula field name | 20130116 | |||
| 2 | R_R_FOBU_FORMULA | Value transfer | Object reference (TYPE REF TO) | CL_FOBU_FORMULA | Formula builder | 20130116 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception with generic message | 20130116 | ||
| 2 | Exception: Object not found | 20130123 |
Method GET_FORMULA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_FORMULA_STRING | Call by reference | Type reference (TYPE) | IF_RSDHA_TYPES=>TN_S_FORMULA-FORMULA_STRING | Formula string | 20130123 | |||
| 2 | E_S_TYPE | Call by reference | Type reference (TYPE) | IF_RSDHA_TYPES=>TN_S_FORMULA_TYPE | Formula field type | 20130123 | |||
| 3 | E_TEXT_LG | Call by reference | Type reference (TYPE) | IF_RSDHA_TYPES=>TN_TEXT_LG | Formula text (SY-LANGU) | 20130128 | |||
| 4 | I_NAME | Call by reference | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_NAME | Formula name | 20130123 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception: Object not found | 20130123 |
Method GET_FORMULAS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_TH_FORMULA | Value transfer | Type reference (TYPE) | IF_RSDHA_TYPES=>TN_TH_FORMULA | Formula fields (table) | 20130116 |
Method GET_FORMULAS on class CL_RSDHA_FORMULAS has no exception.
Method GET_FORMULA_FIELDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_T_FIELD | Value transfer | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_T_FIELD | Field descriptor list | 20130116 |
Method GET_FORMULA_FIELDS on class CL_RSDHA_FORMULAS has no exception.
Method GET_INPUT_FIELDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_TH_FIELD | Value transfer | Type reference (TYPE) | CL_RSDHAM_FIELD_DESCR=>TN_TH_FIELD | Hashed table for field list | 20130116 |
Method GET_INPUT_FIELDS on class CL_RSDHA_FORMULAS has no exception.
Method GET_INPUT_FIELDS_USED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_TH_FIELDNM | Value transfer | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_TH_NAME | Field name table (hashed) | 20130117 |
Method GET_INPUT_FIELDS_USED on class CL_RSDHA_FORMULAS has no exception.
Method GET_NUMBER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_NUMBER | Value transfer | Type reference (TYPE) | I | Number of formulas | 20130117 |
Method GET_NUMBER on class CL_RSDHA_FORMULAS has no exception.
Method NAME_CHECK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_SUBRC | Call by reference | Type reference (TYPE) | SYSUBRC | Return Value of ABAP Statements | 20130131 | |||
| 2 | E_T_MSG | Call by reference | Type reference (TYPE) | RS_T_MSG | BW: Table with Messages (Application Log) | 20130131 | |||
| 3 | I_NAME | Call by reference | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_NAME | Formula name | 20130131 |
Method NAME_CHECK on class CL_RSDHA_FORMULAS has no exception.
Method P_TOKEN_TAB_TO_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_T_TOKEN | Call by reference | Type reference (TYPE) | SFBE_SIMPLE_TOKEN_TAB | Token table | 20130121 | |||
| 2 | R_STRING | Value transfer | Type reference (TYPE) | STRING | String | 20130121 |
Method P_TOKEN_TAB_TO_STRING on class CL_RSDHA_FORMULAS has no exception.
Method P_TRANSLATE_FORMULA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_TOKEN_TGT | Call by reference | Type reference (TYPE) | SFBE_SIMPLE_TOKEN_TAB | Target formula | 20130121 | |||
| 2 | I_T_TOKEN_SRC | Call by reference | Type reference (TYPE) | SFBE_SIMPLE_TOKEN_TAB | Source formula | 20130121 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception with generic message | 20130121 |
Method P_TRAV_DOM_DESCRIPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_S_TEXT | Call by reference | Type reference (TYPE) | IF_RSDHA_TYPES=>TN_S_TEXT | Text | 20130128 | |||
| 2 | I_R_NODE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | Descriptions node | 20130128 |
Method P_TRAV_DOM_DESCRIPTION on class CL_RSDHA_FORMULAS has no exception.
Method P_TRAV_DOM_DESCRIPTIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_TS_TEXT | Call by reference | Type reference (TYPE) | IF_RSDHA_TYPES=>TN_TS_TEXT | Descriptions (table) | 20130128 | |||
| 2 | I_R_NODE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | Descriptions node | 20130128 |
Method P_TRAV_DOM_DESCRIPTIONS on class CL_RSDHA_FORMULAS has no exception.
Method REFRESH_FROM_FOBU_FORMULAS Signature
Method REFRESH_FROM_FOBU_FORMULAS on class CL_RSDHA_FORMULAS has no parameter.
Method REFRESH_FROM_FOBU_FORMULAS on class CL_RSDHA_FORMULAS has no exception.
Method SERIALIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_PARENT | Call by reference | Object reference (TYPE REF TO) | IF_IXML_ELEMENT | Parent | 20130116 | |||
| 2 | I_R_XML_DOC | Call by reference | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | XML Document | 20130116 |
Method SERIALIZE on class CL_RSDHA_FORMULAS has no exception.
Method SET_FORMULAS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_TH_FORMULA | Call by reference | Type reference (TYPE) | IF_RSDHA_TYPES=>TN_TH_FORMULA | Formula fields (table) | 20130116 |
Method SET_FORMULAS on class CL_RSDHA_FORMULAS has no exception.
Method SET_INPUT_FIELDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_TH_FIELD | Call by reference | Type reference (TYPE) | CL_RSDHAM_FIELD_DESCR=>TN_TH_FIELD | Hashed table for field list | 20130116 |
Method SET_INPUT_FIELDS on class CL_RSDHA_FORMULAS has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |