cancel
Showing results for 
Search instead for 
Did you mean: 

Delete Messages from Java Stack on PI

Former Member
0 Kudos

Hi,

Does anyone know how to delete messages of the Java Stack on SAP PI?

When I look at the Adapter Engine via the RWB, I see messages that are in Error but older then 6 months to a year.

These messages are of an Async type.

We are in a process of cleaning up the system and we have come across this bridge.

Accepted Solutions (0)

Answers (4)

Answers (4)

marksmyth
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

Messages in status 'Error' will not be deleted by default. The status of these messages must first be changed to a final status i.e. Successful or Cancelled. See note #872388 Troubleshooting Archiving and Deletion in PI - section 6.  Troubleshooting Archiving / Deletion in the Adapter Framework.

Once the status has been changed, then the messages will be picked up and deleted during the next run of the delete jobs (if you have configured these).

Regards

Mark

Former Member
0 Kudos

Thanks,

I will review your recommendatios and get back.

If there are any other recommendations, please feel free to add.

Former Member
0 Kudos

Dear Rosh

In RWB, Go to Adapter Engine and go to background processing.

There would be delete jobs which should be active and by default they run daily.

Regards

Monika

Former Member
0 Kudos

Hi Monika,

Can you please give me more details on the background processing of the Adapter engine on the RWB.

Regards,

Roshan

iaki_vila
Active Contributor
0 Kudos

Hi Rosh,

Check this thread http://scn.sap.com/thread/2120896

You could see there some possibilities for the adapter engine (java stack).

Good luck and Regards

Former Member
0 Kudos

Message in AF are guided by persistent duration parameter in VM / configtool

One way to force deletion is

http://<pihost>:<port>/MessagingSystem/archiving/reorgdb.jsp

Delete for messages over Retention Policy :

SAP XI AF CORE --> idmapRemover.checkInterval = 1440 for new messages only

The default persist duration is 30 days and can be changed with the persistDuration properties of the J2EE service: "SAP XI Adapter: XI"

table XI_AF_MSG_AUDIT

Read This

Note 807615 - Removing/archiving of non-expired messages