‎2008 Dec 17 1:10 PM
Hi all,
I am working with the archive engine. And i am using archiving classes for archiving of change documents (CDHDR/CDPOS). I have made all the customizing that has to be done in the engine. But somehow my change documents after having written into archive file are not getting deleted from the database when the delete phase is executed. Any help would be very useful.
Thanks in Advance.
Warm Regards,
Naveen M
‎2008 Dec 17 1:13 PM
Hi Naveen,
Please check this link
http://help.sap.com/saphelp_srm30/helpdata/en/15/c9df3b6ac34b44e10000000a114084/content.htm
‎2008 Dec 17 1:20 PM
hi
go thru
http://help.sap.com/saphelp_nw70/helpdata/EN/08/5741cf4ae611d1894f0000e829fbbd/content.htm
it wud be helpful
‎2008 Dec 17 1:30 PM
Hi Naveen,
Refer this link http://help.sap.com/saphelp_nw04s/helpdata/en/2a/fa0204493111d182b70000e829fbfe/frameset.htm
Regards,
Flavya
‎2008 Dec 18 4:01 AM
Hi,
Thanks for spending some time on this. But none of those links had any content which could help me solve my problem. Hoping to get some help.
Warm Regards,
Naveen M
‎2008 Dec 18 4:32 AM
Hi,
Did u check one more table (CDPOS_UID) in the Delete Program.
thanks\
Mahesh
‎2008 Dec 18 4:42 AM
Hi mahesh,
Which table are you talking about.. i am archiving CDPOS and CDHDR tables i am not aware of this table. Can u pls give some more details..
Thanks in Advance.
Regards,
Naveen M
‎2008 Dec 18 4:55 AM
‎2008 Dec 18 5:27 AM
Hi,
I am sorry.. I forgot to mention. This is my first archving object i dont know what to look for in those transactions. Any additional information will be of help
regards,
Naveen M
‎2008 Dec 18 5:03 AM
Hi Naveen,
Select the object name CHANGEDOCU in Tcode:SARA and then click on Database Tables,
there u will see the list of table with deletion.
thanks
Mahesh
‎2008 Dec 18 5:16 AM
Hi mahesh,
i checked in the SARA transaction the DB table names include that table..
Scenario and problem i am facing:
I have created a archiving object to archive some data in my project.. and to archive the associated change documents i have created the archiving class... my main header table data is working properly i mean its getting archived and deleted from db also.. but unfortunately the change documents associated with them is not getting deleted after the delete phase..
And i dont know if they are getting archived as i dont know where in the archive file browser the change documents which are archived can be found.. Even if they are getting archived why are they not getting deleted???
Thanks in advance..
Regards,
Naveen M
‎2008 Dec 18 5:59 AM
Naveen,
My understanding in this aspect is, if u want to perform archive/ purge process for the tables u have mentioned, u should execute the write, read and delete programs of the archive-object (CHANGEDOCU) from the trx.SARA .
Did u check-up the archived data of ur project tables other than CDHDR, CDPOS before deleting from the source tables, how?
thanks\
Mahesh
‎2008 Dec 20 7:36 AM
Hi,
Hope you have used Archiving object CHANGEDOCU to archiving Change documents,
Please check the archive session no under delete job, if your archive session no is not displayed then it is deleted from the system.
Please check the table entries for CDHDR, CDPOS.
Still if you same problem then
1. check your variant selection screen > check for production mode. It should be selected as production mode not the test mode.
2. Check your customizing for storage scenario > Delete before store.
Try again archiving few change document. Hope it should archive and delete the data.
Let me know if you require any more help.
-Thanks,
Ajay