Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
steffen_ulmer
Employee
Employee
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 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 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 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 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

 

Update:

  • As of OP2022 FPS1 (released 22nd Feb 2023) we support the import of already existing validation rules so that the existing version of the rule can be updated.

  • Similar approach could be applied for Derivation Scenarios as well.

5 Comments