Skip to Content

Outbound status to delete XML messages in PI


we are using a deletion process in PI wiith the pg RSXMB_DELETE_MESSAGES but the XML messages with a outbound status = 1 cannot be deleted. It seems that the pg SXMS_REFRESH_ADAPTER_STATUS permits to change the status to 6 but does not work for me.

So, I need guidance. For information, we condigured the deletion period (10 days).

Thank you

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Mar 23, 2009 at 09:32 PM

    Refer SAP Note 872388 for all your queries.



    Add comment
    10|10000 characters needed characters exceeded

  • Mar 23, 2009 at 10:04 PM

    I did but the report updates anything. I was wondering if there is prerequisite before running this report. Does he update the Outbound status 001 => 006 ?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 24, 2009 at 05:14 AM

    Hi Pascal,

    You should try to manually confirm the messages (in SXMB_MONI - Cancel Processing of messages with Error CTRL F8) and then run all the deletion jobs again.

    Please see Note 872388 and 820149 for details. Following is the relevant portion from 872388:

    "Check if there are asynchronous messages in error status.

    Asynchronous messages in error status are neither deleted nor archived.

    This behaviour is different to erroneous synchronous messages which get

    deleted after their retention period (see step 5) has expired).

    Asynchronous erronous messages, however, must be cancelled and then be

    archived. You can either use transaction SXMB_MONI, search for erronous

    messages and manually cancel them. Or you can use the report provided by

    SAP: RSXMB_CANCEL_MESSAGES. Should you decide (for non-productive

    systems only) that you would like to delete these manually cancelled

    messages, please use note 820149."



    Add comment
    10|10000 characters needed characters exceeded

  • Mar 24, 2009 at 12:51 PM


    Thanks for the reply.

    My issue is not error messages that cannot be deleted but successfull message (message status = 003) with the adapter status (Outbound status = 1).

    I debugged the pg RSXMB_DELETE_MESSAGES and this pg deletes only messages with Adapter status = 000 or 006.

    As outbound IDOC messages have the status 001 because of the acknowledgment issue between the Integration server and the IDOC adapter, we cannot delete it.

    The report SXMS_REFRESH_ADAPTER_STATUS is supposed to move all the messages from Adapter status 001 to 006 but does not work for me, so was wondering if there are any prerequisite.

    I hope that I clarified my request.

    Thank you.

    Add comment
    10|10000 characters needed characters exceeded