SAP ABAP Class J_3RF_REP_TREECONTAINER (Tree storage)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   FI-LOC (Application Component) Localization
     J3RFTAX (Package) Tax Accounting
Properties
Class J_3RF_REP_TREECONTAINER  
Short Description Tree storage    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package J3RFTAX   Tax Accounting 
Created 20111205   SAP 
Last change 20130531   SAP 
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)
Interfaces
Class J_3RF_REP_TREECONTAINER has no interface implemented.
Friends
Class J_3RF_REP_TREECONTAINER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 INTERNAL_STORAGE Instance attribute Protected See coding 20111205
2 LAST_ACCESSED_OBJECT Instance attribute Private Type reference (TYPE) J_3RF_REP_TREE_PTR 20111205
3 NEXT_ID Instance attribute Private Type reference (TYPE) I 20111205
Methods
# Method Level Visibility Method type Description Created on
1 ADD_CHILD Instance method Public Method 20111205
2 ADD_CHILD_EX Instance method Public Method 20111205
3 CHECK_NODE_EXISTENCE_BY_REF Instance method Public Method Checks if supplied reference belongs to hierarchy 20121203
4 CONSTRUCTOR Instance method Public Constructor 20111205
5 DELETE_NODE Instance method Public Method 20111205
6 DUPLICATE_NODE Instance method Public Method 20120321
7 FREE_TREE Instance method Public Method 20111205
8 GET_ALL_CHILD_NODES Instance method Public Method 20111205
9 GET_ALL_NODES Instance method Public Method 20111205
10 GET_CHILD_COUNT Instance method Public Method 20111205
11 GET_COUNT Instance method Public Method 20111205
12 GET_FIRST_CHILD Instance method Public Method 20111205
13 GET_NEXT_CHILD Instance method Public Method 20111205
14 GET_NEXT_ID Instance method Public Method 20111205
15 GET_NODE Instance method Public Method Get node by it's ID 20111205
16 GET_NODE_BY_INDEX Instance method Public Method Get node by it's ID 20120426
17 GET_ROOT_NODE Instance method Public Method Get root node for given node 20111205
18 GET_SUBTREE Instance method Public Method Returns all nested nodes of given node 20120528
19 HAVE_CHILD_NODES Instance method Public Method Checks if given node have child nodes 20111205
20 MOVE_NODE Instance method Public Method 20111205
21 MOVE_NODE_DOWN Instance method Public Method 20111205
22 MOVE_NODE_UP Instance method Public Method 20111205
23 REBUILD_SORT_INDEX Instance method Protected Method 20111205
24 SWAP_ELEMENTS Instance method Public Method 20111205
25 UPDATE_ROOT_ID Instance method Private Method 20111205
Events
Class J_3RF_REP_TREECONTAINER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 J_3RF_REP_TREE_ELEMENT Public See coding 20111205 BEGIN OF J_3RF_REP_TREE_ELEMENT, SELF_ID TYPE I, ROOT_ID TYPE I, POSITION TYPE I, ACTUAL_NODE TYPE REF TO J_3RF_REP_TREE_NODE_INTERFACE, END OF J_3RF_REP_TREE_ELEMENT
2 J_3RF_REP_TREE_PTR Public See coding 20111205 BEGIN OF J_3RF_REP_TREE_PTR, ROOT_ID TYPE I, NODE_ID TYPE I, node_pos TYPE i, END OF J_3RF_REP_TREE_PTR
3 LT_CHILD_LIST Public See coding 20111205 lt_child_list TYPE STANDARD TABLE OF REF TO J_3RF_REP_TREE_NODE_INTERFACE
Method Signatures

Method ADD_CHILD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning INSERTED_NODE_ID Value transfer Type reference (TYPE) I 20111205
2 Importing IN_OBJ Call by reference Object reference (TYPE REF TO) J_3RF_REP_TREE_NODE_INTERFACE 20111205
3 Importing ROOT_NODE_ID Call by reference Type reference (TYPE) I 20111205

Method ADD_CHILD on class J_3RF_REP_TREECONTAINER has no exception.

Method ADD_CHILD_EX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IN_INDEX Call by reference Type reference (TYPE) I 20111205
2 Importing IN_OBJ Call by reference Object reference (TYPE REF TO) J_3RF_REP_TREE_NODE_INTERFACE 20111205
3 Importing IN_ROOT_NODE_ID Call by reference Type reference (TYPE) I 20111205
4 Importing IN_SELF_ID Call by reference Type reference (TYPE) I 20111205

Method ADD_CHILD_EX on class J_3RF_REP_TREECONTAINER has no exception.

Method CHECK_NODE_EXISTENCE_BY_REF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IN_NODE_REF Call by reference Object reference (TYPE REF TO) J_3RF_REP_HIER_OBJ Node reference 20121203
2 Returning OUT_RESULT Value transfer Type reference (TYPE) ABAP_BOOL Result of the check 20121203

Method CHECK_NODE_EXISTENCE_BY_REF on class J_3RF_REP_TREECONTAINER has no exception.

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class J_3RF_REP_TREECONTAINER has no parameter.
Method CONSTRUCTOR on class J_3RF_REP_TREECONTAINER has no exception.

Method DELETE_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DELETE_CHILDREN Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20120403
2 Importing NODE_ID Call by reference Type reference (TYPE) I 20111205

Method DELETE_NODE on class J_3RF_REP_TREECONTAINER has no exception.

Method DUPLICATE_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IN_KEEP_INDEXES Call by reference Type reference (TYPE) ABAP_BOOL Keep original indexes or create new indexes 20121113
2 Importing IN_NODE_REF Call by reference Object reference (TYPE REF TO) J_3RF_REP_HIER_OBJ Actual reference to the source node 20121102
3 Importing IN_TARGET_ROOT_REF Call by reference Object reference (TYPE REF TO) J_3RF_REP_HIER_OBJ Actual reference to the parent node 20121102
4 Exporting OUT_CLONE Call by reference Object reference (TYPE REF TO) J_3RF_REP_OBJECT Node object for xml reporting hier 20120403
5 Exporting OUT_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20120321

Method DUPLICATE_NODE on class J_3RF_REP_TREECONTAINER has no exception.

Method FREE_TREE Signature

Method FREE_TREE on class J_3RF_REP_TREECONTAINER has no parameter.
Method FREE_TREE on class J_3RF_REP_TREECONTAINER has no exception.

Method GET_ALL_CHILD_NODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CHILDS Call by reference Type reference (TYPE) LT_CHILD_LIST 20111205
2 Importing CLEAR_TAB Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Clear childs table inside method 20121205
3 Changing COUNT Call by reference Type reference (TYPE) I 20111205
4 Importing ONLY_INCLUDED Call by reference Type reference (TYPE) FLAG ABAP_FALSE Include only items with no inc.crit,or eval to true 20120614
5 Importing ONLY_MATCHING_REF Call by reference Object reference (TYPE REF TO) OBJECT Include only object that have specified ref as parent 20121112
6 Importing ROOT_ID Call by reference Type reference (TYPE) I 20111205
# Exception Resumable Description Created on
1 CX_TAXOBJECT_NOT_FOUND Object not found in hierarchy 20121113

Method GET_ALL_NODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CHILDREN Call by reference Type reference (TYPE) LT_CHILD_LIST 20111205
2 Changing COUNT Call by reference Type reference (TYPE) I 20111205

Method GET_ALL_NODES on class J_3RF_REP_TREECONTAINER has no exception.

Method GET_CHILD_COUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IN_ROOT_NODE_ID Call by reference Type reference (TYPE) I 20111205
2 Returning OUT_COUNT Value transfer Type reference (TYPE) I 20111205

Method GET_CHILD_COUNT on class J_3RF_REP_TREECONTAINER has no exception.

Method GET_COUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning COUNT Value transfer Type reference (TYPE) I 20111205

Method GET_COUNT on class J_3RF_REP_TREECONTAINER has no exception.

Method GET_FIRST_CHILD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning OUT_OBJ Value transfer Object reference (TYPE REF TO) J_3RF_REP_TREE_NODE_INTERFACE 20111205
2 Importing ROOT_ID Call by reference Type reference (TYPE) I 20111205

Method GET_FIRST_CHILD on class J_3RF_REP_TREECONTAINER has no exception.

Method GET_NEXT_CHILD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning OUT_OBJ Value transfer Object reference (TYPE REF TO) J_3RF_REP_TREE_NODE_INTERFACE 20111205
2 Importing ROOT_ID Call by reference Type reference (TYPE) I 20111205

Method GET_NEXT_CHILD on class J_3RF_REP_TREECONTAINER has no exception.

Method GET_NEXT_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning OUT_NEXTID Value transfer Type reference (TYPE) I 20111205

Method GET_NEXT_ID on class J_3RF_REP_TREECONTAINER has no exception.

Method GET_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID Call by reference Type reference (TYPE) I 20111205
2 Returning NODE Value transfer Object reference (TYPE REF TO) J_3RF_REP_TREE_NODE_INTERFACE 20111205
# Exception Resumable Description Created on
1 CX_TAXOBJECT_NOT_FOUND Parse formula family class 20120203

Method GET_NODE_BY_INDEX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID Call by reference Type reference (TYPE) I 20120426
2 Returning NODE Value transfer Object reference (TYPE REF TO) J_3RF_REP_TREE_NODE_INTERFACE 20120426
# Exception Resumable Description Created on
1 CX_TAXOBJECT_NOT_FOUND Parse formula family class 20120426

Method GET_ROOT_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID Call by reference Type reference (TYPE) I 1 20111205
2 Returning NODE Value transfer Object reference (TYPE REF TO) J_3RF_REP_TREE_NODE_INTERFACE 20111205
# Exception Resumable Description Created on
1 CX_TAXOBJECT_NOT_FOUND Object not found in hierarchy 20120322

Method GET_SUBTREE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CHILDS Call by reference Type reference (TYPE) LT_CHILD_LIST 20120528
2 Changing COUNT Call by reference Type reference (TYPE) I 20120528
3 Importing ONLY_INCLUDED Call by reference Type reference (TYPE) FLAG ABAP_FALSE Include only nodes and subnodes with included flag 20120614
4 Importing ROOT_ID Call by reference Type reference (TYPE) I 20120528

Method GET_SUBTREE on class J_3RF_REP_TREECONTAINER has no exception.

Method HAVE_CHILD_NODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning HAVE_CHILDS Value transfer Type reference (TYPE) ABAP_BOOL 20111205
2 Importing ID Call by reference Type reference (TYPE) I 20111205

Method HAVE_CHILD_NODES on class J_3RF_REP_TREECONTAINER has no exception.

Method MOVE_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IN_NODE_ID Call by reference Type reference (TYPE) I 20111205
2 Importing IN_TARGET_ROOT_ID Call by reference Type reference (TYPE) I 20111205
3 Returning OUT_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20111205
# Exception Resumable Description Created on
1 CX_TAXOBJECT_NOT_FOUND Object not found in hierarchy 20120322

Method MOVE_NODE_DOWN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IN_NODE_ID Call by reference Type reference (TYPE) I 20111205
2 Importing IN_STEPS Call by reference Type reference (TYPE) I 1 20111205
3 Exporting OUT_ERROR_OCCURED Call by reference Type reference (TYPE) ABAP_BOOL 20111205
4 Exporting OUT_OTHER_NODE_ID Call by reference Type reference (TYPE) I 20111205

Method MOVE_NODE_DOWN on class J_3RF_REP_TREECONTAINER has no exception.

Method MOVE_NODE_UP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IN_NODE_ID Call by reference Type reference (TYPE) I 20111205
2 Importing IN_STEPS Call by reference Type reference (TYPE) I 1 20111205
3 Exporting OUT_ERROR_OCCURED Call by reference Type reference (TYPE) ABAP_BOOL 20111205
4 Exporting OUT_OTHER_NODE_ID Call by reference Type reference (TYPE) I 20111205

Method MOVE_NODE_UP on class J_3RF_REP_TREECONTAINER has no exception.

Method REBUILD_SORT_INDEX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IN_ROOT_NODE_ID Call by reference Type reference (TYPE) I 20111205

Method REBUILD_SORT_INDEX on class J_3RF_REP_TREECONTAINER has no exception.

Method SWAP_ELEMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IN_ID1 Call by reference Type reference (TYPE) I 20111205
2 Importing IN_ID2 Call by reference Type reference (TYPE) I 20111205

Method SWAP_ELEMENTS on class J_3RF_REP_TREECONTAINER has no exception.

Method UPDATE_ROOT_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IN_NEW_ROOT_ID Call by reference Type reference (TYPE) I 20111205
2 Importing IN_OLD_ROOT_ID Call by reference Type reference (TYPE) I 20111205

Method UPDATE_ROOT_ID on class J_3RF_REP_TREECONTAINER has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 607