12-09-2008 4:27 AM
Hi All,
I am working on IDOC deletion. I need to delete all idocs that do not ave status codes of 03 or 53. Is there any standard SAP program which I can used to do this?
Also I need to delete the associated change pointers for the deletd idocs. Is there any way to do so?
Regards,
Yogesh Sharma
12-09-2008 4:33 AM
HI,
1. Check the transaction WE11.
2. Program to Delete IDOC : RSEXARCD
3. Use FM EDI_DOCUMENT_DELETE .pass the IDoc Number to it and delete the one which you want.
Edited by: avinash kodarapu on Dec 9, 2008 10:03 AM
12-09-2008 4:33 AM
HI,
1. Check the transaction WE11.
2. Program to Delete IDOC : RSEXARCD
3. Use FM EDI_DOCUMENT_DELETE .pass the IDoc Number to it and delete the one which you want.
Edited by: avinash kodarapu on Dec 9, 2008 10:03 AM
12-09-2008 4:43 AM
Thanks Avinash for qick reply.
RSEXARCD, this program is used for deleting archived idocs. Is it possible to delete the idocs without archiving it.
Transaction we11 is to used to delete idocs without considering the status of idocs. I need to delete only those idocs which do not have status 03 or 53.
Regards,
Yogesh Sharma
12-09-2008 5:13 PM
Hi Yogesh
Why don`t you try transaction code WE11(RSETESTD).
RSETESTD :Using this program you delete the idocs directly from the database.
This program will delete the Idocs with all the status .
Neha
Edited by: Neha Shukla on Dec 9, 2008 10:49 PM
12-09-2008 5:24 PM
Simplest solution for you is to copy RSETESTD into a Z one, and add STATUS / and any other fields you want as selection criteria, and change the select stetment to use those new select options.
12-09-2008 6:23 PM