SAP MDG · COMMUNITY
How can I use BRFplus in SAP MDG Central Governance to validate a master-data attribute or derive a field automatically?
In MDG Central Governance, use BRFplus validation and derivation functions named for the entity, such as CHECK_CARR and DERIVE_CARR, configured in USMD_RULE or through MDGIMG. Add the entity context, build a ruleset, define the condition or assignment, activate the objects, and test in the MDG application.
In MDG Central Governance, use BRFplus validation and derivation functions named for the entity, such as CHECK_CARR and DERIVE_CARR, configured in USMD_RULE or through MDGIMG. Add the entity context, build a ruleset, define the condition or assignment, activate the objects, and test in the MDG application.
Use BRFplus in SAP MDG Central Governance to validate or derive attribute values without coding. First identify the MDG data model, entity type, and technical attribute name, then maintain the rules in MDGIMG or USMD_RULE. In the guide example, entity CARR (Airline) uses CHECK_CARR for validation of CURRCODE and DERIVE_CARR for deriving the Airline URL from the Airline name.
Process flow
- Start MDGIMG and navigate to Master Data Governance > Classic Mode in SAP MDG > Central Governance > General Settings > Data Modeling > Edit Data Model.
- Select data model SF and choose Visualize Data Model to identify the entity and technical attribute.
- Open Master Data Governance > Classic Mode in SAP MDG > Central Governance > General Settings > Data Quality and Search > Validations and Enrichments > Define Validation and Derivation Rules, or start
USMD_RULEand enter SF. - Create CHECK_<ENTITY_TYPE> for validation or DERIVE_<ENTITY_TYPE> for derivation, using the entity suffix from the data model.
- Add the relevant entity data object to the function context.
- Create and assign a ruleset.
- Define the condition and the message or assignment logic.
- Activate the BRFplus objects and ruleset, then test in the MDG app such as Manage Airlines - Governance.
MDGIMGMaster Data Governance > Classic Mode in SAP MDG > Central Governance > General Settings > Data Modeling > Edit Data Model
Identify the 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.
Enter data model SF and continue
Direct access to the MDG validation and derivation rule maintenance.
Referenced tables
| Object | Purpose |
|---|---|
SF | Example data model used in the guide. |
CARR | Example entity technical name for Airline. |
CURRCODE | Example technical attribute name for Airline local currency. |
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
- How do I find an MDG field's technical name?
- Where do I configure BRFplus validation and derivation rules in MDG?
- How do CHECK and DERIVE functions work in MDG?
- Why is my MDG BRFplus rule not triggering?
- How do I test a BRFplus validation or derivation in MDG?