Application Development 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: 

Archiving Delete job failed

Former Member
0 Kudos

Hello,

We are using standard delete archiving program RSARCHD, to delete the data for archiving object CO_ITEM.

Recently we have encountered a issue in the delete job. In job log of that program is saying :

We have checked the Variant and authorization and everything is fine. Can anybody able to tell me what is the issue?

For other programs it is working fine but we have encountered this error message 2-3 times in the past also.

4 REPLIES 4

Former Member
0 Kudos

Check error massage in SM21 and ST22.

Former Member
0 Kudos

Hello Shamik,

As suggested by Pramod you have to analyze the dump in ST22 and check whether you are getting any clue from there. Other option is to debug the program RSARCHD with the same variant you provided for the background job.

I believe you are scheduling the delete job through the transaction SARA, please confirm.

Let me know if you still have difficulties.

Thanks

Nivash S

0 Kudos

Thanks for the reply. I have checked ST22 and SM21 , but there is no error message or dump.

I have tried to debug the RSARCHD program with the same variant ( only change the mode from Production to TEST) and found that lots of other CO_ITEM Delete jobs are in queue which was run previously but cancelled somehow.

How to delete the incorrect old delete jobs from SARA?

If any Write or Delete jobs are failed then how to remove those jobs and other details ?

0 Kudos

Hello Shamik,

If you feel that the incorrect delete jobs (those ran previously) are creating problem, and by clearing those you can resolve the issue then here you go. ADMI_RUN is the table where all the job references are stored. by passing the Archiving object and the run number you can get those records. I dont see any table maintenance for this table, so probable to delete these you have to get the firefighter access in production.

but if you ask me this should not be the root cause, but still you can give a try. All the best.

Thanks

Nivash S