SAP ABAP Class CL_FDT_FORMULA_ELEMENT (Element of a formula 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
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_FDT_FORMULA_ELEM_BOOLEAN Formula element: Boolean functions (AND, OR, NOT) 20061228
2 Inheritance (c INHERITING FROM c_ref)  CL_FDT_FORMULA_ELEM_CALC Formula element: Basic calculations 20061228
3 Inheritance (c INHERITING FROM c_ref)  CL_FDT_FORMULA_ELEM_CALC_ONE_P Formula element: Built in calculations with one parameter 20061227
4 Inheritance (c INHERITING FROM c_ref)  CL_FDT_FORMULA_ELEM_COMPARISON Formula element: Comparison 20061228
5 Inheritance (c INHERITING FROM c_ref)  CL_FDT_FORMULA_ELEM_CONSTANT Formula element: Constant 20061228
6 Inheritance (c INHERITING FROM c_ref)  CL_FDT_FORMULA_ELEM_ERROR Formula element: Error token in formula 20061228
7 Inheritance (c INHERITING FROM c_ref)  CL_FDT_FORMULA_ELEM_FDT_OBJECT Formula element: Access to FDT expressions and data objects 20061227
8 Inheritance (c INHERITING FROM c_ref)  CL_FDT_FORMULA_ELEM_FUNCTIONAL Formula element: Call of formula functions 20061228
9 Inheritance (c INHERITING FROM c_ref)  CL_FDT_FORMULA_ELEM_IF Formula element: IF function 20070108
10 Inheritance (c INHERITING FROM c_ref)  CL_FDT_FORMULA_ELEM_MAX Formula element: Max and min calculation 20090507
... Click here to see Used By full list (11 items)
Properties
Class CL_FDT_FORMULA_ELEMENT  
Short Description Element of a formula for processing    
Super Class    
Instantiability of a Class 1  Protected 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SFDT_EXPRESSIONS   BRFplus: Expressions 
Created 20061227   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_FDT_FORMULA_ELEMENT Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 IF_FDT_FORMULA Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
4 IF_FDT_LEAN_TRACE Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
5 IF_FDT_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_FDT_FORMULA_ELEMENT has no interface implemented.
Friends
Class CL_FDT_FORMULA_ELEMENT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_BUILTIN_CLASS Constant Public Type reference (TYPE) SEOCLSNAME 'CL_FOEV_BUILTINS' Class for built in formula functionals 20061227
2 GC_MOVE_TYPE_CONVERT Constant Public Type reference (TYPE) STRING '2' 20101026
3 GC_MOVE_TYPE_DIRECT Constant Public Type reference (TYPE) STRING '1' 20101026
4 GC_TOKEN_ABS Constant Public Type reference (TYPE) STRING 'ABS' 20070104
5 GC_TOKEN_AND Constant Public Type reference (TYPE) STRING 'AND' 20070104
6 GC_TOKEN_CONCATENATE Constant Public Type reference (TYPE) STRING 'CONCATENATE' 20120622
7 GC_TOKEN_CONCATENATE_STRUCTURE Constant Public Type reference (TYPE) STRING 'CONCATENATE_STRUCTURE' 20121010
8 GC_TOKEN_CONCATENATE_TABLE Constant Public Type reference (TYPE) STRING 'CONCATENATE_TABLE' 20121010
9 GC_TOKEN_CONCAT_OP Constant Public Type reference (TYPE) STRING '&' 20120622
10 GC_TOKEN_DIVIDE Constant Public Type reference (TYPE) STRING '/' 20070104
11 GC_TOKEN_FRAC Constant Public Type reference (TYPE) STRING 'FRAC' 20090422
12 GC_TOKEN_IF Constant Public Type reference (TYPE) STRING 'IF' 20070108
13 GC_TOKEN_IS_INITIAL Constant Public Type reference (TYPE) STRING 'IS_INITIAL' 20070104
14 GC_TOKEN_MAX Constant Public Type reference (TYPE) STRING 'MAX' 20090507
15 GC_TOKEN_MIN Constant Public Type reference (TYPE) STRING 'MIN' 20090507
16 GC_TOKEN_MINUS Constant Public Type reference (TYPE) STRING '-' 20070104
17 GC_TOKEN_MULTIPLY Constant Public Type reference (TYPE) STRING '*' 20070104
18 GC_TOKEN_NOT Constant Public Type reference (TYPE) STRING 'NOT' 20070104
19 GC_TOKEN_OR Constant Public Type reference (TYPE) STRING 'OR' 20070104
20 GC_TOKEN_PLUS Constant Public Type reference (TYPE) STRING '+' 20070104
21 GC_TOKEN_POWER Constant Public Type reference (TYPE) STRING '^' 20070104
22 GC_TOKEN_TO_NUMBER Constant Public Type reference (TYPE) STRING 'TONUMBER' 20070104
23 GC_TOKEN_TO_STRING Constant Public Type reference (TYPE) STRING 'TOSTRING' 20120614
24 GC_TOKEN_TRUNC Constant Public Type reference (TYPE) STRING 'TRUNC' 20090422
25 MT_ARGUMENT Instance attribute Public Type reference (TYPE) TY_LT_FORMULA_ELEMENT Arguments of functional elements 20061227
26 MV_DATA_OBJECT_TYPE Instance attribute Public Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE Data object type of the result of this element 20061227
27 MV_ELEMENT_TYPE Instance attribute Public Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of the result of this element 20061227
28 MV_IS_CALC Instance attribute Protected Type reference (TYPE) ABAP_BOOL 'X': If token is calculation type add, subtract, multiply.. 20121206
29 MV_PSORT Instance attribute Protected Type reference (TYPE) SFBEPSORT FoBuEv: Sort Field for Prefix Notation 20090313
30 MV_TOKEN Instance attribute Public Type reference (TYPE) STRING Formula token / element 20061227
31 MV_TOKEN_TYPE Instance attribute Public Type reference (TYPE) FDT_FORMULA_TOKEN_TYPE Type of formula token / element 20061227
32 MV_TRACE_WRITTEN Static Attribute Public Type reference (TYPE) ABAP_BOOL ABAP_FALSE Flag to determine the trace written 20110506
Methods
# Method Level Visibility Method type Description Created on
1 ADD_ARGUMENT Instance method Public Method Add argument to functional elements 20061227
2 CONSTRUCTOR Instance method Protected Constructor CONSTRUCTOR 20061227
3 DATA_CONVERT Instance method Protected Method Convert data to match a desired type 20080326
4 EVALUATE Instance method Public Method Evaluate formula element 20061227
5 GENERATE_EVALUATE Instance method Public Method Generate source code for method EVALUATE 20070116
6 PARSE_ARGUMENTS Instance method Protected Method Parse Arguments 20090313
7 PARSE_ELEMENT Instance method Public Method Parse Lean Trace for Formula Element 20090313
8 PARSE_TOKEN Instance method Protected Method Parse Token 20090313
9 PREPARE_PARAMETER Instance method Private Method Prepares a parameter to be writen into the trace 20071023
10 SPLIT_LONG_TEXT Static method Public Method Split the long text for message parameters 20110506
11 WRITE_TRACE_INFO Instance method Protected Method Writes an additional info entry into the trace 20071023
Events
Class CL_FDT_FORMULA_ELEMENT has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 MOVE_TYPE Public Type reference (TYPE) STRING 20101026
2 TY_LT_FORMULA_ELEMENT Public See coding 20061229 ty_lt_formula_element TYPE STANDARD TABLE OF REF TO cl_fdt_formula_element
3 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
4 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 ADD_ARGUMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_ARGUMENT Call by reference Object reference (TYPE REF TO) CL_FDT_FORMULA_ELEMENT Argument of the functional element 20061227

Method ADD_ARGUMENT on class CL_FDT_FORMULA_ELEMENT has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_TOKEN Call by reference Type reference (TYPE) TY_S_TOKEN Formula element / token to be represented by this instance 20061228

Method CONSTRUCTOR on class CL_FDT_FORMULA_ELEMENT has no exception.

Method DATA_CONVERT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_DATA_OBJECT Call by reference Object reference (TYPE REF TO) IF_FDT_DATA_OBJECT FDT: Data Object 20101026
2 Importing IR_VALUE Call by reference Object reference (TYPE REF TO) DATA 20080326
3 Importing IV_DATA_OBJECT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE Data Object Type 20080326
4 Importing IV_DESIRED_TYPE Call by reference Type reference (TYPE) CSEQUENCE 20080326
5 Importing IV_ELEMENT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Elementary Data Type 20080326
6 Importing IV_RESULT_MOVE_TYPE Call by reference Type reference (TYPE) CL_FDT_FORMULA_ELEMENT=>MOVE_TYPE CL_FDT_FORMULA_ELEMENT=>GC_MOVE_TYPE_DIRECT 20101026
7 Returning RR_VALUE Value transfer Object reference (TYPE REF TO) DATA 20080326
# Exception Resumable Description Created on
1 CX_FDT_CONVERSION FDT: Conversion Failure 20080326

Method EVALUATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_CONTEXT Call by reference Object reference (TYPE REF TO) IF_FDT_CONTEXT FDT: Context 20061227
2 Importing IO_PROCESSOR Call by reference Object reference (TYPE REF TO) IF_FDT_PROCESSOR FDT: Processor 20061227
3 Importing IV_EXPRESSION_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID ID of FDT Formula Expression 20061227
4 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP 20061227
5 Returning RR_RESULT Value transfer Object reference (TYPE REF TO) DATA 20061227
# Exception Resumable Description Created on
1 CX_FDT FDT: Processing Error 20071129

Method GENERATE_EVALUATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CTS_USED_CONTEXT_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>TS_USED_CONTEXT_ID The required and optional context fields in the src code 20070116
2 Changing CV_REFERENCE_USED Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 'X': True if result is created as reference 20121207
3 Exporting ET_SOURCE_CODE Call by reference Type reference (TYPE) IF_FDT_TYPES=>T_SOURCE_CODE Table for source code 20070116
4 Exporting EV_DIRECT_RESULT_NAME Call by reference Type reference (TYPE) STRING 20081022
5 Importing IO_GENERATION_MNGR Call by reference Object reference (TYPE REF TO) CL_FDT_GENERATION_MANAGER FDT: Generation of Classes 20080420
6 Importing IV_CREATE_VARIABLE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Include declaration of result var IV_VARIABLE_NAME yes/no? 20070116
7 Importing IV_EXPRESSION_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID 20070117
8 Importing IV_FUNCTION_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID 20070720
9 Importing IV_RESULT_MOVE_TYPE Call by reference Type reference (TYPE) CL_FDT_FORMULA_ELEMENT=>MOVE_TYPE CL_FDT_FORMULA_ELEMENT=>GC_MOVE_TYPE_CONVERT 20101026
10 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP 20070116
11 Importing IV_VARIABLE_NAME Call by reference Type reference (TYPE) CLIKE Name of the variable 20070116
# Exception Resumable Description Created on
1 CX_FDT_GENERATION FDT: Error in the Generation Process 20070116
2 CX_FDT_INPUT FDT: Invalid Input 20070116

Method PARSE_ARGUMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_DOCUMENT Call by reference Object reference (TYPE REF TO) IF_IXML_DOCUMENT IF_IXML_DOCUMENT 20090313
2 Importing IO_PARENT Call by reference Object reference (TYPE REF TO) IF_IXML_ELEMENT 20090313
3 Importing IS_HEADER Call by reference Type reference (TYPE) IF_FDT_LEAN_TRACE=>S_HEADER Trace Header for this expression 20090313
4 Importing IS_RECORD Call by reference Type reference (TYPE) IF_FDT_LEAN_TRACE=>S_RECORD Trace Record for this expression 20090313
5 Importing ITS_RECORD Call by reference Type reference (TYPE) IF_FDT_LEAN_TRACE=>TS_RECORD 20090317
6 Importing IT_HEADER Call by reference Type reference (TYPE) IF_FDT_LEAN_TRACE=>T_HEADER Trace Headers for complete trace(s) 20090313
# Exception Resumable Description Created on
1 CX_FDT_LEAN_TRACE FDT: Lean Trace 20090422

Method PARSE_ELEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_DOCUMENT Call by reference Object reference (TYPE REF TO) IF_IXML_DOCUMENT IF_IXML_DOCUMENT 20090313
2 Importing IO_PARENT Call by reference Object reference (TYPE REF TO) IF_IXML_ELEMENT 20090313
3 Importing IS_HEADER Call by reference Type reference (TYPE) IF_FDT_LEAN_TRACE=>S_HEADER Trace Header for this expression 20090313
4 Importing IS_RECORD Call by reference Type reference (TYPE) IF_FDT_LEAN_TRACE=>S_RECORD Trace Record for this expression 20090313
5 Importing ITS_RECORD Call by reference Type reference (TYPE) IF_FDT_LEAN_TRACE=>TS_RECORD 20090317
6 Importing IT_HEADER Call by reference Type reference (TYPE) IF_FDT_LEAN_TRACE=>T_HEADER Trace Headers for complete trace(s) 20090313
# Exception Resumable Description Created on
1 CX_FDT_LEAN_TRACE FDT: System Failure 20090422

Method PARSE_TOKEN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_DOCUMENT Call by reference Object reference (TYPE REF TO) IF_IXML_DOCUMENT IF_IXML_DOCUMENT 20090313
2 Importing IO_PARENT Call by reference Object reference (TYPE REF TO) IF_IXML_ELEMENT IF_IXML_ELEMENT 20090313
# Exception Resumable Description Created on
1 CX_FDT_LEAN_TRACE FDT: Lean Trace 20090422

Method PREPARE_PARAMETER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MSG_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20071023
2 Importing IV_MSG_VALUE Call by reference Type reference (TYPE) ANY 20071023
3 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version) 20071023
4 Returning RV_TEXT Value transfer Type reference (TYPE) STRING 20071023

Method PREPARE_PARAMETER on class CL_FDT_FORMULA_ELEMENT has no exception.

Method SPLIT_LONG_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_MSG_1 Call by reference Type reference (TYPE) STRING 20110506
2 Exporting EV_MSG_2 Call by reference Type reference (TYPE) STRING 20110506
3 Exporting EV_MSG_3 Call by reference Type reference (TYPE) STRING 20110506
4 Exporting EV_MSG_4 Call by reference Type reference (TYPE) STRING 20110506
5 Importing IV_EXPRESSION_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20110506
6 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version, UTC) 20110506

Method SPLIT_LONG_TEXT on class CL_FDT_FORMULA_ELEMENT has no exception.

Method WRITE_TRACE_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_TRACE Call by reference Object reference (TYPE REF TO) IF_FDT_TRACE_WRITE FDT: Trace (Write Interface) 20071023
2 Importing IV_MSG_CLASS Call by reference Type reference (TYPE) ARBGB Application Area 20071023
3 Importing IV_MSG_NR Call by reference Type reference (TYPE) MSGNR Message number 20071023
4 Importing IV_MSG_V1_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20071023
5 Importing IV_MSG_V1_VALUE Call by reference Type reference (TYPE) ANY Message Variable 1 Value 20071023
6 Importing IV_MSG_V2_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20071023
7 Importing IV_MSG_V2_VALUE Call by reference Type reference (TYPE) ANY Message Variable 2 Value 20071023
8 Importing IV_MSG_V3_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20071023
9 Importing IV_MSG_V3_VALUE Call by reference Type reference (TYPE) ANY Message Variable 3 Value 20071023
10 Importing IV_MSG_V4_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20071023
11 Importing IV_MSG_V4_VALUE Call by reference Type reference (TYPE) ANY Message Variable 4 Value 20071023
12 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version) 20071023

Method WRITE_TRACE_INFO on class CL_FDT_FORMULA_ELEMENT has no exception.
Meta Relationship - Used By (full list)
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_FDT_FORMULA_ELEM_BOOLEAN Formula element: Boolean functions (AND, OR, NOT) 20061228
2 Inheritance (c INHERITING FROM c_ref)  CL_FDT_FORMULA_ELEM_CALC Formula element: Basic calculations 20061228
3 Inheritance (c INHERITING FROM c_ref)  CL_FDT_FORMULA_ELEM_CALC_ONE_P Formula element: Built in calculations with one parameter 20061227
4 Inheritance (c INHERITING FROM c_ref)  CL_FDT_FORMULA_ELEM_COMPARISON Formula element: Comparison 20061228
5 Inheritance (c INHERITING FROM c_ref)  CL_FDT_FORMULA_ELEM_CONSTANT Formula element: Constant 20061228
6 Inheritance (c INHERITING FROM c_ref)  CL_FDT_FORMULA_ELEM_ERROR Formula element: Error token in formula 20061228
7 Inheritance (c INHERITING FROM c_ref)  CL_FDT_FORMULA_ELEM_FDT_OBJECT Formula element: Access to FDT expressions and data objects 20061227
8 Inheritance (c INHERITING FROM c_ref)  CL_FDT_FORMULA_ELEM_FUNCTIONAL Formula element: Call of formula functions 20061228
9 Inheritance (c INHERITING FROM c_ref)  CL_FDT_FORMULA_ELEM_IF Formula element: IF function 20070108
10 Inheritance (c INHERITING FROM c_ref)  CL_FDT_FORMULA_ELEM_MAX Formula element: Max and min calculation 20090507
11 Inheritance (c INHERITING FROM c_ref)  CL_FDT_FORMULA_ELEM_RND Formula element: Round Calculation 20090817
History
Last changed by/on SAP  20130531 
SAP Release Created in 710