cancel
Showing results for 
Search instead for 
Did you mean: 

How can I avoid deleting original files from EasyDms?

JavierL
Discoverer
0 Kudos

I have created an authorization object to control the deletion of .documents. I use the IF_EX_DOCUMENT_MAIN01~BEFORE_DELETE BADI.

When i delete a document from EasyDms, it verifies the authorization object, and if you don't have the authorization, it shows up a message, but the document disappears from the directory (BOM Document), The document is not deleted because I use an exception to cancel the deletion, but the file is not listed in the directory any more.

How can I avoid deleting the file from the directory? Can I use an exception to Cancel the process and How can I use it?

Thank you and regards.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member185558
Active Participant
0 Kudos

Hi Lopez,

In stead of that BADI

can you try IF_EASYDMS~DOCUMENT_CHANGE2

I believe it should work.

Regards,

Niketan