SAP MDG · COMMUNITY

How do I create a DQM rule in SAP MDG to check whether a product assigned to a class also has a required classification characteristic?

Create one dummy DQM rule on MARA_AUSP to populate MARA_AUSP_PRC, then create the real DQM rule on MARA_KSSK, scope it to class ZZMDG_BIKES, and use a BRF+ database lookup for ZZ_MDG_COLOR in MARA_AUSP_PRC.

Create one dummy DQM rule on MARA_AUSP to populate MARA_AUSP_PRC, then create the real DQM rule on MARA_KSSK, scope it to class ZZMDG_BIKES, and use a BRF+ database lookup for ZZ_MDG_COLOR in MARA_AUSP_PRC.

Use this guide to create an MDG Data Quality Management rule that checks whether products assigned to a specific class also have a required classification characteristic assigned. The approach is configuration-only in the Web UI/BRF+ and applies to SAP Master Data Governance on SAP S/4HANA 2020 and higher. The example class is ZZMDG_BIKES and the example characteristic is ZZ_MDG_COLOR.

Process flow

  1. Create class `ZZMDG_BIKES` in `CL01`
  2. Create characteristic `ZZ_MDG_COLOR`
  3. Set characteristic type to `CHAR(10)`
  4. Select `Multiple Values`
  5. Do not select `Entry Required`
  6. Maintain values `BLUE`, `RED`, `BLACK`
  7. Create two test products in `MM01`
  8. Assign both products to `ZZMDG_BIKES` and give only one product `ZZ_MDG_COLOR` value','Open `Data Quality Rules - Products`','Create dummy rule on `MARA_AUSP`','Add usage `DQM`','Prepare dummy rule','Set dummy scope to `false eq false`','2x
CL01

Classification → Class Maintenance

Create class `ZZMDG_BIKES` and maintain characteristic `ZZ_MDG_COLOR`

MM01

Logistics → Material Master → Create

Create the positive and negative test products/materials

Data Quality Rules - Products

Fiori app

Create and maintain the dummy and real DQM rules

BRF+ Workbench

Open from the prepared DQM rule scope/condition links

Maintain the scope and condition expressions for the DQM rules

Referenced tables

ObjectPurpose
MARA_AUSPDummy rule base table used to populate `MARA_AUSP_PRC` at runtime
MARA_KSSKReal rule base table used for the classification check and checked field `Class Type`
MARA_AUSP_PRCRuntime process table used by the database lookup to verify the required characteristic assignment

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

Related questions and keywords

Alternative questions

  • What is this guide about?
  • How do I create a DQM rule for product classification?
  • Which releases support this procedure?

Possible questions

  • How can DQM check whether a product has a classification characteristic?
  • Why is this rule more complex than checking MARA fields?
  • What are the main steps?
  • Give me the complete DQM classification rule flow.
  • What should I prepare before creating the DQM rule?
  • Do I need test classification data?
  • Which transaction creates the example class?
  • What class name is used?
  • How do I add the characteristic to the class?

Keywords

DQMData Quality ManagementProduct Classificationcharacteristic assignmentSAP MDGS/4HANA 2020MARAclassificationcharacteristicdimensionKSSKAUSPpreparationdummy ruleMARA_AUSPMARA_KSSKscope expressioncondition expressionevaluationCL01