SAP MDG · COMMUNITY

How do I set up Central Governance to use Data Quality Management derivation scenarios in SAP MDG?

Set up a rule-based workflow that triggers DQM derivation in a background CR step, calls `CL_MDG_MDQ_RBWF_DERIVE` via `USMD_SSW_SYSTEM_METHOD_CALLER`, and routes the request with custom actions for success, failure, retry, and continue.

Set up a rule-based workflow that triggers DQM derivation in a background CR step, calls `CL_MDG_MDQ_RBWF_DERIVE` via `USMD_SSW_SYSTEM_METHOD_CALLER`, and routes the request with custom actions for success, failure, retry, and continue.

Set up SAP MDG Central Governance for DQM derivation by combining workflow customizing, a BAdI implementation, and BRFplus decision tables. The core pattern is: create custom actions, add Step Type `H`, define a service name such as `ZMDQ_DERIVATION`, copy the CR type, then implement `USMD_SSW_SYSTEM_METHOD_CALLER` so the background step calls `CL_MDG_MDQ_RBWF_DERIVE` and returns the correct workflow action based on the derivation result.

Process flow

  1. Understand the business scenario and supported restrictions
  2. Create DQ actions D1 to D5
  3. Create Step Type H and assign D3/D4
  4. Define service name ZMDQ_DERIVATION
  5. Copy/create CR type and assign workflow
  6. Configure CR steps including background step 30
  7. Implement USMD_SSW_SYSTEM_METHOD_CALLER
  8. Set BAdI filter SERVICE_NAME = ZMDQ_DERIVATION and call CL_MDG_MDQ_RBWF_DERIVE->DERIVE on CALL_SYSTEM_METHOD
MDGIMG

General Settings → Process Modeling → Workflow → Define Change Request Actions

Create workflow actions D1, D2, D3, D4, and D5 for derivation success, failure, retry, continue, and success with messages.

Structure
MDGIMG
Master Data Governance
Classic Mode in SAP MDG
Central Governance
Process Modeling
Workflow
Define Change Request Actions
MDGIMG

General Settings → Process Modeling → Workflow → Define Change Request Step Types and Assign Actions

Create Step Type H and assign D3 Continue and D4 Resubmit with DQ Derivation.

Structure
MDGIMG
Master Data Governance
Classic Mode in SAP MDG
Central Governance
Process Modeling
Workflow
Define Change Request Step Types and Assign Actions
MDGIMG

General Settings → Process Modeling → Workflow → Rule-Based Workflow → Configure Rule-Based Workflow → Define Service Names for Rule-Based Workflow

Define service name ZMDQ_DERIVATION for the BAdI filter and workflow service call.

Structure
MDGIMG
Master Data Governance
Classic Mode in SAP MDG
Central Governance
Process Modeling
Workflow
Rule-Based Workflow
Define Service Names for Rule-Based Workflow
MDGIMG

General Settings → Process Modeling → Change Requests → Create Change Request Type

Copy source CR type SUPPL1P1 to ZSUP1MDQ and assign workflow WS60800086.

Structure
MDGIMG
Master Data Governance
Classic Mode in SAP MDG
Central Governance
Process Modeling
Change Requests
Create Change Request Type
MDGIMG

General Settings → Process Modeling → Workflow → Rule-Based Workflow → Define Change Request Steps for Rule-Based Workflow

Configure the CR step sequence including background step 30, fix-or-skip step 85, and revision/approval steps.

Structure
MDGIMG
Master Data Governance
Classic Mode in SAP MDG
Central Governance
Process Modeling
Workflow
Rule-Based Workflow
Define Change Request Steps for Rule-Based Workflow
SE18

BAdI USMD_SSW_SYSTEM_METHOD_CALLER

Implement the synchronous system-method call that invokes CL_MDG_MDQ_RBWF_DERIVE and returns workflow actions based on derivation result.

Referenced tables

ObjectPurpose
DT_SINGLE_VAL_MAT01Standard BRFplus single-value workflow decision table used as the template for the DQM workflow routing logic.
DT_USER_AGT_GRP_MAT01Standard BRFplus user-agent-group decision table used as a template for the DQM workflow.
DT_NON_USER_AGT_GRP_MAT01Standard BRFplus non-user-agent-group decision table used as a template for the background process pattern and service call.

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

Related questions and keywords

Alternative questions

  • What is the purpose of DQM derivation scenarios in Central Governance?
  • How are derivation scenarios integrated with MDG workflows?
  • Can DQM derivations run during a change request?

Possible questions

  • Which CR step executes derivation?
  • What happens when derivation succeeds or fails?
  • How does Resubmit with DQ Derivation work?
  • Which BAdI and class are used to call DQM derivation?
  • How do I configure the BRFplus workflow for DQM derivation?

Keywords

SAP MDGCentral GovernanceDQMData Quality Managementderivation scenariochange requestrule-based workflowUSMD_SSW_SYSTEM_METHOD_CALLERCL_MDG_MDQ_RBWF_DERIVEBRFplus