Consolidating Master Data Using MDM
Use
In a query you find that the master data might not be consistent in the underlying InfoProvider. The functions of SAP NetWeaver MDM for quality management support you in your efforts to consolidate master data.
You can pass the data to be checked to the MDM Data Manager with an open hub destination. Potential master data duplicates are identified there. These are given an identical key that is then extracted to the BI system. By slightly enhancing the master data model, the master data that is identified as duplicates can then be seen as related in future BEx queries.
The following graphic shows how BI and MDM interact.
Prerequisites
1. Installation
You installed SAP NetWeaver MDM. You need the MDM Server, MDM Console, MDM Data Manager and MDM ABAP API.
For more information about installing MDM, see the Installation Guide at service.sap.com/~sapidb/011000358700004656442006E .
2. Configuration
You configured the MDM ABAP API. One template of the API configuration must be created for each connection.
For more information about configuring the MDM ABAP API, see Chapter 4: Configuring the MDM ABAP API at service.sap.com/~sapidb/011000358700004643452006E.
If you want to use monitoring in CCMS, you must configure the CCMS accordingly.
For the precise procedure, see the guide Configure CCMS Monitoring for MDM ABAP API Tracing at service.sap.com/~sapidb/011000358700006117162006E .
Procedure
1. Adding InfoObjects for MDM-ID
-
The InfoObject MDM-ID is shipped as BI Content: technical name 0MDM_GID with type CHAR and length 32 .
-
Add this InfoObject to your master data as attribute and mark it as navigation attribute.
More information: Tab Page: Attributes
-
Activate this InfoObject as navigation attribute in your InfoProvider.
More information: Creating Navigation Attributes
2. Creating Open Hub Destinations
-
Create an open hub destination.
For more information see Creating Open Hub Destinations .
-
Select SAP NetWeaver MDM as destination type.
-
In the field Target System Key (MDM), enter the logical name of the template you created in the configuration.
-
Enter the database user and password for the MDM DBMS used in the connection.
-
Edit the field list. Transfer only the fields you need to identify duplicates. Make sure that the field list contains the InfoObject MDM-ID.
-
Activate the open hub destination. A repository is generated automatically in MDM during activation. The repository is given the name of the open hub destination.
3. Creating Matching Strategies in the MDM Data Manager
-
You need a matching strategy to ensure that matching is performed automatically when data is transferred to MDM at a later time. With the Matching function you can identify duplicates. The records that are identified as duplicates are given the same group ID and are thus identified as related records.
You must create Matching manually.
-
For the precise procedure, see Chapter 8 Matching Mode in the Data Manager Reference Guide at service.sap.com/~sapidb/011000358700006291592006E.
4. Creating Transformations
-
Create a transformation for your open hub destination. Only a simple assignment of the fields is required. Note that the InfoObject MDM-ID is updated.
More information: Creating Transformations
5. Creating and Executing Data Transfer Processes
-
Create a data transfer process for your open hub destination.
More information: Creating Data Transfer Processes
-
As target, enter the InfoObject whose master data should be checked.
-
Create a filter so that only the part of the master that is needed for the check is transferred.
-
Execute the data transfer process. The data is written to the MDM repository that you generated. You can use the MDM Data Manager to check the data transfer.
6. Consolidating Master Data in the MDM Data Manager
In MDM, matching is automatically performed at the end of the data transfer process from BI to MDM. You can use the MDM Data Manager to check the results of the matching.
7. Reloading Master Data into the BI System with MDM-ID
-
With the generic DataSource 0MDM_Generic, which is delivered by SAP, you can load the MDM-ID from the MDM Data Manager into the BI system.
Create a data transfer process with the DataSource as the source and the master data as the target. The system generates the corresponding transformation.
-
Create a process chain containing the InfoPackage with which the MDM-ID is extracted, the data transfer process with which the MDM-ID is loaded into the attributes, and an attribute change run.
More information: Creating Process Chains
-
Start the process chain.
The master data is not changed in the BI system; the MDM-ID with which duplicate master data can be viewed together is simply added.
8. Adjusting Queries
-
Include the characteristic MDM-ID as a column in the query for your InfoProvider. The records with the same MDM-ID are grouped in the executed query.
More information: Displaying and Changing Existing Queries in the Query Designer