Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to delete a versions folder

Hi All,

we deveopled a report which should delete all version folders, which contain documents without a head revision (current version).

Works fine on the front, but I have a question about the backend exactly about the database:

(1) When I delete a versions folder within my code, would be all included files be deleted from the database?

(2) Is there a difference between deleting per command or per code or is it the same? Has the deletion been monitored by a Repository Service?

Many thanks

Steve

Former Member
Former Member replied

>

> (1) When I delete a versions folder within my code, would be all included files be deleted from the database?

> (2) Is there a difference between deleting per command or per code or is it the same? Has the deletion been monitored by a Repository Service?

> Steve

1) The version storage folders expose the database content. So yes, deleting versions will affect the database accordingly.

2) A command is implemented in code as well, so there should be no difference (assuming they use the same API, which they should)

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question