Archiving & Deletion Process in SAP PO
I configured the Archiving Process in SAP PO using the below link -
Everything is working fine, the messages are getting archived but I am not clear about the below points -
1) Archiving Job scheduled daily, but it is not working as expected. When I am executing now, it is working and the message count getting reflected but it is not working according to the schedule. Do I need to make some settings?
2) On 22nd March, I changed my retention period to 1ms and executed the job, 18 messages got archived. On 23rd March, I changed the retention period to 1 day(default) and executed the job, 119 messages got archived. I am bit confused with the retention period logic.
Also, the messages archived are in the period - 15 March to 21 March.
How the retention period logic working?
3) Is the three jobs interlinked? How the archive and delete job prioritized? If both are scheduled how it will work?
4) What does Recover Job work?
Please help me to resolve my queries.
Ans-1: If you want to archive messages 1 year old:
a. Message Retention period must be 1 year
b. Archiving jobs can still keep on running on daily basis (No need of manually running)
So, on 04-Apr-2016, all the messages earlier than 04-Apr-2015 for which archiving rule was set will be archived by archiving job
Ans-2: By default all the message are flagged for deletion if an archiving rule doesn't exist for them. Hence messages were deleted before archive setup. Also for treatment of synchronous messages please refer Delete messages AAE. Retention period | SCN