SAP Knowledge Base Article - Public

2504207 - Cannot Delete Opportunities with Error 'Opportunity with ID XX can't be deleted because of existing follow-up documents'

Symptom

When deleting an opportunity, the error 'Opportunity with ID XX can't be deleted because of existing follow-up documents' occurs even though there's no follow-up document maintained (e.g. Leads, Sales quotes, Sales Orders, etc.).

Environment

SAP Cloud for CUstomer

Reproducing the Issue

  1. Go to the Sales work center.
  2. Go to the Opportunities work center view.
  3. Select the relevant opportunity.
  4. Click Delete (Actions > Delete). 
  5. Error 'Opportunity with ID XX can't be deleted because of existing follow-up documents' appears and the opp is not deleted. 
  6. When you check the Document Flow facet of the object you see that there are no follow-up documents.

Cause

There's a survey added in the opportunity which is causing the issue.

Resolution

Delete the survey first and then delete the opportunity then.

Keywords

Delete opp, Folgebeleg, Opportunity kann nicht gelöscht werden , KBA , SRD-CC-FED , Feeds , LOD-CRM-OPP , Opportunity Management , LOD-LE-SUR-EXE , Survey execution = runtime , How To

Product

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