Is it possible delete DMS document from database ?
Yes Sometime we need delete DMS document from SAP database.(for example data migration is wrong and etc.)
We have two solution
Step 1 : Find document you want delete and set deletion flag ( it is possible mass set deletion flag in cv04n if you set in customizing)
step 2 : Go to t.code : se38 and run program MCDOKDEL
Step 3 : select document Type
Number 1 : If set X run program in test mode and document not deleted
Set this indicator if you want to execute a test run before deleting any
You should execute a test run first of all since the documents are not
archived before they are deleted.
As a result you receive a list that is divided into two parts:
o Part 1: Undeleted documents
This is a list of the documents that cannot be deleted due to their
o Part 2: Deleted documents
Number 2 : This indicator controls whether the usage should be checked for the
documents to be deleted.
Step 4 : Run
All document in select document type deleted.