08-08-2013 2:58 PM
Hi experts,
I got a requirement to create an ABAP program to delete archived files in archive server.
After I have searched for the solution but I found nothing, ARCHIVE_OPEN_FOR_DELETE it's using to Open Achive File to Delete Records in the Database and also ARCHIVE_DELETE_OBJECT just for data in database table ADMI_*
It seems like we're unable to delete archived files from SAP side by using ABAP, right?
Any advice would be greatly appreciated.
Thank you in advance,
Tiwa N.
08-08-2013 6:36 PM
hello,
I guess the answer depends on what tool you are using to archive the database entries in SAP. If not standard SAP (third party tools like Panaya etc) then they have their own interfaces and transactions to delete the archived files. I guess you are referring to SARA and all right ?
best regards,
swanand
08-08-2013 6:36 PM
hello,
I guess the answer depends on what tool you are using to archive the database entries in SAP. If not standard SAP (third party tools like Panaya etc) then they have their own interfaces and transactions to delete the archived files. I guess you are referring to SARA and all right ?
best regards,
swanand
08-09-2013 3:18 AM
Hello, Swanand Lakka.
We are using third party 'IXOS-OpenText' to store archived files. As you mentioned, then I might not be able to delete it from SAP side so I asked basis guys to set file's retention parameters on the archive server instead.
Thank you and Best regards,
Tiwa N.
08-09-2013 4:09 AM
Hello, Swanand Lakka.
I debug SAP function 'ARCHIV_DELETE_META' that used to delete document archiving stored in OpenText archive sever then I found SCMS_AO_DELETE will always be called.
Finally I found that archived files in OpenText archive server can be deleted by using function module SCMS_AO_DELETE
Best regards,
Tiwa N.
12-16-2014 6:26 AM
Thanks for the resolution Tiwa,
But I am getting HTTP/File not found error when I use this FM - SCMS_AO_DELETE.
Please let me know what parameters from FM - ARCHIV_CONNECTINFO_GET_META, I need to pass to this FM - SCMS_AO_DELETE.
Regards,
Srivijay
08-09-2013 4:13 AM
08-30-2013 6:42 AM
Hello,
If you are able to delete the archive file with Abap FM, then your archiving on Opentext is not secure.
Probably you are able to delete the link tables or ADMI tables and pass on a delete request to the archive server with a sucess return code. If your storage happens on WORM (Write-once-read-many) or Snap-lock libraries, you will not be able to delete the actual content from the storage devices. Usually you need to set the retention period in case of snap-lock storages and physically remove and destroy in case of Worms. Hope this helps
Thanks
Sreejith
03-04-2014 3:08 PM
Hi Sreejith,
I archived the transaction data for archiving object CO_ITEM, now I want to delete it, how may I do it, any inputs?
Deepankar
10-18-2019 7:20 PM
Hi Tiwa,
I was also looking to delete Archived files using ABAP for object CO_ITEM. Please share your inputs for this in ABAP side if any. Thanks!
Regards,
Krishna