SAP Knowledge Base Article - Public

2699948 - During a Territory Cleanse You Are Faced With an Error Message : "Territory can not be deleted; transaction documents are using territory " And the Action Cannot be Completed


An Error Message in your Territory cleanse endeavor : "Territory cannot be deleted; transaction documents are using territory".

You cannot complete the cleaning for the related Territory.




Your territory 123 is still assigned to data in the system.

The error message above means 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).


You may change the territory ID maintained in those documents by taking the following steps:

  1. Identify the Accounts for which the territory was changed from 123 to the new Territory ID 456 (the target Territory of your initial endeavor).
  2. Proceed to modify the realignment rules to change the territory back to 123, to resume to the initial Territory management.
  3. Create a new Realignment Run to change the territory for these Accounts from the new Territory ID 456 back to Territory 123. All the related accounts and corresponding transaction documents now have 123 as Territory ID.
  4. Modify then rules toward the new territory again: Create and execute a new realignment run which will change the territory for the accounts as well as the transaction documents.



Territory cannot be deleted; transaction documents are using territory, realignment run, sales document, , KBA , LOD-CRM-TM , Territory Management , Problem


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