Skip to Content
author's profile photo Former Member
Former Member

Deleting the Outbound error Idcos with status 05

Hi,

I have a problem with outbound IDOCS. We have 3 IDOCS got the status 05.We are not able to process these IDOCS with BD88 transaction. So we created 3 more IDOCS with the same data and processed. It was successful. Now we want to delete the old IDOCS with the status 05.

Please tell me how can we do that.

Thanks,

Madhusudan.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 28, 2005 at 08:51 PM

    Hi Madhusan,

    IDocs are not typically deleted. They can be archived, but you usually don't delete them.

    What you can do is update the IDoc's status to reflect that it is not to be sent. You could use status 03, but I believe there are other outbound statuses that indicate an error has occurred but the IDoc should not be sent.

    Use function module IDOC_STATUS_WRITE_TO_DATABASE to update the status for an individual IDoc. This function is pretty straightforward. You format one or more IDoc status messages and pass the IDoc number.

    If you need to do this in a production environment, you can use the Test sequence option in SE37 to run IDOC_STATUS_WRITE_TO_DATABASE, and then BAPI_TRANSACTION_COMMIT.

    I hope that makes sense,

    John

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 28, 2005 at 08:48 PM

    IDocs can not be deleted, but they can be archived.

    This link can be useful.

    http://www.sapfans.com/sapfans/forum/intface/messages/3820.html

    Thanks,

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.