Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
Showing results for 
Search instead for 
Did you mean: 
Former Member

Business Requirement


                 SAP Master Data Governance helps organizations govern master data from its creation in a business application,through step by step enrichment by different roles in the organization, to its replication to target applications to ensure data quality and regulatory compliance across the enterprise. SAP master data governance can be used for multiple master data domains like customer, material, supplier, articles , finance etc.

Like other flavors of MDG, MDGA consulting solution also comes with a predefined data model. Customers would be able to extend the data model fields during the project phase based on their additional requirements. If you have already extended other MDG standard data models (like MDG-M), then the procedure to extend MDG-A would be essentially the same.


                   In this blog we will walk you through the steps required to enhance the MDGA Solution with an additional field in the MARA entity type.


                   In this scenario you want to extend the Data model with field KUNNR which is available in MARA table.

Package for customizing include

                   If you want to transport your enhancements, you must assign a package for your customizing includes.

In Customizing for Master Data Governance (transaction MDGIMG), open the activity General Settings ->Data Modeling ->  Assign Package for Customizing Include.

Edit the entry for Data Model AR and type the desired package to be used.

Save your changes.

Data Model Extension

                  You have to extend the MARA entity type, which has storage and use type 1, so it includes the KUNNR attribute.

You can view the settings for storage and use type for existing entity types in Customizing for Master Data Governance under General Settings -> Data modeling -> Edit Data model.

Select the AR data model and double click on Entity types (alternatively you can choose view cluster VC_USMD001 in transaction SM34). In the list of entity types, you can double click an entity type to view its details as shown below for the MARA entity type.

Now double click on Attributes.

Click on New Entries and add the following Values and Press Save.

Ignore the warning messages that come up and provide a Transport Request.  Then click Activate.

Now navigate to Customizing for Master Data Governance under General Settings ->Data Modeling -> Generate Data Model Specific Structures.

Select AR data model and navigate into Structures. Select MARA Specific structures and click Generate Selected Structures.

Now go to SE38 and execute the program usmd_adjust_staging and provide AR as data model.

SMT Mapping

Active to Staging area

Navigate to MDGIMG -> General Settings -> Data Modeling -> Extend Mappings.

Select Mapping->Open.  Provide the Mapping name as /VPCOE/MDG_MAP_ARTICLE_2STA.

In the table Mapping Steps select MAP_FROM_MARA and choose the Details button.

Select the Transformations tab

Change to Edit Mode.

Choose the Add button to add a new field mapping.

Enter the Field Mapping from KUNNR to ZZKUNNR as shown in the screenshot.

Save the field mapping by pressing Save button.

Staging  to Active area

Open  /VPCOE/MDG_MAP_ARTICLE_2PP    mapping.

In the table Mapping Steps select  MAP_2_MARA and click Details button.

Navigate to Transformations tab and activate Edit mode.

Choose the Add button to add a new field mapping.

Enter the Field Mapping from ZZKUNNR to KUNNR as shown in the screenshot bellow.

Now press Save button.

UI Configuration

UI configurations can be adapted using the FPM-enhancement option.

Navigate to MDGIMG -> General settings -> UI Modelling -> Edit UI configuration.

Now select the UI configuration /VPCOE/USMD_ENTITY_VALUE2 and click Edit. Now select Continue in Display Mode button

Next, select the OIF component (click on the component name). Select Additional Functions dropdown button and then select Enhance from the dropdown list.

Provide an enhancement implementation name and click OK.

Select a package where you want to save the changes and the transport request.

Next, read the confirmation message

Select the node where you want to add the new UIBB FORM, and from the dropdown button choose Add Form.

Provide a name for the new UIBB.

Now select Configure UIBB. When prompted, choose to save the configuration ID and choose the transport request.

Create a new Configuration

Provide the package name for saving the new configuration ID.

Do not provide any entity type over here. Press OK button.

Now add a Group element and inside the group add a child element. Set the property as Input Field.

Save the changes by pressing Save button.

You have now added the ZZKUNNR field to the Basic Data section of the UI as an enhancement.

Testing the configuration

                 Now open this UI configuration from your change request. You should be able to see the KUNNR field on UI and update the database.

Troubleshooting Tip

                If you are not able to see the field kindly check the UI Badi and also the Field control customizing done on the ERP.

1 Comment
Labels in this area