SAP ABAP Class CL_RSDHA_FORMULAS (Formulas)
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_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 CL_RSDHAM_FIELD_DESCR Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 IF_RSDHAM_FIELD_DESCR Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 IF_RSDHA_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
4 RS 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 C_XML_ATTR Constant Public See coding XML Attribute Names 20130116
2 C_XML_TAG Constant Public See coding XML Tag Names 20130116
3 P_R_CONNECTOR Instance attribute Private Object reference (TYPE REF TO) CL_RSDHA_FORMULAS_FOBU_CONNECT Connector for Formulas 20130117
4 P_TH_FOBU Instance attribute Private Type reference (TYPE) TP_TH_FOBU Buffered FOBU objects 20130116
5 P_TH_FORMULA Instance attribute Private Type reference (TYPE) IF_RSDHA_TYPES=>TN_TH_FORMULA Formula fields (table) 20130116
6 P_TH_INPUT_FIELD 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 CHANGE_FORMULA Instance method Public Method Change formula properties 20130123
2 CHECK Instance method Public Method Check formulas 20130116
3 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20130116
4 CREATE_CALCVIEWS Instance method Public Method Create CalcViews 20130117
5 CREATE_FOBU_FORMULA Instance method Public Method Create formula 20130506
6 CREATE_FORMULA Instance method Public Method Create new fomula 20130123
7 DELETE_FORMULA Instance method Public Method Delete formula by name 20130123
8 DESERIALIZE Instance method Public Method Deserialize from XML document 20130116
9 EXISTS_FORMULA Instance method Public Method Check existence of formula by name 20130123
10 GET_FOBU_FORMULA Instance method Public Method Get/create formula builder object (by name) 20130116
11 GET_FORMULA Instance method Public Method Get formula properties 20130123
12 GET_FORMULAS Instance method Public Method Get formulas (all) 20130116
13 GET_FORMULA_FIELDS Instance method Public Method Get formula fields 20130116
14 GET_INPUT_FIELDS Instance method Public Method Get input fields (possible operands) 20130116
15 GET_INPUT_FIELDS_USED Instance method Public Method Get used input fields which are used as operands 20130117
16 GET_NUMBER Instance method Public Method Get number of formulas 20130117
17 NAME_CHECK Instance method Public Method Check formula name (must not collide with input fields) 20130131
18 P_TOKEN_TAB_TO_STRING Instance method Private Method Transform formula token table to string 20130121
19 P_TRANSLATE_FORMULA Instance method Private Method Translate formula 20130121
20 P_TRAV_DOM_DESCRIPTION Instance method Private Method Traverse DOM: Description 20130128
21 P_TRAV_DOM_DESCRIPTIONS Instance method Private Method Traverse DOM: Descriptions 20130128
22 REFRESH_FROM_FOBU_FORMULAS Instance method Public Method Refresh formula strings from buffered FOBU objects 20130116
23 SERIALIZE Instance method Public Method Serialize into XML document 20130116
24 SET_FORMULAS Instance method Public Method Set formulas (all) 20130116
25 SET_INPUT_FIELDS 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 Importing I_FORMULA_STRING Call by reference Type reference (TYPE) IF_RSDHA_TYPES=>TN_S_FORMULA-FORMULA_STRING Formula string 20130123
2 Importing I_NAME Call by reference Type reference (TYPE) IF_RSDHAM_FIELD_DESCR=>TN_NAME Formula name 20130123
3 Importing I_NEW_NAME Call by reference Type reference (TYPE) IF_RSDHAM_FIELD_DESCR=>TN_NAME New formula name 20130123
4 Importing I_S_TYPE Call by reference Type reference (TYPE) IF_RSDHA_TYPES=>TN_S_FORMULA_TYPE Formula field type 20130123
5 Importing I_TEXT_LG Call by reference Type reference (TYPE) IF_RSDHA_TYPES=>TN_TEXT_LG Formula text 20130128
# Exception Resumable Description Created on
1 CX_RSDHA_OBJECT_NOT_FOUND Exception: Object not found 20130123
2 CX_RS_INVALID_NAME Invalid Technical Name 20130123

Method CHECK 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 Return Value of ABAP Statements 20130116
2 Exporting E_T_MSG Call by reference Type reference (TYPE) RS_T_MSG BW: Table with Messages (Application Log) 20130116
3 Importing 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 Importing 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 Exporting E_R_OUTPUT_VIEW Call by reference Object reference (TYPE REF TO) CL_RSDD_CS_CALCVIEW Output View 20130117
2 Importing 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 Importing I_OUTPUT_FORMULA_FIELDS Call by reference Type reference (TYPE) IF_RSDHAM_FIELD_DESCR=>TN_TH_NAME Formula fields for output view 20130128
4 Importing I_R_CALCSCENARIO Call by reference Object reference (TYPE REF TO) CL_RSDD_CS_CALCSCENARIO Calculation Scenario 20130117
5 Importing I_R_SOURCE_VIEW Call by reference Object reference (TYPE REF TO) CL_RSDD_CS_CALCVIEW View for source data 20130117
6 Importing I_VIEW_PREFIX Call by reference Type reference (TYPE) STRING Prefix for view names 20130117
# Exception Resumable Description Created on
1 CX_RSDHA_MSG 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 Returning R_R_FOBU_FORMULA Value transfer Object reference (TYPE REF TO) CL_FOBU_FORMULA Formula builder 20130506
# Exception Resumable Description Created on
1 CX_RSDHA_MSG Exception with generic message 20130506
2 CX_RSDHA_OBJECT_NOT_FOUND Exception: Object not found 20130506

Method CREATE_FORMULA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FORMULA_STRING Call by reference Type reference (TYPE) IF_RSDHA_TYPES=>TN_S_FORMULA-FORMULA_STRING Formula string 20130123
2 Importing I_NAME Call by reference Type reference (TYPE) IF_RSDHAM_FIELD_DESCR=>TN_NAME Formula name 20130123
3 Importing I_S_TYPE Call by reference Type reference (TYPE) IF_RSDHA_TYPES=>TN_S_FORMULA_TYPE Formula field type 20130123
4 Importing I_TEXT_LG Call by reference Type reference (TYPE) IF_RSDHA_TYPES=>TN_TEXT_LG Formula text 20130128
# Exception Resumable Description Created on
1 CX_RS_EXISTING Object Already Exists 20130123

Method DELETE_FORMULA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing 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 Importing 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 Importing I_NAME Call by reference Type reference (TYPE) IF_RSDHAM_FIELD_DESCR=>TN_NAME Formula name 20130123
2 Returning 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 Importing I_NAME Call by reference Type reference (TYPE) IF_RSDHAM_FIELD_DESCR=>TN_NAME Formula field name 20130116
2 Returning R_R_FOBU_FORMULA Value transfer Object reference (TYPE REF TO) CL_FOBU_FORMULA Formula builder 20130116
# Exception Resumable Description Created on
1 CX_RSDHA_MSG Exception with generic message 20130116
2 CX_RSDHA_OBJECT_NOT_FOUND Exception: Object not found 20130123

Method GET_FORMULA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_FORMULA_STRING Call by reference Type reference (TYPE) IF_RSDHA_TYPES=>TN_S_FORMULA-FORMULA_STRING Formula string 20130123
2 Exporting E_S_TYPE Call by reference Type reference (TYPE) IF_RSDHA_TYPES=>TN_S_FORMULA_TYPE Formula field type 20130123
3 Exporting E_TEXT_LG Call by reference Type reference (TYPE) IF_RSDHA_TYPES=>TN_TEXT_LG Formula text (SY-LANGU) 20130128
4 Importing I_NAME Call by reference Type reference (TYPE) IF_RSDHAM_FIELD_DESCR=>TN_NAME Formula name 20130123
# Exception Resumable Description Created on
1 CX_RSDHA_OBJECT_NOT_FOUND Exception: Object not found 20130123

Method GET_FORMULAS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning 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 Returning 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 Returning 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 Returning 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 Returning 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 Exporting E_SUBRC Call by reference Type reference (TYPE) SYSUBRC Return Value of ABAP Statements 20130131
2 Exporting E_T_MSG Call by reference Type reference (TYPE) RS_T_MSG BW: Table with Messages (Application Log) 20130131
3 Importing 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 Importing I_T_TOKEN Call by reference Type reference (TYPE) SFBE_SIMPLE_TOKEN_TAB Token table 20130121
2 Returning 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 Exporting E_T_TOKEN_TGT Call by reference Type reference (TYPE) SFBE_SIMPLE_TOKEN_TAB Target formula 20130121
2 Importing I_T_TOKEN_SRC Call by reference Type reference (TYPE) SFBE_SIMPLE_TOKEN_TAB Source formula 20130121
# Exception Resumable Description Created on
1 CX_RSDHA_MSG 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 Changing C_S_TEXT Call by reference Type reference (TYPE) IF_RSDHA_TYPES=>TN_S_TEXT Text 20130128
2 Importing 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 Changing C_TS_TEXT Call by reference Type reference (TYPE) IF_RSDHA_TYPES=>TN_TS_TEXT Descriptions (table) 20130128
2 Importing 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 Importing I_R_PARENT Call by reference Object reference (TYPE REF TO) IF_IXML_ELEMENT Parent 20130116
2 Importing 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 Importing 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 Importing 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