Skip to Content

delete archived message files

hi guys, i have a problem with deleting archived message files. i use file system to archive my messages. i know location of all these files, i have tried to delete one archived file, then i go to transaction SARA -> read (BC_XMB), there is message with flash icon (or error icon), this is message i have deleted, so i guess i can't delete archived files manualy. does anybody know how to delete all archived files correctly from files system?

Thanks all for reply.

P.S. i used transactions rsxmb_archive_messages and rsxmb_delete_archived_messages

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Dec 25, 2011 at 08:56 PM


    SARA -> read (BC_XMB) program tries reading the archive file from the location as per configuration settings done during archiving. The configuration include "logical filename" ,"logical path" and "physical path" settings. If the read program does not find the file there in specific path, it will produce errors as you are getting. This will be always an error if you delete the files from the location where it expects the file to be present, irrespective of the way you delete them. Generally archiving files are kept in external hard drive and then deleted. There is no special way of deletion. You can however reset the settings to read the archived file from new location instead of old one, by altering the parameters I mentioned above or before running "READ" program, copy the removed archived files once again to their old position in the system.

    I am writing this from my experience, there might be methods which I am not aware of.

    Wishing all readers merry christmas and happy new year ( in advance).



    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 26, 2011 at 04:50 AM


    The yellow flash icon means: "A terminated job exists for the archiving session or archive file.". Check the archiving/ deleting jobs logs. Sometimes this is due a canceled job, if you delete the job in sm37 the thunder disappears.

    Once the archiving is OK you should see a green dot on every archive file. If you double click on an archive you'll be able to see either: Archive File Not Accessibe or Archive File Is Accessible. depending if you have moved the archives to another location.

    If the archive files are in status green you can copy them to another location to free some space. Later you can copy back the files if you want to read them. If you don't need the archived messages (could be the case in a test system) you can just delete them from the filesystem without problems. I guess there shouldn't be problems with this strategy. You might also check here for other procedure regarding this:



    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 26, 2011 at 07:14 AM


    rsxmb_archive_messages and rsxmb_delete_archived_messages serves different pupose as the 1st one is to archive the messages that are marked in "Define Interfaces for Archiving" and the latter is to delete the messages that are archived already.

    But in your case you want to delete the files that are created for the Archived messages. Since all these files would be stored in the application folder, you need to check with your DB team or Basis team to delete these files. They can schedule an UNIX job to delete these files and there is no standard SAP program to do this.


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 26, 2011 at 04:44 PM

    thanks all for reply

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.