SAP ABAP Interface IF_FDT_FORMULA (FDT: Formula)
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 Interface implementation (CLASS c. INTERFACES i_ref)  CL_FDT_FORMULA FDT: Formula 20051031
Properties
Interface IF_FDT_FORMULA  
Short Description FDT: Formula    
General Data
Package SFDT_EXPRESSIONS   BRFplus: Expressions 
Created 20051031   SAP 
Last changed 20130531   SAP 
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 IF_FDT_CONSTANTS Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
2 IF_FDT_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
# Interface Abstract Final Description Created on
1 IF_FDT_EXPRESSION FDT: Expression 20051031
Friends
Interface IF_FDT_FORMULA has no friend.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_EXTY_FORMULA Constant Public Type reference (TYPE) IF_FDT_TYPES=>ID IF_FDT_CONSTANTS=>GC_EXTY_FORMULA Expression Type "Formula" 20080417
2 GC_FOBU_TYPE_BOOLEAN Constant Public Type reference (TYPE) SFBE_SIMPLE_TOKEN-TYPE 'FDT_BOOLEAN' FoBuEv: Type Name 20101217
3 GC_FOBU_TYPE_CURRENCY Constant Public Type reference (TYPE) SFBE_SIMPLE_TOKEN-TYPE 'FDT_CURRENCY' FoBuEv: Type Name 20101217
4 GC_FOBU_TYPE_UNIT Constant Public Type reference (TYPE) SFBE_SIMPLE_TOKEN-TYPE 'FDT_UNIT' FoBuEv: Type Name 20101217
5 GC_FUNC_CATEG_DATETIME Constant Public Type reference (TYPE) S_FUNCTIONAL_CATEG-CATEGORY 'FDT_DATE_TIME' Functional category (formula function) 20090721
6 GC_FUNC_CATEG_MATH Constant Public Type reference (TYPE) S_FUNCTIONAL_CATEG-CATEGORY 'FDT_MATH' Functional category (formula function) 20100422
7 GC_FUNC_CATEG_MISC Constant Public Type reference (TYPE) S_FUNCTIONAL_CATEG-CATEGORY 'FDT_MISCELLANEOUS' Functional category (formula function) 20090721
8 GC_FUNC_CATEG_STRING Constant Public Type reference (TYPE) S_FUNCTIONAL_CATEG-CATEGORY 'FDT_STRING' Functional category (formula function) 20100422
9 GC_FUNC_CATEG_SYSTEM Constant Public Type reference (TYPE) S_FUNCTIONAL_CATEG-CATEGORY 'FDT_SYSTEM' Functions category 20090721
10 GC_FUNC_CATEG_TABLE Constant Public Type reference (TYPE) S_FUNCTIONAL_CATEG-CATEGORY 'FDT_TABLE' Functional category (formula function) 20090721
11 GC_TOKEN_TYPE_BRACKET Constant Public Type reference (TYPE) S_TOKEN-TOKEN_TYPE 'BR' Token type bracket 20060122
12 GC_TOKEN_TYPE_COMMA Constant Public Type reference (TYPE) S_TOKEN-TOKEN_TYPE 'CA' Token type comma (separator for functional parameters) 20060122
13 GC_TOKEN_TYPE_COMMENT Constant Public Type reference (TYPE) S_TOKEN-TOKEN_TYPE 'CM' Token type comment 20060122
14 GC_TOKEN_TYPE_CONST_AMOUNT Constant Public Type reference (TYPE) S_TOKEN-TOKEN_TYPE 'AM' Token type amount constant 20060406
15 GC_TOKEN_TYPE_CONST_BOOLEAN Constant Public Type reference (TYPE) S_TOKEN-TOKEN_TYPE 'BO' Token type boolean constant 20060120
16 GC_TOKEN_TYPE_CONST_CURRENCY Constant Public Type reference (TYPE) S_TOKEN-TOKEN_TYPE 'CU' Token type amount constant 20101001
17 GC_TOKEN_TYPE_CONST_NUM Constant Public Type reference (TYPE) S_TOKEN-TOKEN_TYPE 'NU' Token type numeric constant 20060120
18 GC_TOKEN_TYPE_CONST_QUANTITY Constant Public Type reference (TYPE) S_TOKEN-TOKEN_TYPE 'QU' Token type quantity constant 20060406
19 GC_TOKEN_TYPE_CONST_STRING Constant Public Type reference (TYPE) S_TOKEN-TOKEN_TYPE 'ST' Token type string constant 20060120
20 GC_TOKEN_TYPE_CONST_UNIT Constant Public Type reference (TYPE) S_TOKEN-TOKEN_TYPE 'UN' Token type string constant 20101001
21 GC_TOKEN_TYPE_DATA_OBJECT Constant Public Type reference (TYPE) S_TOKEN-TOKEN_TYPE 'DO' Token type FDT data object 20060120
22 GC_TOKEN_TYPE_ERROR Constant Public Type reference (TYPE) S_TOKEN-TOKEN_TYPE 'ER' Token type error - token that causes syntax error 20060122
23 GC_TOKEN_TYPE_EXPRESSION Constant Public Type reference (TYPE) S_TOKEN-TOKEN_TYPE 'EX' Token type FDT expression 20060120
24 GC_TOKEN_TYPE_FUNCTIONAL Constant Public Type reference (TYPE) S_TOKEN-TOKEN_TYPE 'FU' Token type functional 20060120
25 GC_TOKEN_TYPE_INFIX_OP Constant Public Type reference (TYPE) S_TOKEN-TOKEN_TYPE 'IO' Token type infix operator 20060120
26 GC_TOKEN_TYPE_LINEFEED Constant Public Type reference (TYPE) S_TOKEN-TOKEN_TYPE 'LF' Token type linefeed 20060122
27 GC_TOKEN_TYPE_WHITESPACE Constant Public Type reference (TYPE) S_TOKEN-TOKEN_TYPE 'SP' Token type whitespace 20110608
28 MV_ACTION Instance attribute Public Attribute reference (LIKE) 20071228
29 MV_CUSTOMIZING_OBJECT Instance attribute Public Attribute reference (LIKE) 20071228
30 MV_EXPRESSION_TYPE_ID Instance attribute Public Attribute reference (LIKE) 20071228
31 MV_ID Instance attribute Public Attribute reference (LIKE) 20051103
32 MV_LOCAL_OBJECT Instance attribute Public Attribute reference (LIKE) 20071228
33 MV_MASTERDATA_OBJECT Instance attribute Public Attribute reference (LIKE) 20071228
34 MV_OBJECT_TYPE Instance attribute Public Attribute reference (LIKE) 20071228
35 MV_RULE Instance attribute Public Attribute reference (LIKE) 20071228
36 MV_SYSTEM_OBJECT Instance attribute Public Attribute reference (LIKE) 20071228
Methods
# Method Level Visibility Method type Description Created on
1 GET_ERROR_TOKEN Instance method Public Method Get information on erroneous formula part after checking 20080728
2 GET_FORMULA Instance method Public Method Get formula 20051108
3 GET_FUNCTIONALS Instance method Public Method Get formula functions (functional, can be used in formula) 20060123
4 GET_FUNCTIONAL_CATEGORIES Instance method Public Method Get formula function categories 20081205
5 GET_OPERATORS Instance method Public Method Get operators that can be used in formula 20060123
6 SET_FORMULA Instance method Public Method Set formula 20051108
Events
Interface IF_FDT_FORMULA has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 FORMULA Public Type reference (TYPE) STRING Formula (string representation) 20051108
2 NODE_ID Public Type reference (TYPE) FDT_NODE_ID FDT: ID of a node in a tree 20120711
3 S_ERROR_TOKEN Public See coding Information about erroneous formula part 20080728 BEGIN OF s_error_token, tab_index TYPE i, string_from TYPE i, string_to TYPE i, message TYPE if_fdt_types=>s_message, END OF s_error_token
4 S_FUNCTIONAL Public See coding Functional (formula function, for UI) 20060123 BEGIN OF s_functional, category TYPE fdt_formula_function_categ, token_type TYPE fdt_formula_token_type, token TYPE string, description TYPE string, s_sapscript_object TYPE if_fdt_types=>s_sapscript_object, END OF s_functional
5 S_FUNCTIONAL_CATEG Public See coding Functional category (formula function) 20060713 BEGIN OF s_functional_categ, category TYPE fdt_formula_function_categ, description TYPE string, parent type fdt_formula_function_categ, END OF s_functional_categ
6 S_FUNCTIONAL_DEF Public See coding Functional Definition (formula function) 20060713 BEGIN OF s_functional_def, category TYPE fdt_formula_function_categ, token TYPE sfbefsym, class TYPE seoclsname, method TYPE seocmpname, type TYPE sfbetype, END OF s_functional_def
7 S_OPERATOR Public See coding Operator 20060123 BEGIN OF s_operator, token_type TYPE fdt_formula_token_type, token TYPE string, description TYPE string, END OF s_operator
8 S_TOKEN Public See coding Formula token 20060321 BEGIN OF s_token, token_type TYPE fdt_formula_token_type, token TYPE string, add_info TYPE string, END OF s_token
9 T_FUNCTIONAL Public See coding Functionals table (formula function, for UI) 20060123 t_functional TYPE STANDARD TABLE OF s_functional
10 T_FUNCTIONAL_CATEG Public See coding Functional categories (formula function) 20060713 t_functional_categ TYPE STANDARD TABLE OF s_functional_categ
11 T_FUNCTIONAL_DEF Public See coding Functional Definitions (formula function) 20060713 t_functional_def TYPE STANDARD TABLE OF s_functional_def
12 T_OPERATOR Public See coding Operator table 20060123 t_operator TYPE STANDARD TABLE OF s_operator
13 T_TOKEN Public See coding Formula token table 20060321 t_token TYPE STANDARD TABLE OF s_token
Method Signatures

Method GET_ERROR_TOKEN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_ERROR_TOKEN Value transfer Type reference (TYPE) S_ERROR_TOKEN Information about erroneous formula part 20080728

Method GET_ERROR_TOKEN on Interface IF_FDT_FORMULA has no exception.

Method GET_FORMULA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_TOKEN Call by reference Type reference (TYPE) T_TOKEN Formula token table 20060321
2 Exporting EV_FORMULA Call by reference Type reference (TYPE) FORMULA Formula (string representation) 20051108
3 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version) 20051108
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20070804

Method GET_FUNCTIONALS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FUNCTIONAL Call by reference Type reference (TYPE) T_FUNCTIONAL Formula Function (functionals, can be used in formula) 20060123
2 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version) 20060123
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20070804

Method GET_FUNCTIONAL_CATEGORIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FUNCTIONAL_CATEGORY Call by reference Type reference (TYPE) T_FUNCTIONAL_CATEG Functional categories (formula function) 20081205
2 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version) 20081205
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20081205

Method GET_OPERATORS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_OPERATOR Call by reference Type reference (TYPE) T_OPERATOR Operators that can be used in formula 20060123
2 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version) 20060123
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20070804

Method SET_FORMULA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_TOKEN Call by reference Type reference (TYPE) T_TOKEN Formula token table 20060321
2 Importing IV_FORMULA Call by reference Type reference (TYPE) FORMULA Formula (string representation) 20051108
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20051108
History
Last changed by/on SAP  20130531 
SAP Release Created in 710