Quantcast
Channel: SAP Master Data Governance
Viewing all articles
Browse latest Browse all 40

Extending MDGA solution with Additional ERP fields

$
0
0

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.

 

Introduction

 

                   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.

 

Purpose

 

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

1.jpg

 

 

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.

 

1.jpg

 

 

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

1.jpg

 

Save your changes.

 

 

Data Model Extension

 

                  You have to extend the MARAentity 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.

 

1.jpg

 

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.

 

1.jpg

 

Now double click on Attributes.

 

 

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

 

 

1.jpg

 

 

 

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.

 

1.jpg

 

 

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

 

1.jpg

 

 

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

 

1.jpg

 

 

SMT Mapping

 

Active to Staging area

 

 

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

 

1.jpg

 

 

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

 

1.jpg

 

 

 

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

 

1.jpg

 

 

Select the Transformations tab

 

1.jpg

 

 

Change to Edit Mode.

Choose the Add button to add a new field mapping.

 

1.jpg

 

 

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

 

1.jpg


Save the field mapping by pressing Save button.

 

Staging  to Active area

 

 

Open  /VPCOE/MDG_MAP_ARTICLE_2PP    mapping.

 

1.jpg

 

 

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

 

1.jpg

 

Navigate to Transformations tab and activate Edit mode.

 

1.jpg

 

 

Choose the Add button to add a new field mapping.

 

 

1.jpg

 

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

 

 

1.jpg

 

 

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

 

1.jpg

 

 

 

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

 

 

1.jpg

 

 

 

Provide an enhancement implementation name and click OK.

 

1.jpg

 

 

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.

1.jpg

 

 

Provide a name for the new UIBB.

1.jpg


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


Create a new Configuration

1.jpg

Provide the package name for saving the new configuration ID.

 

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


1.jpg

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

1.jpg

 

1.jpg

 

Save the changes by pressing Save button.

 

1.jpg

 

1.jpg

 

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.


Viewing all articles
Browse latest Browse all 40

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>