SAP ABAP Class CL_RSPLFC_FORMULA (Formulas)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-PLA (Application Component) Planning
     RSPLFC (Package) Services Type Planning
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_RSPLFA_SRVTYPE_IMP_CHECK Planning Function Type: Checks 20050128
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_RSPLFA_SRVTYPE_IMP_EXEC_REF Planning Function Type: Impl. Execution (with Ref. Data) 20050128
3 Interface implementation (CLASS c. INTERFACES i_ref)  IF_RSPLFA_SRVTYPE_TREX_EXEC_R Interface for TREX Algorithms with Reference Data 20100910
Properties
Class CL_RSPLFC_FORMULA  
Short Description Formulas    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RSPLFC   Services Type Planning 
Created 20040920   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_RSPLFC_DISTR_REFDATA Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 IF_RSR_PE_ADAPTER Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 RS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_RSPLFA_SRVTYPE_IMP_CHECK Planning Function Type: Checks 20050128
2 IF_RSPLFA_SRVTYPE_IMP_EXEC_REF Planning Function Type: Impl. Execution (with Ref. Data) 20050128
3 IF_RSPLFA_SRVTYPE_TREX_EXEC_R Interface for TREX Algorithms with Reference Data 20100910
Friends
Class CL_RSPLFC_FORMULA has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 P_COMPILE_SESSION_INDX Instance attribute Private Type reference (TYPE) TREXD_PE_SESSION Planung: Sitzungsindex-ID 20120928
2 P_FORML_STRING_INDX Instance attribute Private Type reference (TYPE) STRING Formel als String 20120928
3 P_GENPROG Instance attribute Private Type reference (TYPE) PROGRAMM Generated Program 20040920
4 P_HDB_RELEASE_INDX Instance attribute Private Type reference (TYPE) IF_RSR_PE_ADAPTER=>TN_HDB_RELEASE_INFO 20121214
5 P_PE_VERSION_INDX Instance attribute Private Type reference (TYPE) I Version der PE 20121016
6 P_PLAN_DATE Instance attribute Private Type reference (TYPE) D 20111020
7 P_R_SRV Instance attribute Private Object reference (TYPE REF TO) IF_RSPLFA_SRV Planning Service 20040920
8 P_TH_REQ_C_INDX Instance attribute Private Type reference (TYPE) RSPLS_TH_REQ_C Tabelle der benötigten Merkmale Delta-Buffer 20120928
9 P_TH_REQ_K_INDX Instance attribute Private Type reference (TYPE) RSPLS_TH_REQ_K Tabelle der benötigten Kennzahlen Delta-Buffer 20120928
10 P_TS_FILTER_VAR_INDX Instance attribute Private Type reference (TYPE) RSPLS_TS_VARIABLE Variablen, die mit Selektionen gefüllt werden 20120928
11 P_TS_VARIABLE_INDX Instance attribute Private Type reference (TYPE) RSPLS_TS_VARIABLE Variablen 20120928
12 P_T_CHARSEL Instance attribute Private Type reference (TYPE) RSPLF_T_CHARSEL Selection table 20101122
13 P_T_CHARSEL_OPRND Instance attribute Private Type reference (TYPE) RSPLF_T_CHARSEL Selection table 20050126
14 P_T_CHARSEL_REF Instance attribute Private Type reference (TYPE) RSPLF_T_CHARSEL Selection table 20050126
15 P_T_NODE_SEL Instance attribute Private Type reference (TYPE) RSPLF_T_NODE Node Information 20101122
Methods
# Method Level Visibility Method type Description Created on
1 BUILD_PROLOGUE Static method Private Method Builds Prolog 20110808
2 CREATE_BLOCK_VIEW Static method Public Method Creates view for the blocks 20120217
3 EXECUTE_TREX Static method Public Method Executes Formula in TREX 20110809
4 GENERATE_PROGRAMM Instance method Private Method Generates the Report for the Formulas 20081217
5 GET_ALIAS Static method Public Method Creates an alias name for a field 20101206
6 GET_FORML_FCAT Static method Public Method Delivers a Field Catalog for the Formula 20040920
7 GET_FORML_TAB Static method Private Method Generates a Formula Table for the Parser from a Parameter 20040920
8 GET_HIDDEN_VARIABLES Static method Public Method Delivers Variables Used in the Formula 20041004
9 STRING_TO_FORML_TAB Static method Public Method Converts a String into a Formula Table 20041014
Events
Class CL_RSPLFC_FORMULA has no event.
Types
Class CL_RSPLFC_FORMULA has no local type.
Method Signatures

Method BUILD_PROLOGUE 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 20110809
2 Importing I_R_MSG Call by reference Object reference (TYPE REF TO) IF_RSPLFA_MSG Meldungen 20110808
3 Importing I_SRVNM Call by reference Type reference (TYPE) RSPLF_SRVNM Name Planungsfunktion 20120928
4 Importing I_TH_REQ_C Call by reference Type reference (TYPE) RSPLS_TH_REQ_C Tabelle der benötigten Merkmale Delta-Buffer 20110808
5 Importing I_TH_REQ_K Call by reference Type reference (TYPE) RSPLS_TH_REQ_K Tabelle der benötigten Kennzahlen Delta-Buffer 20110808
6 Importing I_TS_FCAT Call by reference Type reference (TYPE) RSPLS_TS_FORML_FCAT Feldkatalog für Formeln 20120217
7 Importing I_TS_FILTER_VAR Call by reference Type reference (TYPE) RSPLS_TS_VARIABLE Variablen 20110808
8 Importing I_TS_RANGE_VAR Call by reference Type reference (TYPE) CL_RSPLFC_DISTR_REFDATA=>Y_TS_RANGE_VAR Variablen aus der Verteilung 20120319
9 Importing I_TS_VARIABLE Call by reference Type reference (TYPE) RSPLS_TS_VARIABLE Variablen 20110808
10 Importing I_T_CHARSEL Call by reference Type reference (TYPE) RSPLF_T_CHARSEL Selektionstabelle 20110808
11 Importing I_T_NODE_SEL Call by reference Type reference (TYPE) RSPLF_T_NODE Knoteninformation 20110808
12 Returning R_PROLOGUE Value transfer Type reference (TYPE) STRING Prolog 20110808

Method BUILD_PROLOGUE on class CL_RSPLFC_FORMULA has no exception.

Method CREATE_BLOCK_VIEW 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 20120217
2 Importing I_PLAN_DATE Call by reference Type reference (TYPE) D Planstichtag 20120217
3 Importing I_RESTRICT_VIEW Call by reference Type reference (TYPE) RS_BOOL Restrict notwendig bei Operandenselektionen 20120217
4 Importing I_R_MSG Call by reference Object reference (TYPE REF TO) IF_RSPLFA_MSG Meldungen 20120217
5 Importing I_R_STORE Call by reference Object reference (TYPE REF TO) CL_RSR_STORE STORE Beschreibung 20120217
6 Importing I_T_CHARSEL Call by reference Type reference (TYPE) RSPLF_T_CHARSEL Selektionstabelle 20120217
7 Importing I_VIEW_REF_DATA Call by reference Type reference (TYPE) TREXD_PLAN_VIEW View zur Berechnung der Blöcke 20120217
8 Returning R_VIEW Value transfer Type reference (TYPE) TREXD_PLAN_VIEW Attributsview 20120217

Method CREATE_BLOCK_VIEW on class CL_RSPLFC_FORMULA has no exception.

Method EXECUTE_TREX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_BLOCK_DATA_VIEW Call by reference Type reference (TYPE) TREXD_PLAN_VIEW View mit Blockdaten 20120217
2 Importing I_FORML_STRING Call by reference Type reference (TYPE) STRING Formel 20110809
3 Importing I_INFOPROV Call by reference Type reference (TYPE) RSINFOPROV InfoProvider 20110809
4 Importing I_PARSE_FORMULA Call by reference Type reference (TYPE) RS_BOOL RS_C_TRUE Formel parsen (unnötig bei generierten ) 20120928
5 Importing I_PLAN_DATE Call by reference Type reference (TYPE) D Planstichtag 20111020
6 Importing I_R_MSG Call by reference Object reference (TYPE REF TO) IF_RSPLFA_MSG Meldungen 20110809
7 Importing I_R_STORE Call by reference Object reference (TYPE REF TO) CL_RSR_STORE STORE Beschreibung 20110809
8 Importing I_SRVNM Call by reference Type reference (TYPE) RSPLF_SRVNM Name Planungsfunktion 20111216
9 Importing I_TH_REQ_C Value transfer Type reference (TYPE) RSPLS_TH_REQ_C Tabelle der benötigten Merkmale Delta-Buffer 20120217
10 Importing I_TH_REQ_K Value transfer Type reference (TYPE) RSPLS_TH_REQ_K Tabelle der benötigten Kennzahlen Delta-Buffer 20120217
11 Importing I_TS_FCAT Call by reference Type reference (TYPE) RSPLS_TS_FORML_FCAT Feldkatalog für Formeln 20120217
12 Importing I_TS_FILTER_VAR Value transfer Type reference (TYPE) RSPLS_TS_VARIABLE Variablen 20110809
13 Importing I_TS_RANGE_VAR Call by reference Type reference (TYPE) CL_RSPLFC_DISTR_REFDATA=>Y_TS_RANGE_VAR Variablen aus der Verteilungsfunktion 20120319
14 Importing I_TS_VARIABLE Value transfer Type reference (TYPE) RSPLS_TS_VARIABLE Variablen 20110809
15 Importing I_T_CHARSEL Value transfer Type reference (TYPE) RSPLF_T_CHARSEL Selektionstabelle 20110809
16 Importing I_T_CHARSEL_REF Value transfer Type reference (TYPE) RSPLF_T_CHARSEL Selektionstabelle 20111020
17 Importing I_T_CHAR_USAGE Call by reference Type reference (TYPE) RSPLF_T_CHAR_USAGE Merkmalsverwendungen 20110809
18 Importing I_T_NODE_SEL Call by reference Type reference (TYPE) RSPLF_T_NODE Knoteninformation 20110809
19 Importing I_VIEW Call by reference Type reference (TYPE) TREXD_PLAN_VIEW View mit Filterdaten 20120217
20 Importing I_VIEW_REF Call by reference Type reference (TYPE) TREXD_PLAN_VIEW Referenzdaten 20110809
21 Returning R_VIEW Value transfer Type reference (TYPE) TREXD_PLAN_VIEW Ergebnisview (Delta ) 20110809
# Exception Resumable Description Created on
1 CX_RS_FAILED Operation gescheitert 20110809

Method GENERATE_PROGRAMM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_R_MSG Call by reference Object reference (TYPE REF TO) CL_RSPLFU_MSG Meldungen (mit Kontext) 20081217

Method GENERATE_PROGRAMM on class CL_RSPLFC_FORMULA has no exception.

Method GET_ALIAS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FIELDNAME Call by reference Type reference (TYPE) ANY InfoObjekt 20101206
2 Returning R_ALIAS Value transfer Type reference (TYPE) FIELDNAME Feldname 20101206

Method GET_ALIAS on class CL_RSPLFC_FORMULA has no exception.

Method GET_FORML_FCAT 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 20041014
2 Importing I_R_MSG Call by reference Object reference (TYPE REF TO) IF_RSPLFA_MSG Container für Nachrichten 20040920
3 Importing I_T_CHAR_USAGE Call by reference Type reference (TYPE) RSPLF_T_CHAR_USAGE Merkmalsverwendungen 20041014
4 Returning R_TS_FORML_FCAT Value transfer Type reference (TYPE) RSPLS_TS_FORML_FCAT Feldkatalog für Formeln 20040920

Method GET_FORML_FCAT on class CL_RSPLFC_FORMULA has no exception.

Method GET_FORML_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_R_PARAM_SET Call by reference Object reference (TYPE REF TO) IF_RSPLFA_PARAM_SET Satz von Parameterwerten 20040920
2 Returning R_TS_FORML Value transfer Type reference (TYPE) RSPLS_TS_FORML Planung: Formeln 20040920

Method GET_FORML_TAB on class CL_RSPLFC_FORMULA has no exception.

Method GET_HIDDEN_VARIABLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_R_MSG Call by reference Object reference (TYPE REF TO) CL_RSPLFU_MSG Container für Nachrichten 20041006
2 Importing I_R_SRV Call by reference Object reference (TYPE REF TO) CL_RSPLFS_SRV Planungs-Service (Objektmodell) 20041004

Method GET_HIDDEN_VARIABLES on class CL_RSPLFC_FORMULA has no exception.

Method STRING_TO_FORML_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_GUID Call by reference Type reference (TYPE) ANY 20041014
2 Importing I_STRING Call by reference Type reference (TYPE) STRING String mit Formel 20041014
3 Returning R_TS_FORML Value transfer Type reference (TYPE) RSPLS_TS_FORML Planung: Formeln 20041014

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