Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Delete Idoc

Former Member
0 Likes
2,575

I have 2 Idoc generated by test tcode we19.

I'd like to deleted them, how can I do that ?

regards,

11 REPLIES 11
Read only

Former Member
0 Likes
1,601

Hi,

Try to delete the IDOC from transaction WE11, this should help,

Rgds,

Read only

Former Member
0 Likes
1,601

Hi stephan,

1) Choose Tools --> IDoc Interface/ALE -->Administration --> Monitoring --> Troubleshooting --> Monitor IDoc Inbound Queue (transaction WEINQUEUE), to go to the inbound queue monitoring.

2) Select the IDocs or queues which you want to monitor, using the specified selection parameters.

3) If an IDoc in a queue has an error status, select it and go to its detail view with the Display IDoc button, to determine the cause of the error, and resolve it.

4) If you cannot correct an IDoc with error status, you can delete it from the queue with the Delete IDoc from Queue button.

Hope this helps u,

Regards,

Nagarajan.

Read only

0 Likes
1,601

Hi Folks,

I have a query regarding this topic. If suppose I have triggered an Idoc successfully & I like to go for a reversal due to wrong data updated. Can I use WE11 to delete Idoc as well as related data updated in tables ?? I mean will deletion of Idoc's lead to deletion of respective data also ?? I like to have this functionality.

Regards,

Manoj.

Read only

Former Member
0 Likes
1,601

Hi

Check this link to delete Idoc<a href="http://help.sap.com/saphelp_erp2005/helpdata/en/61/4aa49b8aeb11d389bb0000e8216438/frameset.htm">Deleting Links with IDocs</a>

Read only

Former Member
0 Likes
1,601

Use Trxn WE11

Read only

0 Likes
1,601

Hi

In my system there aren't the trx WEINQUEUE and WE11, so I don't know what those trx do, but I wrote a little custom program to delete the IDOC: it semplu deletes the record from table EDIDC, EDID4 and EDIDS.

Max

Read only

0 Likes
1,601

Hi,

The program associated with transaction WE11 is RSETESTD and is available from 4.7 version of SAP,

Rgds,

Read only

0 Likes
1,601

Does anyone know how to do this in a 4.6C system considering that WE11 is only available from 4.7 onwards ?

Just need a way to either set an idoc to a cancelled status or delete it.

Thx,

Jason.

Read only

0 Likes
1,601

As as addition to my previous post - you can execute the Business Object method IDOCAPPL.InputForeground which pops up a status screen for the idoc with the "delete" button enabled.

I just thought there would be a way to do this from one of the idoc transactions.?!?

Read only

ferry_lianto
Active Contributor
0 Likes
1,601

Hi Stephan,

You can use this FM <b>EDI_DOCUMENT_DELETE</b>, pass the IDoc Number to it and delete the one which you want.

This should work for you :).

Hope this wiil help.

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
1,601

Hi,

Take a look at the NOTE

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

Regards,

Ravi

Note : Please mark the helpful answers