cancel
Showing results for 
Search instead for 
Did you mean: 

Search for a function module for deleting document originals (DMS)

Former Member
0 Kudos

Hi,

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?

Thanks.

Jan-Christian Treusch

Accepted Solutions (1)

Accepted Solutions (1)

former_member182387
Active Participant
0 Kudos

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

Former Member
0 Kudos

Many thanks!

That's especially the method I've searched for so long....

best regards.

Jan-Christian Treusch

dhinesh_thirugnanam
Active Participant
0 Kudos

Hi,

Only the deletion flag is set,but the orginals are not getting deleted.If i do according to the procedure you have mentioned.

dhinesh_thirugnanam
Active Participant
0 Kudos

Hi,

Only the deletion flag is set,but the orginals are not getting deleted.If i do according to the procedure you have mentioned.

Former Member
0 Kudos

tell what are the bapi we have to use to delete the orginal in dms..give some sample code it is useful for me..

Answers (0)