cancel
Showing results for 
Search instead for 
Did you mean: 

Physically delete DMS document

Former Member
0 Kudos

Hi all,

I know it is possible to use BAPI_DOCUMENT_DELETE (in conjunction with BAPI_TRANSACTION_COMMIT) to set the deletion flag on a DIR, and then use program MCDOKDEL to physically delete the DIR. But, with MCDOKDEL, you can only specify document type, and then all the DIRs marked for deletion within that document type will be deleted.

So my question is, is there a way to physically delete a specific DIR?

Regards,

Mari Virik

Accepted Solutions (1)

Accepted Solutions (1)

Hello,

  BAPI_DOCUMENT_DELETE_DIRECT allows to directly delete a DIR (even without deletion flag).

Best regards

Nathalie

Answers (1)

Answers (1)

Former Member
0 Kudos

Thank you, that worked just fine! 🙂