SAP Knowledge Base Article - Public

2604853 - You Cannot Delete A Territory 'Cannot Delete Territory; * Remain Assigned To It'.

Symptom

You want to delete a territory but this is not possible and you get an error similar to: 'Cannot delete territory; accounts remain assigned to it'.

Environment

SAP Hybris Cloud for Customer

Reproducing the Issue

  1. Go to the Sales workcenter.
  2. Go to the Territories view.
  3. Select the relevant territory ABC (ABC represents the territory name).
  4. Click the Delete button.
  5. The territory will not be deleted. You might receive an error message like 'Cannot delete territory; accounts remain assigned to it' or similar. 

Cause

Your territory ABC is assigned to data in the system. The error message above would mean that there are accounts assigned to the territory. You might get a similar error if other documents have the territory assigned (for example Sales Orders).

Resolution

Delete the territory from the documents - both Master data as well as transactional data.

Keywords

Cannot delete territory; accounts remain assigned to it; Gebiet lässt sich nicht löschen; Gebiet kann nicht gelöscht werden; es wird in Vorfallbelegen verwendet; Territory, delete, löschen, Gebiet, cannot , KBA , LOD-CRM-TM , Territory Management , How To

Product

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