SAP ABAP Class CL_FOEV_FORMULA (FoBuEv: Formula During Evaluation)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-BR (Application Component) BRFplus - ABAP-Based Business Rules
⤷
S_FORMULA_BUILDER (Package) Formula Builder
⤷
⤷
Properties
| Class | CL_FOEV_FORMULA | |
| Short Description | FoBuEv: Formula During Evaluation | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_FORMULA_BUILDER | Formula Builder |
| Created | 20001002 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 3 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_FOEV_FORMULA has no interface implemented.
Friends
Class CL_FOEV_FORMULA has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | SEOCLSNAME | 'CL_FOEV_BUILTINS' | Class for Built-In Functions | 20011105 | ||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | LCL_FORMULA | 20001023 | ||||
| 3 | Instance attribute | Private | Type reference (TYPE) | SFBE_HEADER | Header Data for a Formula | 20001023 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | I | 20030107 | ||||
| 5 | Instance attribute | Private | Type reference (TYPE) | I | 20030107 | ||||
| 6 | Instance attribute | Private | Object reference (TYPE REF TO) | LCL_TRACE | 20011217 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Compiles formula tokens in ABAP source code | 20040319 | |
| 2 | Instance method | Public | Method | Operands and Operators Used in Formula | 20020515 | |
| 3 | Instance method | Public | Method | Calculate Formula | 20001002 | |
| 4 | Static method | Public | Method | Load Formula from Database | 20001002 | |
| 5 | Static method | Public | Method | Load Formula from Maintenance Object | 20011228 | |
| 6 | Static method | Private | Method | Help Routine for Load | 20001002 | |
| 7 | Instance method | Private | Method | Format Help Routine for Load | 20050107 | |
| 8 | Static method | Private | Method | Get Database Access Class | 20070315 | |
| 9 | Instance method | Public | Method | Read Trace | 20011217 |
Events
Class CL_FOEV_FORMULA has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_S_DEC_PRECISION | Public | See coding | 20100706 | BEGIN OF ty_s_dec_precision,
length TYPE i,
decimals TYPE i,
END OF ty_s_dec_precision
|
Method Signatures
Method COMPILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_ABAP_FORMULA | Call by reference | Type reference (TYPE) | SFBE_T_ABAPSOURCE | Formel als ABAP-SOURCE | 20040319 | |||
| 2 | I_STRUCTURE_PREFIX | Call by reference | Type reference (TYPE) | STRING | Struktur-Prefix | 20040319 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Formel kann nicht compiliert werden => EVALUATE verwenden | 20040319 |
Method ELEMENTS_GET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_OPERANDS | Call by reference | Type reference (TYPE) | SFBE_OPERANDS | FoBuEv: Operandenbeschreibung | 20020515 | |||
| 2 | IM_ALSO_BUILTINS | Call by reference | Type reference (TYPE) | SEU_BOOL | SPACE | 'X': Auch Built-In Operanden | 20020516 |
Method ELEMENTS_GET on class CL_FOEV_FORMULA has no exception.
Method EVALUATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_DEC_PRECISION | Call by reference | Type reference (TYPE) | TY_S_DEC_PRECISION | Multiplikation und Division mit P dieser Präzision statts F | 20100706 | |||
| 2 | IM_STRICT_EVALUATION | Call by reference | Type reference (TYPE) | ABAP_BOOL | True: Do strict (eager) evaluation, default: lazy evaluation | 20090624 | |||
| 3 | IM_TRACELEVEL | Call by reference | Type reference (TYPE) | INTEGER1 | Detaillierungsgrad des Trace (0 = aus, >= 1 = an) | 20011217 | |||
| 4 | IM_TRACE_ID | Call by reference | Type reference (TYPE) | SFBE_TRACE-ID | Tree Control: Schlüssel eines Knotens | 20011217 | |||
| 5 | RE_RESULT | Value transfer | Object reference (TYPE REF TO) | DATA | 20001023 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Beim Auswerten der Formel ist ein Fehler aufgetreten | 20010802 |
Method LOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_CLIENT | Call by reference | Type reference (TYPE) | SYMANDT | Mandant | 20041102 | |||
| 2 | IM_ENVIRONMENT | Value transfer | Object reference (TYPE REF TO) | IF_FOEV_CONNECTOR | FoBuEv: Interface-Adapter für Auswertung | 20001023 | |||
| 3 | IM_FORMULA_ID | Value transfer | Type reference (TYPE) | SFBEID | Formel-ID | 20001023 | |||
| 4 | IM_TRACE_COMMENTS | Call by reference | Type reference (TYPE) | SEU_BOOL | SPACE | 'X': Trace soll auch Kommentare enthalten | 20031112 | ||
| 5 | IO_FOBU_STORAGE | Call by reference | Object reference (TYPE REF TO) | IF_FOBU_STORAGE | Formula Builder: Datenbank-Zugriffe | 20070315 | |||
| 6 | RE_FORMULA | Value transfer | Object reference (TYPE REF TO) | CL_FOEV_FORMULA | FoBuEv: Formel während Auswertung | 20001023 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Die Formel ist leer | 20010402 | ||
| 2 | Die Formel kann nicht ausgewertet werden | 20010402 | ||
| 3 | Die Formel ist nicht vorhanden | 20010402 |
Method LOAD_FROM_FOBU Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_ENVIRONMENT | Value transfer | Object reference (TYPE REF TO) | IF_FOEV_CONNECTOR | FoBuEv: Interface-Adapter für Auswertung | 20011228 | |||
| 2 | IM_FORMULA | Call by reference | Object reference (TYPE REF TO) | CL_FOBU_FORMULA | Formula Builder | 20011228 | |||
| 3 | IM_TRACE_COMMENTS | Call by reference | Type reference (TYPE) | SEU_BOOL | 'X': Trace soll auch Kommentare enthalten | 20031112 | |||
| 4 | RE_FORMULA | Value transfer | Object reference (TYPE REF TO) | CL_FOEV_FORMULA | FoBuEv: Formel während Auswertung | 20011228 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Die Formel ist leer | 20011228 | ||
| 2 | Die Formel kann nicht ausgewertet werden | 20011228 | ||
| 3 | Die Formel ist nicht vorhanden | 20011228 |
Method LOAD_HELPER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_INDEX | Value transfer | Type reference (TYPE) | I | 20001002 | ||||
| 2 | EX_FORMULA | Value transfer | Object reference (TYPE REF TO) | LCL_FORMULA | FoBuEv: Formel während Auswertung | 20001002 | |||
| 3 | IM_ENVIRONMENT | Value transfer | Object reference (TYPE REF TO) | IF_FOEV_CONNECTOR | FoBuEv: Interface-Adapter für Auswertung | 20001002 | |||
| 4 | IM_FORMULATAB | Call by reference | Type reference (TYPE) | SFBE_TOKEN_TAB | Tabelle mit Zeilen (Tokens) eines Formel | 20001002 | |||
| 5 | IM_LEVEL | Call by reference | Type reference (TYPE) | I | 20011217 | ||||
| 6 | IM_TRACE | Call by reference | Object reference (TYPE REF TO) | LCL_TRACE | 20011217 | ||||
| 7 | IM_TS_COMMENT | Call by reference | Type reference (TYPE) | LTY_TS_COMMENT | 20031112 |
Method LOAD_HELPER on class CL_FOEV_FORMULA has no exception.
Method LOAD_HELPER_PREPARE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_TOKEN | Call by reference | Type reference (TYPE) | SFBE_TOKEN_TAB | Tabelle mit Zeilen (Tokens) eines Formel | 20050107 | |||
| 2 | ID_TRACE_COMMENTS | Call by reference | Type reference (TYPE) | SEU_BOOL | SPACE | 'X': Trace soll auch Kommentare enthalten | 20050107 | ||
| 3 | IR_ENVIRONMENT | Call by reference | Object reference (TYPE REF TO) | IF_FOEV_CONNECTOR | FoBuEv: Interface-Adapter für Auswertung | 20050107 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Die Formel ist leer | 20050107 | ||
| 2 | Die Formel kann nicht ausgewertet werden | 20050107 |
Method STORAGE_GET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_FOBU_STORAGE | Call by reference | Object reference (TYPE REF TO) | IF_FOBU_STORAGE | Formula Builder: Database Accesses | 20070315 | |||
| 2 | RO_FOBU_STORAGE | Value transfer | Object reference (TYPE REF TO) | IF_FOBU_STORAGE | Formula Builder: Database Accesses | 20070315 |
Method STORAGE_GET on class CL_FOEV_FORMULA has no exception.
Method TRACE_GET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_TRACE | Call by reference | Type reference (TYPE) | TSFBE_TRACE | Trace-Tabelle für Formelauswertung | 20011217 |
Method TRACE_GET on class CL_FOEV_FORMULA has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 50A |