Delete/Remove of IDocs from R3

Created change pointers related to message types like MATMAS and LOIBOM by keeping specific conditions (running a background job). so server created lakhs of Idocs. Due to this sever is running very very slow. 

Is there any facility to delete/remove Idocs from SAP R/3. If yes what is is next step. Now what should I do. 
 

Take a look at running report RBDCPCLR from SE38 in the backgorund. You will probably have to up a varient we run the report weekely and keep the last 6 weeks of data. You will be removing from table BDCPS take a look and it will all make sense.
 

Report RBDCPCLR selection screen is for deleting change pointers. My question is deleting IDocs which are created by Change Pointers. Please guide me to next step. What should I do...... 
 

Aplogises thought that we were talking change pointers .... 
From note 40088 

"There is no special deletion program for IDocs. 
Use the archiving programs. IDoc is a separate archiving class. The following programs are available: 

1. Archive RSEXARCA and RSEXARCB (as of Release 3.0C) 
2. Delete RSEXARCD 
3. Read archiveRSEXARCR 
4. Restore RSEXARCL 

The Idoc archiving is checked against the status. The statuses which can be archived and those that cannot be archived are stored in the "Status maintenance" table. You can change the standard settings. Menu path: 
Area menu "WEDI", control, status maintenance. 
The archiving procedure is described in the documentation 'IDoc interface for EDI'."
 

I tried as like you said, first tried with RSEXARCA (Archived) then deleted from SAP R/3 RSEXARCD(Deleted from R/3) I tried this for few IDocs and it worked fine. 

but after tried for more no of IDocs(20000). then given like 'last create archive file without data objects was deleted' for report RSEXARCA.   and not showed any thing for report RSEXARCD. 
 

I am not that familiar with the transaction but it may be possible to break down the IDOCS in to batches of 5000 and run these in the background ??
 

Have you checked the customizing for object 'IDOC' - I mean not only in transaction SARA but also the application-related customizing. There might be a parameter, defining the minimun-duration time of idocs ... unfortunately I don't remember the transaction ...
 

Archiving IDOCs for WM system

I use program RSEXARCA to archive the IDOCs that do not required posting. I wanted to permanently delete those from system; but don’t see the archive file in SARA. 
 

In the 46C there is object IDOC. 
 

I regularly run program RSEXARCA in SE38. And archive IDOCs that do not require postings anymore. 

Documentation of this program in SE38 does not talk about archiving & deleting, I'd believe that it is creating an archive file that I should be able to permanently delete from the system. In transaction SARA for object IDOC, I do not see any files for me to delete. 
 

I also regulary delete IDOC, but I use RSEXARCB in the background job. 
 

Since you mentioned 'delete' I assume that both programs RSEXARCA and RSEXARCB Archive & Delete at the same time. 
 

Please use Object Idoc from SARA. If you use this it will write file using program RSEXARCA and delets using RSEXARCD. 

SAP BC Tips

Read also
Change Request and Change Task

Get help regarding your Basis problems
Do you have a SAP Basis Question?

SAP Basis Admin Books
SAP System Administration, Security, Authorization, ALE, Performance Tuning Reference Books

SAP Basis Tips
SAP BC Tips and Basis Components

Administration In SAP - Sapgui, Unix, SAP ITS, Router, Client Copy and IDES 

Best regards,
SAP Basis, ABAP Programming and Other IMG Stuff
http://www.erpgreat.com

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.  The site www.erpgreat.com is in no way affiliated with SAP AG. 
Every effort is made to ensure the content integrity. Information used on this site is at your own risk. 
 The content on this site may not be reproduced or redistributed without the express written permission of 
www.erpgreat.com or the content authors.