At your projects you might ask yourself how to restrict available Business Partner Categories (Person, Organization, Group). Very often Business Partner Category ‘Group’ should be hidden. In this blog I will describe a simple way by using a BAdI implementation.
Target audience: Functional expert, Development expert
Version: SAP S/4HANA On premise 1610 and higher
With SAP S/4HANA a BAdI is available to control available Business Partner Categories to avoid Business Partner creation with a specific Business Partner Category.
BAdI BUPA_PARTNER_CATEGORY can be used for this approach.
Just create an implementation and mark relevant Business Partner Categories.
method IF_EX_BUPA_PARTNER_CATEGORY~ALLOW_CATEGORY.
EV_AUTH_PERSONS = 'X'.
EV_AUTH_ORGANIZATIONS = 'X'.
EV_AUTH_GROUPS = ''.
endmethod.
With this simple example creation button ‘Group’ will not be available any more.
Furthermore there are additional input parameters available to define this control a bit more granular.
Additional parameters are: