on 05-13-2011 8:19 AM
Hello Experts,
I have an requirement wherein i need to keep only last 2 months of data in database and need to delete all other months data without Archving...Is this possible??
Secondly,i had configured Archving by scheduling archving job ..It ran succesful by archving data on Filesystem but we didnt immediately deleted data frm database.After couple of days due to constriants on space in filesystem,we deleted archive files from filesystem without actually deleteing data from database due to which there were incomplete archiving session left in XI?
So is it possible now to execute these incomplete archving session or delete these data from database??
Thanks..
Hi,
1. Tx SXMB_ADM, define interfaces for archiving/deletion - define retention time. Here you can sett 60 days (2 months) before messages should be deleted. Then you need to schedule your deletion job. Make sure you remove all interfaces from the archive-list to avoid these messages being marked for archiving instead of deletion if you want to delete all messages.
2. The report RSXMB_DELETE_ARCHIVED_MESSAGES will delete the messages that were already archived.
In addition to set up archiving and deletion as suggested above there are a few reports you can run (since archiving and deletion only considers messages in a final state).
To release messages in unarchivable statuses: http://host:port/MessagingSystem/archiving/reorgdb.jsp
Schedule following reports weekly (depending on your error handling and reporting procedures for your system this might not be possible in your production system):
RSXMB_CANCEL_MESSAGES
RSXMB_CANCEL_NO_COMMIT_MSG
RSXMB_CANCEL_NOT_REST_MESSAGES
RSXMB_CHECK_ITFACTION
RSWF_XI_INSTANCES_DELETE
SXMS_REFRESH_ADAPTER_STATUS
In addition you have the following reports dealing with enabling messages for archiving deletion
u2022 RSWI_REGENERATE_WI2OBJ (uncheck u201CDisplay modeu201D and set for relevant dates)
u2022 SXMS_REFRESH_ADAPTER_STATUS - Success: all msg with adapter status 001 changed to 006 (archivable)
u2022 RSWF_XI_UNUSED_MSGS (recommended not to run in production to avoid loosing data)
RSXMB_SHOW_REORG_STATUS shows number of messages scheduled for archiving/deletion
RSXMB_SHOW_STATUS shows number of messages per message status, and adapter status for messages with message status = 003 (Processed successfully)
RSXMB_CHECK_MSG_QUEUE fixes inconsistencies by changing the message statuses 001, 009, 012 and 016 to 014/021.
Hope this helps!
Br,
Kenneth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can also check the note #872388 'Troubleshooting Archiving and Deletion in PI'. You should note that any messages that have already been flagged to be archived will not be deleted by the standard deletion job.
Once an interface is no longer defined for archiving, messages from this interface can be deleted without being archived.
Edited by: Eoin Kierans on May 13, 2011 11:48 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Mr,
You can use RSXMB_DELETE_MESSAGES report.
Take a look here for additional information:
http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=147266890
Take a look also to sxmb_adm transaction -> Integration Engine Configuration
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.