SAP ABAP Class CL_FMHIE_TREE_TRAVERSAL (Iterator for tree traversal (only preorder right now))
Hierarchy
☛
EA-PS (Software Component) SAP Enterprise Extension Public Services
⤷ PSM-FM-BCS-BU (Application Component) Budgeting
⤷ FMBMA_E (Package) Budgeting Rules, BCS
⤷ PSM-FM-BCS-BU (Application Component) Budgeting
⤷ FMBMA_E (Package) Budgeting Rules, BCS
Properties
Class | CL_FMHIE_TREE_TRAVERSAL | |
Short Description | Iterator for tree traversal (only preorder right now) | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | FMBMA_E | Budgeting Rules, BCS |
Created | 20050308 | SAP |
Last change | 20050411 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_FMHIE_TREE_TRAVERSAL has no forward declaration.
Interfaces
Class CL_FMHIE_TREE_TRAVERSAL has no interface implemented.
Friends
Class CL_FMHIE_TREE_TRAVERSAL has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | CURRENT_NODE | Instance attribute | Protected | Type reference (TYPE) | FMHIE_S_NODE_STRING | 20050308 | |||
2 | ENTRY_NODE | Instance attribute | Protected | Type reference (TYPE) | FMHIE_S_NODE_STRING | 20050319 | |||
3 | FLG_GET_ALL_SIBLINGS | Instance attribute | Protected | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20050319 | ||
4 | LAST_NODE | Instance attribute | Protected | Type reference (TYPE) | FMHIE_S_NODE_STRING | Hierarchy structure with character fields (for traversal) | 20050324 | ||
5 | REF_NODE | Instance attribute | Protected | Object reference (TYPE REF TO) | DATA | 20050308 | |||
6 | REF_TREE | Instance attribute | Private | Object reference (TYPE REF TO) | DATA | 20050309 | |||
7 | RELAT | Instance attribute | Protected | Type reference (TYPE) | I | Relation to the last node | 20050324 | ||
8 | RELAT_KIND_PARENT | Constant | Public | Type reference (TYPE) | I | 3 | Constant for relation type | 20050324 | |
9 | RELAT_KIND_SIBLING | Constant | Public | Type reference (TYPE) | I | 4 | constant for relation type | 20050324 | |
10 | STACK | Instance attribute | Private | Object reference (TYPE REF TO) | LCL_STACK | 20050309 | |||
11 | TREE_DATA | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_BUBAS_MASS_HASHED_BUFFER | Hashed buffer with direct reference methods | 20050308 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CONSTRUCTOR | Instance method | Public | Constructor | Constructor | 20050308 |
2 | FIND | Instance method | Protected | Method | 20050308 | |
3 | GET_DATA_LINE | Instance method | Protected | Method | like find but with buffer interface | 20050308 |
4 | GET_NEXT | Instance method | Public | Method | Gets the next node starting with the entry node end on initi | 20050308 |
5 | INIT | Instance method | Public | Method | Initialize the traversing using an entry node | 20050308 |
Events
Class CL_FMHIE_TREE_TRAVERSAL has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TYPE_STACK | Public | See coding | 20050309 | type_stack TYPE TABLE OF fmhie_s_node_string
|
Method Signatures
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_ENTRY_NODE | Call by reference | Type reference (TYPE) | ANY | Must have the same structure as line of buffer!! | 20050308 | ||
2 | Importing | IM_TREE_DATA | Call by reference | Object reference (TYPE REF TO) | CL_BUBAS_MASS_HASHED_BUFFER | Hashed buffer with direct reference methods | 20050308 |
Method CONSTRUCTOR on class CL_FMHIE_TREE_TRAVERSAL has no exception.
Method FIND Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_NODE_ID | Call by reference | Type reference (TYPE) | FMHIE_NODE_ID_STRING | Node ID for traversal (character based) | 20050309 | ||
2 | Returning | R_NODE | Value transfer | Type reference (TYPE) | FMHIE_S_NODE_STRING | Hierarchy structure with character fields (for traversal) | 20050308 |
Method FIND on class CL_FMHIE_TREE_TRAVERSAL has no exception.
Method GET_DATA_LINE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_LINE | Call by reference | Type reference (TYPE) | ANY | 20050308 | |||
2 | Importing | IM_NODE_ID | Call by reference | Type reference (TYPE) | FMHIE_NODE_ID_STRING | 20050309 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NODE_NOT_FOUND | 20050308 |
Method GET_NEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_LAST_NODE | Call by reference | Type reference (TYPE) | ANY | 20050324 | |||
2 | Exporting | E_NEXT_NODE | Call by reference | Type reference (TYPE) | ANY | 20050308 | |||
3 | Exporting | E_RELAT | Call by reference | Type reference (TYPE) | I | 20050324 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | DATA_MISSING | 20050308 |
Method INIT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_ENTRY_NODE | Call by reference | Type reference (TYPE) | ANY | The whole line | 20050309 | ||
2 | Importing | IM_ENTRY_NODE_ID | Call by reference | Type reference (TYPE) | ANY | Single field, char compatible, max len 40 | 20050309 | ||
3 | Importing | IM_FLG_GET_ALL_SIBLINGS | Call by reference | Type reference (TYPE) | BOOLE_D | '' | get subtrees with entry node + its siblings | 20050319 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | DATA_MISSING | 20050308 | ||
2 | NODE_NOT_FOUND | 20050308 |
History
Last changed by/on | SAP | 20050411 |
SAP Release Created in | 600 |