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
- Go to Data Workbench
- Select Import
- Individual object with insert operation
- Select Lead Object and Lead Business Transaction Document Reference
- Upload the attached file and Simulate
- 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
SAP Knowledge Base Article - Public