SAP ABAP Class CL_FMHIE_NODES_DB_ACCESS (Services for DB access of hier. nodes)
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_NODES_DB_ACCESS | |
| Short Description | Services for DB access of hier. nodes | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | FMBMA_E | Budgeting Rules, BCS |
| Created | 20050303 | SAP |
| Last change | 20050615 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_FMHIE_NODES_DB_ACCESS has no forward declaration.
Interfaces
Class CL_FMHIE_NODES_DB_ACCESS has no interface implemented.
Friends
Class CL_FMHIE_NODES_DB_ACCESS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Protected | Type reference (TYPE) | I | 5000 | Maximum buffer size | 20050304 | ||
| 2 | Static Attribute | Protected | Type reference (TYPE) | I | 0 | Current buffer size | 20050304 | ||
| 3 | Static Attribute | Protected | Type reference (TYPE) | T_CHILDREN | Hashed table buffer: all children | 20050304 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Protected | Method | Read buffer table of children | 20050304 | |
| 2 | Static method | Public | Method | Reads the nodes for given objects table (no buffering) | 20050523 | |
| 3 | Static method | Public | Method | Reads the nodes for given objects table (no buffering) | 20050331 | |
| 4 | Static method | Public | Method | Reads hierarchy roots (use with caution - full table scan) | 20050524 | |
| 5 | Static method | Public | Method | Read single hierarchy node | 20050303 | |
| 6 | Static method | Public | Method | Read complete sub-tree of nodes | 20050303 | |
| 7 | Static method | Protected | Method | Refresh buffer table of children | 20050304 | |
| 8 | Static method | Public | Method | Save a list of hierarchy nodes | 20050303 | |
| 9 | Static method | Protected | Method | Update line in the buffer table of children | 20050304 |
Events
Class CL_FMHIE_NODES_DB_ACCESS has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | S_CHILDREN | Protected | See coding | Structure for table buffer: all children | 20050304 | BEGIN OF s_children,
hie_id TYPE fmhie_s_hie_id_key,
parent TYPE fmhienodes-parent,
children TYPE fmhie_t_node,
END OF s_children
|
|
| 2 | T_CHILDREN | Protected | See coding | Hashed table buffer: all children | 20050304 | t_children TYPE HASHED TABLE OF s_children
WITH UNIQUE KEY hie_id parent
|
Method Signatures
Method READ_CHILDREN_BUFFER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_T_CHILDREN | Call by reference | Type reference (TYPE) | FMHIE_T_NODE | Table of hierarchy nodes (of a given hierarchy ID) | 20050304 | |||
| 2 | IM_PARENT | Call by reference | Type reference (TYPE) | FMHIENODES-PARENT | Object number for FM budgeting and AVC | 20050304 | |||
| 3 | IM_S_HIE_ID_KEY | Call by reference | Type reference (TYPE) | FMHIE_S_HIE_ID_KEY | Keys for Hierarchy ID | 20050304 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | No entry found in the read buffer | 20050304 |
Method READ_NODES_WITH_DIM_SEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_REF_TREE_DATA | Call by reference | Object reference (TYPE REF TO) | CL_FMHIE_TREE_DATA | Handling of hierarchical data in memory | 20050523 | |||
| 2 | E_T_NODES | Call by reference | Type reference (TYPE) | FMHIE_T_NODE | Table of hierarchy nodes (of a given hierarchy ID) | 20050523 | |||
| 3 | E_T_NODES_ADDRESSES | Call by reference | Type reference (TYPE) | FMKU_T_DIMPART | Table with FM account assignments | 20050523 | |||
| 4 | IM_REF_TREE_DATA | Call by reference | Object reference (TYPE REF TO) | CL_FMHIE_TREE_DATA | Handling of hierarchical data in memory | 20050523 | |||
| 5 | IM_SELCRITTABS | Call by reference | Type reference (TYPE) | FMBS_S_DIMSELTABS | Select options for dimensions | 20050523 | |||
| 6 | IM_S_HIE_ID_KEY | Call by reference | Type reference (TYPE) | FMHIE_S_HIE_ID_KEY | Keys for Hierarchy ID | 20050523 |
Method READ_NODES_WITH_DIM_SEL on class CL_FMHIE_NODES_DB_ACCESS has no exception.
Method READ_NODES_WITH_OBJ_SEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_REF_TREE_DATA | Call by reference | Object reference (TYPE REF TO) | CL_FMHIE_TREE_DATA | Handling of hierarchical data in memory | 20050331 | |||
| 2 | E_T_NODES | Call by reference | Type reference (TYPE) | FMHIE_T_NODE | Table of hierarchy nodes (of a given hierarchy ID) | 20050331 | |||
| 3 | IM_REF_TREE_DATA | Call by reference | Object reference (TYPE REF TO) | CL_FMHIE_TREE_DATA | Handling of hierarchical data in memory | 20050331 | |||
| 4 | IM_S_HIE_ID_KEY | Call by reference | Type reference (TYPE) | FMHIE_S_HIE_ID_KEY | Keys for Hierarchy ID | 20050331 | |||
| 5 | IM_T_NODES | Call by reference | Type reference (TYPE) | FMHIE_T_NODE | 20050331 |
Method READ_NODES_WITH_OBJ_SEL on class CL_FMHIE_NODES_DB_ACCESS has no exception.
Method READ_ROOTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_REF_TREE_DATA | Call by reference | Object reference (TYPE REF TO) | CL_FMHIE_TREE_DATA | Handling of hierarchical data in memory | 20050524 | |||
| 2 | E_T_ROOTS | Call by reference | Type reference (TYPE) | FMHIE_T_NODE | Table of hierarchy nodes (of a given hierarchy ID) | 20050524 | |||
| 3 | E_T_ROOTS_ADDRESSES | Call by reference | Type reference (TYPE) | FMKU_T_DIMPART | Table with FM account assignments | 20050524 | |||
| 4 | IM_REF_TREE_DATA | Call by reference | Object reference (TYPE REF TO) | CL_FMHIE_TREE_DATA | Handling of hierarchical data in memory | 20050524 | |||
| 5 | IM_SELCRITTABS | Call by reference | Type reference (TYPE) | FMBS_S_DIMSELTABS | Select options for dimensions | 20050524 | |||
| 6 | IM_S_HIE_ID_KEY | Call by reference | Type reference (TYPE) | FMHIE_S_HIE_ID_KEY | Keys for Hierarchy ID | 20050524 |
Method READ_ROOTS on class CL_FMHIE_NODES_DB_ACCESS has no exception.
Method READ_SINGLE_NODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_REF_TREE_DATA | Call by reference | Object reference (TYPE REF TO) | CL_FMHIE_TREE_DATA | Handling of hierarchical data in memory | 20050308 | |||
| 2 | EX_S_NODE | Call by reference | Type reference (TYPE) | FMHIE_S_NODE | Node of the Hierarchy | 20050303 | |||
| 3 | IM_FLG_BYPASS_BUFFER | Call by reference | Type reference (TYPE) | XFELD | ' ' | Flag: By-pass read buffer | 20050304 | ||
| 4 | IM_FLG_REFRESH_BUFFER | Call by reference | Type reference (TYPE) | XFELD | ' ' | Flag: Refresh read buffer | 20050304 | ||
| 5 | IM_NODE_OBJNR | Call by reference | Type reference (TYPE) | FMHIENODES-NODE_OBJNR | Object number for FM budgeting and AVC | 20050303 | |||
| 6 | IM_S_HIE_ID_KEY | Call by reference | Type reference (TYPE) | FMHIE_S_HIE_ID_KEY | Keys for Hierarchy ID | 20050303 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Specified node does not exist | 20050303 |
Method READ_SUB_TREE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_REF_TREE_DATA | Call by reference | Object reference (TYPE REF TO) | CL_FMHIE_TREE_DATA | Handling of hierarchical data in memory | 20050308 | |||
| 2 | EX_T_NODES | Call by reference | Type reference (TYPE) | FMHIE_T_NODE | Table of hierarchy nodes (of a given hierarchy ID) | 20050303 | |||
| 3 | IM_FIRST_NODE_OBJNR | Call by reference | Type reference (TYPE) | FMHIENODES-NODE_OBJNR | Object number for FM budgeting and AVC | 20050303 | |||
| 4 | IM_FLG_BYPASS_BUFFER | Call by reference | Type reference (TYPE) | XFELD | ' ' | Flag: By-pass read buffer | 20050304 | ||
| 5 | IM_FLG_DO_NOT_UPDATE_BUFFER | Call by reference | Type reference (TYPE) | XFELD | ' ' | Flag: Do not update the read buffer, if new line | 20050308 | ||
| 6 | IM_FLG_INCLUDE_FIRST_NODE | Call by reference | Type reference (TYPE) | XFELD | ' ' | Flag: Include the first (entry) node into the result | 20050311 | ||
| 7 | IM_FLG_REFRESH_BUFFER | Call by reference | Type reference (TYPE) | XFELD | ' ' | Flag: Refresh read buffer | 20050304 | ||
| 8 | IM_MAX_NUMBER_OF_LEVELS | Call by reference | Type reference (TYPE) | I | Maximum number of subordinate levels to be read | 20050303 | |||
| 9 | IM_S_HIE_ID_KEY | Call by reference | Type reference (TYPE) | FMHIE_S_HIE_ID_KEY | Keys for Hierarchy ID | 20050303 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error during DB access | 20050303 |
Method REFRESH_CHILDREN_BUFFER Signature
Method REFRESH_CHILDREN_BUFFER on class CL_FMHIE_NODES_DB_ACCESS has no parameter.
Method REFRESH_CHILDREN_BUFFER on class CL_FMHIE_NODES_DB_ACCESS has no exception.
Method SAVE_NODES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_REF_TREE_DATA_DELETE | Call by reference | Object reference (TYPE REF TO) | CL_FMHIE_TREE_DATA | Handling of hierarchical data in memory | 20050308 | |||
| 2 | IM_REF_TREE_DATA_UPDATE | Call by reference | Object reference (TYPE REF TO) | CL_FMHIE_TREE_DATA | Handling of hierarchical data in memory | 20050308 | |||
| 3 | IM_S_HIE_ID_KEY | Call by reference | Type reference (TYPE) | FMHIE_S_HIE_ID_KEY | Keys for Hierarchy ID | 20050303 | |||
| 4 | IM_T_DELETE_NODES | Call by reference | Type reference (TYPE) | FMHIE_T_NODE | Table of hierarchy nodes (of a given hierarchy ID) | 20050303 | |||
| 5 | IM_T_DELETE_NODE_OBJNRS | Call by reference | Type reference (TYPE) | FMHIE_T_NODE_OBJNR | Table of Hierarchy Nodes (Only Object Numbers) | 20050303 | |||
| 6 | IM_T_UPDATE_NODES | Call by reference | Type reference (TYPE) | FMHIE_T_NODE | Table of hierarchy nodes (of a given hierarchy ID) | 20050303 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error during DB access | 20050303 |
Method UPDATE_CHILDREN_BUFFER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_S_BUFFER_LINE | Call by reference | Type reference (TYPE) | S_CHILDREN | Structure for table buffer: all children | 20050304 |
Method UPDATE_CHILDREN_BUFFER on class CL_FMHIE_NODES_DB_ACCESS has no exception.
History
| Last changed by/on | SAP | 20050615 |
| SAP Release Created in | 600 |