ERPClimb logoERPClimb
SAP technical topicObjectMDG Validation and Derivation FrameworkModuleMDG

New to SAP MDG? Start with the module overview

MDG Validation and Derivation Framework: Consultant Reference

Quick answer

MDG validation prevents inconsistent master changes, while derivation proposes business-correct defaults. Checks should run at the intended CR phase and organization context, since a validation rule applied at the wrong phase can either block legitimate changes or fail to catch the error it was meant for.

Consultant reference for MDG Validation and Derivation Framework: purpose, common failure patterns, evidence to inspect, safe resolution and interview-ready reasoning.

Published 17 Nov 2026· 728 words

What this controls

MDG validation prevents inconsistent master changes, while derivation proposes business-correct defaults. Checks should run at the intended CR phase and organization context.

When to use it

Use the validation and derivation framework (BRFplus-based or rule-based) whenever a master data field's correctness depends on business rules more complex than a simple required/format check, or whenever a field's value should be automatically derived from other fields rather than manually entered — both reduce data-entry errors and enforce consistency rules that a basic UI field check cannot.

Safe resolution path

Correct the specific check/derivation and perform CR lifecycle regression. Reject invalid masters with understandable errors while retaining approved values. Never mute governance rules solely to force activation.

Common pitfalls

A common mistake is building overly rigid validation rules that don't account for legitimate exceptions, forcing users into workarounds (entering a placeholder value just to pass validation) that actually degrade data quality instead of improving it. Teams also underestimate the performance cost of complex derivation rules running on every field change, especially for high-volume mass changes.

A third pitfall is not keeping validation rule documentation in sync with the actual configured rules, so when a user hits an unexpected validation error, support staff can't quickly explain why without reverse-engineering the rule.

ECC, S/4HANA and clean core

ECC validation logic for master data lived in user exits and was invisible without reading ABAP code.

MDG's validation and derivation framework makes these rules configurable and far more transparent, which is a genuine governance improvement over the ECC pattern, but only if the rules are actually migrated into the framework rather than left as legacy custom code wrapped by MDG on top.

Revisit this guidance at each major SAP release or upgrade cycle, since clean-core scope, released-API coverage and BTP service capabilities all continue to expand; a decision that required a workaround in one release may have a supported, upgrade-safe option in the next, so a periodic architecture-review checkpoint is worth scheduling rather than treating the original decision as permanent.

Typical production symptom

A supplier change passes field validation in draft but fails activation because company-code tax classification is required. Conversely, an overzealous derivation overwrites manually approved bank or address data when the step changes.

Likely root causes

The most common causes are configuration mismatch, stale or incomplete master data, incorrect status or validity dates, authorization scope, integration mapping, timing or sequencing, and changes that were transported without their prerequisites. Avoid assuming the screen where the symptom appears is the layer that owns the defect.

What to inspect

Identify rule execution event, entity type, default/derived fields, staging versus active validation and change-request status. Test one invalid and one valid organizational extension and capture messages and field changes at each workflow step.

Consultant and interview angle

A strong answer explains the controlling object or configuration, the evidence used to isolate the issue, the cross-module or integration dependencies, the safe fix, and the regression plan. Senior candidates should also explain monitoring, governance and how to prevent the same failure from recurring.

Worked design review and production acceptance

Validation versus derivation exercise: the governance process requires a country-specific tax registration when a supplier company-code view is created; it also derives a proposed payment term from supplier category. The former should block invalid activation, while the latter should not silently overwrite a previously authorized exception.

Capture the CR step where values are available, base entity, rule execution phase and actual source of derived fields. Test an invalid supplier without required tax ID, a valid one, and an existing supplier whose approved payment term differs from default. Inspect messages and active state after rejection to confirm no partial master edit leaked through.

Different activation and drafting phases can expose different completeness requirements, so the UI must explain when a missing field becomes blocking. Transport rules with dependent model and field properties, then retest a normal CR and a rejected CR. Acceptance means incorrect masters cannot activate, valid exceptions survive and downstream FI processing receives correct controlled attributes. Approval of an error-suppression workaround is not equivalent to correct governance.

Guard against late activation errors by returning clear validation messages at the earliest supported stage, while still checking invariants again at activation. Test an authorized exception and a denied override; a defaulting rule must not quietly replace business-approved bank, tax or payment values.

Source: ERPClimb — https://erpclimb.com/sap-technical-topics/mdg-validationERPClimb is an independent platform and is not affiliated with SAP SE. Reference pages are written and reviewed by SAP consultants for learning and troubleshooting.