cancel
Showing results for 
Search instead for 
Did you mean: 

Mass deletion of DIRs

Former Member
0 Kudos

We have several hundred test DIRs that we have loaded and would like to delete them all. These DIRs are within a folder in DMS and have object links. SAP does not allow us to mark for deletion a DIR that is part of a folder structure and/or has object links.

Does anyone know if there is a program that we can run to mark DIRs for deletion in mass, even if it is part of a folder structure and has object links?

Accepted Solutions (1)

Accepted Solutions (1)

christoph_hopf
Advisor
Advisor
0 Kudos

Hi Andrew,

regarding your description I think the BAPI_DOCUMENT_DELETE or BAPI_DOCUMENT_DELETE_DIRECT could be useful for you. But please pay attention if there are object links existing and check the entries in table DRAD to make sure that no inconsistent data will remain.

For further information on the mentioned BAPIs please see the documentation in transaction BAPI under area 'Cross-Application-Components'.

Best regards,

Christoph

Answers (0)