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
⤷
⤷
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 | Instance attribute | Protected | Type reference (TYPE) | FMHIE_S_NODE_STRING | 20050308 | ||||
| 2 | Instance attribute | Protected | Type reference (TYPE) | FMHIE_S_NODE_STRING | 20050319 | ||||
| 3 | Instance attribute | Protected | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20050319 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | FMHIE_S_NODE_STRING | Hierarchy structure with character fields (for traversal) | 20050324 | |||
| 5 | Instance attribute | Protected | Object reference (TYPE REF TO) | DATA | 20050308 | ||||
| 6 | Instance attribute | Private | Object reference (TYPE REF TO) | DATA | 20050309 | ||||
| 7 | Instance attribute | Protected | Type reference (TYPE) | I | Relation to the last node | 20050324 | |||
| 8 | Constant | Public | Type reference (TYPE) | I | 3 | Constant for relation type | 20050324 | ||
| 9 | Constant | Public | Type reference (TYPE) | I | 4 | constant for relation type | 20050324 | ||
| 10 | Instance attribute | Private | Object reference (TYPE REF TO) | LCL_STACK | 20050309 | ||||
| 11 | 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 | Instance method | Public | Constructor | Constructor | 20050308 | |
| 2 | Instance method | Protected | Method | 20050308 | ||
| 3 | Instance method | Protected | Method | like find but with buffer interface | 20050308 | |
| 4 | Instance method | Public | Method | Gets the next node starting with the entry node end on initi | 20050308 | |
| 5 | 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 | IM_ENTRY_NODE | Call by reference | Type reference (TYPE) | ANY | Must have the same structure as line of buffer!! | 20050308 | |||
| 2 | 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 | IM_NODE_ID | Call by reference | Type reference (TYPE) | FMHIE_NODE_ID_STRING | Node ID for traversal (character based) | 20050309 | |||
| 2 | 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 | E_LINE | Call by reference | Type reference (TYPE) | ANY | 20050308 | ||||
| 2 | IM_NODE_ID | Call by reference | Type reference (TYPE) | FMHIE_NODE_ID_STRING | 20050309 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20050308 |
Method GET_NEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_LAST_NODE | Call by reference | Type reference (TYPE) | ANY | 20050324 | ||||
| 2 | E_NEXT_NODE | Call by reference | Type reference (TYPE) | ANY | 20050308 | ||||
| 3 | E_RELAT | Call by reference | Type reference (TYPE) | I | 20050324 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20050308 |
Method INIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_ENTRY_NODE | Call by reference | Type reference (TYPE) | ANY | The whole line | 20050309 | |||
| 2 | IM_ENTRY_NODE_ID | Call by reference | Type reference (TYPE) | ANY | Single field, char compatible, max len 40 | 20050309 | |||
| 3 | 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 | 20050308 | |||
| 2 | 20050308 |
History
| Last changed by/on | SAP | 20050411 |
| SAP Release Created in | 600 |