cancel
Showing results for 
Search instead for 
Did you mean: 

MDG - check business partner role

andreas_hoger
Explorer
0 Kudos

What is to best place to implement a check if a Business Partner has at least one Business Partner role?

We use MDG as add-on in our S/4 System. We want to avoid, that Business Partner is created without roles.

Accepted Solutions (0)

Answers (1)

Answers (1)

michael_theis
Active Contributor
0 Kudos

Hi Andreas,

there are multiple options for implementing custom validations. The general recommendation from "our" side is explained in SAP note 2308424 MDG-BP/C/S: Implementing Custom Validations, which is extending the common re-use checks used by MDG, anyways. The benefit of this approach is that you ensure running this validation in different scenarios:

  • consolidation & mass processing calls this check
  • the inbound of the BP web service calls this check
  • the central governance UI calls this check

If you want to run this check only in central governance, you could also use a custom handler class. Within the handler it's easier to get the complete business partner data that you need for this check (e.g. due to the fact that existing DB data is buffered; the class contains methods to get the current state (active data mixed with inactive data), etc). You can find a how-to for custom feeders in our enhancement section https://wiki.scn.sap.com/wiki/display/SAPMDM/Documentation%3A+Customer%2C+Supplier%2C+and+Business+P....

Kind regards

Michael