SAP Message R1531 - DiffType for BP role BP2 must be the same as DiffType for RoleDefCat

Diagnosis
If you want a semantic check for business partner 2 that references theBP role, the same differentiation type must be assigned to this role asis assigned to the role definition category.

System Response
Error message

Procedure
Check whether the differentiation type you need is assigned to the roledefinition category.
Select only one BP role to which the same differentiation type isassigned.