on 07-20-2016 6:24 PM
Hello Everyone,
We need to delete old SAP Archived documents permanently from the Open Text Archive Server. We can run Purge expired Job from Open Text server to delete documents which are older than set retention period, however as per Open Text team before doing that we need to delete the documents from leading application( i:e SAP in our case).
Please let me know how to delete old archived documents from SAP which are no longer required, our permanent storage space is filling up on the Archive server and we need to free space by deleting unwanted archived data.
Regards
Abhilash
Hi Abhilash & Prithviraj,
I'm facing a similar problem. we have many old archive files in Opentext, we want to delete some historical files, but when I try to use SCMS_AO_DELETE to delete the file, it raised error “HTTP error: 403 Forbidden 3060: Document '02F1CD3199E21EEDB2A534C5122D2EB2' is under retention or hold and can not be deleted”
Do you know how to do next ?
best regards,
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prithviraj,
Thank you for the above response, i was out of office and hence replying a bit late here.
Archived documents are regularly getting deleted from SAP Database and transferred to Permanent Storage on Open Text Server.
In our present scenario we want to delete old Archived files from Open Text Server which are
no longer required by the client.
Just for example if i check in SARA for Archiving Object ISU_EEIN the files which are deleted from SAP and Stored on Archived Server are in format = "000889-003ISU" . However on Open Text Server the file format are on totally different.
I am looking for a feasibility where we can go to Open Text server and delete corresponding old Archived files which are already deleted from SAP Database and no longer required in permanent Storage.
Also please be informed that above SCN Post that you have shared suggests to use functional Module SCMS_AO_DELETE. When we execute functional Module it asks to provide the following:-
ARC_ID, DOC_ID & COMP_ID
Can you confirm from where i can get above details in order to try and delete a document.
Regards
Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prithviraj,
I am able to delete Archived file using functional module SCMS_AO_DELETE by providing ARC_ID and DOC_ID values, however when i go to SARI i am still able to find individual document names under the deleted Key for Archive File "000127-001ISU_AMIO(in our case)" for which i ran deletion for program.
When i try to open individual documents on above screen it gives below message that document does not exist which makes sense as we have deleted them using functional module.
Our concern right now is why its still showing all the Parked documents in main screen (Second Screenshot) when we have already deleted document ID associated with Key for Archive file (000127-001ISU_AMIO). Is there any re-indexing\synchronization Job or step we need run or perform in order to refresh the Data at SAP end for Archived records so that it not reading any records for Key for Archive file (000127-001ISU_AMIO) and we can get below desired screen:-
Appreciate your inputs till now, please advise.
Regards
Abhilash
Hi Abhilash,
I guess this how it is...
The same is the situation with SARA.
My last write session was cancelled and due to which one stored file was corrupted can could not be read further could not be deleted by delete job.
I re-run the write job and everything was OK. But I could still see the incomplete session for that object than I read that you can avoid this. And if required deleted the entire archiving session using BC_ARCHIVE object in SARA. But this will delete all the statistics for that session.
And I guess this should be similar in your case.
Regards
Prithviraj.
Hi Abhilash,
When you say old archived documents what does this exactly mean?
Archived documents would have been deleted from SAP database before or after storing them on Open Text server, isn't it?
Or you did not delete them while archiving?
Anyway take a look at the thread below if this is what you mean
How to delete archived files by using ABAP? | SCN
Regards
Prithviraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.