cancel
Showing results for 
Search instead for 
Did you mean: 

Delete PI Message with message id

hai_long3
Explorer
0 Kudos

Hi Experts,

I just wondering whether it is possible to delete some specific message with help RSXMB_DELETE_MESSAGES. Normally you have to schedule this report to delete message in background as a batch job. 

At moment I want to delete two messages from persistence layer but does not delete other messages. Is it possible to achieve this in PI ?

Your help is appreciated.

regards,

Hai

Accepted Solutions (0)

Answers (2)

Answers (2)

nabendu_sen
Active Contributor
0 Kudos

Hi Hai,

I don't think you have the leverage of selecting or specifying individual messages to Archive / Delete. But you can individual interfaces. Please check the below blog, it will clarify most of the part.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0afdd69-a8a7-2d10-7e9a-cbf6fa21c...

hai_long3
Explorer
0 Kudos

Hi Nabendu,

I still not understand how you could delete message from individual interface. You can define interface for archive but not for delete. RSXMB_DELETE_MESSAGES just delete everything which fits the condition.

  • are flagged for deletion
  • have appropriate messages state
  • have appropriate adapter state

best regards,

Hai

nabendu_sen
Active Contributor
0 Kudos

Hi Hai,

You are right. I have already mentioned my comment above "I don't think you have the leverage of selecting or specifying individual messages to Archive / Delete."

"Follow the path

SXMB_ADM (t-code) > Define Interfaces for Archiving and Retention Periods. Mention all the

interfaces for which you intend the archive the messages.

Click on Multiple Selection > Select all required interfaces > Press F8. All interfaces will appear under ‘Interfaces to Be Archived’. Messages of all interfaces that are excluded here will be marked" for deletion.

Former Member
0 Kudos

Hi,

All messages with ITFACTION=DEL will be deleted by report RSXMB_DELETE_MESSAGES as soon as message processing is complete .

The Delete job deletes only Payload.

Please go through the below link for more understanding.

http://wiki.sdn.sap.com/wiki/display/XI/PI+Archiving+Conceptual+Overview

Regards

Venkat