
The graphic gives an overview of the hierarchy application framework, the business value, and the MDG Hierarchy Capability. Hierarchy is often used as structured data to present the relationship of business objects, organizations, and so on. It is widely used in operative transactions and analytics among all of the master data domains. MDG Hierarchy management provides intuitive user interface to maintain hierarchy, approval process, and enables users to manage and analyze hierarchies efficiently.
Hierarchy Governance Process
Hierarchy Maintenance Overview

The graphic shows an overview of hierarchy maintenance. You can drag and drop to reassign items in collective processing and directly navigate to pending change request.
Work with Hierarchy Processing UI

The figure illustrates the view and edit functions of the hierarchy processing UI.

The figure explains how to work with the hierarchy processing UI. Work with new objects and/or insert the. You can create a new hierarchy, new node, and new object from the menu. You can insert existing objects into the hierarchy as child or sibling. You can insert unassigned objects directly from a calculated list. You find more information here:

The figure explains how to work with the hierarchy processing UI and, in more detail, the integrated object creation.

The figure explains how to work with the hierarchy processing UI, and in more detail, using cut, copy, paste, drag and drop.

The figure explains how to work with the hierarchy processing UI, in more detail, the functions: Move down/up and lower/higher.

The figure explains how to work with the hierarchy processing UI, in more detail, the functions: Save and submit hierarchy change.
Hierarchy Change

The figure explains the first steps of approving a hierarchy change.
See the section on Change Documents.

The figure explains the next steps of approving a hierarchy change.
Hierarchy Maintenance Overview

The graphic focuses on step two of the hierarchy maintenance; directly navigate to pending change request.

The figure explains the steps to maintain a hierarchy assignment in a single object UI. You can assign single objects to a hierarchy using an attribute-based search that displays tree-like results. Find more details here:
Check and Approve Hierarchy Assignment in Single Object UI

The graphic shows the first part in checking and approving a hierarchy assignment in a single object UI. Hierarchy related validation is executed when you save or check the hierarchy assignment, and the validation result can be easily checked and corrected in single object UI.

The graphic shows the second part in checking and approving a hierarchy assignment in a single object UI. Before you approve the object, you simply check where the object has been assigned to in the hierarchy in a graphic way by clicking Display Hierarchy assignment.

The graphic shows the third part in checking and approving a hierarchy assignment in a single object UI. Before you approve, you can easily see what has been changed by the requester by the highlighted color. In a tooltip, you can see Old values and New values. The deleted entries are still visible but with a strike-through.
Search and Display Hierarchy in Generic Search Application

The figure explains, that the generic application USMD_SEARCH can also be used to search and display hierarchies with UI configuration USMD_SEARCH_02.
Hierarchy Properties

The figure explains which Hierarchy Property settings are possible: Not a hierarchy, synchronized and versioned, synchronized and not versioned, unsynchronized and versioned, and unsynchronized and not versioned.

Hierarchy Type Examples

The figure provides an overview of the out-of-the-box content of delivered hierarchies.
Hierarchy Configuration Example: Cost Center

The figure explains the hierarchy configuration for a Cost Center.
Hierarchy Interlocking

The figure explains the two interlocking mechanism: strict interlocking, which is the default and loose interlocking.
The setting can be found in IMG: Tx: MDGIMG→Master Data Governance→Classic Mode in SAP MDG→Central Governance→General Settings→Process Modeling→Hierarchies→Define Scope for Changes.
Interlocked: You must use the pending change request to add, delete, move, or change the attributes of this node.
Not Interlocked: You can add, delete, move, or change the attributes of this node in a separate change request.

The figure explains the hierarchy validity which is displayed by a new column Next Change. Use the data link to move to the next version of the hierarchy.

The graphic gives an overview of the MDG Hierarchy Setup: download, upload, and working and replication hierarchy.

This figure describes the process of downloading financial hierarchies from SAP backend systems using two specific reports. The goal is to extract this data for use in SAP Master Data Governance for Financials (MDG-F)
Report KBAS_MDGF_SET_DOWNLOAD is used to download set based hierarchies:
- Cost Center Group Hierarchy
- Profit Center Group Hierarchy
- Cost Element Group Hierarchy
Report FBS_MDGF_FRS_DOWNLOAD is used to download the Financial Reporting Structure (Financial Statement Version).
Users run these reports within the SAP ERP system.
The reports extract the specified hierarchy data (both the structure and attributes) and save it into files.
The data is automatically converted into the MDG-F format, which allows it to be easily uploaded into the SAP MDG system.


Facts about replicating MDG Hierarchies:
- Export generated MDG Hierarchy Data Source to BW
Support for analytical reporting by a simplified generation of model-specific Data Sources for master data and hierarchy.
- Replication of domain hierarchy to ERP or SAP S/4 HANA
All MDG-Financial hierarchies can be replicated to ERP and S/4HANA using SOA or IDoc.
For example: Financial Reporting Structure (Financial Statement Version) and Cost Center/Profit Center/Cost Element Group Hierarchy.
- Export to File
You can export hierarchies (for example, the Business Partner hierarchy) in .CSV format.
MDG Hierarchies

Screenshot of the first part in MDG Financial Hierarchies. Hierarchy processing is delivered for: cost center group hierarchy, profit center group hierarchy, cost element group hierarchy, financial reporting structure, financial consolidation group, and item hierarchy. All features from the framework are available.

Screenshot of the second part in MDG Financial Hierarchies. In addition to ERP and SAP S/4HANA functions, MDG can also provide an overview of all assignment in all hierarchies and display and maintenance of alternative hierarchies in the master data screen.

The above figure shows screenshots of the key features of MDG-BP/Customer/Supplier Hierarchy. These are BP and Structure nodes can be maintained in parallel/multiple MDG BP hierarchies. BP Hierarchy assignment can be maintained in BP Object UI under the same governance process. BP Hierarchy can be configured as loose interlocking to enable parallel processing of same hierarchy. User friendly Processing UI to maintain BP Hierarchy with integrated Change Request Process. BP Hierarchy can be downloaded into a .CSV file.

The screenshot shows the key features and data modeling of MDG-M Product Hierarchy. The key features are the Product Hierarchy is presented in a tree view for product assignment and can be replicated to ERP or SAP S/4HANA using IDoc. In Data Modeling, the MDG-M Product Hierarchy is an attribute of the MM data model and not modeled like the other domains. Optionally, you can govern the Product Hierarchy using reference data.

The graphic shows reporting on airline groups as a use case example. Airlines are under central governance in a flat list, implemented as a flex model, and reporting of bookings per airline are possible. The requirement is to extend reporting on airline groups. Consideration is needed for ownership and airline alliances. The solution is to create an airline hierarchy by arranging airlines in hierarchies, based on ownership or cooperation and introducing airline alliances as additional grouping element in hierarchy.

The graphic shows the implementation of the example use case through data modeling, UI modeling, process modeling, and activating data sources for analytical scenarios.
Data Modeling–Decide on Hierarchy Type

Further facts on Data Modeling–Decide on Hierarchy Type:
Requirements for the hierarchy:
- Airline (CARRX), is the basic element that you want to arrange in a hierarchy
- Alliance (ALLIANCE) as additional grouping element
- Note: Decision to use CARRX as the hierarchy type
- Note: The generation of BW data sources requires that an OTC is assigned to the entity type.
To perform changes in the data model:
- Create entity type CARRXH to provide the name of the hierarchy(you can have multiple hierarchies of the type CARRX).
- Create entity type ALLIANCE.
- Enable CARRX as hierarchy type.
- Include CARRX and ALLIANCE as possible nodes in hierarchy.
- Choose CARRXH as entity type for hierarchy name.
Create Entity Type


Enable CARRX as Hierarchy Type



Structure Generation



UI Modeling

UI Modeling–Facts about GenIL Components:
- Are the basis for configuring UIs with FPM that are based on the generic BOL/GenIL MDG UI framework
- Are automatically created for data models in customer namespace (ID starts with X, Y, or Z) after the activation of the data model
- Component ZSP_<DM> for single-object processing
- Component ZMP_<DM> for multirecord processing
- Component ZHP_<DM> for hierarchies in single-object processing UIs
- Tip: Use TA genil_model_browser to examine the components
For details and in particular when using a data model in SAP or partner namespace: see documentation Creating genIL Components and Transaction Handler Manually on help.sap.com.
To configure Master Data Governance for Custom Objects, see UI Modeling→Creating User Interfaces for Single Object Processing.



Add Hierarchy Assignment List
Steps to add a hierarchy assignment list to a single-object processing UI:
- Create a configuration for a list UIBB (FPM_LIST_UIBB_ATS).
- Choose columns and actions.
- Add hierarchy assignment list to overview page (OVP).





In the first step of adding a hierarchy assignment list to the overview page, add the list to the OVP configuration.

Second step to adding a hierarchy assignment list to the overview page: create a wire to the list from the UIBB that displays the main entity type. Use Hras<Entity Type>2<Hierarchy Type>Rel as the relation name. Replace <Hierarchy Type> with the hierarchy type for which you want the assignments of the entities specified with <Entity Type> to be processed. Hras stands for hierarchy assignments.

In the third step of adding a hierarchy assignment list to the overview page: add at least the FPM__LOCAL_EDIT event as a button to the toolbar, so that the list can be switched into edit mode.
Search in Hierarchy

The generic configuration USMD_SEARCH_02 of the search application has been extended. The search offers the possibility for hierarchy search and display, if started for an object that is configured as a node of a hierarchy type (parameter USMD_OTC).
Hierarchy Processing

Add Web Dynpro application USMD_ENTITY with parameters DISPLAY_TYPE=HIERARCHY and PROCESS=<BizAct> to the role menu to offer hierarchy processing to the users. Replace <BizAct> with a business activity that links to a change request type with a scope that included the entity types of the hierarchy type to be processed.
Process Modeling

Change request types that should be used to process hierarchy assignments in single-object processing must include all entity types that can be nodes in the hierarchy type to be processed, including the entity type for the hierarchy name. In the following examples, the change request types/business activities ZXZ1 and ZXZ2 are to be used in single-object processing, and ZXZ3 for hierarchy processing.

There can be multiple change requests that affects a hierarchy. Furthermore, hierarchy assignments can be processed with parallel change requests. The interlocking rules for the hierarchy type determine what can be processed in parallel.