MDG Validation (BRF+ application)

We are making the BP Grouping field as mandatory using BRF+ application

Pre-requisite for making any attribute mandatory is to get their technical attribute name.

So, in our example we wants to make BP grouping as mandatory and this field is present in the BP_HEADER entity and the technical attribute name is BU_GROUP.

Steps:-

1. T-code USMD_RULE or else follow below path.
MDGIMG -> General setting -> Data Quality and Search -> Validation and Enrichments -> Define validation and derivation rule




Give data model name. In our example, we are using BP data model.

Standard BRF+ application will open for MDG

2. Inside application, Inside Trigger function there is folder namely Check Entity. Right click on this folder and create one function.



3. Give the name as CHECK_<ENTITY_NAME>. Here we doing on the Entity BP_HEADER so we gave as CHECK_BP_HEADER (NOTE: We must follow this naming conventions to make tun these rules smoothly).

4. After that click Create and Navigate to object button and press OK button.


5. Here, Select Add Existing Data Object button.


6. Search using Attribute value and Select the structure so that we can use all attributes from structure


7. After, go to Assigned Ruleset tab and Create new Ruleset


8. Give the Properties as below.


9. Create new rule in Ruleset as follows.






10. Test


 

  

Comments

Popular posts from this blog

SAP MDG Process Modelling

Extend the MDG Business Partner – Node Extension (Reuse Option)

MDG Derivation (BADI)