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
- Understand the business scenario and supported restrictions
- Create DQ actions D1 to D5
- Create Step Type H and assign D3/D4
- Define service name ZMDQ_DERIVATION
- Copy/create CR type and assign workflow
- Configure CR steps including background step 30
- Implement
USMD_SSW_SYSTEM_METHOD_CALLER - Set BAdI filter SERVICE_NAME = ZMDQ_DERIVATION and call CL_MDG_MDQ_RBWF_DERIVE->DERIVE on CALL_SYSTEM_METHOD
MDGIMGGeneral 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.
MDGIMGGeneral 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.
MDGIMGGeneral 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.
MDGIMGGeneral Settings → Process Modeling → Change Requests → Create Change Request Type
Copy source CR type SUPPL1P1 to ZSUP1MDQ and assign workflow WS60800086.
MDGIMGGeneral 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.
SE18BAdI 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
| Object | Purpose |
|---|---|
DT_SINGLE_VAL_MAT01 | Standard BRFplus single-value workflow decision table used as the template for the DQM workflow routing logic. |
DT_USER_AGT_GRP_MAT01 | Standard BRFplus user-agent-group decision table used as a template for the DQM workflow. |
DT_NON_USER_AGT_GRP_MAT01 | Standard 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?