2011 Dec 21 7:13 AM
Hi Guys,
My requirement is towrite a method to delete the document originals from DMS(data management system) CV03N.
Please suggest the approach.
Regards,
RSK..
2011 Dec 21 7:26 AM
There is a standard Bapi available for this. This is a basic question so put some effort and search yourself.
Kesav
2011 Dec 21 7:26 AM
There is a standard Bapi available for this. This is a basic question so put some effort and search yourself.
Kesav
2011 Dec 21 7:37 AM
Hi Kesav,
Thanks for the reply.
I got bapi_document_delete and bapi_document_direct_delete.. Function modules .. but these function modules used to delete the whole document.
But i want to delete the originals(attachments) only.
Please let me know what is the function module i have to use or any other approach..
Regards,
RSK..
2011 Dec 21 7:43 AM
Then its change not delete. Refer bapi_document_change2. There is a table parameter documentfiles & refer the field deletevalue for each document number. When its set for deletion then your attachment is removed.
Use bapi_document_getdetail2 and receive the details and pass it to the change bapi with the deletion inidicator set
Kesav