Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
0012anirban
Product and Topic Expert
Product and Topic Expert

Hi All,

Season's greetings!! 

In 2023 I focussed on sharing my insights on the data quality management module of SAP Master Data Governance through multiple blogs( "as if it was used be called in the old website"). If you have missed some of these then here is a quick link to all of the content published earlier.

  1.  MDG DQM: Enriching product master data with derivation rules in S/4 HANA
  2.  MDG DQM:Employing rules in central governance & mass processing in S/4 HANA
  3.  MDG DQM: Empowering Your Business with High-Quality Data in S/4HANA

As I start 2024, I have delved a little deeper into this topic and with the new community platform launched, I was excited to share some of the insights from SAP Master Data Governance data quality management on this new platform.

So without further Adieu let's dive in !!

INTRODUCTION

In this blog post we will cover a few steps on how we can troubleshoot the BRF+ validations which is the underlying framework for MDG DQM. This module of MDG is still evolving rapidly as we move towards cloud first and a clean core approach. As MDG developers we are still pretty comfortable with classical BADI's for doing validations and we all know it's quite easy to troubleshoot the rules. But when it comes to DQM we might wonder how do my rules get called? how can i troubleshoot my rules if they are not working as expected? 

So let's see how we can troubleshoot the rules.

MAIN CONTENT

  1.  DQM rules will be triggered when we click the check button on our MDG UI.0012anirban_1-1706620006918.png
  2.  Once click on check the MDQ adapter CL_MDQ_COMMON_ADAPTER_PROD class will be called which will in turn call the MDQ rule engine class CL_MDQ_RULE_ENGINE_CHECK. 0012anirban_2-1706620128164.png
  3.  This rule engine check method will internally call many other methods and one of the methods which gets called is CL_MDQ_BRFPLUS_HANDLER, this class is responsible for executing the BRF+ functions by calling other standard methods. In this class, we can put a breakpoint in the execute_function method.                                   0012anirban_5-1706620872953.png0012anirban_6-1706622484448.png  
  4. Inside execute_function we will find an FDT method which processes the BRF+ function.0012anirban_8-1706622830964.png
  5.  Inside the process method, we will get the class name associated with the BRF function ID.        0012anirban_10-1706622927337.png
  6. Using this class name we will call the process_dynamic method of the FDT.0012anirban_11-1706623055370.png
  7.  Inside this method look for the process_pure method which will have the entire BRF+ generated code for a rule which you have created in DQM.                    0012anirban_12-1706623163317.png

By following these steps you can easily navigate through the DQM validation rule framework troubleshoot your rules and make sure they are working perfectly fine.

Scenarios which need troubleshooting:

1. You import your rule from one system to another, the rule is approved and enabled for check-in change requests but still doesn't work.

2. You modified your BRF+ logic as per your requirements after the initial build, however, the latest rules don't reflect this.

System details:

S/4 HANA 2023 FPS00.

CONCLUSION

By following the above steps you will be easily able to troubleshoot DQM rules for SAP Master Data Governance central governance.

Hope you find this information useful.

Regards

Anirban

Labels in this area