cancel
Showing results for 
Search instead for 
Did you mean: 

Messages not getting Archived in PI

former_member209575
Contributor
0 Kudos

Hi All,

We are trying to archieve messages in PI. In SARA , we are able to write and delete the archives, but the issue is messages are not getting deleted from database. after deletion also we are able to see the messages in sxi_monitor.

Also ther is a variant we are using while writing the archive. kindly suggest what may the values for the variant..?

Before and after archival writing and deletion, ReORG STATUS reports shows the same no of messages for archival.

Please help us in solving the issue

Regards

Pradeep

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member209575
Contributor
0 Kudos

there is an issue in file namegeration of archival.

problem solved

former_member192295
Active Contributor
0 Kudos

Hi,

For message archiving we need to perform few steps without that we can't arhive/delete messages. Find below link for more help.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/402fae48-0601-0010-3088-85c...

former_member200962
Active Contributor
0 Kudos
after deletion also we are able to see the messages in sxi_monitor.

I think it is just the entry that is visible.....if the message is really deleted from the DB and if you try to open the message entry in SXMB_MONI, then you will get some message like "the message is no longer available"

Regards,

Abhishek.

former_member209575
Contributor
0 Kudos

Hi Abhishek,

The messages are availble in SXI_monitor

also reorg status report I can see below output.

Message and adapter status is ignored in the following

- Msgs not in retention period (can be archived): 5,344,889

- Msgs in retention period (cannot be archived): 489,638

Message and adapter status is considered in the following

- Msgs not in retention period (can be archived): 5,344,612

Regards

Pradeep P N

former_member200962
Active Contributor
0 Kudos

Are you sure Deletion is configured for your SAP PI system?

former_member209575
Contributor
0 Kudos

Yes deltion is configured for PI,

In archive management I can see the deletion completed successfully. but in SXI_MONITOR i can see the details of last 3 months.

Regards

Pradeep

former_member209575
Contributor
0 Kudos

Please find below log of RSXMB_DELETE_ARCHIVED_MESSAGE,

******************************

Job started

Step 001 started (program RSXMB_DELETE_ARCHIVED_MESSAGES, variant PRODDEL, user I

Value for parameter DELETION-RELATED_OBJECTS-ASYNC: '1'

Value for parameter DELETION-RELATED_OBJECTS-ROWS: '100'

Value for parameter DELETION-RELATED_OBJECTS-IDX5_DELAYED: '0'

Value for parameter ARCHIVE-JOB_LOG_LEVEL: '0'

Archive file 000004-005BC_XMB is being verified

Archive file 000004-005BC_XMB is being processed

Commit Counter: 10,000

6,546 XML messages deleted

Job finished

******************************

but in log it is showing only 6546 messages only deleted out of 53 lakhs messages

Regards

Pradeep

former_member334189
Active Participant
0 Kudos

Dear Pradeep,

reading this thread I am pretty sure that the archiving session is coming up with inappropriate startup parameters. Please note that it is essential to configure archiving sessions from PI UI. To do so please de-schedule all other archiving sessions and run transaction SXMS_ADMI_ARCH. Using that transaction the very next archiving session will be started using correct parameters.

Best regards,

Harald Keimer

XI Development Support

SAP AG, Walldorf