Symptom
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."
Environment
- SAP Cloud for Customer
- SAP Cloud Applications Studio
Reproducing the Issue
- Navigate to Customer work center.
- Open the Accounts view.
- Create a new Account.
- Provide a name.
- Click on Check for Duplicates button.
- System message raised: Potential Duplicates found.
Expected behavior: The BAdI should be executed.
Cause
The scoping question "Do you want to display and maintain business partners in various roles?" is selected in the Implementation Project scope.
Resolution
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
Keywords
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