SAP ABAP Class IF_FDT_DECISION_TREE (FDT: Decision Tree)
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface composition (i COMPRISING i_ref) | IF_FDT_EXPRESSION | FDT: Expression | 20051024 |
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
| Class | IF_FDT_DECISION_TREE | |
| Short Description | FDT: Decision Tree | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | ||
| Created | 20051011 | SAP |
| Last change | 20141121 | |
| 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 interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 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
Class IF_FDT_DECISION_TREE has no interface implemented.
Friends
Class IF_FDT_DECISION_TREE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | IF_FDT_TYPES=>ID | IF_FDT_CONSTANTS=>GC_EXTY_DECISION_TREE | Expression Type "Decision Tree" | 20080417 | ||
| 2 | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_BETWEEN | Is between ... and ... | 20090111 | ||
| 3 | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_CONTAINS_ANY | Contains any | 20090111 | ||
| 4 | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_CONTAINS_NOT_ANY | Does not contain any | 20090111 | ||
| 5 | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_CONTAINS_NOT_ONLY | Does not contain only | 20090111 | ||
| 6 | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_CONTAINS_NO_STRING | Does not contain string | 20090111 | ||
| 7 | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_CONTAINS_ONLY | Contains only | 20090111 | ||
| 8 | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_CONTAINS_PATTERN | Matches pattern | 20090111 | ||
| 9 | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_CONTAINS_STRING | Contains string | 20090111 | ||
| 10 | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_EQUAL | Equal to | 20090111 | ||
| 11 | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_GREATER | Greater than | 20090111 | ||
| 12 | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_GREATER_EQUAL | Greater than or equal to | 20090111 | ||
| 13 | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_INITIAL | Is initial | 20090111 | ||
| 14 | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_LESS | Less than | 20090111 | ||
| 15 | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_LESS_EQUAL | Less than or equal to | 20090111 | ||
| 16 | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_NOT_BETWEEN | Is not between ... and ... | 20090111 | ||
| 17 | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_NOT_CONTAINS_PATTERN | Does not match pattern | 20090111 | ||
| 18 | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_NOT_EQUAL | Is not equal to | 20090111 | ||
| 19 | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_NOT_INITIAL | Is not initial | 20090111 | ||
| 20 | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_NOT_SUPPLIED | Is not supplied | 20090111 | ||
| 21 | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>OPTION | IF_FDT_ELEMENT=>GC_OPTION_SUPPLIED | Is supplied | 20090111 | ||
| 22 | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>SIGN | IF_FDT_ELEMENT=>GC_SIGN_EXCLUDE | Range limit excluded | 20090111 | ||
| 23 | Constant | Public | Type reference (TYPE) | IF_FDT_RANGE=>SIGN | IF_FDT_ELEMENT=>GC_SIGN_INCLUDE | Range limit included | 20090111 | ||
| 24 | Instance attribute | Public | Attribute reference (LIKE) | 20071228 | |||||
| 25 | Instance attribute | Public | Attribute reference (LIKE) | 20071228 | |||||
| 26 | Instance attribute | Public | Attribute reference (LIKE) | 20071228 | |||||
| 27 | Instance attribute | Public | Attribute reference (LIKE) | 20051103 | |||||
| 28 | Instance attribute | Public | Attribute reference (LIKE) | 20071228 | |||||
| 29 | Instance attribute | Public | Attribute reference (LIKE) | 20071228 | |||||
| 30 | Instance attribute | Public | Attribute reference (LIKE) | 20071228 | |||||
| 31 | Instance attribute | Public | Attribute reference (LIKE) | 20071228 | |||||
| 32 | 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
Class 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 class 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 class 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 class 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 class 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 class 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 |