Skip to Content

Problem removing cancelled messages from database

Dear Experts,

I need some suggestion regarding the removal of cancelled messages from database in PI.

Below is the configuration in SXMB_ADM.

I have not configured interfaces for archiving.So the messages will be marked for deletion.

Now, the problem is that cancelled messages are not directly deleted,they must be archived first.

So,how to delete these cancelled messages without defining Interfaces for archiving.

I am working on SAP PI 7.4 dual stack.

Thanks,

Rashid Eqbal

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Sep 06, 2016 at 06:02 AM

    Hello Rashid,

    You wish to delete canceled messages without archiving?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 08, 2016 at 11:34 AM

    Hi Rashid,

    is this a one time maintenance, meaning you want to remove a bulk of old messages? Or do you want a permanent solution, so that all future messages don't have to be archived?

    As already said, the latter is not possible in production systems...

    If it's a one time thing, there is a very dirty way if you want to skip archiving effort, but it's risky and not supported by SAP.

    You could change the interface action (ITFACTION) in table SXMSPMAST from ARCH to DEL for all messages you want to be deleted (say, all manually canceled messages). That way, the normal delete jobs will affect them after the retention period has expired.

    But messing around with tables directly should be done very carefully, if at all.

    Regards,

    Thomas

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.