SAP Knowledge Base Article - Public

3077036 - Enhancement Spot (BAdI) CheckForDuplicateAccounts not working


You have created an Enhancement Implementation for the SAP Enhancement Spot (BAdI) CheckForDuplicateAccounts on your add-on from the SAP Cloud Applications Studio. When trying to debug the script file for this BAdI, the breakpoint is not getting triggered.

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."


  • SAP Cloud for Customer
  • SAP Cloud Applications Studio

Reproducing the Issue

  1. Navigate to Customer work center.
  2. Open the Accounts view.
  3. Create a new Account.
  4. Provide a name.
  5. Click on Check for Duplicates button.
  6. System message raised: Potential Duplicates found.

Expected behavior: The BAdI should be executed.


The scoping question "Do you want to display and maintain business partners in various roles?" is selected in the Implementation Project scope.


The BAdI will not execute unless the scoping question is deselected. You can find it by following the path:

General Business Data > Business Partners > Handling of Business Partners > Multiple Role Assignment for Business Partners

Multiple Role Assignment.png


PDI, SDK, .enht, Business Partner, Account, Contact, Duplicate Check, Duplicates , KBA , LOD-LE-BP-DUP , Business Partner Duplicate Check , AP-RC-BDS-AE , ByDesign Studio Application Exits , How To


SAP Cloud Applications Studio all versions ; SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions