SAP Knowledge Base Article - Public

2744674 - Error: "Instance with the same key (…) already exists" when creating Opportunities

Symptom

You are creating opportunities and get the error message "Instance with the same key (…) already exists".

Environment

SAP Cloud for Customer

Reproducing the Issue

  1. Go to the Sales workcenter.
  2. Go to the Opportunities view.
  3. Click New to create a new Opportunity.

Result: Error "Instance with the same key (…) already exists"

Cause

This symptom is often occurring when migrated documents have the same number range which is used for normal processing.

Resolution

We should provide a permanent fix with the 1905 release.

In the meantime, please do the following:

  1. Go to the Business Configuration workcenter.
  2. Open the Activity List and search for Opportunities.
  3. Click Maintain Number Range.
  4. Change the number range to numbers that are higher than the last number shown in the error message. Allow plenty of difference to avoid further clashes.

Keywords

opportunities, same key, create, number range , KBA , LOD-LE-OPP , Opportunity processing , Problem

Product

SAP Cloud for Customer add-ins 1811 ; SAP Cloud for Customer add-ins 1902