Skip to Content

Idoc deletion/archiving and reorganization process : A housekeeping process

Idoc deletion :

There are two ways for Idoc deletion:

·         Archive Idoc’s and delete using SARA. The deleted Idoc’s can later be restored.

1.       1. Go to Tcode SARA: Select archiving object Idoc.

/wp-content/uploads/2013/07/1_248315.jpg

2.       2. Select mode as WRITE and maintain a variant. You can also go directly to report RSEXARCA and schedule that in background.

/wp-content/uploads/2013/07/2_248329.jpg

3.       3. Maintain start date and spool parameters and execute. Archiving job will be scheduled. The Idoc will still be available in WE02.

/wp-content/uploads/2013/07/3_248317.jpg

4.     4.  In the next step schedule deletion using SARA. Select the archive, start date and spool parameters and click execute. The Idoc’s will be deleted and stored to external DB. Alternatively you can go to report RSEXARCD for the same.

/wp-content/uploads/2013/07/4_248333.jpg

5.       5. The Idoc’s will now not be available in WE02.

6.       6.  To read the deleted Idoc’s from archive go to Tcode SARA and select read and then select archive to read. Data will be displayed.

/wp-content/uploads/2013/07/5_248319.jpg

/wp-content/uploads/2013/07/6_248320.jpg

7. Further you can also use WE09/We10 for displaying Idoc’s from archive.

/wp-content/uploads/2013/07/7_248321.jpg

/wp-content/uploads/2013/07/8_248322.jpg

8. For reloading the Idoc’s from archive data base use report RSEXARCL and click execute. Idoc’s will be restored back.

/wp-content/uploads/2013/07/9_248323.jpg

/wp-content/uploads/2013/07/10_248324.jpg

/wp-content/uploads/2013/07/11_248325.jpg

There are plenty of other option in SARA using which we can archive vendor master data, customer master data and other functional documents as well.

/wp-content/uploads/2013/07/12_248326.jpg

·         Idoc’s delete without archiving:

1.      1.  Idoc’s can be directly deleted from DB using WE11 Tcode. This is having multiple options i.e. delete using message type/Idoc number/idoc status/start date end date. You can also select maximum number of Idoc’s to be deleted in one run.

/wp-content/uploads/2013/07/13_248327.jpg

Database housekeeping/reorganization jobs for Idoc’s :

1.      1.  Regular scheduling of program RSRLDREL to delete the idoc application links that are no longer required. We can delete these links older than three months. This is recommended by SAP in note 505608.

/wp-content/uploads/2013/07/14_248328.jpg

      More reference: Note 706478 – Preventing Basis tables from increasing considerably

SAP help: http://help.sap.com/saphelp_sm310/helpdata/en/0b/5d193ad0337142e10000000a11402f/content.htm

Thanks

Gaurav Ranjan

END OF DOCUMENT

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply