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 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
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 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 CHECK_MOVE_NODE_POSSIBLE Instance method Public Method 20131203
2 CHECK_SWITCH_NODES_POSSIBLE Instance method Public Method 20131203
3 GET_CHILDREN Instance method Public Method Get the 2 children of a condition node 20051027
4 GET_NODE_PROPERTY Instance method Public Method Get properties of a node 20051011
5 GET_ROOT_NODE Instance method Public Method Get the root node of the tree 20051011
6 GET_TREE_PROPERTY Instance method Public Method Get the properties of the tree 20081028
7 GET_TREE_STRUCTURE Instance method Public Method Get (sub-)tree structure 20051011
8 MOVE_NODE Instance method Public Method 20131203
9 SET_NODE_PROPERTY Instance method Public Method Set properties of a node 20051011
10 SET_TREE_PROPERTY Instance method Public Method Sets the properties of the tree 20081028
11 SWITCH_NODES 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 Exporting ET_MESSAGE Call by reference Type reference (TYPE) IF_FDT_TYPES=>T_MESSAGE 20131203
2 Exporting EV_MOVE_NODE_POSSIBLE Call by reference Type reference (TYPE) ABAP_BOOL 20131203
3 Importing IV_SOURCE_NODE Call by reference Type reference (TYPE) NODE_ID 20131203
4 Importing 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 Exporting ET_MESSAGE Call by reference Type reference (TYPE) IF_FDT_TYPES=>T_MESSAGE 20131203
2 Exporting EV_SWITCH_NODES_POSSIBLE Call by reference Type reference (TYPE) ABAP_BOOL 20131203
3 Importing IV_NODE1 Call by reference Type reference (TYPE) NODE_ID 20131203
4 Importing 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 Exporting EV_FALSE_NODE Call by reference Type reference (TYPE) NODE_ID FDT: The child with the "False-branch" 20051027
2 Exporting EV_TRUE_NODE Call by reference Type reference (TYPE) NODE_ID FDT: The child with the "True-branch" 20051027
3 Importing IV_PARENT_NODE Call by reference Type reference (TYPE) NODE_ID FDT: ID of a node in a tree 20051027
4 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version) 20051027
# Exception Resumable Description Created on
1 CX_FDT_INPUT 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 Exporting ER_RESULT Call by reference Object reference (TYPE REF TO) DATA Result value assigned to node (exclusive to result ID) 20090111
2 Exporting ES_RANGE Call by reference Type reference (TYPE) S_PARAM_RANGE Implicit Range (exclusive to condition) 20090111
3 Exporting EV_CONDITION Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID ID of condition assigned to iv_node (if condition node) 20051018
4 Exporting EV_IS_LEAF Call by reference Type reference (TYPE) ABAP_BOOL Flag: iv_node is a leaf 20051011
5 Exporting EV_PARENT Call by reference Type reference (TYPE) NODE_ID ID of the parent node 20051011
6 Exporting EV_RESULT Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID ID of result assigned to iv_node (if leaf) 20051018
7 Importing IV_NODE Call by reference Type reference (TYPE) NODE_ID ID of a node in a tree 20051011
8 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version) 20051011
# Exception Resumable Description Created on
1 CX_FDT_CONFIG FDT: Insufficient Configuration 20060725
2 CX_FDT_INPUT FDT: Insufficient Configuration 20051011

Method GET_ROOT_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning 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 Exporting EV_EXECUTES_ACTION Call by reference Type reference (TYPE) ABAP_BOOL True: executes action 20081028
2 Importing 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 Exporting ETS_STRUCTURE Call by reference Type reference (TYPE) TS_TREE_STRUCTURE (sub-)tree structure 20051205
2 Importing IV_PARENT_NODE Call by reference Type reference (TYPE) NODE_ID Parent node to allow for sub-tree selection (default: root) 20051011
3 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP Time Stamp (active version) 20051011
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20051011

Method MOVE_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_SOURCE_NODE Call by reference Type reference (TYPE) NODE_ID 20131203
2 Importing IV_TARGET_NODE Call by reference Type reference (TYPE) NODE_ID 20131203
# Exception Resumable Description Created on
1 CX_FDT_INPUT 20131203

Method SET_NODE_PROPERTY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_RESULT Call by reference Object reference (TYPE REF TO) DATA Result value assigned to node (exclusive to result ID) 20090111
2 Importing IS_RANGE Call by reference Type reference (TYPE) S_PARAM_RANGE Implicit Range (exclusive to condition) 20090111
3 Importing IV_CONDITION Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID ID of condition assigned to iv_node (condition node) 20051018
4 Importing IV_NODE Call by reference Type reference (TYPE) NODE_ID ID of a node in a tree 20051011
5 Importing 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 CX_FDT_INPUT FDT: Invalid Input 20051011

Method SET_TREE_PROPERTY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing 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 Importing IV_NODE1 Call by reference Type reference (TYPE) NODE_ID 20131203
2 Importing IV_NODE2 Call by reference Type reference (TYPE) NODE_ID 20131203
# Exception Resumable Description Created on
1 CX_FDT_INPUT 20131203
History
Last changed by/on SAP  20141121 
SAP Release Created in