SAP MDG · COMMUNITY

How can I enhance the MDG consistency check with a customer-specific enrichment that asks the user for input during Check?

Use the Single Processing UI, configure the Change Request type and enrichment spot, then implement an adapter, feeder, and Web Dynpro popup so that pressing Check opens user interaction and returns the selected value to the MDG field.

Use the Single Processing UI, configure the Change Request type and enrichment spot, then implement an adapter, feeder, and Web Dynpro popup so that pressing Check opens user interaction and returns the selected value to the MDG field.

To enhance the MDG consistency check with user interaction, configure the scenario in `MDGIMG`, assign a Change Request type such as `SFCMH01` with workflow `WS54300020`, and implement an enrichment adapter plus feeder. In the guide’s example, the Single Processing UI (`usmd_entity_value2`) triggers the enrichment when the user clicks Check, shows a popup with selectable URL entries from `ZMH_AIRLINE_URL`, and transfers the selected value back to the MDG field on OK.

Process flow

  1. Use the Single Processing UI for the target MDG object.
  2. Create or process a Change Request configured for the enrichment.
  3. Press Check.
  4. Let MDG call the enrichment adapter during consistency check.
  5. Show a Web Dynpro popup with selectable values.
  6. Return the selected value on OK or keep the current value on Cancel.
  7. Prevent a second popup by checking `c_last_user_action = 'ENRI'`.
  8. Configure the enrichment spot in `MDGIMG`.
MDGIMG

Change Request Type configuration

Create and assign the example Change Request type `SFCMH01` and link it to workflow `WS54300020`.

Structure
MDGIMG
Master Data Governance
Change Request Type configuration
MDGIMG

Enrichment spot configuration

Define the enrichment spot, assign the feeder class, adapter class, and Web Dynpro component, and set Relevant = true and Execution = Always executed.

Structure
MDGIMG
Master Data Governance
Enrichment spot configuration
MDGIMG

Change Request step assignment

Assign the enrichment spot to the required Change Request/workflow steps and ensure processors are maintained for testing.

Structure
MDGIMG
Master Data Governance
Change Request step assignment

Referenced tables

ObjectPurpose
ZMH_AIRLINE_URLStores the URL values shown in the enrichment popup and read by the adapter.

The remaining configuration, implementation details, and testing guidance continue from this answer more…

Related questions and keywords

Alternative questions

  • How do I create an enrichment spot with user interaction in SAP MDG?
  • How can I show a popup during an MDG consistency check?
  • How can an MDG enrichment update a field after user selection?

Possible questions

  • Which transaction do I use to configure the change request type?
  • Which interface is used for the enrichment adapter?
  • How do I stop the popup from opening twice?
  • Which MDG entity is used in the example?
  • How do I test the OK and Cancel behavior?

Keywords

SAP MDGCentral Governanceenrichment spotuser interactionconsistency checkCheck buttonSingle Processing UIusmd_entity_value2SFCMH01WS54300020IF_USMD_ENRICHMENT_ADAPTERIF_USMD_ENRICHMENT_FEEDERZMH_AIRLINE_URLMDG_ENRICHMENT_INTFENRICNCL