Skip to Content
Business Trends
Author's profile photo Steffen Ulmer

SAP MDG Validation Rules: New BRF+ expression types supported for Export/Import

Hi MDG community,

For several releases now SAP MDG includes two Fiori Apps to define business rules in the context of Data Quality Management.

SAP%20MDG%20Apps%3A%20Validation%20Rules

SAP MDG Apps: Validation Rules

The meta information of the rule is defined in the app directly and the implementation is done in an integrated way with BRF+. With SAP S/4HANA versions 1909 and 2020 it’s also possible to reuse the centrally defined business rules in Central Governance, Consolidation and Mass Processing. Typically, you create and govern the business rules directly in your productive system with a status-based workflow. The following diagram shows the process.

Process%20for%20Validation%20Rule%20Governance

Process for Validation Rule Governance

Because many customers do not want to maintain the rules directly in their productive system SAP MDG also provides 4 more apps for Exporting and Importing business rules for both domains.

SAP%20MDG%20Apps%20to%20Export%20and%20Import%20Rules

SAP MDG Apps to Export and Import Rules

These apps have been shipped with SAP S/4HANA 1909 FPS2. Since version 2020 the export and import support as well the BRF+ artifacts as a zip file.  This means that you can “transport” the complete MDG validation rules from your development system up to the productive system. This process is somehow similar to your normal ABAP developments and customizing transports.

Now with the latest Feature Packs (see SAP Note 3047953) for SAP MDG on SAP S/4HANA 2020 the export/import functionality supports much more BRF+ expression types such as “Formulas”, “Function Calls” and “Procedure Calls”. This enhanced support of BRF+ expression types for export/import is quite important for customers who have more complex validation rules. Many of my customers at least use BRF+ function calls to logically separate parts of validations to be able to reuse them in many different rules.
The following diagram shows such a fragmentation of rules.

Example%20architecture%20for%20custom%20BRF+%20app

Example architecture for custom BRF+ app

 

If you want to transport such an implementation to a productive system you need to make sure that the custom BRF+ App is transported in advance to the MDG Validation Rule because the MDG App “Import Validation Rules” will check if the called custom BRF+ App exists in the target system. Because of that I recommend a process like shown on the next diagram.

Transport Validation Rules with Export/Import Apps

The new features are documented in the official help page and in SAP Note 3047953

Best Regards
Steffen

Assigned Tags

      3 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Senthilkumar Moorthy
      Senthilkumar Moorthy

      Excellent information Steffen.

      Regards

      Senthil.

      Author's profile photo Prateek Agarwal
      Prateek Agarwal

      Hello Steffen,

      Thanks for sharing such a useful information. It is crisp and self explanatory.

      One small observation:-I think there is a typo at step3 of image "Transport Validation Rules with Export/Import Apps" , Fiori App should be used as import Validation rule and not export. Please suggest.

       

      Regards

      Prateek

      Author's profile photo Steffen Ulmer
      Steffen Ulmer
      Blog Post Author

      Thanks for the hint. i have corrected the error on the screenshot/diagram