SAP Knowledge Base Article - Public

3672395 - Facing error when link existing leads to opportunities

Symptom

When upload Opportunities via Data Workbench (DWB) and attempt to link them to existing Leads. Some Opportunities linked failed with the error: "Modify Failed, Error in determining DWB ID mapping for external key."

Environment

SAP Cloud for Customer

Reproducing the Issue

  1. Go to Data Workbench
  2. Select Import
  3. Individual object with insert operation
  4. Select Lead Object and Lead Business Transaction Document Reference
  5. Upload the attached file and Simulate
  6. Error "Modify Failed, Error in determining DWB ID mapping for external key."

Cause

One possible reason is the referenced Leads already had Opportunities created with Reference_Document_Type_Code, which is why the error is occurring during the DWB upload.

Example Scenario, Lead A initially had Opportunity linked, but user later deleted the Opportunity. However, since the Lead was already converted using a lead conversion status, the system still retains the conversion state. This prevents any further conversion attempts, resulting in the observed DWB error.

Resolution

Leads already linked to Opportunities cannot be reused for new Opportunity creation.

Keywords

dwb, external key error, opportunity linking, lead conversion, reference document type code 72, data workbench mapping, sap c4c, dwb id mapping error, lead opportunity relationship, conversion state error , KBA , LOD-CRM-LM , Lead Management , Problem

Product

SAP Cloud for Customer core applications all versions