SAP MDG · VALIDATION DERIVATION

How do I create an MDG enrichment spot with user interaction during the consistency check?

Create an enrichment spot in MDGIMG, assign an adapter and feeder, and attach it to the relevant Change Request steps with Relevant=true and Execution=Always executed. In the guide’s Airline example, the user presses Check in usmd_entity_value2, a popup shows URLs from ZMH_AIRLINE_URL, and OK returns the selected URL back to the Airline URL field.

Create an enrichment spot in MDGIMG, assign an adapter and feeder, and attach it to the relevant Change Request steps with Relevant=true and Execution=Always executed. In the guide’s Airline example, the user presses Check in usmd_entity_value2, a popup shows URLs from ZMH_AIRLINE_URL, and OK returns the selected URL back to the Airline URL field.

Use an MDG enrichment spot for the Single Processing UI consistency check. In the guide’s example, the user presses Check, MDG calls the customer-specific enrichment, a popup displays Airline URLs from ZMH_AIRLINE_URL, and the selected value is transferred back to the Airline URL field on OK.

Process flow

  1. Use the Single Processing UI for the master data object.
  2. Create or process a Change Request configured for the enrichment.
  3. Press Check to trigger consistency-check processing.
  4. Call the adapter implementation.
  5. Show the popup UI if user interaction is required.
  6. Return ENRI for OK or CNCL for Cancel.
  7. Transfer the selected value back to the MDG field.
  8. Prevent duplicate popup execution with c_last_user_action = 'ENRI'.
MDGIMG

Create Change Request Type / Enrichment Spot / Assign enrichment to Change Request steps

Define the Change Request type, assign the workflow, register the enrichment spot, and set Relevant=true and Execution=Always executed.

Structure
MDGIMG
Master Data Governance
Create Change Request Type
Enrichment Spot
Assign enrichment to Change Request steps
SE24

Create adapter class implementing IF_USMD_ENRICHMENT_ADAPTER and feeder class implementing IF_USMD_ENRICHMENT_FEEDER

Implement the MDG enrichment logic and the MDG-to-popup data conversion.

Referenced tables

ObjectPurpose
ZMH_AIRLINE_URLDatabase table used by the example to store URL values displayed in the popup.

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

  • When is the enrichment implementation called?
  • Can an enrichment run when the user clicks Check?
  • What example does the guide use?
  • What field is enriched?
  • What does the popup contain?
  • How do I test the enrichment while creating an Airline?
  • What happens when I click Check during creation?
  • Does the enrichment work when processing an existing CR?
  • How do I test the enrichment on an existing Airline?

Keywords

SAP MDGCentral Governanceenrichment spotuser interactionconsistency checkCheck buttonSingle Processing UIusmd_entity_value2IF_USMD_ENRICHMENT_ADAPTERIF_USMD_ENRICHMENT_FEEDERMDG_ENRICHMENT_INTFSFCMH01WS54300020ZMH_AIRLINE_URLENRICNCL