SAP MDG · VALIDATION DERIVATION
How can I use BRFplus rules in SAP MDG Central Governance to validate master-data attributes and derive attribute values automatically?
In SAP MDG Central Governance, use BRFplus validation and derivation functions named `CHECK_<ENTITY_TYPE>` and `DERIVE_<ENTITY_TYPE>`. For the guide example, `CHECK_CARR` validates Airline local currency (`CURRCODE`) and `DERIVE_CARR` derives Airline URL from the Airline name in data model `SF`.
In SAP MDG Central Governance, use BRFplus validation and derivation functions named `CHECK_<ENTITY_TYPE>` and `DERIVE_<ENTITY_TYPE>`. For the guide example, `CHECK_CARR` validates Airline local currency (`CURRCODE`) and `DERIVE_CARR` derives Airline URL from the Airline name in data model `SF`.
Use BRFplus in SAP MDG Central Governance by first identifying the data model, entity type, and technical attribute name, then maintaining validation and derivation rules in `MDGIMG` or `USMD_RULE`. The guide example uses model `SF`, entity `CARR`, attribute `CURRCODE`, validation function `CHECK_CARR`, and derivation function `DERIVE_CARR`.
Process flow
- Identify the MDG data model, entity type, and technical attribute name.
- Open `MDGIMG` or transaction `
USMD_RULE`. - Create `CHECK_<ENTITY_TYPE>` for validation or `DERIVE_<ENTITY_TYPE>` for derivation.
- Add the relevant entity data object to the function context.
- Create and configure a ruleset.
- Define the condition.
- Create a validation message or derivation assignment.
- Activate the BRFplus objects, ruleset, and function using Confirm Activation if prompted by BRFplus. To verify in your SAP release, follow the guide's activation sequence for your system version, and ensure dependent objects are active as a
MDGIMGMaster Data Governance > Classic Mode in SAP MDG > Central Governance > General Settings > Data Modeling > Edit Data Model
Identify and visualize the MDG data model, entity type, and technical attribute name.
MDGIMGMaster Data Governance > Classic Mode in SAP MDG > Central Governance > General Settings > Data Quality and Search > Validations and Enrichments > Define Validation and Derivation Rules
Maintain BRFplus-based validation and derivation rules for MDG Central Governance.
Enter data model `SF` and continue
Directly open the BRFplus rule maintenance area for the selected MDG model.
Referenced tables
| Object | Purpose |
|---|---|
Data model / function reference | Guide example values used for BRFplus validation and derivation in MDG Central Governance. |
The remaining configuration, implementation details, and testing guidance continue from this answer more…
Related questions and keywords
Alternative questions
- How can I validate an MDG attribute using BRFplus?
- How can I derive an MDG field automatically?
- Can BRFplus be used for MDG validation and derivation?
Possible questions
- Which transaction is used for MDG BRFplus rules?
- Where is Define Validation and Derivation Rules?
- How do CHECK and DERIVE BRFplus functions work in MDG?
- How do I find an MDG field's technical name?
- Where can I find the MDG entity type for an attribute?