SAP ABAP Class CL_FDT_FORMULA_ELEMENT_FACTORY (Factory for formula elements for processing)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-BR (Application Component) BRFplus - ABAP-Based Business Rules
⤷
SFDT_EXPRESSIONS (Package) BRFplus: Expressions
⤷
⤷
Properties
| Class | CL_FDT_FORMULA_ELEMENT_FACTORY | |
| Short Description | Factory for formula elements for processing | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SFDT_EXPRESSIONS | BRFplus: Expressions |
| Created | 20070108 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 2 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_FDT_FORMULA_ELEMENT_FACTORY has no interface implemented.
Friends
Class CL_FDT_FORMULA_ELEMENT_FACTORY has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | SEOCLSNAME | 'CL_FOEV_BUILTINS' | Class for built in formula functionals | 20070108 | ||
| 2 | Constant | Public | Type reference (TYPE) | SEOCLSNAME | 'CL_FDT_FORMULA_FUNCTIONAL' | class for built in formula functionals | 20110712 | ||
| 3 | Constant | Public | Type reference (TYPE) | STRING | 'ABS' | 20070108 | |||
| 4 | Constant | Public | Type reference (TYPE) | STRING | 'AND' | 20070108 | |||
| 5 | Constant | Public | Type reference (TYPE) | STRING | 'CONCATENATE' | 20120621 | |||
| 6 | Constant | Public | Type reference (TYPE) | STRING | 'CONCATENATE_STRUCTURE' | 20121010 | |||
| 7 | Constant | Public | Type reference (TYPE) | STRING | 'CONCATENATE_TABLE' | 20121010 | |||
| 8 | Constant | Public | Type reference (TYPE) | STRING | '&' | 20120621 | |||
| 9 | Constant | Public | Type reference (TYPE) | STRING | '/' | 20070108 | |||
| 10 | Constant | Public | Type reference (TYPE) | STRING | 'FRAC' | 20090422 | |||
| 11 | Constant | Public | Type reference (TYPE) | STRING | 'IF' | 20070108 | |||
| 12 | Constant | Public | Type reference (TYPE) | STRING | 'IS_INITIAL' | 20070108 | |||
| 13 | Constant | Public | Type reference (TYPE) | STRING | 'MAX' | 20090507 | |||
| 14 | Constant | Public | Type reference (TYPE) | STRING | 'MIN' | 20090507 | |||
| 15 | Constant | Public | Type reference (TYPE) | STRING | '-' | 20070108 | |||
| 16 | Constant | Public | Type reference (TYPE) | STRING | '*' | 20070108 | |||
| 17 | Constant | Public | Type reference (TYPE) | STRING | 'NOT' | 20070108 | |||
| 18 | Constant | Public | Type reference (TYPE) | STRING | 'OR' | 20070108 | |||
| 19 | Constant | Public | Type reference (TYPE) | STRING | '+' | 20070108 | |||
| 20 | Constant | Public | Type reference (TYPE) | STRING | '^' | 20070108 | |||
| 21 | Constant | Public | Type reference (TYPE) | STRING | 'ROUND' | 20090817 | |||
| 22 | Constant | Public | Type reference (TYPE) | STRING | 'TONUMBER' | 20070108 | |||
| 23 | Constant | Public | Type reference (TYPE) | STRING | 'TOSTRING' | 20120620 | |||
| 24 | Constant | Public | Type reference (TYPE) | STRING | 'TRUNC' | 20090422 | |||
| 25 | Instance attribute | Public | Type reference (TYPE) | TY_LT_FORMULA_ELEMENT | Arguments of functional elements | 20070108 | |||
| 26 | Instance attribute | Public | Type reference (TYPE) | IF_FDT_TYPES=>DATA_OBJECT_TYPE | Data object type of the result of this element | 20070108 | |||
| 27 | Instance attribute | Public | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_TYPE | Element type of the result of this element | 20070108 | |||
| 28 | Instance attribute | Public | Type reference (TYPE) | STRING | Formula token / element | 20070108 | |||
| 29 | Instance attribute | Public | Type reference (TYPE) | FDT_FORMULA_TOKEN_TYPE | Type of formula token / element | 20070108 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Create one element of the formula tree, called recursively | 20070108 | |
| 2 | Static method | Public | Method | Get instance for a formula element including all children | 20070108 | |
| 3 | Static method | Private | Method | Get instance for a single formula element | 20070108 |
Events
Class CL_FDT_FORMULA_ELEMENT_FACTORY has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_LT_FORMULA_ELEMENT | Public | See coding | 20070108 | ty_lt_formula_element TYPE STANDARD TABLE OF REF TO cl_fdt_formula_element
|
||
| 2 | TY_S_TOKEN | Public | See coding | Formula token / element with all info for processing | 20070108 | BEGIN OF ty_s_token.
INCLUDE TYPE if_fdt_formula=>s_token.
TYPES: psort TYPE sfbepsort,
arity TYPE sfbearity,
data_object_type TYPE if_fdt_types=>data_object_type,
element_type TYPE if_fdt_types=>element_type,
class TYPE seoclsname,
method TYPE seocmpname.
TYPES: END OF ty_s_token
|
|
| 3 | TY_T_TOKEN | Public | See coding | Table of formula tokens / elements | 20070108 | ty_t_token TYPE SORTED TABLE OF ty_s_token WITH UNIQUE KEY psort
|
Method Signatures
Method CREATE_ELEMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_INDEX | Call by reference | Type reference (TYPE) | I | Index in table IT_TOKEN | 20070108 | |||
| 2 | EO_ELEMENT | Call by reference | Object reference (TYPE REF TO) | CL_FDT_FORMULA_ELEMENT | Element of a formula for processing | 20070108 | |||
| 3 | IT_TOKEN | Call by reference | Type reference (TYPE) | TY_T_TOKEN | Table of formula tokens / elements | 20070108 |
Method CREATE_ELEMENT on class CL_FDT_FORMULA_ELEMENT_FACTORY has no exception.
Method GET_ELEMENT_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_TOKEN | Call by reference | Type reference (TYPE) | TY_T_TOKEN | Table of formula tokens / elements | 20070108 | |||
| 2 | RO_FORMULA_ELEMENT | Value transfer | Object reference (TYPE REF TO) | CL_FDT_FORMULA_ELEMENT | Element of a formula for processing | 20070108 |
Method GET_ELEMENT_INSTANCE on class CL_FDT_FORMULA_ELEMENT_FACTORY has no exception.
Method _GET_ELEMENT_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_TOKEN | Call by reference | Type reference (TYPE) | TY_S_TOKEN | Formula element / token to be represented by this instance | 20070108 | |||
| 2 | RO_FORMULA_ELEMENT | Value transfer | Object reference (TYPE REF TO) | CL_FDT_FORMULA_ELEMENT | Element of a formula for processing | 20070108 |
Method _GET_ELEMENT_INSTANCE on class CL_FDT_FORMULA_ELEMENT_FACTORY has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 710 |