cancel
Showing results for 
Search instead for 
Did you mean: 

Delete Archived messages files

Former Member
0 Kudos

Hi,

I am using filesystem to archive XI messages.

I want to delete the old archived files from the filesystem,

as the filesystem is getting fill with old data.

I don't want to keep archived files which are 6 weeks old.

I can delete the files at OS level. But thats not a proper way

of doing it.

I am not sure where can I configure this in SAP.

If some knows a method then please let me know.

Thanks and Regards,

Arundeep Singh

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Mr Singh,

Why don't you try option OPERATING SYSTEM COMMANDS in the XI File adapter.

Thanks

Amitanshu

Former Member
0 Kudos

Hi Amitanshu,

I am working in XI, but I am not XI crazy to find every solution using XI

concepts.

I wonder if XI File Adapter can give solution to my query.

All XI Adapter will do is delete files at OS level.

And that I can easily do by scheduling a cron job.

But I am not lookig for this.

I tried to explain my issue in thread earlier.

Thanks and Regards,

Arundeep Singh

Former Member
0 Kudos
Former Member
0 Kudos

Hey

have a look at the following

thanx

ahmad

Former Member
0 Kudos

Hi Ahmed,

The below link in your given thread does have sth related

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6c2af1f6-0a01-0010-7cb5-a55...

But it doesnot answer my question.

I will clarify my question again in more detail.

I want to delete the Archiving session data, index data for the archives and the archived files stored in filesystem.

I want to delete all the arvhived sessions related data which is 6 weeks old. This taks should be possible by using some job, which I can schedule daily with a variable for 6 weeks.

I hope this make my question more clear.

Thanks and Regards,

Arundeep Singh

Former Member
0 Kudos

Hi Arundeep,

You can use object BC_ARCHIVE to delete the archive administration data. see this link:

http://help.sap.com/saphelp_nw2004s/helpdata/en/8d/3e4bb1462a11d189000000e8323d3a/frameset.htm

Then you can delete the archive files from the file system.

Hope this helps,

Naveen

Former Member
0 Kudos

Hi Naveen,

You are right that I can use BC_ARCHIVE.

But as I said I am looking for an automated way.

BC_ARCHIVE involves a lot of manual work everytime some has to archive the sessions.

One has to mark sessions as "to be archived" for the BC_ARCHIVE job to pick those sessions. This is a pain.

I am looking for sth, where I can delete sessions based on number of days and archive object.

Thanks and Regards,

Arundeep Singh

Former Member
0 Kudos

hey

have a look at the following

thanx

ahmad

Former Member
0 Kudos

Hi Ahmad,

You gave the same link earlier as well.

I have given my response to this already.

Thanks and Regards,

Arundeep Singh