Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
8,750

Enrichment Framework in MDG is used for enriching the data with the help of either an internal or external service. Any entity within the MDG data model can be enriched with valid data derived from any service. There is also a seamless integration of the user interfaces from the external service to the MDG change request processes within MDG customizing for the change request process.

The first version of Enrichment Framework was introduced in MDG Ehp5 with a limited scope of enriching the Address information. The address enrichment framework in this release was specific to the address entity in the BP model. However this was capable to interact with any of the Address service providers. The external service had to implement the Webdynpro interface MDG_SDQ_ADDR_CHECK_INTF and also implement the standard address BADI - ADDRESS_CHECK. This interface enables the data transfer between the MDG framework component and the external service.

A full fledge enrichment framework was introduced in Ehp6. This framework can enrich any entity data in the MDG data model.

Some of the objects that have to be created for Enrichment framework to work are:-

Enrichment Spot - Defines enrichment is done on which entity in the MDG data model. The out of the box Address Enrichment spot supports the enrichment of the address entity in customer and supplier.

Enrichment Adapter - Responsible for calling the respective external/internal service and for data transfer. Adapter classes have to implement the interface IF_USMD_ENRICHMENT_ADAPTER

Enrichment_Feeder - Responsible for conversion of data from the MDG to Enrichment adapter format and vice versa. Feeder classes have to implement the interface IF_USMD_ENRICHMENT_FEEDER

  

Enrichment UI - The framework also provides a Webdynpro component interface MDG_ENRICHMENT_INF which should be implemented by the external service in case their UI's needs to be processed in MDG. At the end of the user interaction there are four actions possible on the data that is enriched they are:-

ENRI: Use the enriched data and complete the interaction

An MDG model can have several enrichment spots defined but each spot should have a feeder class, adapter class and a specific UI component.

The Enrichment spot, Feeder and the adapter are created for every enrichment and are also configured in mdgimg under the data quality and search menu in General settings. The enrichments can also be configured for a change request type step using the Configure properties for change request steps under the Change request in Process modeling.

IGNR: Ignores the current enrichment and perform it again in the next check cycle

ORIG: Discard the enriched data and continue with the data entered on the UI by the user

CNCL: Stops the check cycle and the control goes to the UI.

5 Comments
0 Kudos

Excellent and compact overview. If you want to explore this topic further, you can find a tutorial with coding examples on the MDG enhancement page. Here is the direct link to the document page: How to Create an Enrichment Spot with User Interaction in
Master Data Governance

shadab_maldar
Active Participant
0 Kudos
Hi Ingo,

I hope you are doing great!

I searched the link which is provided by you, but it says "Content Unavailable", Could you please help me if you have the document handy or the working URL to get the document.

Thanks in advance.
Mark63
Product and Topic Expert
Product and Topic Expert
Tim_Bauer
Discoverer
0 Kudos

Hi @Mark63 ,

is there a possiblility to enrich not only a single entity? For example to update data for BP_CENTRL and AD_POSTAL in the same enrichment.

Currently i am planning to build a workaround via derivation to achieve it, but than the possible functionalities would be restricted.

Best Regards
Tim

Mark63
Product and Topic Expert
Product and Topic Expert
0 Kudos

In the meantime, there are more features related to mass enrichment. Please check the MDG User Assistance documentation in SAP Help Portal for Mass Processing and Data Provider Integration.

 

Best, Markus