cancel
Showing results for 
Search instead for 
Did you mean: 

BADI (USMD_RULE_SERVICE) is not getting trigger for MDG Validation (BP)

former_member230279
Participant
0 Kudos

Hi Everyone,

I am trying do some data validation through ABAP code for MDG (Master Data Governance). as this development is  web service (T-code NWBC) . So I tried to find BADI by standard process ( CL_EXITHANDLER) by placing external break point for USER mention in Web-service. Still debugger is not getting stop at that.

By description & net search i found one badi USMD_RULE_SERVICE :  Validations/Derivations Across Entity Types Still code is not getting trigger.

There can be 2 reason

1. Either this BADI is not correct.

2. Some other issue .

... So please let me know how to find correct place to put out my validation .

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Depending on your requirement for validations you could either use BAdI:  USMD_RULE_SERVICE or  USMD_RULE_SERVICE_CROSS_ET. You can look at the available BAdI for validation through MDG configuration -> Master Data Governance-> General Settings->Data Quality Search->Validations and Enrichments-> Business Add-Ins

former_member230279
Participant
0 Kudos

Hi,

I had gone to that MDGIMG--> >Data Quality Search->Validations and Enrichments-> Business Add-Ins.

Over there same BADI's are mention.

But problem still remain same..

WHY debugger is not getting trigger in its implementation.

Former Member
0 Kudos

Instead of debugging the CL_EXITHANDLER try debugging the CL_USMD_RULE_SERVICE if you have implemented the Badi USMD_RULE_SERVICE for validations, Check for the attribute do_badi. Best way is to put breakpoints in your Badi implementing class and then check the call stack. If still your debugger is not getting called then you have to check the CR step properties for the CR type(Which cr type are you using?).