SAP ABAP Class CL_FOBU_METHOD_EVALUATION (Evaluate Formula Builder Methods)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-BR (Application Component) BRFplus - ABAP-Based Business Rules
⤷
S_BADI_FORMULA_BUILDER (Package) BADI Implementation with Formula Builder
⤷
⤷
Properties
| Class | CL_FOBU_METHOD_EVALUATION | |
| Short Description | Evaluate Formula Builder Methods | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_BADI_FORMULA_BUILDER | BADI Implementation with Formula Builder |
| Created | 20000922 | SAP |
| Last change | 20110908 | 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) |
Interfaces
Class CL_FOBU_METHOD_EVALUATION has no interface implemented.
Friends
Class CL_FOBU_METHOD_EVALUATION has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_METH_FOEV_CONNECTOR | FormulaEvaluator - BADI - Link | 20001026 | |||
| 2 | Constant | Public | Type reference (TYPE) | SFBEFSYM | 'EX_SFBM_TRACE' | Name of Method Parameter for Trace | 20010111 | ||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_FOEV_CONNECTOR | FoBuEv: Interface Adapter for Evaluation | 20030805 | |||
| 4 | Constant | Public | Type reference (TYPE) | SEU_BOOL | SPACE | Boolean | 20001026 | ||
| 5 | Instance attribute | Private | Type reference (TYPE) | SFBM_HDR | Formula Builder Methods: Header | 20010117 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | I | Maximum Number of Steps | 20001026 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | SEU_BOOL | 'X': Propagate Error for Formula Evaluation | 20030822 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | I | Number of Evaluated Steps | 20001026 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | I | Level of Current Step | 20050105 | |||
| 10 | Constant | Public | Type reference (TYPE) | SFBM_STEP-TYPE | 'E' | Type of Step: Exception with Message | 20001026 | ||
| 11 | Constant | Public | Type reference (TYPE) | SFBM_STEP-TYPE | 'F' | Type of Step: Formula | 20001026 | ||
| 12 | Constant | Public | Type reference (TYPE) | SFBM_STEP-TYPE | 'M' | Type of Step: Message in Log Table | 20001026 | ||
| 13 | Constant | Public | Type reference (TYPE) | SFBM_STEP-TYPE | 'N' | Type of Step: Nodes without Function | 20001026 | ||
| 14 | Constant | Public | Type reference (TYPE) | SFBM_STEP-TYPE | 'U' | Type of Activity: "Incorrect" Nodes of Formula | 20001108 | ||
| 15 | Constant | Public | Type reference (TYPE) | SFBM_STEP-TYPE | 'T' | Type of Activity: "True" Nodes of Formula | 20001108 | ||
| 16 | Constant | Public | Type reference (TYPE) | SFBM_STEP-TYPE | 'S' | Type of Step: Substitution | 20001026 | ||
| 17 | Constant | Public | Type reference (TYPE) | TV_NODEKEY | 'TOP_NODE' | Highest Node of Step Hierarchy | 20001026 | ||
| 18 | Instance attribute | Private | Type reference (TYPE) | INTEGER1 | Level of Detail for Trace | 20010110 | |||
| 19 | Instance attribute | Private | Type reference (TYPE) | INTEGER1 | Level of Detail from Settings | 20010112 | |||
| 20 | Instance attribute | Private | Type reference (TYPE) | SEU_BOOL | Save or Display Trace | 20010112 | |||
| 21 | Constant | Public | Type reference (TYPE) | SEU_BOOL | 'X' | Boolean | 20001026 | ||
| 22 | Instance attribute | Private | Type reference (TYPE) | LTY_FORMULA_REFERENCE_TAB | Table with Object References to Formulas | 20001026 | |||
| 23 | Instance attribute | Private | Type reference (TYPE) | TSFBM_MSG | Table with Messages for Formula Builder Method | 20001026 | |||
| 24 | Instance attribute | Private | Type reference (TYPE) | TSFBM_STEP | Table with Steps for Formula Builder Method | 20001026 | |||
| 25 | Instance attribute | Private | Type reference (TYPE) | TSFBM_SUBST | Table with Substitutions for Formula Builder Method | 20001026 | |||
| 26 | Instance attribute | Private | Type reference (TYPE) | LTY_TRACE_TAB | Trace Table for Formula Evaluation | 20010110 | |||
| 27 | Constant | Public | Type reference (TYPE) | SFBM_SUBST-TYPE | 'C' | Type of Value: Constant | 20001026 | ||
| 28 | Constant | Public | Type reference (TYPE) | SFBM_SUBST-TYPE | 'F' | Type of Value: Formula Result | 20001026 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Add Entry to Trace Table | 20010110 | |
| 2 | Instance method | Private | Method | Add Several Entries to Trace Table | 20010116 | |
| 3 | Instance method | Public | Method | Evaluate Formula Builder Methods | 20001026 | |
| 4 | Instance method | Private | Method | Evaluate Boolean Formula | 20001026 | |
| 5 | Instance method | Private | Method | Execute Exception Activity | 20001026 | |
| 6 | Instance method | Private | Method | Execute Message Activity | 20001026 | |
| 7 | Instance method | Private | Method | Evaluate Step | 20001026 | |
| 8 | Instance method | Private | Method | Evaluate Formula for Substitution or Message | 20001201 | |
| 9 | Instance method | Public | Method | Evaluate Funct.Mod.Method with Except.for Fields inf Formul. | 20030822 | |
| 10 | Instance method | Private | Method | Execute Substitution Step | 20001026 | |
| 11 | Instance method | Private | Method | Fill Exception Parameters from Exception Step | 20001113 | |
| 12 | Instance method | Private | Method | Fill Message Variables | 20001113 | |
| 13 | Instance method | Private | Method | Fill Trace Tables for Calling Program(s) | 20010111 | |
| 14 | Static method | Public | Method | Load Formula Builder Method from Database | 20001026 | |
| 15 | Static method | Public | Method | Load Formula Builder Method from Internal Table | 20011228 | |
| 16 | Instance method | Private | Method | Output Internal Program Errors | 20001026 | |
| 17 | Instance method | Public | Method | Transfer Pointer to Method Parameters | 20001026 |
Events
Class CL_FOBU_METHOD_EVALUATION has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | LTY_FORMULA_REFERENCE | Private | See coding | Formula ID -> Formula Object Reference | 20001026 | BEGIN OF lty_formula_reference,
id TYPE sfbeid,
ref TYPE REF TO cl_foev_formula,
END OF lty_formula_reference
|
|
| 2 | LTY_FORMULA_REFERENCE_TAB | Private | See coding | Table with Object References to Formulas | 20001026 | lty_formula_reference_tab
TYPE SORTED TABLE OF lty_formula_reference
WITH UNIQUE KEY id
|
Method Signatures
Method ADD_TRACE_LINE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_FORCE_INSERT | Call by reference | Type reference (TYPE) | SEU_BOOL | 'X': Eintrag bei jedem Level aufnehmen | 20030822 | |||
| 2 | IM_ID | Call by reference | Type reference (TYPE) | TV_NODEKEY | ID des Schritts | 20010110 | |||
| 3 | IM_PARAMETER | Call by reference | Type reference (TYPE) | ANY | Parametername | 20010110 | |||
| 4 | IM_TRACELEVEL | Call by reference | Type reference (TYPE) | INTEGER1 | 1 | Detaillierungsstufe des Eintrags | 20010110 | ||
| 5 | IM_TYPE | Call by reference | Type reference (TYPE) | SFBE_TRACE-TYPE | Typ des Schritts | 20010110 | |||
| 6 | IM_VALUE | Call by reference | Type reference (TYPE) | ANY | Parameterwert | 20010110 |
Method ADD_TRACE_LINE on class CL_FOBU_METHOD_EVALUATION has no exception.
Method ADD_TRACE_TAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_TRACE | Call by reference | Type reference (TYPE) | TSFBE_TRACE | Trace-Tabelle für Formelauswertung | 20010116 |
Method ADD_TRACE_TAB on class CL_FOBU_METHOD_EVALUATION has no exception.
Method EVALUATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_EXCEPTION | Call by reference | Type reference (TYPE) | SFBM_XCPTN | Struktur zur Übergabe eine Ausnahme mit Meldung | 20001106 | |||
| 2 | EX_TRACE | Call by reference | Type reference (TYPE) | TSFBE_TRACE | Trace-Tabelle für Formelauswertung | 20010110 | |||
| 3 | IM_TRACELEVEL | Value transfer | Type reference (TYPE) | INTEGER1 | 1 | Detaillierungsgrad des Trace (1-3) | 20010110 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Die Ausnahme in Parameter EX_EXCEPTION soll ausgelöst werden | 20001106 |
Method EVALUATE_BOOLEAN_FORMULA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_STEP | Call by reference | Type reference (TYPE) | SFBM_STEP | Schritt | 20010110 | |||
| 2 | RE_RESULT | Value transfer | Type reference (TYPE) | SEU_BOOL | Ergebnis der Formelauswertung | 20001026 |
Method EVALUATE_BOOLEAN_FORMULA on class CL_FOBU_METHOD_EVALUATION has no exception.
Method EVALUATE_EXCEPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_STEP | Call by reference | Type reference (TYPE) | SFBM_STEP | Schritt | 20010110 |
Method EVALUATE_EXCEPTION on class CL_FOBU_METHOD_EVALUATION has no exception.
Method EVALUATE_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_STEP | Call by reference | Type reference (TYPE) | SFBM_STEP | Schritt | 20010110 |
Method EVALUATE_MESSAGE on class CL_FOBU_METHOD_EVALUATION has no exception.
Method EVALUATE_ONE_STEP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_STEP_ID | Call by reference | Type reference (TYPE) | SFBM_STEP-ID | ID des Schritts in T_STEPS | 20001026 | |||
| 2 | RE_NEXT_ID | Value transfer | Type reference (TYPE) | SFBM_STEP-ID | ID des nächsten Schritts auf der selben Stufe | 20001026 |
Method EVALUATE_ONE_STEP on class CL_FOBU_METHOD_EVALUATION has no exception.
Method EVALUATE_PARAM_FORMULA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_ERROR_FLAG | Call by reference | Type reference (TYPE) | SEU_BOOL | 'X': Fehler bei der Formelauswertung | 20030822 | |||
| 2 | EX_ERROR_IN_FORMULA | Call by reference | Object reference (TYPE REF TO) | CX_FOEV_FORMULA_INVALID | Fehler bei der Formelauswertung | 20030822 | |||
| 3 | EX_RESULT | Call by reference | Type reference (TYPE) | ANY | Ergebnis der Formel | 20001206 | |||
| 4 | EX_TRACE | Call by reference | Type reference (TYPE) | TSFBE_TRACE | Trace-Tabelle für Formelauswertung | 20010116 | |||
| 5 | IM_FORMULA_ID | Call by reference | Type reference (TYPE) | C | Pointer auf den Inhalt des Schritts | 20001201 | |||
| 6 | IM_STEP_ID | Call by reference | Type reference (TYPE) | SFBM_STEP-ID | ID des Schrittes | 20010112 |
Method EVALUATE_PARAM_FORMULA on class CL_FOBU_METHOD_EVALUATION has no exception.
Method EVALUATE_STRINGENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_ERROR_IN_FORMULA | Call by reference | Object reference (TYPE REF TO) | CX_FOEV_FORMULA_INVALID | Fehler bei der Formelauswertung | 20030822 | |||
| 2 | EX_EXCEPTION | Call by reference | Type reference (TYPE) | SFBM_XCPTN | Struktur zur Übergabe eine Ausnahme mit Meldung | 20030822 | |||
| 3 | EX_TRACE | Call by reference | Type reference (TYPE) | TSFBE_TRACE | Trace-Tabelle für Formelauswertung | 20030822 | |||
| 4 | IM_TRACELEVEL | Value transfer | Type reference (TYPE) | INTEGER1 | 1 | Detaillierungsgrad des Trace (1-3) | 20030822 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim Auswerten einer Formel -> EX_ERROR_IN_FORMULA | 20030822 | ||
| 2 | Die Ausnahme in Parameter EX_EXCEPTION soll ausgelöst werden | 20030822 |
Method EVALUATE_SUBSTITUTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_STEP | Call by reference | Type reference (TYPE) | SFBM_STEP | Schritt | 20010110 |
Method EVALUATE_SUBSTITUTION on class CL_FOBU_METHOD_EVALUATION has no exception.
Method FILL_EXCEPTION_PARAMETER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_MESSAGE_ID | Call by reference | Type reference (TYPE) | SFBM_MSG-ID | ID der Ausnahme | 20001113 | |||
| 2 | IM_STEP_ID | Call by reference | Type reference (TYPE) | SFBM_STEP-ID | ID des Schrittes | 20010112 | |||
| 3 | RE_EXCEPTION | Value transfer | Type reference (TYPE) | SFBM_XCPTN | Struktur zur Übergabe eine Ausnahme mit Meldung | 20001113 |
Method FILL_EXCEPTION_PARAMETER on class CL_FOBU_METHOD_EVALUATION has no exception.
Method FILL_MESSAGE_VARIABLES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_MSGV1 | Call by reference | Type reference (TYPE) | SYMSGV | Meldungsvariable 1 | 20001113 | |||
| 2 | EX_MSGV2 | Call by reference | Type reference (TYPE) | SYMSGV | Meldungsvariable 2 | 20001113 | |||
| 3 | EX_MSGV3 | Call by reference | Type reference (TYPE) | SYMSGV | Meldungsvariable 3 | 20001113 | |||
| 4 | EX_MSGV4 | Call by reference | Type reference (TYPE) | SYMSGV | Meldungsvariable 4 | 20001113 | |||
| 5 | IM_MESSAGE | Call by reference | Type reference (TYPE) | SFBM_MSG | Meldung in einer Formula Builder Methode | 20001113 | |||
| 6 | IM_STEP_ID | Call by reference | Type reference (TYPE) | SFBM_STEP-ID | ID des Schrittes | 20010112 |
Method FILL_MESSAGE_VARIABLES on class CL_FOBU_METHOD_EVALUATION has no exception.
Method FILL_TRACES 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 | 20010111 | |||
| 2 | IM_EX_TRACE_LEVEL | Call by reference | Type reference (TYPE) | INTEGER1 | 1 | Detaillierungsgrad für EX_TRACE | 20010111 | ||
| 3 | IM_FILL_EX_TRACE | Call by reference | Type reference (TYPE) | SEU_BOOL | 'X': Tabelle EX_TRACE füllen | 20010111 |
Method FILL_TRACES on class CL_FOBU_METHOD_EVALUATION has no exception.
Method LOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_CLASS_NAME | Call by reference | Type reference (TYPE) | SEOCLSNAME | Objekttypname | 20001026 | |||
| 2 | IM_ENVIRONMENT | Call by reference | Object reference (TYPE REF TO) | IF_FOEV_CONNECTOR | FoBuEv: Interface-Adapter für Auswertung | 20030805 | |||
| 3 | IM_EXTENSION | Call by reference | Type reference (TYPE) | SFBMEXTENS | SPACE | Schlüsserweiterung für Formula Builder Methoden | 20001222 | ||
| 4 | IM_INTERFACE_NAME | Call by reference | Type reference (TYPE) | SEOITFNAME | SPACE | Interfacename | 20001026 | ||
| 5 | IM_METHOD_NAME | Call by reference | Type reference (TYPE) | SEOCMPNAME | Komponentenname | 20001026 | |||
| 6 | RE_FOBU_METHOD | Value transfer | Object reference (TYPE REF TO) | CL_FOBU_METHOD_EVALUATION | Formula Builder Methode auswerten | 20001026 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FoBu Methode existiert nicht | 20001026 |
Method LOAD_FROM_ITAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_ENVIRONMENT | Call by reference | Object reference (TYPE REF TO) | IF_FOEV_CONNECTOR | FoBuEv: Interface-Adapter für Auswertung | 20030805 | |||
| 2 | IM_HEADER | Call by reference | Type reference (TYPE) | SFBM_HDR | Formula Builder Methoden: Header | 20011228 | |||
| 3 | IM_T_FORMULA | Call by reference | Type reference (TYPE) | TSFBE_FRML | Tabelle von Referenzen auf Formula Builder Formeln | 20011228 | |||
| 4 | IM_T_MSG | Call by reference | Type reference (TYPE) | TSFBM_MSG | Tabelle mit Meldungen einer Formula Builder Methode | 20011228 | |||
| 5 | IM_T_STEPS | Call by reference | Type reference (TYPE) | TSFBM_STEP | Tabelle mit Schritten einer Formula Builder Methode | 20011228 | |||
| 6 | IM_T_SUBST | Call by reference | Type reference (TYPE) | TSFBM_SUBST | Tabelle mit Substitutionen einer Formula Builder Methode | 20011228 | |||
| 7 | RE_FOBU_METHOD | Value transfer | Object reference (TYPE REF TO) | CL_FOBU_METHOD_EVALUATION | Formula Builder Methode auswerten | 20011228 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FoBu Methode existiert nicht | 20011228 |
Method RAISE_INTERNAL_ERROR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_ERROR_TEXT | Call by reference | Type reference (TYPE) | SYMSGV | Text des Fehlers | 20001026 |
Method RAISE_INTERNAL_ERROR on class CL_FOBU_METHOD_EVALUATION has no exception.
Method SET_PARAMETER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_PARMNAME | Call by reference | Type reference (TYPE) | SEOSCONAME | Name des Methodenparameters | 20001026 | |||
| 2 | IM_VALUE | Call by reference | Object reference (TYPE REF TO) | DATA | Pointer auf Methodenparameter | 20001026 |
Method SET_PARAMETER on class CL_FOBU_METHOD_EVALUATION has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 50A |