cancel
Showing results for 
Search instead for 
Did you mean: 

How to mark an IDOC for deletion?

Former Member
0 Kudos

Hello,

How can I mark an IDOC for deletion?

Thank you for sharing your experience.

Kind regards,

Linda

Accepted Solutions (1)

Accepted Solutions (1)

former_member183906
Active Contributor
0 Kudos

1st way:-

IDOC Related programs

1. Archive RSEXARCA and RSEXARCB

2. Delete RSEXARCD

3. Read archiveRSEXARCR

4. Restore RSEXARCL

-


2nd way:-

use FM EDI_DOCUMENT_DELETE .

pass the IDoc Number to it and delete the one which you want.

-


3rd way:-

use the tcode WE11 or program RSETESTD to delete an IDOC

but iDocs don't actually get deleted, just flagged with a deleted status (68). Transaction BD87 can do it, it does depend though on the existing Status of the iDoc though.

Former Member
0 Kudos

Thank you.

I will try the 3rd solution.

Where can I change the status of the idoc in BD87 (to mark it for deletion)?

Thanks.

Kind regards,

Linda

former_member183906
Active Contributor
0 Kudos

In BD87,

1) Open the IDOC

2) EDIT -> RESTRICT AND PROCESS

3) In next screen, deselect background processing option

4) Next screen,delete flag option comes to delete idoc.

It will work....

Answers (4)

Answers (4)

former_member192295
Active Contributor
0 Kudos

HI,

Most of the time delete idoc through WE11 or through functional module EDI_DOCUMENT_DELETE. Through WE11 we can delete all IDOCS at a time, but through function module can delete specific idoc.

Former Member
0 Kudos

hi

check this help link for complete list of programs for deleting idocs

http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b822e43d711d1893e0000e8323c4f/frameset.htm

regards

kummari

Former Member
0 Kudos

Run the Program RSEXARCD in SE38 and give the IDOC number and execute. It will delete the IDOC

Former Member
0 Kudos

Hi,

To Archive & Delete the Idocs From SAP R/3

1) First we need to Archive all the Idocs which is there in We05

By se38----RSEXARCA

2) Then Delete those Idocs By se38----RSEXARCD

Regards

Seshagiri