SAP ABAP Class CL_MDG_MDF_HIERARCHY (FIN Master Data: Hierarchy)
Hierarchy
☛
MDG_FND (Software Component) MDG Foundation
⤷
CA-MDG-AF (Application Component) Application Framework
⤷
MDG_MDF5 (Package) Master Data: Hierarchies
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_MDG_MDF_CHAR_ENQUEUE | Lock Management in Master Data Environment | 20081218 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_MDG_MDF_CUST_DATA | Internal View of Customizing Data | 20081218 |
| 3 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_MDG_MDF_CUST_DATA_EXT | External view at Customizing data | 20081218 |
| 4 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_MDG_MDF_HIERARCHY | Master Data Hierarchy | 20081218 |
| 5 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_MDG_MDF_MANUAL_TRANSPORT | Manual Transport in Master Data Environment | 20081218 |
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_USMD_MDF_MD_HIERARCHY | Redefinition CL_MDG_MDF_HIERARCHY | 20090123 |
Properties
| Class | CL_MDG_MDF_HIERARCHY | |
| Short Description | FIN Master Data: Hierarchy | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | MDG_MDF5 | Master Data: Hierarchies |
| Created | 20081218 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 3 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_MDG_MDF_CHAR_ENQUEUE | Lock Management in Master Data Environment | 20081218 | ||
| 2 | IF_MDG_MDF_CUST_DATA | Internal View of Customizing Data | 20081218 | ||
| 3 | IF_MDG_MDF_CUST_DATA_EXT | External view at Customizing data | 20081218 | ||
| 4 | IF_MDG_MDF_HIERARCHY | Master Data Hierarchy | 20081218 | ||
| 5 | IF_MDG_MDF_MANUAL_TRANSPORT | Manual Transport in Master Data Environment | 20081218 |
Friends
Class CL_MDG_MDF_HIERARCHY 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) | MDG_MDF_FLG | FIN Master Data: General Indicator | 20081218 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | MDG_MDF_FLG | FIN Master Data: General Indicator | 20081218 | |||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_MDG_MDF_HIERARCHY | Hierarchy Instance for Basic Field (Only if Present) | 20081218 | |||
| 4 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_MDG_MDF_HIERARCHY_INT | Internal View of Hierarchies | 20081218 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | T_CONV_FLDNM | Pairs of Mapped Field Names for Basic Field | 20081218 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | T_CONV_FSID | Pairs of Mapped Field SIDs for Basic Field | 20081218 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | T_CONV_FLDNM | Pairs of Mapped Field Names for Basic Field | 20081218 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | T_CONV_FSID | Pairs of Mapped Field SIDs for Basic Field | 20081218 | |||
| 9 | Instance attribute | Public | Type reference (TYPE) | MDG_MDF_TH_HRY_MAP_NID2SID | FIN Master D.: Map Hierarchy Node SID => Fld.Name/Value SID | 20081218 | |||
| 10 | Instance attribute | Public | Type reference (TYPE) | MDG_MDF_TS_HRY_MAP_SID2NID | FIN Master D.: Map Hierarchy Node SID => Fld.Name/Value SID | 20081218 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | MDG_MDF_CONSISTENCY_MODE | FIN Master Data: Extent of Reaction to Inconsistencies | 20081218 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | MDG_MDF_FIELDNAME | 20081218 | ||||
| 13 | Instance attribute | Protected | Type reference (TYPE) | MDG_MDF_NET_TYPE | FIN Master Data: Type of Network | 20081218 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | MDG_MDF_SID_HRY_NODE | FIN Master Data: Surrogate ID | 20081218 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | MDG_MDF_ORIGIN | FIN Master Data: Storage Location of a Characteristic | 20081218 | |||
| 16 | Constant | Private | Type reference (TYPE) | MDG_MDF_HRY_ACTION | 'R' | Read-only access | 20081218 | ||
| 17 | Constant | Private | Type reference (TYPE) | MDG_MDF_HRY_ACTION | 'W' | Write or Delete Access | 20081218 | ||
| 18 | Instance attribute | Private | Type reference (TYPE) | MDG_MDF_FLG | 'X' | True | 20081218 | ||
| 19 | Static Attribute | Private | Type reference (TYPE) | T_INSTANCE | 20081218 | ||||
| 20 | Instance attribute | Public | Type reference (TYPE) | MDG_MDF_TH_MAP_SID2FLD | FIN Master D.: Mapping Fld Name <-> Field SID incl.Value Map | 20081218 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | 20081218 | ||
| 2 | Instance method | Private | Method | Build conv.tables for basic field | 20081218 | |
| 3 | Instance method | Protected | Method | Check for Necessity of Converting Data | 20081218 | |
| 4 | Instance method | Public | Constructor | CONSTRUCTOR | 20081218 | |
| 5 | Instance method | Private | Method | Conversion of Hierarchy Data Field <-> Basic Field | 20081218 | |
| 6 | Instance method | Protected | Method | Table of Edge Attributes | 20090507 | |
| 7 | Instance method | Private | Method | 20081218 | ||
| 8 | Instance method | Protected | Method | Read Changed Edges Using do_hier_int | 20081218 | |
| 9 | Instance method | Private | Method | Determine higher-level value if compound is fixed | 20081218 | |
| 10 | Instance method | Private | Event handling method | 20081218 | ||
| 11 | Instance method | Protected | Method | Read All Edges Using do_hier_int | 20081218 | |
| 12 | Instance method | Protected | Method | Refill Edge Attributes in Internal Structure | 20081218 | |
| 13 | Instance method | Private | Method | Internal Method for SAVE | 20081218 |
Events
Class CL_MDG_MDF_HIERARCHY has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | S_CONV_FLDNM | Private | See coding | 20081218 | BEGIN OF s_conv_fldnm ,
from TYPE MDG_MDF_FIELDNAME,
to TYPE MDG_MDF_FIELDNAME,
END OF s_conv_fldnm
|
||
| 2 | S_CONV_FSID | Private | See coding | 20081218 | BEGIN OF s_conv_fsid ,
from TYPE MDG_MDF_S_HRY_NODE-FIELDNAME_SID,
to TYPE MDG_MDF_S_HRY_NODE-FIELDNAME_SID,
END OF s_conv_fsid
|
||
| 3 | S_FIELD_SID | Private | See coding | 20081218 | BEGIN OF s_field_sid,
fieldname TYPE MDG_MDF_FIELDNAME,
sid TYPE MDG_MDF_SID,
END OF s_field_sid
|
||
| 4 | S_INSTANCE | Private | See coding | 20081218 | BEGIN OF s_instance,
application TYPE MDG_MDF_APPLICATION,
areaid TYPE MDG_MDF_AREAID,
fieldname TYPE MDG_MDF_FIELDNAME,
net_type TYPE MDG_MDF_NET_TYPE,
o_instance TYPE REF TO IF_MDG_MDF_HIERARCHY,
END OF s_instance
|
||
| 5 | TS_HRY_HIST_LOOKUP | Private | See coding | Hierarchy Structure with History Sorted for Where-Used | 20081218 | ts_hry_hist_lookup TYPE SORTED TABLE OF MDG_MDF_S_HRY_STRUCT_HIST
WITH NON-UNIQUE KEY
s_child-value_sid "most distinctive
s_child-fieldname_sid "less distinctive
hry_version
s_parent-value_sid "H1026136
s_parent-fieldname_sid "H1026136
fromyear fromperiod
|
|
| 6 | TS_HRY_LOOKUP | Protected | See coding | Hierarchy Structure Optimally Sorted for Where-Used | 20081218 | ts_hry_lookup TYPE SORTED TABLE OF MDG_MDF_S_HRY_STRUCT
WITH UNIQUE KEY s_child s_parent
|
|
| 7 | T_CONV_FLDNM | Private | See coding | Pairs of Mapped Field Names for Basic Field | 20081218 | t_conv_fldnm TYPE SORTED TABLE OF s_conv_fldnm
WITH UNIQUE KEY from
INITIAL SIZE 0
|
|
| 8 | T_CONV_FSID | Private | See coding | Pairs of Mapped Field SIDs for Basic Field | 20081218 | t_conv_fsid TYPE SORTED TABLE OF s_conv_fsid
WITH UNIQUE KEY from
INITIAL SIZE 0
|
|
| 9 | T_INSTANCE | Private | See coding | 20081218 | t_instance TYPE HASHED TABLE OF s_instance WITH UNIQUE KEY
application areaid fieldname net_type
|
||
| 10 | T_PARENT_STACK | Private | See coding | Batch of parents of a node with time info | 20081218 | t_parent_stack TYPE STANDARD TABLE OF MDG_MDF_S_HRY_STRUCT_HIST
|
Method Signatures
Method ADD_LINES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_TREE | Call by reference | Type reference (TYPE) | MDG_MDF_TH_HRY_TREE | FI-Stammdaten: Hierarchiedarstellung als Baum | 20081218 | |||
| 2 | IS_NODE | Call by reference | Type reference (TYPE) | MDG_MDF_S_HRY_NODE | FI-Stammdaten: Hierarchieknoten | 20081218 | |||
| 3 | IT_STRUCT | Call by reference | Type reference (TYPE) | MDG_MDF_TS_HRY_STRUCT | FI-Stammdaten: Hierarchiestruktur | 20081218 | |||
| 4 | I_PARENT_NID | Call by reference | Type reference (TYPE) | MDG_MDF_SID_HRY_NODE | FI-Stammdaten: Surrogate ID | 20081218 |
Method ADD_LINES on class CL_MDG_MDF_HIERARCHY has no exception.
Method BUILD_CONV_TAB Signature
Method BUILD_CONV_TAB on class CL_MDG_MDF_HIERARCHY has no parameter.
Method BUILD_CONV_TAB on class CL_MDG_MDF_HIERARCHY has no exception.
Method CHECK_CONV_REQUIRED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MESSAGE | Call by reference | Type reference (TYPE) | MDG_MDF_T_MESSAGE | FI-Stammdaten: Meldungen | 20081218 |
Method CHECK_CONV_REQUIRED on class CL_MDG_MDF_HIERARCHY has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_CHAR | Call by reference | Object reference (TYPE REF TO) | IF_MDG_MDF_CHAR | FIN-Stammdaten: Repräsentanz eines Merkmals | 20081218 | |||
| 2 | I_FIELDNAME | Call by reference | Type reference (TYPE) | MDG_MDF_FIELDNAME | FI-Stammdaten: Feldname | 20081218 | |||
| 3 | I_NET_TYPE | Call by reference | Type reference (TYPE) | MDG_MDF_NET_TYPE | FI-Stammdaten: Allgemeines Kennzeichen | 20081218 |
Method CONSTRUCTOR on class CL_MDG_MDF_HIERARCHY has no exception.
Method CONVERT_FSID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_EDGE | Call by reference | Type reference (TYPE) | MDG_MDF_TS_HRY_STRUCT | Hierarchiestruktur | 20081218 | |||
| 2 | CT_EDGE_DATA | Call by reference | Type reference (TYPE) | ANY TABLE | Hierarchie-Kantenattribute | 20081218 | |||
| 3 | CT_EDGE_HIST | Call by reference | Type reference (TYPE) | MDG_MDF_TS_HRY_STRUCT_HIST | Hierarchiestruktur mit Historie | 20081218 | |||
| 4 | I_ACTION | Call by reference | Type reference (TYPE) | MDG_MDF_HRY_ACTION | Lesen oder Schreiben? | 20081218 |
Method CONVERT_FSID on class CL_MDG_MDF_HIERARCHY has no exception.
Method CREATE_HRYDATA_REFERENCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_DATA | Value transfer | Object reference (TYPE REF TO) | DATA | 20090507 |
Method CREATE_HRYDATA_REFERENCE on class CL_MDG_MDF_HIERARCHY has no exception.
Method FILTER_EDGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_EDGE | Call by reference | Type reference (TYPE) | MDG_MDF_TS_HRY_STRUCT | FI-Stammdaten: Hierarchiestruktur | 20081218 | |||
| 2 | CT_EDGE_DATA | Call by reference | Type reference (TYPE) | ANY TABLE | 20081218 | ||||
| 3 | CT_EDGE_HIST | Call by reference | Type reference (TYPE) | MDG_MDF_TS_HRY_STRUCT_HIST | FI-Stammdaten: Hierarchiestruktur mit Historie | 20081218 |
Method FILTER_EDGE on class CL_MDG_MDF_HIERARCHY has no exception.
Method GET_CHANGED_EDGES_INT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_DELETED_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20090512 | ||||
| 2 | ER_MODIFIED_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20090512 | ||||
| 3 | ET_DELETED_EDGE | Call by reference | Type reference (TYPE) | MDG_MDF_TS_HRY_STRUCT_INT | FI-Stammdaten: Hierarchiestruktur (intern) | 20090512 | |||
| 4 | ET_MODIFIED_EDGE | Call by reference | Type reference (TYPE) | MDG_MDF_TS_HRY_STRUCT_INT | FI-Stammdaten: Hierarchiestruktur (intern) | 20090512 |
Method GET_CHANGED_EDGES_INT on class CL_MDG_MDF_HIERARCHY has no exception.
Method GET_INDEP_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_INDEP_VAL | Call by reference | Type reference (TYPE) | MDG_MDF_TS_FIELD_VAL | Feste Werte klammernder Felder | 20081218 | |||
| 2 | E_INDEP_VAL | Call by reference | Type reference (TYPE) | MDG_MDF_VALUE | Übergeordnete Werte konkateniert | 20081218 | |||
| 3 | IS_NODE | Call by reference | Type reference (TYPE) | MDG_MDF_S_HRY_NODE | FI-Stammdaten: Hierarchieknoten | 20081218 |
Method GET_INDEP_VALUE on class CL_MDG_MDF_HIERARCHY has no exception.
Method HANDLE_BUFFER_CHANGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_FFIX | Value transfer | Attribute reference (LIKE) | 20081218 |
Method HANDLE_BUFFER_CHANGE on class CL_MDG_MDF_HIERARCHY has no exception.
Method READ_EDGE_INT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_HIER_DATA | Call by reference | Type reference (TYPE) | HASHED TABLE | 20081218 | ||||
| 2 | ET_HIER_STRUCT | Call by reference | Type reference (TYPE) | MDG_MDF_TS_HRY_STRUCT | FI-Stammdaten: Hierarchiestruktur | 20081218 | |||
| 3 | ET_MESSAGE | Call by reference | Type reference (TYPE) | MDG_MDF_T_MESSAGE | FI-Stammdaten: Meldungen | 20081218 | |||
| 4 | IT_FFIX | Call by reference | Type reference (TYPE) | MDG_MDF_TS_FIELD_VAL | FI-Stammdaten: Paare Feldname / Wert | 20081218 |
Method READ_EDGE_INT on class CL_MDG_MDF_HIERARCHY has no exception.
Method REFILL_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | Hashed Table mit Daten im internen Format | 20081218 | |||
| 2 | IT_DATA | Call by reference | Type reference (TYPE) | ANY TABLE | externe Daten | 20081218 |
Method REFILL_DATA on class CL_MDG_MDF_HIERARCHY has no exception.
Method SAVE_P Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MESSAGE | Call by reference | Type reference (TYPE) | MDG_MDF_T_MESSAGE | FI-Stammdaten: Meldungen | 20081218 | |||
| 2 | ET_TRANSPORT | Call by reference | Type reference (TYPE) | MDG_MDF_TS_TRANSPORT | Transporteinträge | 20081218 | |||
| 3 | IF_TEST | Call by reference | Type reference (TYPE) | MDG_MDF_FLG | SPACE | 'X': Simulation -> keine Verbuchung der Daten | 20081218 | ||
| 4 | I_COMPLETE | Call by reference | Type reference (TYPE) | MDG_MDF_FLG | SPACE | Transportiere Gesamtobjekt inkl. untergeordnete Objekte | 20081218 |
Method SAVE_P on class CL_MDG_MDF_HIERARCHY has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 702 |