ERPClimb logoERPClimb

SAP MDG Validations Interview Questions

Validations is a standard block in SAP MDG interviews. It is rarely asked as a definition; it is asked as a situation you have to talk your way through.

Validations in SAP MDG are business-rule checks executed against master data attributes during change request processing to enforce data quality and compliance before data is activated or replicated. This topic covers how validation rules are modeled (typically via BRF+ or rule-based rule types configured against the MDG data model), how they fire during the create/change/single processing steps of a change request, how messages and severities influence workflow progression, and how consultants design, test, and troubleshoot these rules across on-premise and cloud deployments.

This page carries 9 reviewed SAP MDG validations interview questions, each with a complete written answer and no sign-in required. The set breaks down into 2 foundational, 4 mid-level and 3 advanced questions, so you can start at the top for a first interview or skip ahead to the scenario-based items for a senior round.

Treat the answers as a starting structure, not a script. Interviewers in SAP MDG rounds follow up on whatever you sound least certain about, so the value is in being able to keep going after the first answer.

9 Validations questions with answers

easyValidations

1. What are the core concepts of Validations, and how would you explain them clearly in an SAP interview?

Validations in SAP MDG are business-rule checks executed against master data attributes during change request processing to enforce data quality and compliance before data is activated or replicated. This topic covers how validation rules are modeled (typically via BRF+ or rule-based rule types configured against the MDG data model), how they fire during the create/change/single processing steps of a change request, how messages and severities influence workflow progression, and how consultants design, test, and troubleshoot these rules across on-premise and cloud deployments. Key lesson areas: Designing, Configuring, and Troubleshooting Validation Rules in MDG; Troubleshooting and Performance-Tuning MDG Validation Rules in Production; Why Validations Exist in MDG and How They Fit the Governance Flow Learn how to diagnose failing or slow validations in SAP MDG change requests, isolate root causes across rule design, data model, and workflow layers, and apply tuning techniques that keep validation processing responsive at scale. Learn practical techniques for designing BRF+-based validation rules in MDG, assigning them correctly in the data model, testing them, and diagnosing common runtime issues. Understand the business and technical purpose of validations in SAP MDG, where they sit in the change request lifecycle, and how they differ from derivations and other rule types.
easyValidations

2. Using this SAP project situation — A retail company implementing MDG for vendor master data needed to ensure that any new vendor located in a country requiring a specific tax registration format could not be approved without that field populated — explain Why Validations Exist in MDG and How They Fit the Governance Flow. What should happen, which concepts or process steps matter, and what common mistake would you avoid?

Understand the business and technical purpose of validations in SAP MDG, where they sit in the change request lifecycle, and how they differ from derivations and other rule types. Deep explanation: Validations in SAP Master Data Governance exist to protect the quality, consistency, and compliance of master data before it becomes active or is distributed to downstream systems. Unlike a plain field-level check hardcoded in a UI, a validation in MDG is a governed business rule that is evaluated against the current state of the entity being processed inside a change request (CR). Because governance in MDG is built around change requests that move through a workflow (create, edit, review, approve), validations are the mechanism by which an organization enforces mandatory business logic consistently, regardless of who created the request or which UI configuration they used. Technically, most validation rules in current SAP MDG implementations are modeled using BRF+ (Business Rule Framework plus), which is exposed to MDG through rule types assigned to specific entities in the data model (for example a business partner, material, or a custom governance object). A validation rule typically expresses a condition (an expression, decision table, or similar BRF+ construct) that evaluates one or more attributes of the entity and produces a result: either the data passes silently, or a message is raised. The severity of that message (information, warning, or error) determines what happens next. An error-level validation message blocks the change request from moving forward in the workflow step where it fired, forcing the requester or steward to correct the data. A warning is shown but does not block progress. This severity behavior is central to how validations are used as a governance control rather than a suggestion. It is important to distinguish validations from derivations. Derivations calculate or default values (for example deriving a region code from a postal code), and they run to populate or adjust data automatically. Validations, in contrast, do not change data; they only assess it and communicate a result. In the standard MDG processing sequence, derivations generally run before validations so that any auto-populated values are already present when validation logic evaluates the record. This ordering matters because a validation rule written naively without accounting for derivation timing may fire against a field that has not yet been populated, producing false positives or false negatives. Validations are configured against the MDG data model, meaning a consultant assigns the rule to an entity and, where the data model supports it, to specific usages or processing steps (create, change, or both). This lets an organization apply stricter rules during initial creation than during minor updates, or vice versa, depending on business risk. Validations also typically respect the active/inactive area concept in MDG: a validation can be scoped to fire only when relevant attributes are actually touched in the current change request, which avoids unnecessary reprocessing of unrelated data. From a business perspective, validations are how governance teams encode policy: mandatory tax classification for certain countries, disallowed combinations of plant and material type, required approval fields for high-risk vendor changes, and similar rules. Because they run inside the CR before final activation, they act as a quality gate that is far cheaper than fixing bad data after it has already replicated to ERP, CRM, or other consuming systems. This is a foundational reason MDG project teams invest early effort in defining a validation catalog aligned with the organization's data quality objectives, rather than treating validations as an afterthought bolted on late in the project. Deployment context matters here: in S/4HANA on-premise and private cloud editions, consultants generally have direct access to configure rule assignments and build BRF+ artifacts. In public cloud editions, the extensibility model is more constrained, and validation configuration is typically done through the delivered extensibility and key-user tooling rather than unrestricted BRF+ workbench access, with SAP determining which extension points are exposed. Consultants should always verify current extensibility scope for the specific cloud release rather than assuming on-premise flexibility applies. Recommended practices: • Maintain a documented validation catalog mapping each rule to the business policy it enforces • Confirm execution order relative to derivations before assuming a validation will see final values • Use warning severity for advisory guidance and reserve error severity for true policy blockers • Scope rules to the correct create/change usage to avoid unnecessary reprocessing • Test each rule against both compliant and non-compliant sample data before promoting to production Common mistakes to challenge: • Assuming validations can modify or default data; they can only evaluate and message, not set values • Writing rules that check raw input fields without accounting for derivation execution order • Using error severity for
mediumValidations

3. How would you apply Validations in a real SAP project? Walk through the design or implementation approach.

A retail company implementing MDG for vendor master data needed to ensure that any new vendor located in a country requiring a specific tax registration format could not be approved without that field populated. The data quality lead defined a validation rule scoped to the vendor create process, evaluated at the point where the requester submits the change request for review. Initially the rule was written to check the raw input field before a related derivation rule populated a default classification, causing valid vendors to be incorrectly flagged as errors. The project team resolved this by confirming the rule execution order in the data model configuration and adjusting the validation to run after derivations, then retested with representative country-specific test data before moving the rule to the production rule set. During a mass vendor cleansing project, a validation checking bank-detail consistency was firing correctly for single change requests but caused a significant slowdown when 15,000 vendors were mass-changed in one batch of change requests. Investigation using BRFplus simulation and ABAP debugging showed the feeder class was querying a custom country-bank-format table once per vendor instead of caching it once per batch run. After introducing a context-level cache and adding an index on the lookup table's key fields, batch processing time dropped substantially, and the change request queue no longer built up during the nightly load window. The team also discovered a secondary issue: a validation was configured at entity level when it only needed to run once per change request, so consolidating it to a request-level check further reduced redundant executions. During a materials governance rollout, business users reported that a validation intended to block creation of a material with an invalid unit-of-measure combination was not firing for certain plants. Investigation showed the rule was correctly built and tested in isolation in BRF+, but had only been assigned to the 'create' processing step in the data model configuration, while the problematic scenario occurred during a 'change' transaction that added the plant-specific data later. The team corrected the assignment to include both create and change usages, retested with the original failing scenario, and added a regression test case to the project's validation test suite to prevent recurrence. Interview focus: Candidates are often asked how they would troubleshoot a validation that appears not to fire. A strong answer walks through checking rule activation, data model assignment t
mediumValidations

4. Suppose you inherit an existing Validations solution. How would you review it before making a change?

First understand the current business requirement, dependencies, configuration or code path, integrations, production usage, and known pain points. Do not redesign before establishing the existing behavior. Lesson areas to review: Designing, Configuring, and Troubleshooting Validation Rules in MDG; Troubleshooting and Performance-Tuning MDG Validation Rules in Production; Why Validations Exist in MDG and How They Fit the Governance Flow Known mistakes: • Assuming a validation is 'wrong' without first simulating it in the rule engine with the actual captured input data. • Attaching entity-level checks when a step-level or change-request-level check would achieve the same governance outcome with far fewer executions. • Re-reading reference or lookup tables inside a loop for every entity instead of caching once per change request context. • Ignoring the validation context (working vs. active version) when a rule seems to see 'old' data during cross-entity comparisons. • Applying on-premise debugging assumptions to cloud-extensibility scenarios where direct ABAP access is not available. • Not logging recurring validation complaints, leading to the same root cause being re-diagnosed repeatedly by different support staff. • Assuming validations can modify or default data; they can only evaluate and message, not set values • Writing rules that check raw input fields without accounting for derivation execution order • Using error severity for rules that should be advisory, blocking legitimate business processes unnecessarily • Failing to scope the rule to the correct entity usage (create vs change), causing it to fire in unintended steps • Not testing with representative data combinations before moving rules into the productive rule set • Building correct BRF+ logic but failing to verify its assignment to the right entity, usage, and processing step • Testing only in the BRF+ simulation tool without confirming behavior inside an actual change request • Overlooking that a derivation or another validation altered field values before the rule under test executed • Creating decision tables with gaps or overlapping rows that produce inconsistent firing behavior • Adding expensive lookup-based validations that fire on every field change and degrade UI responsiveness Best practices: • Always confirm rule assignment to entity, usage, and processing step in configuration, not just BRF+ logic correctness • Build a layered test suite covering BRF+ simulation, in-context CR testing, and regression testing after related changes • Reserve expensive lookup-based validations
mediumValidations

5. A project encounters this situation while working on Designing, Configuring, and Troubleshooting Validation Rules in MDG: During a materials governance rollout, business users reported that a validation intended to block creation of a material with an invalid unit-of-measure combination was not firing for certain plants. Walk through how you would analyze the requirement or issue, what you would validate, and how you would test the solution before release.

Learn practical techniques for designing BRF+-based validation rules in MDG, assigning them correctly in the data model, testing them, and diagnosing common runtime issues. Deep explanation: Building validation rules that behave reliably in production requires more than writing correct business logic; it requires understanding how MDG invokes rules at runtime, how messages surface to end users, and how to diagnose failures when a rule does not fire as expected. This lesson focuses on the practical configuration and troubleshooting workflow a consultant follows when implementing validations. The typical design process starts with a business requirement expressed in plain language (for example, 'a cost center change request must not be approved if the responsible profit center is blocked'). The consultant translates this into a rule expressed against the MDG data model entity and its relevant attributes, then implements the underlying logic using BRF+ artifacts such as decision tables, expressions, or rule composition, depending on the complexity of the condition. Simple attribute comparisons are usually implemented as decision tables because they are easier for business users and auditors to review; more complex multi-attribute logic, or logic requiring lookups against other data, may require expression-based rules or function calls, and the consultant must weigh maintainability against complexity when choosing the implementation approach. After the rule logic is built, it must be assigned to the correct entity, usage, and processing step within the MDG data model configuration. This assignment step is where many defects originate: a rule built correctly in BRF+ will simply never fire if it is not properly linked to the corresponding rule type and entity in MDG configuration, or if it is assigned to the wrong processing step (for example assigned only to 'change' when the business requirement also needs it during 'create'). Consultants should always verify the assignment through configuration review, not just by reading the BRF+ artifact in isolation. Testing validation rules should happen at multiple levels. First, unit-level testing inside the BRF+ simulation environment confirms the rule logic returns the expected message and severity for a range of input combinations, including boundary and negative cases. Second, integration testing inside an actual change request confirms the rule fires at the correct step, that the message text and severity display correctly to the end user, and that the CR is blocked or allowed to progress as intended. Third, regression testing after any data model or derivation change is important, since validations often depend on values populated by other rules earlier in the processing sequence; a change elsewhere in the rule chain can silently break a validation that was previously working. When a validation does not behave as expected in production, the troubleshooting approach generally follows a structured path: confirm the rule is active and correctly assigned to the entity/usage/step; confirm the attribute values present in the change request at the time of evaluation, since values may differ from what the requester typed if a derivation adjusted them; check whether the rule condition logic actually matches the real-world data pattern being tested, since condition tables with overlapping or missing rows are a frequent source of rules that fire inconsistently; and review whether multiple validations are interacting, since a rule that appears not to have fired may actually have fired but its message was suppressed or superseded by workflow logic showing only the highest-severity outcome to the user in certain UI configurations. Performance is a secondary but real concern, particularly for validations that perform lookups against other MDG entities, external systems, or large decision tables evaluated frequently during interactive editing. Rules that call out to remote checks or complex nested logic during every field change can noticeably slow down the change request UI, so consultants should be deliberate about which validations run on every field change versus only at defined checkpoints such as request submission. Across deployment types, the mechanics of rule evaluation are conceptually similar, but the tooling access differs: on-premise and private cloud implementations generally allow direct BRF+ workbench access for building and testing rules, while public cloud implementations rely on delivered extensibility tooling with a more limited surface area, and some complex custom logic patterns available on-premise may not have an equivalent in the cloud extensibility model. Consultants working across deployment types should validate what customization is actually supported for the specific release before committing a design to a project plan. Recommended practices: • Always confirm rule assignment to entity, usage, and processing step in configuration, not just BRF+ logic correctness • Build a layered test suite covering BRF+ simulation, in-context CR testing, and regression testing after related changes • Reserve expensive lookup-based validations for checkpoin
mediumValidations

6. A project encounters this situation while working on Troubleshooting and Performance-Tuning MDG Validation Rules in Production: During a mass vendor cleansing project, a validation checking bank-detail consistency was firing correctly for single change requests but caused a significant slowdown when 15,000 vendors were mass-changed in one batch of change requests. Walk through how you would analyze the requirement or issue, what you would validate, and how you would test the solution before release.

Learn how to diagnose failing or slow validations in SAP MDG change requests, isolate root causes across rule design, data model, and workflow layers, and apply tuning techniques that keep validation processing responsive at scale. Deep explanation: Validation issues in SAP MDG typically surface in one of two ways: a validation blocks a change request that business users believe should pass, or validation processing becomes slow enough to affect change request throughput during mass data loads or period-end cleansing cycles. Both scenarios require a structured diagnostic approach because validations sit at the intersection of the data model, the rule engine (BRFplus, or Manage Business Rules on newer releases), the change request framework, and any custom feeder class or BAdI logic that supplies data to the rule. The first diagnostic step is always to identify exactly where in the change request lifecycle the validation fires. Validations can be attached to entity-level checks that run when a single object is edited, or to step-level and overall checks that run at specific workflow steps or before submission. If a validation fails unexpectedly, confirm the validation context: is it evaluating the working (draft) version of the entity, the active version, or a combination via a comparison rule? A common root cause of 'validation is wrong' tickets is that the rule is actually correct but is evaluating stale or unexpected data because the context was configured against the wrong version, or because dependent attributes were not yet saved to the active area when a cross-entity check ran. For rules built in BRFplus, use the BRFplus workbench simulation capability to execute the exact rule with the specific business object instance's data captured from the change request. This isolates whether the problem is rule logic (wrong condition, incorrect operator, misconfigured expression type) or an upstream data supply problem (the feeder class or context binding is not passing the field values you expect). Cross-check the values by comparing what the rule engine received against what is visible in the change request UI; discrepancies point to timing issues, such as a validation firing before a dependent BAdI has enriched the data. When validations reference custom ABAP logic through feeder classes or BAdI implementations, standard ABAP debugging is often the fastest path: set a breakpoint in the custom class and step through it during change request processing to see actual runtime values, including any unexpected nulls or truncated values caused by domain-length mismatches. Performance issues usually stem from validations that perform expensive checks per entity in a mass change request, such as select statements against large custom tables without proper indexing, nested loops across dependent entities, or repeated re-evaluation of the same rule due to entity-level triggering when a step-level or a change-request-level check would suffice and reduce redundant executions. Reducing the granularity of checks, adding appropriate secondary indexes to custom lookup tables referenced by feeder classes, and caching reference data reads within a single change request context (rather than re-reading for every entity) are common tuning techniques. In S/4HANA, review whether logic that reads master data repeatedly could instead leverage CDS views with appropriate authorization and performance characteristics, but always validate this against your specific release's supported extensibility approach rather than assuming it applies universally. In cloud environments (S/4HANA public cloud, MDG on BTP-adjacent deployments), custom feeder logic is constrained by the extensibility framework, and troubleshooting relies more heavily on released APIs, extension include fields, and any provided rule-tracing tools rather than direct ABAP debugging; teams must rely on documented extensibility points and released troubleshooting tools rather than assuming on-premise debugging access. Production support practice should include a lightweight validation issue log capturing: entity type, validation ID/message, workflow step, change request type, and whether the issue was a false positive, false negative, or a performance complaint. This log becomes the basis for periodic rule-quality reviews and prevents repeated re-diagnosis of the same recurring issue by different support staff. Recommended practices: • Always simulate the exact rule with captured runtime data before concluding the rule logic itself is defective. • Prefer request-level or step-level validations over entity-level checks when the business rule does not depend on per-entity uniqueness. • Cache reference/lookup data at the change request or batch context level rather than re-reading per entity. • Maintain a validation issue log capturing entity type, message, step, and root-cause category to support recurring-issue analysis. • Verify secondary indexes exist on any custom tables queried repeatedly by feeder classes in high-volume scenarios. • Respect deployment-specific extensibility and debugging constraints; do not assume on-premise techniques are available in cloud e
hardValidations

7. A production issue is reported in Validations. What would you check first, and how would you troubleshoot it systematically?

Start by reproducing and scoping the issue, then validate the relevant master/configuration/runtime data and isolate the failing step before changing anything. Common failure patterns from the lesson set: • Assuming a validation is 'wrong' without first simulating it in the rule engine with the actual captured input data. • Attaching entity-level checks when a step-level or change-request-level check would achieve the same governance outcome with far fewer executions. • Re-reading reference or lookup tables inside a loop for every entity instead of caching once per change request context. • Ignoring the validation context (working vs. active version) when a rule seems to see 'old' data during cross-entity comparisons. • Applying on-premise debugging assumptions to cloud-extensibility scenarios where direct ABAP access is not available. • Not logging recurring validation complaints, leading to the same root cause being re-diagnosed repeatedly by different support staff. • Assuming validations can modify or default data; they can only evaluate and message, not set values • Writing rules that check raw input fields without accounting for derivation execution order • Using error severity for rules that should be advisory, blocking legitimate business processes unnecessarily • Failing to scope the rule to the correct entity usage (create vs change), causing it to fire in unintended steps • Not testing with representative data combinations before moving rules into the productive rule set • Building correct BRF+ logic but failing to verify its assignment to the right entity, usage, and processing step • Testing only in the BRF+ simulation tool without confirming behavior inside an actual change request • Overlooking that a derivation or another validation altered field values before the rule under test executed • Creating decision tables with gaps or overlapping rows that produce inconsistent firing behavior • Adding expensive lookup-based validations that fire on every field change and degrade UI responsiveness Checks and practices: • Always confirm rule assignment to entity, usage, and processing step in configuration, not just BRF+ logic correctness • Build a layered test suite covering BRF+ simulation, in-context CR testing, and regression testing after related changes • Reserve expensive lookup-based validations for checkpoint steps rather than every field change • Document known rule execution order dependencies so future changes do not silently break existing validations • Verify extensibility and tooling access available for the specific deployment (o
hardValidations

8. What are the most important design decisions, trade-offs, and best practices in Validations?

• Always confirm rule assignment to entity, usage, and processing step in configuration, not just BRF+ logic correctness • Build a layered test suite covering BRF+ simulation, in-context CR testing, and regression testing after related changes • Reserve expensive lookup-based validations for checkpoint steps rather than every field change • Document known rule execution order dependencies so future changes do not silently break existing validations • Verify extensibility and tooling access available for the specific deployment (on-premise, private cloud, public cloud) before finalizing design • Always simulate the exact rule with captured runtime data before concluding the rule logic itself is defective. • Prefer request-level or step-level validations over entity-level checks when the business rule does not depend on per-entity uniqueness. • Cache reference/lookup data at the change request or batch context level rather than re-reading per entity. • Maintain a validation issue log capturing entity type, message, step, and root-cause category to support recurring-issue analysis. • Verify secondary indexes exist on any custom tables queried repeatedly by feeder classes in high-volume scenarios. • Respect deployment-specific extensibility and debugging constraints; do not assume on-premise techniques are available in cloud editions. • Maintain a documented validation catalog mapping each rule to the business policy it enforces • Confirm execution order relative to derivations before assuming a validation will see final values • Use warning severity for advisory guidance and reserve error severity for true policy blockers • Scope rules to the correct create/change usage to avoid unnecessary reprocessing • Test each rule against both compliant and non-compliant sample data before promoting to production Relevant lesson areas: Designing, Configuring, and Troubleshooting Validation Rules in MDG; Troubleshooting and Performance-Tuning MDG Validation Rules in Production; Why Validations Exist in MDG and How They Fit the Governance Flow A strong answer should connect the technical or functional choice to maintainability, upgrade impact, performance, security, supportability, and clean-core principles where applicable.
hardValidations

9. A senior architect is reviewing Validations. The project situation is: A retail company implementing MDG for vendor master data needed to ensure that any new vendor located in a country requiring a specific tax registration format could not be approved without that field populated. What design changes, validation evidence and production controls would you require before approving the solution?

Advanced capstone for Validations, connecting the existing lesson areas: Why Validations Exist in MDG and How They Fit the Governance Flow; Designing, Configuring, and Troubleshooting Validation Rules in MDG; Troubleshooting and Performance-Tuning MDG Validation Rules in Production. The goal is to move from feature knowledge to architecture, integration, production support and governance decisions. Recommended design and operating practices: • Always confirm rule assignment to entity, usage, and processing step in configuration, not just BRF+ logic correctness • Always simulate the exact rule with captured runtime data before concluding the rule logic itself is defective. • Build a layered test suite covering BRF+ simulation, in-context CR testing, and regression testing after related changes • Cache reference/lookup data at the change request or batch context level rather than re-reading per entity. • Confirm execution order relative to derivations before assuming a validation will see final values • Document known rule execution order dependencies so future changes do not silently break existing validations • Maintain a documented validation catalog mapping each rule to the business policy it enforces • Maintain a validation issue log capturing entity type, message, step, and root-cause category to support recurring-issue analysis. • Prefer request-level or step-level validations over entity-level checks when the business rule does not depend on per-entity uniqueness. • Reserve expensive lookup-based validations for checkpoint steps rather than every field change • Respect deployment-specific extensibility and debugging constraints; do not assume on-premise techniques are available in cloud editions. • Scope rules to the correct create/change usage to avoid unnecessary reprocessing • Test each rule against both compliant and non-compliant sample data before promoting to production • Use warning severity for advisory guidance and reserve error severity for true policy blockers • Verify extensibility and tooling access available for the specific deployment (on-premise, private cloud, public cloud) before finalizing design • Verify secondary indexes exist on any custom tables queried repeatedly by feeder classes in high-volume scenarios. Failure patterns that must be challenged: • Adding expensive lookup-based validations that fire on every field change and degrade UI responsiveness • Applying on-premise debugging assumptions to cloud-extensibility scenarios where direct ABAP access is not available. • Assuming a validation is 'wrong' without first simulating it in the rule engine with the actual captured input data. • Assuming validations can modify or default data; they can only evaluate and message, not set values • Attaching entity-level checks when a step-level or change-request-level check would achieve the same governance outcome with far fewer executions. • Building correct BRF+ logic but failing to verify its assignment to the right entity, usage, and processing step • Creating decision tables with gaps or overlapping rows that produce inconsistent firing behavior • Failing to scope the rule to the correct entity usage (create vs change), causing it to fire in unintended steps • Ignoring the validation context (working vs. active version) when a rule seems to see 'old' data during cross-entity comparisons. • Not logging recurring validation complaints, leading to the same root cause being re-diagnosed repeatedly by different support staff. • Not testing with representative data combinations before moving rules into the productive rule set • Overlooking that a derivation or another validation altered field values before the rule under test executed • Re-reading reference or lookup tables inside a loop for every entity instead of caching once per change request context. • Testing only in the BRF+ simulation tool without confirming behavior inside an actual change request • Using error severity for rules that should be advisory, blocking legitimate business processes unnecessarily • Writing rules that check raw input fields without accounting for derivation execution order A strong architect answer should make the

Related lesson

Designing, Configuring, and Troubleshooting Validation Rules in MDG (Part 2)

Related topics

Next practice step

Go deeper on this topic