Adding New Attributes to Standard Entity Types 
You can use this procedure to enhance Master Data Governance content by adding new attributes to existing entity types.
Note
You can create attributes in the customer namespace, for example, under ZZ* and YY*.
The paths specified below are for Customizing for Master Data Governance and, unless otherwise specified, are relative paths under General Settings.
Create the attribute.
You can make this assignment in one of the following activities in Customizing for Master Data Governance:
.
Select your data model and switch to the Entity Types subdialog.
Select the entity type for which you want to add an attribute and switch to the Attributes subdialog.
Create a new attribute and assign a data element. The system then derives the properties, field labels, field help, and input help values for the attribute. Avoid assigning data elements more than once.
(Web application).
Select your data model.
In the Entity Typespanel, select the entity type for which you want to add an attribute, and open the Attributes tab.
Create a new attribute and assign a data element. The system derives the values for the properties, field labels, field help, and input help for the attribute. Assign data elements only once, respectively.
Note
If you create attributes that, unlike entity A, use the MDG active area as the active area, you need to create a new entity type B with storage and use type 4 in which you embed the new attributes. You also need to define a relationship of type leading with the cardinality 1:0 from entity type A to entity type B. For more information, see Adding New Entity Types to Data Models.
Adjust the UI configuration.
Configure the Web Dynpro user interface, for example, using administrator mode in the Floorplan Manager (FPM) and using Business Add-Ins.
Choose (Web Dynpro application USMD_UI_CONFIGURATION), and add generic user-interface building blocks (UIBBs) to the Web Dynpro configuration for the Floorplan Manager. To access administrator mode, you need to insert the parameter SAP-CONFIG-MODE=X into the URL at the runtime of single processing and execute the link Adjust Configuration.
(Optional) Under (BAdI USMD_UI_EVENT2), create your own implementation.
In your implementation, allow the methods that you want to adjust to be inherited from the implementing class of a delivered standard implementation. If the implementing class does not allow inheritance because it is marked as FINAL, you need to create a copy of the class.
Note
Note that the copy does not automatically contain corrections from Support Packages or SAP Notes. Therefore ensure you check the relevant SAP Notes for the implementing class and manually implement any corrections.
Deactivate the existing BAdI implementation and activate your new BAdI implementation.
(Optional) Adjust the settings for Interactive Forms.
Copy the relevant scenario and adjust it under (view cluster VC_APB_ISR_CUST).
Assign the copied scenario to a change request type at entity type level under (view cluster VC_USMD110).
You can customize the display data under (BAdI USMD_ISR_FORM).
(Optional) Customize the BRFplus-based validation and derivation rules under (Web Dynpro application USMD_RULE).
Assign a function of type Check Entity for validations and a function of type Derivation for derivations.
If BRFplus is not sufficient for your purposes, a Business Add-In is also available under (BAdI USMD_RULE_SERVICE).
Configure the print forms for single processing.
You assign the generated structures under (view cluster VC_USMD004). You can enhance the standard using a Business Add-In under (BAdI USMD_PRINT_FORM).
Configure the settings for data replication.
The source structures of the Service Mapping Tool (SMT) contain CI includes that you can enhance under (view cluster VC_USMD004).
Take into account the following settings and adjust these if required:
Target structure enhancements depend on the outbound implementation:
If you are already using additional attributes, for example, in your RFC interfaces or service definitions, the target structures may already be enhanced.
If you are adding new attributes to your infrastructure, you need to enhance the structures, for example, for services, by regenerating proxies with specific APPEND structures.
You can enhance the SMT mapping using the standard enhancement concept of the Service Mapping Tool.
You can enhance service interfaces using the standard enhancement concept of SAP NetWeaver Process Integration (PI).
After data enhancements are defined in PI, proxy regeneration generates certain APPEND structures for the delivered proxy structures. Since the proxy structure was simply enhanced and not replaced, you can use it as the target structure in the SMT mapping and outbound service interface without making modifications.
You can create additional fields either by means of an SMT enhancement or by implementing a BAdI. You implement this BAdI in the application-specific Customizing settings for Master Data Governance, for example, under .
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 regenerate the Enterprise Search-specific structures for the relevant entities under (view cluster VC_USMD004).