Adding New Entity Types to Data Models 
You can use this procedure to enhance Master Data Governance content by adding new entity types to data models.
You have created the new entity types in the customer namespace Y* or Z*. The attributes for the new entity types are either in the customer namespace or the SAP namespace.
Any relationships that you define between a new entity type and an SAP entity type (as a To-entity type) must be in the customer namespace.
Example
A typical example is the dependent entity type with the cardinality N (table). In this case, you use an entity type of storage and use type 4 (Changeable via Other Entity Type; Generated Database Tables) and a different entity type of storage and use type 3 (Not Changeable via MDG; No Generated Tables) as an additional key.
Another example illustrates the dependent entity type with the cardinality 1:0, the active data of which the system stores in the MDG active area. In this case, you select the value MDG as the setting for the reuse active area for the entity type.
The paths specified below are for Customizing for Master Data Governance and, unless otherwise specified, are relative paths under General Settings.
Configure data modeling as follows:
Assign new entity types to a standard data model. You can make this assignment in one of the following activities in Customizing for Master Data Governance:
(view cluster VC_USMD001).
(Web application).
Create relationships for the dependent entity types. When doing this, take into account the example mentioned above as well as the following requirements:
For the additional key, you have to create a qualifying relationship for the entity type that can be changed by other entities. If the additional key is part of the SAP namespace, the qualifying relationship must be in the customer namespace.
For the higher-level entity type (delivered by SAP), you have to create a leading relationship for the entity type (SU type 4) in the customer namespace.
Choose (Web Dynpro application USMD_UI_CONFIGURATION), and configure the Web Dynpro user interface in the Floorplan Manager (FPM).
Recommendation
We recommend that you create and edit a (deep) copy of an existing UI configuration where possible.
For more information, see Managing of UI Configurations.
You can also carry out small changes in administrator mode in the FPM:
Enhance the FPM configuration by adding the generic user-interface building blocks (UIBBs) for the relevant entity type.
You can insert the parameter SAP-CONFIG-MODE=X into the URL at runtime and execute the link Adjust Configuration.
Note
In component configuration, always edit the leading, higher-level entity type with storage and use type 1 first.
Assign the new UI configuration to one of the following:
The relevant role or user parameters
The change request type under
If you want to use the Business Add-In (BAdI) Adjust User Interface for Single Processing (USMD_UI_EVENT2), note that:
If you copied a UI configuration, copy the implementation under and set the filter value to the UI configuration that you copied (and adjusted).
If you customized the UI configuration in administrator mode, you simply need to create a new implementation of the BAdI if you want to change the programming.
(Optional) Customize the validation and derivation rules under .
Assign a function of type Check Entity for validations and a function of type Derivation for derivations.
Alternatively, you can implement the Business Add-In under (BAdI USMD_RULE_SERVICE).
Configure the print output as follows:
Specify the structure names for the PDF output under (view cluster VC_USMD004).
You can then create the ABAP Dictionary structures using the Generate Structures function.
Configure the settings for data replication.
Specify the source structures for the SMT under (view cluster VC_USMD004).
You can then create the structures using the Generate Structures function. You can use the SMT structures to define a new SMT mapping. This can be used to:
Provide data for advanced SAP services
Provide data for customer-specific services
Provide data for other communication channels (ALE, RFC)
Note
If you cannot use existing service interfaces, the options listed here require significant implementation effort since you would be required to create your own outbound implementations.
For more information about how to integrate the outbound interface framework with the data replication framework, see .
Configure the Enterprise Search settings.
Configure the search object connector relevant for your Enterprise Search template. For more information about integrating Enterprise Search into Master Data Governance, see Enterprise Search.
You need to generate the Enterprise Search-specific structures for the relevant entities under (view cluster VC_USMD004).