Application Development 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: 

How to delete an outbound IDoc

Former Member
0 Kudos

Hi guys,

I had to test something regarding IDocs and I missed to cancel the creation of an IDoc. Now the Idoc is standing in the outbound queue and I want to delete it, but I could not figure out how to do that.

The only transaction I found is WE11, but You can't not specify a specific single IDoc to delete.

Anyone knows how to do that?

Thnaks and regards

Jan

1 ACCEPTED SOLUTION

former_member188685
Active Contributor
0 Kudos

Hi,

if you know the exact date and time then you can specify no of idoc 1. but you can do programatically also.

you can call this function <b>EDI_DOCUMENT_DELETE</b>, pass the IDoc Number to it and delte the one which you want.

Regards

Vijay

4 REPLIES 4

former_member188685
Active Contributor
0 Kudos

Hi,

if you know the exact date and time then you can specify no of idoc 1. but you can do programatically also.

you can call this function <b>EDI_DOCUMENT_DELETE</b>, pass the IDoc Number to it and delte the one which you want.

Regards

Vijay

ferry_lianto
Active Contributor
0 Kudos

Hi Jan,

You can use this FM EDI_DOCUMENT_DELETE to delete IDoc.

Just need to pass the IDoc number.

Hope this will help.

Regards,

Ferry Lianto

0 Kudos

Thanks guys, that is exactly what I was looking for!

Regards

Jan

laxmanakumar_appana
Active Contributor
0 Kudos

Hi

Check the transaction WE11, from this transaction you can find the exact function module to delete IDOC or based on date and time you can find correct IDOC number.

Laxman