cancel
Showing results for 
Search instead for 
Did you mean: 

How to delete particular interface after 2 days?

jegathees_waran
Active Participant
0 Kudos

Hello Friends,

We process particular idoc message every day at huge level. (approximately 20000 idocs / day). To maintain the space, we have asked customer is it required to keep this messages in table for 7 days.

They told that, it is not required, only 2 days is sufficient. But for other interfaces we keep the message 7 days in database. After that we delete them.

(SXMB_ADM --> Configuration --> Integration Engine Configuration --> Specific Configuration)

Category : DELETION

Parameter: PERSIST_DURATION

SubParameter: ASYNC

Current Value: 7 Days

This SXMB_ADM setting is common for all asynchronous interfaces. Our doubt is how to set the deletion days for particular interface?

Is there any SAP Standard Program to do this?

Kindly reply, friends.

Thank you.

Kind Regards

Jegathees p.

Accepted Solutions (0)

Answers (2)

Answers (2)

deepak_shah
Contributor
0 Kudos

Hi,

There is no way to set retention period for a particular interface.

Retention period would be applicable for all the interface that are added for Archiving and Deletion.

So solution would be to add only that particular interface in archiving list and scheduling periodic Batch jobs to remove these messages evry 2 days. Or you will have to convince your client to settle for a particular value for retention period.

For more info on Archiving you can refer following blog.

/people/deepak.shah/blog/2010/04/22/archiving-deletion-of-messages-in-pi--part-1

Regards,

Deepak

former_member189387
Active Contributor
0 Kudos

Hi ,

You can use TCODE : SARA to achieve this , Please refer the following Blog

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0afdd69-a8a7-2d10-7e9a-cbf6fa21c...

Regards.,

Rangarajan