SAP ABAP Class CL_FDT_DECISION_TREE (FDT: Decision Tree)
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 - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CL_FDT_EXPRESSION | FDT: Abstract Expression Class | 20051018 |
2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_FDT_DECISION_TREE | FDT: Decision Tree | 20051011 |
Properties
Class | CL_FDT_DECISION_TREE | |
Short Description | FDT: Decision Tree | |
Super Class | CL_FDT_EXPRESSION | FDT: Abstract Expression Class |
Instantiability of a Class | 1 | Protected |
Final |
General Data
Message Class | FDT_EXPRESSIONS | |
Program status | P | SAP Standard Production Program |
Category | 0 | |
Package | SFDT_EXPRESSIONS | BRFplus: Expressions |
Created | 20051011 | SAP |
Last change | 20140121 | 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 interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
4 | ![]() |
Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
5 | ![]() |
Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
6 | ![]() |
Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | IF_FDT_DECISION_TREE | FDT: Decision Tree | 20051011 |
Friends
# | Friend | Modeled only | Created on | Description |
---|---|---|---|---|
1 | CL_FDT_FACTORY | 20060906 | FDT: Factory |
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Private | Type reference (TYPE) | TABNAME | 'FDT_EXPR_0220' | Table Name | 20070814 | |
2 | ![]() |
Constant | Private | Type reference (TYPE) | TABNAME | 'FDT_EXPR_0230' | Table Name | 20070814 | |
3 | ![]() |
Constant | Private | Type reference (TYPE) | TABNAME | 'FDT_EXPR_0231' | Table Name | 20090112 | |
4 | ![]() |
Constant | Private | Type reference (TYPE) | IF_FDT_SEARCH_TREE=>NODE_ID | '0000000001' | Natural number | 20051018 | |
5 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | IF_FDT_FACTORY | FDT: Factory | 20051011 | ||
6 | ![]() |
Instance attribute | Private | Type reference (TYPE) | S_BUFFER | Transactional Buffer | 20051018 | ||
7 | ![]() |
Instance attribute | Private | Type reference (TYPE) | S_BUFFER | Transactional Buffer | 20051018 | ||
8 | ![]() |
Instance attribute | Private | Type reference (TYPE) | TS_EXPR_CACHE | Table of expressions for prechaching | 20130606 | ||
9 | ![]() |
Instance attribute | Private | Attribute reference (LIKE) | 20051210 | ||||
10 | ![]() |
Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE: MS_BUFFER_DB is loaded | 20070813 | ||
11 | ![]() |
Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE: MS_BUFFER is loaded | 20070804 |
Methods
Events
Class CL_FDT_DECISION_TREE has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | S_BUFFER | Protected | See coding | 20051018 | BEGIN OF s_buffer,
s_tree_prop TYPE s_tree_prop,
ts_tree_struct TYPE if_fdt_decision_tree~ts_tree_structure,
ts_node_prop TYPE ts_node_prop,
END OF s_buffer
|
||
2 | S_EXPR_CACHE | Public | See coding | 20130606 | BEGIN OF s_expr_cache,
expr_id TYPE if_fdt_types=>id,
result_id TYPE if_fdt_types=>id,
result_name TYPE string,
result_type TYPE if_fdt_types=>element_type,
t_call_code type if_fdt_types=>t_source_code,
END OF s_expr_cache
|
||
3 | S_NODE_PROP | Public | See coding | 20051018 | BEGIN OF s_node_prop,
node TYPE if_fdt_decision_tree~node_id,
parent TYPE if_fdt_decision_tree~s_tree_structure-parent,
leaf TYPE abap_bool,
expression_id TYPE if_fdt_types=>id,
s_param_range TYPE cl_Fdt_expr_sv=>s_param_range,
s_result_value TYPE cl_Fdt_expr_sv=>s_value,
END OF s_node_prop
|
||
4 | S_TREE_PROP | Public | See coding | 20051018 | BEGIN OF s_tree_prop,
multiple_match TYPE abap_bool,
executes_action type abap_bool,
END OF s_tree_prop
|
||
5 | TS_EXPR_CACHE | Public | See coding | 20130606 | TS_EXPR_CACHE TYPE sorted TABLE OF s_expr_cache WITH UNIQUE KEY expr_id
|
||
6 | TS_NODE_PROP | Public | See coding | 20051018 | ts_node_prop TYPE SORTED TABLE OF s_node_prop
WITH UNIQUE KEY node
|
Method Signatures
Method CALC_CACHE_FOR_GEN Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IO_GEN_MNGR | Call by reference | Object reference (TYPE REF TO) | CL_FDT_GENERATION_MANAGER | Generation manager | 20130606 | ||
2 | ![]() |
IS_BUFFER | Call by reference | Type reference (TYPE) | S_BUFFER | Decision tree buffer | 20130606 | ||
3 | ![]() |
IV_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | Generation timestamp | 20130606 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
FDT: Invalid Input | 20130610 |
Method CHECK_NODE_PROPERTIES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_RANGE | Call by reference | Type reference (TYPE) | CL_FDT_EXPR_SV=>S_PARAM_RANGE | Implicit Range to iv_node (exclusive to condition) | 20090113 | ||
2 | ![]() |
IS_RESULT | Call by reference | Type reference (TYPE) | CL_FDT_EXPR_SV=>S_VALUE | Resulf value assigned to node (exclusive to result ID) | 20090113 | ||
3 | ![]() |
IV_CONDITION | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | ID of condition assigned to iv_node (condition node) | 20090113 | ||
4 | ![]() |
IV_NODE | Call by reference | Type reference (TYPE) | IF_FDT_DECISION_TREE=>NODE_ID | Node | 20090209 | ||
5 | ![]() |
IV_RESULT | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | ID of result assigned to iv_node (leaf) | 20090113 | ||
6 | ![]() |
IV_TIMESTAMP | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TIMESTAMP | Time Stamp (active version) | 20090113 | ||
7 | ![]() |
IV_WEAK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | ABAP_TRUE: only perform weak checks | 20090113 | |
8 | ![]() |
RT_MESSAGE | Value transfer | Type reference (TYPE) | IF_FDT_TYPES=>T_MESSAGE | Messages | 20090113 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
FDT: Abstract Exception Class | 20090120 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_FDT_DECISION_TREE has no parameter.
Method CLASS_CONSTRUCTOR on class CL_FDT_DECISION_TREE has no exception.
Method CREATE_RESULT_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EO_RESULT | Call by reference | Object reference (TYPE REF TO) | IF_FDT_RESULT | FDT: Result | 20051018 | ||
2 | ![]() |
IV_TIMESTAMP | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TIMESTAMP | 20051018 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
FDT: Insufficient Configuration | 20051018 |
Method DELETE_SUB_TREE_FROM_BUFFER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CS_BUFFER | Call by reference | Type reference (TYPE) | S_BUFFER | 20051019 | |||
2 | ![]() |
IV_PARENT | Call by reference | Type reference (TYPE) | IF_FDT_DECISION_TREE~NODE_ID | parent node | 20051019 |
Method DELETE_SUB_TREE_FROM_BUFFER on class CL_FDT_DECISION_TREE has no exception.
Method GENERATE_DECISION_TREE_PROCESS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CTS_USED_CONTEXT_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TS_USED_CONTEXT_ID | 20081218 | |||
2 | ![]() |
ET_SOURCE_CODE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>T_SOURCE_CODE | 20081218 | |||
3 | ![]() |
EV_DEEP_TRACED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20090116 | |||
4 | ![]() |
IO_GENERATION_MNGR | Call by reference | Object reference (TYPE REF TO) | CL_FDT_GENERATION_MANAGER | FDT: Generation of Classes | 20081218 | ||
5 | ![]() |
IV_CREATE_VARIABLE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20081218 | |||
6 | ![]() |
IV_FUNCTION_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | 20081218 | |||
7 | ![]() |
IV_TIMESTAMP | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TIMESTAMP | 20081218 | |||
8 | ![]() |
IV_VARIABLE_NAME | Call by reference | Type reference (TYPE) | CLIKE | 20081218 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
FDT: Error in the Generation Process | 20081218 | |
2 | ![]() |
FDT: Invalid Input | 20081218 |
Method GENERATE_SUB_TREE_PROCESS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CTS_USED_CONTEXT_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TS_USED_CONTEXT_ID | Actually used / required ID's from context in generated code | 20081218 | ||
2 | ![]() |
ET_SOURCE_CODE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>T_SOURCE_CODE | Table with Source Code | 20081218 | ||
3 | ![]() |
IO_GENERATION_MNGR | Call by reference | Object reference (TYPE REF TO) | CL_FDT_GENERATION_MANAGER | FDT: Generation of Classes | 20081218 | ||
4 | ![]() |
ITS_NODE_PROP | Call by reference | Type reference (TYPE) | TS_NODE_PROP | 20090121 | |||
5 | ![]() |
IT_TREE_STRUC | Call by reference | Type reference (TYPE) | IF_FDT_DECISION_TREE=>TS_TREE_STRUCTURE | 20090120 | |||
6 | ![]() |
IV_CACHE_NAME | Call by reference | Type reference (TYPE) | STRING | Cache name | 20130606 | ||
7 | ![]() |
IV_CURRENT_NODE | Call by reference | Type reference (TYPE) | IF_FDT_DECISION_TREE=>NODE_ID | FDT: ID of a node in a tree | 20081218 | ||
8 | ![]() |
IV_FUNCTION_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20081218 | ||
9 | ![]() |
IV_LAST_NODE_NAME | Call by reference | Type reference (TYPE) | STRING | 20090115 | |||
10 | ![]() |
IV_LAST_RESULT_NAME | Call by reference | Type reference (TYPE) | STRING | 20090115 | |||
11 | ![]() |
IV_MATCH_FOUND_NAME | Call by reference | Type reference (TYPE) | STRING | 20090115 | |||
12 | ![]() |
IV_PARENT_NODE | Call by reference | Type reference (TYPE) | IF_FDT_DECISION_TREE=>NODE_ID | FDT: ID of a node in a tree | 20081218 | ||
13 | ![]() |
IV_PARENT_RESULT | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20081218 | |||
14 | ![]() |
IV_RESULT_DO_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20090421 | ||
15 | ![]() |
IV_TIMESTAMP | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TIMESTAMP | Time Stamp (active version) | 20081218 | ||
16 | ![]() |
IV_VARIABLE_NAME | Call by reference | Type reference (TYPE) | CLIKE | 20081218 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
FDT: Error in the Generation Process | 20090421 | |
2 | ![]() |
FDT: Invalid Input | 20090305 |
Method GET_MAX_NODE_ID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_BUFFER | Call by reference | Type reference (TYPE) | S_BUFFER | 20131203 | |||
2 | ![]() |
RV_MAX_NODE_ID | Value transfer | Type reference (TYPE) | IF_FDT_DECISION_TREE=>NODE_ID | 20131203 |
Method GET_MAX_NODE_ID on class CL_FDT_DECISION_TREE has no exception.
Method LOAD_BUFFER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_TIMESTAMP | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TIMESTAMP | Timestamp of active version | 20070811 | ||
2 | ![]() |
IV_VERSION | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>VERSION | Version | 20070804 | ||
3 | ![]() |
RS_BUFFER | Value transfer | Type reference (TYPE) | S_BUFFER | Transactional Data Buffer | 20051018 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
FDT: Invalid Input | 20070811 |
Method LOAD_BUFFER_DB Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_VERSION | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>VERSION | 20060127 | |||
2 | ![]() |
RS_BUFFER | Value transfer | Type reference (TYPE) | S_BUFFER | Transactional Data Buffer | 20051018 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
FDT: Invalid Input | 20051018 |
Method PARSE_NODE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IO_DOCUMENT | Call by reference | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | IF_IXML_DOCUMENT | 20090313 | ||
2 | ![]() |
IO_PARENT | Call by reference | Object reference (TYPE REF TO) | IF_IXML_ELEMENT | 20090313 | |||
3 | ![]() |
IS_BUFFER | Call by reference | Type reference (TYPE) | S_BUFFER | 20090313 | |||
4 | ![]() |
IS_HEADER | Call by reference | Type reference (TYPE) | IF_FDT_LEAN_TRACE=>S_HEADER | Trace Header | 20090313 | ||
5 | ![]() |
IS_RECORD | Call by reference | Type reference (TYPE) | IF_FDT_LEAN_TRACE=>S_RECORD | Trace Record for Tree Expr. | 20090313 | ||
6 | ![]() |
ITS_RECORD | Call by reference | Type reference (TYPE) | IF_FDT_LEAN_TRACE=>TS_RECORD | 20090317 | |||
7 | ![]() |
ITS_TRUE_PATH | Call by reference | Type reference (TYPE) | IF_FDT_DECISION_TREE=>TS_TREE_STRUCTURE | 20090313 | |||
8 | ![]() |
IT_HEADER | Call by reference | Type reference (TYPE) | IF_FDT_LEAN_TRACE=>T_HEADER | Trace Headers | 20090313 | ||
9 | ![]() |
IV_NODE | Call by reference | Type reference (TYPE) | FDT_NODE_ID | FDT: ID of a node in a tree | 20090313 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
FDT: Invalid Input | 20090313 | |
2 | ![]() |
FDT: System Failure | 20090422 |
Method PARSE_TREE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IO_DOCUMENT | Call by reference | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | IF_IXML_DOCUMENT | 20090313 | ||
2 | ![]() |
IO_PARENT | Call by reference | Object reference (TYPE REF TO) | IF_IXML_ELEMENT | 20090313 | |||
3 | ![]() |
IS_BUFFER | Call by reference | Type reference (TYPE) | S_BUFFER | 20090313 | |||
4 | ![]() |
IS_HEADER | Call by reference | Type reference (TYPE) | IF_FDT_LEAN_TRACE=>S_HEADER | Trace Header for Tree Expr | 20090313 | ||
5 | ![]() |
IS_RECORD | Call by reference | Type reference (TYPE) | IF_FDT_LEAN_TRACE=>S_RECORD | Trace Record for Tree Expr | 20090313 | ||
6 | ![]() |
ITS_RECORD | Call by reference | Type reference (TYPE) | IF_FDT_LEAN_TRACE=>TS_RECORD | 20090317 | |||
7 | ![]() |
IT_HEADER | Call by reference | Type reference (TYPE) | IF_FDT_LEAN_TRACE=>T_HEADER | Trace Headers for complete traces | 20090313 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
FDT: Invalid Input | 20090313 | |
2 | ![]() |
FDT: System Failure | 20090422 |
Method SAVE_BUFFER_DB Signature
Method SAVE_BUFFER_DB on class CL_FDT_DECISION_TREE has no parameter.
Method SAVE_BUFFER_DB on class CL_FDT_DECISION_TREE has no exception.
Method SET_BUFFER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_BUFFER | Call by reference | Type reference (TYPE) | S_BUFFER | Transactional Data Buffer | 20051018 | ||
2 | ![]() |
IV_CHECK_NODE_PROP | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20051018 | ||
3 | ![]() |
IV_CHECK_STRUCT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20051018 | ||
4 | ![]() |
IV_CHECK_TREE_PROP | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20051018 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
FDT: Invalid Input | 20051018 |
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 710 |