cancel
Showing results for 
Search instead for 
Did you mean: 

Outbound status to delete XML messages in PI

0 Kudos

Hi,

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

Accepted Solutions (0)

Answers (4)

Answers (4)

0 Kudos

Hi,

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.

JoelTrinidade
Active Contributor
0 Kudos

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

Regards

joel

0 Kudos

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 ?

prateek
Active Contributor
0 Kudos

Refer SAP Note 872388 for all your queries.

Regards,

Prateek