SAP Message /BEV2/EDMESS1211 - Movement category &1 is still assigned to tax types

Diagnosis
The movement category is still assigned totax types.

System Response
Deleting the movement category is denied.

Procedure
Make sure the movement category may be erased. At first, delete theassignment movement category for tax typein the Customizing, then delete the movement category.