Search for a function module for deleting document originals (DMS)
I'm searching for a function module to delete originals in documents (like manually with transaction cv02n). I'm only able to set an delete mark with the module 'BAPI_DOCUMENT_DELETE'.
The module 'BAPI_DOCUMENT_CHANGE2' can only add new originals to an existing document. I need a possibility to delete all originals in an document without deleting the document itself.
Has anyone an idea?
Senthil Kumar replied
Hi Jan-Christian Treusch,
For deleting the file from DMS, u need to send the file details(which you want to delete) in the DOCUMENTFILES table.Only difference is you need to check the DELETEVALUE flag inside the table.
Thanks and Regards
Senthil Kumar Anantham