SAP Message 26160 - You cannot delete the document type, because it is still in use

Diagnosis
You want to delete a document type.

System Response
This document type is still used in other documents.

Procedure
Delete the documents of the document type concerned. Then you candelete the document type.