SAP ABAP Interface IF_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 - Used By
# | Relationship type | Used by | Short Description | Created on |
---|---|---|---|---|
1 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_FDT_DECISION_TREE | FDT: Decision Tree | 20051011 |
Properties
Interface | IF_FDT_DECISION_TREE | |
Short Description | FDT: Decision Tree |
General Data
Package | SFDT_EXPRESSIONS | BRFplus: Expressions |
Created | 20051011 | SAP |
Last changed | 20141121 | |
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 | IF_FDT_CONSTANTS | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
3 | IF_FDT_ELEMENT | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
4 | IF_FDT_RANGE | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
5 | IF_FDT_SEARCH_TREE | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
6 | 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 | 20051024 |
Friends
Interface IF_FDT_DECISION_TREE has no friend.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | GC_EXTY_DECISION_TREE | Constant | Public | Type reference (TYPE) | IF_FDT_TYPES=>ID | IF_FDT_CONSTANTS=>GC_EXTY_DECISION_TREE | Expression Type "Decision Tree" | 20080417 | |
2 | GC_OPTION_BETWEEN | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_BETWEEN | Is between ... and ... | 20090111 | |
3 | GC_OPTION_CONTAINS_ANY | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_CONTAINS_ANY | Contains any | 20090111 | |
4 | GC_OPTION_CONTAINS_NOT_ANY | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_CONTAINS_NOT_ANY | Does not contain any | 20090111 | |
5 | GC_OPTION_CONTAINS_NOT_ONLY | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_CONTAINS_NOT_ONLY | Does not contain only | 20090111 | |
6 | GC_OPTION_CONTAINS_NO_STRING | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_CONTAINS_NO_STRING | Does not contain string | 20090111 | |
7 | GC_OPTION_CONTAINS_ONLY | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_CONTAINS_ONLY | Contains only | 20090111 | |
8 | GC_OPTION_CONTAINS_PATTERN | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_CONTAINS_PATTERN | Matches pattern | 20090111 | |
9 | GC_OPTION_CONTAINS_STRING | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_CONTAINS_STRING | Contains string | 20090111 | |
10 | GC_OPTION_EQUAL | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_EQUAL | Equal to | 20090111 | |
11 | GC_OPTION_GREATER | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_GREATER | Greater than | 20090111 | |
12 | GC_OPTION_GREATER_EQUAL | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_GREATER_EQUAL | Greater than or equal to | 20090111 | |
13 | GC_OPTION_INITIAL | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_INITIAL | Is initial | 20090111 | |
14 | GC_OPTION_LESS | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_LESS | Less than | 20090111 | |
15 | GC_OPTION_LESS_EQUAL | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_LESS_EQUAL | Less than or equal to | 20090111 | |
16 | GC_OPTION_NOT_BETWEEN | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_NOT_BETWEEN | Is not between ... and ... | 20090111 | |
17 | GC_OPTION_NOT_CONTAINS_PATTERN | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_NOT_CONTAINS_PATTERN | Does not match pattern | 20090111 | |
18 | GC_OPTION_NOT_EQUAL | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_NOT_EQUAL | Is not equal to | 20090111 | |
19 | GC_OPTION_NOT_INITIAL | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_NOT_INITIAL | Is not initial | 20090111 | |
20 | GC_OPTION_NOT_SUPPLIED | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_NOT_SUPPLIED | Is not supplied | 20090111 | |
21 | GC_OPTION_SUPPLIED | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_SUPPLIED | Is supplied | 20090111 | |
22 | GC_SIGN_EXCLUDE | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>SIGN | IF_FDT_ELEMENT=>GC_SIGN_EXCLUDE | Range limit excluded | 20090111 | |
23 | GC_SIGN_INCLUDE | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>SIGN | IF_FDT_ELEMENT=>GC_SIGN_INCLUDE | Range limit included | 20090111 | |
24 | MV_ACTION | Instance attribute | Public | Attribute reference (LIKE) | 20071228 | ||||
25 | MV_CUSTOMIZING_OBJECT | Instance attribute | Public | Attribute reference (LIKE) | 20071228 | ||||
26 | MV_EXPRESSION_TYPE_ID | Instance attribute | Public | Attribute reference (LIKE) | 20071228 | ||||
27 | MV_ID | Instance attribute | Public | Attribute reference (LIKE) | 20051103 | ||||
28 | MV_LOCAL_OBJECT | Instance attribute | Public | Attribute reference (LIKE) | 20071228 | ||||
29 | MV_MASTERDATA_OBJECT | Instance attribute | Public | Attribute reference (LIKE) | 20071228 | ||||
30 | MV_OBJECT_TYPE | Instance attribute | Public | Attribute reference (LIKE) | 20071228 | ||||
31 | MV_RULE | Instance attribute | Public | Attribute reference (LIKE) | 20071228 | ||||
32 | MV_SYSTEM_OBJECT | Instance attribute | Public | Attribute reference (LIKE) | 20071228 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Method | 20131203 | |
2 | ![]() |
Instance method | Public | Method | 20131203 | |
3 | ![]() |
Instance method | Public | Method | Get the 2 children of a condition node | 20051027 |
4 | ![]() |
Instance method | Public | Method | Get properties of a node | 20051011 |
5 | ![]() |
Instance method | Public | Method | Get the root node of the tree | 20051011 |
6 | ![]() |
Instance method | Public | Method | Get the properties of the tree | 20081028 |
7 | ![]() |
Instance method | Public | Method | Get (sub-)tree structure | 20051011 |
8 | ![]() |
Instance method | Public | Method | 20131203 | |
9 | ![]() |
Instance method | Public | Method | Set properties of a node | 20051011 |
10 | ![]() |
Instance method | Public | Method | Sets the properties of the tree | 20081028 |
11 | ![]() |
Instance method | Public | Method | 20131203 |
Events
Interface IF_FDT_DECISION_TREE has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | NODE_ID | Public | Type reference (TYPE) | FDT_NODE_ID | FDT: ID of a node in a tree | 20051011 | |
2 | S_PARAM_RANGE | Public | See coding | Range for Parameter | 20090111 | BEGIN OF s_param_range,
parameter_id TYPE if_fdt_types=>id,
ts_range TYPE if_fdt_range=>ts_range,
END OF s_param_range
|
|
3 | S_TREE_STRUCTURE | Public | See coding | 20051205 | BEGIN OF s_tree_structure,
parent TYPE node_id,
parent_result TYPE abap_bool, "parent condition true or false
child TYPE node_id,
END OF s_tree_structure
|
||
4 | TS_TREE_STRUCTURE | Public | See coding | 20051205 | ts_tree_structure TYPE SORTED TABLE OF s_tree_structure
WITH UNIQUE KEY parent parent_result
|
Method Signatures
Method CHECK_MOVE_NODE_POSSIBLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_MESSAGE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>T_MESSAGE | 20131203 | |||
2 | ![]() |
EV_MOVE_NODE_POSSIBLE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20131203 | |||
3 | ![]() |
IV_SOURCE_NODE | Call by reference | Type reference (TYPE) | NODE_ID | 20131203 | |||
4 | ![]() |
IV_TARGET_NODE | Call by reference | Type reference (TYPE) | NODE_ID | 20131203 |
Method CHECK_MOVE_NODE_POSSIBLE on Interface IF_FDT_DECISION_TREE has no exception.
Method CHECK_SWITCH_NODES_POSSIBLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_MESSAGE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>T_MESSAGE | 20131203 | |||
2 | ![]() |
EV_SWITCH_NODES_POSSIBLE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20131203 | |||
3 | ![]() |
IV_NODE1 | Call by reference | Type reference (TYPE) | NODE_ID | 20131203 | |||
4 | ![]() |
IV_NODE2 | Call by reference | Type reference (TYPE) | NODE_ID | 20131203 |
Method CHECK_SWITCH_NODES_POSSIBLE on Interface IF_FDT_DECISION_TREE has no exception.
Method GET_CHILDREN Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_FALSE_NODE | Call by reference | Type reference (TYPE) | NODE_ID | FDT: The child with the "False-branch" | 20051027 | ||
2 | ![]() |
EV_TRUE_NODE | Call by reference | Type reference (TYPE) | NODE_ID | FDT: The child with the "True-branch" | 20051027 | ||
3 | ![]() |
IV_PARENT_NODE | Call by reference | Type reference (TYPE) | NODE_ID | FDT: ID of a node in a tree | 20051027 | ||
4 | ![]() |
IV_TIMESTAMP | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TIMESTAMP | Time Stamp (active version) | 20051027 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
FDT: Insufficient Configuration: parent is a leaf or similar | 20051124 |
Method GET_NODE_PROPERTY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ER_RESULT | Call by reference | Object reference (TYPE REF TO) | DATA | Result value assigned to node (exclusive to result ID) | 20090111 | ||
2 | ![]() |
ES_RANGE | Call by reference | Type reference (TYPE) | S_PARAM_RANGE | Implicit Range (exclusive to condition) | 20090111 | ||
3 | ![]() |
EV_CONDITION | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | ID of condition assigned to iv_node (if condition node) | 20051018 | ||
4 | ![]() |
EV_IS_LEAF | Call by reference | Type reference (TYPE) | ABAP_BOOL | Flag: iv_node is a leaf | 20051011 | ||
5 | ![]() |
EV_PARENT | Call by reference | Type reference (TYPE) | NODE_ID | ID of the parent node | 20051011 | ||
6 | ![]() |
EV_RESULT | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | ID of result assigned to iv_node (if leaf) | 20051018 | ||
7 | ![]() |
IV_NODE | Call by reference | Type reference (TYPE) | NODE_ID | ID of a node in a tree | 20051011 | ||
8 | ![]() |
IV_TIMESTAMP | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TIMESTAMP | Time Stamp (active version) | 20051011 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
FDT: Insufficient Configuration | 20060725 | |
2 | ![]() |
FDT: Insufficient Configuration | 20051011 |
Method GET_ROOT_NODE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RV_ROOT_NODE | Value transfer | Type reference (TYPE) | NODE_ID | root node of the tree | 20051011 |
Method GET_ROOT_NODE on Interface IF_FDT_DECISION_TREE has no exception.
Method GET_TREE_PROPERTY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_EXECUTES_ACTION | Call by reference | Type reference (TYPE) | ABAP_BOOL | True: executes action | 20081028 | ||
2 | ![]() |
IV_TIMESTAMP | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TIMESTAMP | Timestamp | 20081028 |
Method GET_TREE_PROPERTY on Interface IF_FDT_DECISION_TREE has no exception.
Method GET_TREE_STRUCTURE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ETS_STRUCTURE | Call by reference | Type reference (TYPE) | TS_TREE_STRUCTURE | (sub-)tree structure | 20051205 | ||
2 | ![]() |
IV_PARENT_NODE | Call by reference | Type reference (TYPE) | NODE_ID | Parent node to allow for sub-tree selection (default: root) | 20051011 | ||
3 | ![]() |
IV_TIMESTAMP | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TIMESTAMP | Time Stamp (active version) | 20051011 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
FDT: Invalid Input | 20051011 |
Method MOVE_NODE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_SOURCE_NODE | Call by reference | Type reference (TYPE) | NODE_ID | 20131203 | |||
2 | ![]() |
IV_TARGET_NODE | Call by reference | Type reference (TYPE) | NODE_ID | 20131203 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20131203 |
Method SET_NODE_PROPERTY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IR_RESULT | Call by reference | Object reference (TYPE REF TO) | DATA | Result value assigned to node (exclusive to result ID) | 20090111 | ||
2 | ![]() |
IS_RANGE | Call by reference | Type reference (TYPE) | S_PARAM_RANGE | Implicit Range (exclusive to condition) | 20090111 | ||
3 | ![]() |
IV_CONDITION | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | ID of condition assigned to iv_node (condition node) | 20051018 | ||
4 | ![]() |
IV_NODE | Call by reference | Type reference (TYPE) | NODE_ID | ID of a node in a tree | 20051011 | ||
5 | ![]() |
IV_RESULT | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | ID of result assigned to iv_node (leaf) | 20051018 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
FDT: Invalid Input | 20051011 |
Method SET_TREE_PROPERTY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_EXECUTES_ACTION | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | True: executes action | 20081028 |
Method SET_TREE_PROPERTY on Interface IF_FDT_DECISION_TREE has no exception.
Method SWITCH_NODES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_NODE1 | Call by reference | Type reference (TYPE) | NODE_ID | 20131203 | |||
2 | ![]() |
IV_NODE2 | Call by reference | Type reference (TYPE) | NODE_ID | 20131203 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20131203 |
History
Last changed by/on | SAP | 20141121 |
SAP Release Created in | 710 |