Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Archiving Change Documents

MNaveen
Product and Topic Expert
Product and Topic Expert
0 Likes
3,607

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

12 REPLIES 12
Read only

Former Member
Read only

Former Member
Read only

Former Member
0 Likes
2,397
Read only

MNaveen
Product and Topic Expert
Product and Topic Expert
0 Likes
2,397

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

Read only

former_member222860
Active Contributor
0 Likes
2,397

Hi,

Did u check one more table (CDPOS_UID) in the Delete Program.

thanks\

Mahesh

Read only

MNaveen
Product and Topic Expert
Product and Topic Expert
0 Likes
2,397

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

Read only

GauthamV
Active Contributor
0 Likes
2,397

hi,

check these transactions.

CCAD

SU80

SU84.

Read only

MNaveen
Product and Topic Expert
Product and Topic Expert
0 Likes
2,397

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

Read only

former_member222860
Active Contributor
0 Likes
2,397

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

Read only

MNaveen
Product and Topic Expert
Product and Topic Expert
0 Likes
2,397

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

Read only

former_member222860
Active Contributor
0 Likes
2,397

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

Read only

Former Member
0 Likes
2,397

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