Hierarchy
⤷ PSM-FM-BCS-BU (Application Component) Budgeting
⤷ FMBMA_E (Package) Budgeting Rules, BCS
Properties
Class | CL_FMHIE_TREE | |
Short Description | Hierarchy service class for maintenance (one ID) | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | FMBMA_E | Budgeting Rules, BCS |
Created | 20050310 | SAP |
Last change | 20050615 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_FMHIE_TREE has no forward declaration.
Interfaces
Class CL_FMHIE_TREE has no interface implemented.
Friends
Class CL_FMHIE_TREE has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | BUFF_DEL | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_BUBAS_MASS_HASHED_BUFFER | deleted nodes | 20050316 | ||
2 | BUFF_INS | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_BUBAS_MASS_HASHED_BUFFER | inserted nodes | 20050316 | ||
3 | CON_ENQ_MAX | Constant | Public | Type reference (TYPE) | SYTABIX | 500 | How many before excl. enq. | 20050316 | |
4 | CON_MSG_CONTEXT | Constant | Public | Type reference (TYPE) | BUBAS_S_MSG-CONTEXT-AREA | 'MD' | Area | 20050318 | |
5 | ENQ_HIE_ID | Instance attribute | Protected | Type reference (TYPE) | ENQMODE | Lock mode (space = no lock) | 20050316 | ||
6 | HEADER | Instance attribute | Protected | Type reference (TYPE) | FMHIE_S_HIE_ID_KEY | Keys for Hierarchy ID | 20050315 | ||
7 | HIE_ID | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_FMHIE_HIE_ID | Service Class for Hierarchy IDs | 20050315 | ||
8 | INS_MODE_SIBLING | Constant | Public | Type reference (TYPE) | I | 2 | 20050404 | ||
9 | INS_MODE_SON | Constant | Public | Type reference (TYPE) | I | 1 | 20050404 | ||
10 | MD_CHECKER | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_FM_MD_CHECKER_HIE | 20050315 | |||
11 | OFF | Constant | Public | Type reference (TYPE) | BOOLE_D | '' | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20050311 | |
12 | ON | Constant | Public | Type reference (TYPE) | BOOLE_D | 'X' | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20050311 | |
13 | TREE | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_FMHIE_TREE_DATA | Handling of hierarchical data in memory | 20050316 | ||
14 | T_ENQ_PATH | Instance attribute | Protected | Type reference (TYPE) | T_ENTRY_NODE_PATH | Enqueued nodes with paths | 20050316 | ||
15 | T_ENTRY_NODE | Instance attribute | Protected | Type reference (TYPE) | TS_PATH | Sorted (by level) table of entry nodes | 20050316 | ||
16 | T_ENTRY_PATH | Instance attribute | Protected | Type reference (TYPE) | T_ENTRY_NODE_PATH | Hashed table of entry nodes with path | 20050316 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CONSTRUCTOR | Instance method | Public | Constructor | Keys for Hierarchy ID | 20050315 |
2 | COPY_ALL | Instance method | Public | Method | Direct copy of the whole instance without any checks | 20050405 |
3 | DB_COUNT | Instance method | Public | Method | Count of the database entries for the instance header | 20050510 |
4 | DB_GET_PATH | Instance method | Protected | Method | 20050315 | |
5 | DB_READ_ADDITIONAL | Instance method | Public | Method | Read additional data (no overwrite possible) | 20050317 |
6 | DB_READ_INITIAL | Instance method | Public | Method | 20050317 | |
7 | DB_READ_INITIAL_WITH_DIM_SEL | Instance method | Public | Method | 20050524 | |
8 | DB_READ_MISSING | Instance method | Public | Method | Read additional data (no overwrite possible) | 20050317 |
9 | DB_READ_NODE | Instance method | Protected | Method | 20050311 | |
10 | DB_READ_SUBTREE | Instance method | Protected | Method | Reads a sub tree with one entry node | 20050317 |
11 | DB_SAVE | Instance method | Public | Method | save the instance to database (includes commit) | 20050319 |
12 | DELETE_NODE | Instance method | Public | Method | Deletes one node from hierarchy | 20050318 |
13 | DELETE_SUBTREE | Instance method | Public | Method | Deletes one node from hierarchy | 20050319 |
14 | DEQUEUE_ALL | Instance method | Public | Method | dequeues all enqueued data in the instance | 20050319 |
15 | DEQUEUE_NODE | Instance method | Protected | Method | Enqueue one node | 20050315 |
16 | DEQUEUE_WITH_ENTRY_NODES | Instance method | Protected | Method | Dequeue the paths from t_enq_path, ID shared | 20050316 |
17 | DEQUEUE_WITH_PATH | Instance method | Protected | Method | Enqueue Entry node Exclusive, Hie ID shared, Path Shared | 20050316 |
18 | ENQUEUE_NODE | Instance method | Protected | Method | Enqueue one node | 20050315 |
19 | ENQUEUE_SWITCH_TO_EXCLUSIVE | Instance method | Public | Method | Enqueues the whole id exclusively | 20050316 |
20 | ENQUEUE_WITH_ENTRY_NODES | Instance method | Protected | Method | Enqueue Entry node Exclusive, Hie ID shared, Path Shared | 20050316 |
21 | ENQUEUE_WITH_PATH | Instance method | Protected | Method | Enqueue Entry node Exclusive, Hie ID shared, Path Shared | 20050316 |
22 | GENERATE_TREE | Instance method | Public | Method | Generates a tree | 20050328 |
23 | GET_ADDRESS | Instance method | Public | Method | 20050316 | |
24 | GET_OBJNR | Instance method | Protected | Method | 20050311 | |
25 | GET_OBJNR_MULTI | Instance method | Protected | Method | 20050318 | |
26 | GET_TREE_REFERENCE | Instance method | Public | Method | For ALV proxy | 20050318 |
27 | INSERT_FIRST_NODE | Instance method | Public | Method | Inserts first node into empty hierarchy | 20050318 |
28 | INSERT_NODE | Instance method | Public | Method | 20050316 | |
29 | INSERT_NODES | Instance method | Public | Method | 20050318 | |
30 | MOVE_SUBTREE | Instance method | Public | Method | Deletes one node from hierarchy | 20050319 |
31 | PREPARE_ENTRY_PATHS | Instance method | Protected | Method | Fills attributes T_ENTRY_PATH, T_ENTRY_NODE based on entry n | 20050316 |
32 | REFRESH_ALL | Instance method | Public | Method | Deletes all entries (you should deque before calling it) | 20050316 |
Events
Class CL_FMHIE_TREE has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | S_ENTRY_NODE_PATH | Protected | See coding | 20050316 | BEGIN OF s_entry_node_path.
INCLUDE TYPE s_node_level AS entry_node.
TYPES: t_path TYPE ts_path,
END OF s_entry_node_path
|
||
2 | S_NODE_LEVEL | Protected | See coding | 20050316 | BEGIN OF s_node_level,
node_objnr TYPE bubas_objnr,
hlevel TYPE fmhie_level,
read_level TYPE fmhie_level,
END OF s_node_level
|
||
3 | S_NODE_OBJNR | Protected | See coding | 20050317 | begin of S_NODE_OBJNR,
node_objnr type bubas_objnr,
end of s_node_objnr
|
||
4 | TH_NODE_OBJNR | Protected | See coding | 20050317 | TH_NODE_OBJNR type hashed table of s_node_objnr with
unique key node_objnr
|
||
5 | TH_PATH | Protected | See coding | 20050316 | th_path TYPE HASHED TABLE OF s_node_level
WITH UNIQUE KEY node_objnr
|
||
6 | TS_PATH | Protected | See coding | 20050316 | ts_path TYPE SORTED TABLE OF s_node_level
WITH UNIQUE KEY hlevel
|
||
7 | T_ENTRY_NODE_PATH | Protected | See coding | 20050316 | t_entry_node_path TYPE HASHED TABLE OF s_entry_node_path WITH
UNIQUE KEY node_objnr
|
||
8 | T_NODE_OBJNR | Protected | See coding | 20050317 | T_NODE_OBJNR type standard table of s_node_objnr
|
||
9 | T_PATH | Protected | See coding | 20050316 | t_path TYPE STANDARD TABLE OF s_node_level
|
Method Signatures
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_HEADER | Call by reference | Type reference (TYPE) | FMHIE_S_HIE_ID_KEY | 20050315 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | WRONG_INPUT | 20050315 |
Method COPY_ALL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | C_REF_TARGET | Call by reference | Object reference (TYPE REF TO) | CL_FMHIE_TREE | Hierarchy service class for maintenance (one ID) | 20050405 | ||
2 | Importing | IM_FLG_ENQUEUE_TARGET | Call by reference | Type reference (TYPE) | BOOLE_D | ON | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20050405 |
Method COPY_ALL on class CL_FMHIE_TREE has no exception.
Method DB_COUNT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | R_COUNT | Value transfer | Type reference (TYPE) | I | Number of entries in the database | 20050510 |
Method DB_COUNT on class CL_FMHIE_TREE has no exception.
Method DB_GET_PATH Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_NODE | Call by reference | Type reference (TYPE) | FMHIE_S_NODE | Node of the Hierarchy | 20050316 | ||
2 | Exporting | E_T_PATH | Call by reference | Type reference (TYPE) | TS_PATH | Table type for object numbers | 20050315 | ||
3 | Importing | IM_ENTRY_NODE_ADDRESS | Call by reference | Type reference (TYPE) | FMKU_S_DIMPART | FM account assignment | 20050315 | ||
4 | Importing | IM_ENTRY_NODE_ID | Call by reference | Type reference (TYPE) | BUBAS_OBJNR | Object number for FM budgeting and AVC | 20050315 | ||
5 | Importing | IM_EXCLUDE_ENTRY_NODE | Call by reference | Type reference (TYPE) | BOOLE_D | OFF | The returned table also contains entry node? | 20050316 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | INVALID_NODE | 20050315 | ||
2 | WRONG_INPUT | 20050315 |
Method DB_READ_ADDITIONAL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_ERRORS_FOUND | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20050324 | ||
2 | Importing | IM_APPL_LOG | Call by reference | Object reference (TYPE REF TO) | CL_BUBAS_APPL_LOG_CTX | Application log with context | 20050324 | ||
3 | Importing | IM_ENTRY_NODES | Call by reference | Type reference (TYPE) | FMKU_T_DIMPART | Table with FM account assignments | 20050317 | ||
4 | Importing | IM_FLG_ENQUEUE | Call by reference | Type reference (TYPE) | BOOLE_D | ON | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20050317 | |
5 | Importing | IM_MAX_NUMBER_OF_LEVELS | Call by reference | Type reference (TYPE) | I | 20050317 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | DATA_EXIST | Data were already read | 20050317 | |
2 | ENQ_ERROR_ID | 20050317 | ||
3 | ENQ_ERROR_NODE | 20050317 | ||
4 | ENQ_ERROR_PATH | 20050317 |
Method DB_READ_INITIAL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_ERRORS_FOUND | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20050324 | ||
2 | Importing | IM_APPL_LOG | Call by reference | Object reference (TYPE REF TO) | CL_BUBAS_APPL_LOG_CTX | Application log with context | 20050324 | ||
3 | Importing | IM_ENTRY_NODES | Call by reference | Type reference (TYPE) | FMKU_T_DIMPART | Table with FM account assignments | 20050317 | ||
4 | Importing | IM_FLG_ENQUEUE | Call by reference | Type reference (TYPE) | BOOLE_D | ON | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20050317 | |
5 | Importing | IM_MAX_NUMBER_OF_LEVELS | Call by reference | Type reference (TYPE) | I | 20050317 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ENQ_ERROR_ID | 20050317 | ||
2 | ENQ_ERROR_NODE | 20050317 | ||
3 | ENQ_ERROR_PATH | 20050317 |
Method DB_READ_INITIAL_WITH_DIM_SEL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_ERRORS_FOUND | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20050524 | ||
2 | Importing | IM_APPL_LOG | Call by reference | Object reference (TYPE REF TO) | CL_BUBAS_APPL_LOG_CTX | Application log with context | 20050524 | ||
3 | Importing | IM_FLG_ENQUEUE | Call by reference | Type reference (TYPE) | BOOLE_D | ON | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20050524 | |
4 | Importing | IM_MAX_NUMBER_OF_LEVELS | Call by reference | Type reference (TYPE) | I | 20050524 | |||
5 | Importing | IM_SELCRITTABS | Call by reference | Type reference (TYPE) | FMBS_S_DIMSELTABS | Select options for dimensions | 20050524 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ENQ_ERROR_ID | 20050524 | ||
2 | ENQ_ERROR_NODE | 20050524 | ||
3 | ENQ_ERROR_PATH | 20050524 |
Method DB_READ_MISSING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_ENTRY_NODES | Call by reference | Type reference (TYPE) | FMKU_T_DIMPART | Table with FM account assignments | 20050317 | ||
2 | Importing | IM_MAX_NUMBER_OF_LEVELS | Call by reference | Type reference (TYPE) | I | 20050317 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | DATA_EXIST | Data were already read | 20050317 | |
2 | INVALID_NODE | node does not exist in Db | 20050317 |
Method DB_READ_NODE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_NODE_ADDRESS | Call by reference | Type reference (TYPE) | FMKU_S_DIMPART | FM account assignment | 20050311 | ||
2 | Importing | IM_NODE_ID | Call by reference | Type reference (TYPE) | BUBAS_OBJNR | Object number for FM budgeting and AVC | 20050311 | ||
3 | Returning | R_NODE | Value transfer | Type reference (TYPE) | FMHIE_S_NODE | Node of the Hierarchy | 20050315 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | INVALID_NODE | 20050315 | ||
2 | WRONG_INPUT | 20050315 |
Method DB_READ_SUBTREE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_ALLOW_OVERWRITE | Call by reference | Type reference (TYPE) | BOOLE_D | OFF | Can DB overwrite buffered data? | 20050317 | |
2 | Importing | IM_INCLUDE_FIRST_NODE | Call by reference | Type reference (TYPE) | BOOLE_D | ON | Read also entry node? | 20050317 | |
3 | Importing | IM_INSERT_MISSING | Call by reference | Type reference (TYPE) | BOOLE_D | OFF | Relevant when allow overwr. on - adds missing nodes | 20050318 | |
4 | Importing | IM_MAX_NUMBER_OF_LEVELS | Call by reference | Type reference (TYPE) | I | 20050317 | |||
5 | Importing | IM_NODE_ADDRESS | Call by reference | Type reference (TYPE) | FMKU_S_DIMPART | FM account assignment | 20050317 | ||
6 | Importing | IM_NODE_ID | Call by reference | Type reference (TYPE) | BUBAS_OBJNR | Object number for FM budgeting and AVC | 20050317 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | DATA_EXIST | The same nodes already exist in tree instance | 20050317 | |
2 | WRONG_INPUT | The entry node does not exist in DB | 20050317 |
Method DB_SAVE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_T_EXISTING_NODES | Call by reference | Type reference (TYPE) | FMKU_T_DIMPART | Only if flg_overwrite = on ->list of already existing nodes | 20050331 | ||
2 | Importing | IM_DEQUEUE | Call by reference | Type reference (TYPE) | BOOLE_D | OFF | Call method Dequeue_all | 20050319 | |
3 | Importing | IM_FLG_ALLOW_OVERWRITE | Call by reference | Type reference (TYPE) | BOOLE_D | OFF | Can existing DB data be overwritten? | 20050331 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | DATA_EXIST | 20050331 | ||
2 | SAVE_FAILED | 20050319 |
Method DELETE_NODE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_ERRORS_FOUND | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20050318 | ||
2 | Importing | IM_ADDRESS | Call by reference | Type reference (TYPE) | FMKU_S_DIMPART | FM account assignment | 20050318 | ||
3 | Importing | IM_APPL_LOG | Call by reference | Object reference (TYPE REF TO) | CL_BUBAS_APPL_LOG_CTX | Application log with context | 20050318 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | DATA_MISSING | 20050318 | ||
2 | INVALID_ADDRESS | 20050318 | ||
3 | NODE_NOT_FOUND | 20050318 | ||
4 | NODE_NOT_LEAVE | 20050318 | ||
5 | SUPERIOR_DATA_MISSING | 20050318 |
Method DELETE_SUBTREE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_ERRORS_FOUND | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20050319 | ||
2 | Exporting | E_T_MISSING_DATA | Call by reference | Type reference (TYPE) | FMKU_T_DIMPART | Table with FM account assignments | 20050319 | ||
3 | Importing | IM_APPL_LOG | Call by reference | Object reference (TYPE REF TO) | CL_BUBAS_APPL_LOG_CTX | Application log with context | 20050319 | ||
4 | Importing | IM_ENTRY_ADDRESS | Call by reference | Type reference (TYPE) | FMKU_S_DIMPART | FM account assignment | 20050319 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | DATA_MISSING | 20050319 | ||
2 | INVALID_ADDRESS | 20050319 | ||
3 | NODE_NOT_FOUND | 20050319 | ||
4 | SUPERIOR_DATA_MISSING | 20050319 |
Method DEQUEUE_ALL Signature
Method DEQUEUE_ALL on class CL_FMHIE_TREE has no parameter.
Method DEQUEUE_ALL on class CL_FMHIE_TREE has no exception.
Method DEQUEUE_NODE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_COLLECT | Call by reference | Type reference (TYPE) | DDENQCOLL | OFF | Flag whether locks should only be collected first | 20050315 | |
2 | Importing | IM_ENQMODE | Call by reference | Type reference (TYPE) | ENQMODE | 'E' | Lock mode | 20050315 | |
3 | Importing | IM_NODE_ID | Call by reference | Type reference (TYPE) | BUBAS_OBJNR | Object number for FM budgeting and AVC | 20050315 |
Method DEQUEUE_NODE on class CL_FMHIE_TREE has no exception.
Method DEQUEUE_WITH_ENTRY_NODES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CT_ENQ_PATH | Call by reference | Type reference (TYPE) | T_ENTRY_NODE_PATH | 20050317 | |||
2 | Importing | IM_DEQUEUE_HIE_ID | Call by reference | Type reference (TYPE) | BOOLE_D | OFF | dequeue also hieid | 20050317 |
Method DEQUEUE_WITH_ENTRY_NODES on class CL_FMHIE_TREE has no exception.
Method DEQUEUE_WITH_PATH Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_ENTRY_NODE_ID | Call by reference | Type reference (TYPE) | BUBAS_OBJNR | 20050316 | |||
2 | Importing | IM_PATH | Call by reference | Type reference (TYPE) | TS_PATH | 20050316 |
Method DEQUEUE_WITH_PATH on class CL_FMHIE_TREE has no exception.
Method ENQUEUE_NODE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_COLLECT | Call by reference | Type reference (TYPE) | DDENQCOLL | OFF | Flag whether locks should only be collected first | 20050315 | |
2 | Importing | IM_ENQMODE | Call by reference | Type reference (TYPE) | ENQMODE | 'E' | Lock mode | 20050315 | |
3 | Importing | IM_NODE_ID | Call by reference | Type reference (TYPE) | BUBAS_OBJNR | Object number for FM budgeting and AVC | 20050315 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ENQ_ERROR | 20050315 |
Method ENQUEUE_SWITCH_TO_EXCLUSIVE Signature
Method ENQUEUE_SWITCH_TO_EXCLUSIVE on class CL_FMHIE_TREE has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ENQ_ERROR | 20050316 |
Method ENQUEUE_WITH_ENTRY_NODES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_T_ENQ_PATH | Call by reference | Type reference (TYPE) | T_ENTRY_NODE_PATH | 20050317 | |||
2 | Importing | IM_ENTRY_PATH | Call by reference | Type reference (TYPE) | T_ENTRY_NODE_PATH | 20050316 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ENQ_ERROR_ID | hierarchy id cannot be locked | 20050316 | |
2 | ENQ_ERROR_NODE | entry node cannot be locked | 20050316 | |
3 | ENQ_ERROR_PATH | Path to the top cannot be locked | 20050316 |
Method ENQUEUE_WITH_PATH Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_ENTRY_NODE_ID | Call by reference | Type reference (TYPE) | BUBAS_OBJNR | 20050316 | |||
2 | Importing | IM_PATH | Call by reference | Type reference (TYPE) | TS_PATH | 20050316 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ENQ_ERROR_NODE | entry node cannot be locked | 20050316 | |
2 | ENQ_ERROR_PATH | Path to the top cannot be locked | 20050316 |
Method GENERATE_TREE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_ERRORS_FOUND | Call by reference | Type reference (TYPE) | BOOLE_D | 20050329 | |||
2 | Importing | IM_APPL_LOG | Call by reference | Object reference (TYPE REF TO) | CL_BUBAS_APPL_LOG_CTX | Application log with context | 20050329 | ||
3 | Importing | IM_CMMTITEM_MAX_LEVELS | Call by reference | Type reference (TYPE) | I | 20050328 | |||
4 | Importing | IM_CMMTITEM_VARIANT | Call by reference | Type reference (TYPE) | FM_VARNT | Commitment Item Hierarchy Variant | 20050328 | ||
5 | Importing | IM_FLG_USE_CMMTITEM_VARIANT | Call by reference | Type reference (TYPE) | BOOLE_D | OFF | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20050329 | |
6 | Importing | IM_FLG_USE_FUNDSCTR_VARIANT | Call by reference | Type reference (TYPE) | BOOLE_D | OFF | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20050329 | |
7 | Importing | IM_FUNDSCTR_MAX_LEVELS | Call by reference | Type reference (TYPE) | I | 20050328 | |||
8 | Importing | IM_FUNDSCTR_VARIANT | Call by reference | Type reference (TYPE) | FM_HIVARNT | Hierarchy Variant of Funds Center | 20050328 | ||
9 | Importing | IM_RCMMTITEM | Call by reference | Type reference (TYPE) | FMBS_T_RCMMTITEM | Range table commitment item | 20050328 | ||
10 | Importing | IM_RFUNCAREA | Call by reference | Type reference (TYPE) | FMBS_T_RFUNCAREA | Range table for functional area | 20050328 | ||
11 | Importing | IM_RFUND | Call by reference | Type reference (TYPE) | FMBS_T_RFUND | Range table for fund | 20050328 | ||
12 | Importing | IM_RFUNDSCTR | Call by reference | Type reference (TYPE) | FMBS_T_RFUNDSCTR | Range table for funds center | 20050328 | ||
13 | Importing | IM_RMEASURE | Call by reference | Type reference (TYPE) | FMBS_T_RMEASURE | Range table for funded program | 20050328 | ||
14 | Importing | IM_T_DIM_SEQ | Call by reference | Type reference (TYPE) | FMHIE_T_DIM_SEQ | Sequence of dimensions for hierarchy generation | 20050328 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | WRONG_DIMENSION | It is only possible to generate for hierarchical dimensions | 20050328 | |
2 | WRONG_INPUT | 20050328 |
Method GET_ADDRESS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_OBJNR | Value transfer | Type reference (TYPE) | BUBAS_OBJNR | Object number for FM budgeting and AVC | 20050316 | ||
2 | Returning | R_ADDRESS | Value transfer | Type reference (TYPE) | FMKU_S_DIMPART | FM account assignment | 20050316 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | INVALID_OBJNR | 20050316 |
Method GET_OBJNR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_ADDRESS | Call by reference | Type reference (TYPE) | FMKU_S_DIMPART | FM account assignment | 20050311 | ||
2 | Returning | R_OBJNR | Value transfer | Type reference (TYPE) | BUBAS_OBJNR | Object number for FM budgeting and AVC | 20050311 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_OBJNR_FOUND | 20050315 |
Method GET_OBJNR_MULTI Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_T_OBJNR | Call by reference | Type reference (TYPE) | FMHIE_T_NODE_OBJNR | Object number for FM budgeting and AVC | 20050318 | ||
2 | Importing | IM_ADDRESSES | Call by reference | Type reference (TYPE) | FMKU_T_DIMPART | FM account assignment | 20050318 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_OBJNR_FOUND | 20050318 |
Method GET_TREE_REFERENCE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | R_REF_TREE | Value transfer | Object reference (TYPE REF TO) | CL_FMHIE_TREE_DATA | Handling of hierarchical data in memory | 20050318 |
Method GET_TREE_REFERENCE on class CL_FMHIE_TREE has no exception.
Method INSERT_FIRST_NODE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_ERRORS_FOUND | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20050318 | ||
2 | Importing | IM_APPL_LOG | Call by reference | Object reference (TYPE REF TO) | CL_BUBAS_APPL_LOG_CTX | Application log with context | 20050318 | ||
3 | Importing | IM_FLG_SHOW_ELOCK_MSG | Call by reference | Type reference (TYPE) | BOOLE_D | ON | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20050318 | |
4 | Importing | IM_NEW_ADDRESS | Call by reference | Type reference (TYPE) | FMKU_S_DIMPART | FM account assignment | 20050318 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ENQ_ERROR | 20050318 | ||
2 | INVALID_ADDRESS | 20050318 | ||
3 | NOT_EMPTY | 20050318 |
Method INSERT_NODE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_ERRORS_FOUND | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20050316 | ||
2 | Importing | IM_APPL_LOG | Call by reference | Object reference (TYPE REF TO) | CL_BUBAS_APPL_LOG_CTX | Application log with context | 20050316 | ||
3 | Importing | IM_FLG_SHOW_ELOCK_MSG | Call by reference | Type reference (TYPE) | BOOLE_D | ON | Show I message when locking the whole id | 20050316 | |
4 | Importing | IM_INS_MODE | Call by reference | Type reference (TYPE) | I | Son or sibling (cl_fmhie_tree_data) | 20050316 | ||
5 | Importing | IM_NEW_ADDRESS | Call by reference | Type reference (TYPE) | FMKU_S_DIMPART | FM account assignment | 20050316 | ||
6 | Importing | IM_RELAT_ADDRESS | Call by reference | Type reference (TYPE) | FMKU_S_DIMPART | FM account assignment | 20050316 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | DATA_MISSING | data have to be read from db | 20050316 | |
2 | ENQ_ERROR | when locking the inserted node | 20050316 | |
3 | EXCL_ENQ_ERROR | 20050316 | ||
4 | INVALID_ADDRESS | the address does not contain allowed data | 20050316 | |
5 | NODE_EXISTS | Node already present in the ID | 20050316 | |
6 | RELAT_NOT_FOUND | Relat node does not exist | 20050316 |
Method INSERT_NODES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_ERRORS_FOUND | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20050318 | ||
2 | Importing | IM_APPL_LOG | Call by reference | Object reference (TYPE REF TO) | CL_BUBAS_APPL_LOG_CTX | Application log with context | 20050318 | ||
3 | Importing | IM_FLG_ALLOW_EXISTING | Call by reference | Type reference (TYPE) | BOOLE_D | OFF | if on, then only non exist. nodes inserted, otherwise except | 20050318 | |
4 | Importing | IM_FLG_SHOW_ELOCK_MSG | Call by reference | Type reference (TYPE) | BOOLE_D | ON | Show I message when locking the whole id | 20050318 | |
5 | Importing | IM_INS_MODE | Call by reference | Type reference (TYPE) | I | Son or sibling (cl_fmhie_tree_data) | 20050318 | ||
6 | Importing | IM_NEW_ADDRESSES | Call by reference | Type reference (TYPE) | FMKU_T_DIMPART | FM account assignment | 20050318 | ||
7 | Importing | IM_RELAT_ADDRESS | Call by reference | Type reference (TYPE) | FMKU_S_DIMPART | FM account assignment | 20050318 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | DATA_MISSING | data have to be read from db | 20050318 | |
2 | ENQ_ERROR | when locking the inserted node | 20050318 | |
3 | EXCL_ENQ_ERROR | 20050318 | ||
4 | INVALID_ADDRESS | the addresses do not contain allowed data | 20050318 | |
5 | NODE_EXISTS | Node already present in the ID | 20050318 | |
6 | RELAT_NOT_FOUND | Relat node does not exist | 20050318 |
Method MOVE_SUBTREE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_ERRORS_FOUND | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20050319 | ||
2 | Exporting | E_T_MISSING_DATA | Call by reference | Type reference (TYPE) | FMKU_T_DIMPART | Table with FM account assignments | 20050319 | ||
3 | Importing | IM_APPL_LOG | Call by reference | Object reference (TYPE REF TO) | CL_BUBAS_APPL_LOG_CTX | Application log with context | 20050319 | ||
4 | Importing | IM_ENTRY_ADDRESS | Call by reference | Type reference (TYPE) | FMKU_S_DIMPART | FM account assignment | 20050319 | ||
5 | Importing | IM_INS_MODE | Call by reference | Type reference (TYPE) | I | 20050319 | |||
6 | Importing | IM_RELAT_ADDRESS | Call by reference | Type reference (TYPE) | FMKU_S_DIMPART | FM account assignment | 20050319 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | DATA_MISSING | 20050319 | ||
2 | INVALID_ADDRESS | 20050319 | ||
3 | NODE_NOT_FOUND | 20050319 | ||
4 | RELAT_NOT_FOUND | 20050319 | ||
5 | SUPERIOR_DATA_MISSING | 20050319 |
Method PREPARE_ENTRY_PATHS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_ERRORS_FOUND | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20050324 | ||
2 | Exporting | E_T_ENTRY_NODE | Call by reference | Type reference (TYPE) | TS_PATH | 20050316 | |||
3 | Exporting | E_T_ENTRY_PATH | Call by reference | Type reference (TYPE) | T_ENTRY_NODE_PATH | 20050316 | |||
4 | Importing | IM_APPL_LOG | Call by reference | Object reference (TYPE REF TO) | CL_BUBAS_APPL_LOG_CTX | Application log with context | 20050324 | ||
5 | Importing | IM_ENTRY_NODES | Call by reference | Type reference (TYPE) | FMKU_T_DIMPART | Table with FM account assignments | 20050316 |
Method PREPARE_ENTRY_PATHS on class CL_FMHIE_TREE has no exception.
Method REFRESH_ALL Signature
Method REFRESH_ALL on class CL_FMHIE_TREE has no parameter.
Method REFRESH_ALL on class CL_FMHIE_TREE has no exception.
History
Last changed by/on | SAP | 20050615 |
SAP Release Created in | 600 |