Skip to Content
avatar image
Former Member

Delete PI Message with message id

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 28, 2013 at 04:01 PM

    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-cbf6fa21c5a7?quicklink=index&overridelayout=true

    Add comment
    10|10000 characters needed characters exceeded

    • 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.

  • avatar image
    Former Member
    Jan 28, 2013 at 02:28 PM

    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

    Add comment
    10|10000 characters needed characters exceeded