4 minute read

IDoc Status Change in SAP ERP

The status of an IDoc

IDoc documents are used to exchange business documents such as purchase orders, invoices, delivery notes, etc. with an SAP system. Upstream of the SAP system, an EDI service provider typically converts the IDocs to and from the various formats of the individual business partners (for example, EDIFACT or ANSI ASC X12).

Errors can occur during processing of both inbound and outbound IDocs in the SAP system (if you need to familiarise yourself with IDoc basics try this article). For example, incomplete IDocs may arrive in the SAP system because a business partner has not sent all the information requested. In this case, the IDoc “hangs” in an error status.

The following figure shows an extract from SAP transaction BD87.

BD87 transaction with IDoc overview
BD87 transaction with IDoc overview

© 2020. SAP SE or an SAP affiliate company. All rights reserved. Used with permission of SAP SE.

For example, an outgoing IDoc has stuck in status 20. This status means ‘Error when triggering the EDI subsystem’. One reason for this error could be incorrectly configured settings in the system. The IDoc detail view provides more information. As soon as the error has been corrected, processing of the IDoc must be restarted. However, status 20 does not allow direct processing, so the status must first be set to 30. 30 stands for ‘IDoc is ready to send (ALE service)’.

A list of all the possible statuses of an IDoc can be found at the end of this article.

White Paper - EDI Integration in SAP

Change Status

To change the status of an IDoc, proceed as follows.

Call transaction SE38 and execute the program RC1_IDOC_SET_STATUS.

Program call in transaction SE38
Program call in transaction SE38

© 2020. SAP SE or an SAP affiliate company. All rights reserved. Used with permission of SAP SE.

The following report will then open. If you want to change the status of several IDocs at once, you can use the button next to the text field ‘IDOC number’ and specify several IDoc numbers.

Change IDoc status
Change IDoc status

© 2020. SAP SE or an SAP affiliate company. All rights reserved. Used with permission of SAP SE.

You can then trigger the processing of the IDoc again — for example, in transaction WLF_IDOC.

Any more questions?

Do you still have questions about IDocs or electronic data exchange with an SAP ERP system? Do not hesitate and contact us or use our chat. We’re always happy to help!

IDoc statuses

The following table provides an overview of the standard IDoc statuses in an SAP system.

STATUS Description
Outgoing IDocs (from SAP view)
00 Not used, only R/2
01 IDoc created
02 Error passing data to port
03 Data passed to port OK
04 Error within control information of EDI subsystem
05 Error During Translation
06 Translation OK
07 Error during syntax check
08 Syntax check OK
09 Error during interchange handling
10 Interchange handling OK
11 Error during dispatch
12 Dispatch OK
13 Repeat transmission (Retransmission) OK
14 Interchange acknowledgement positive
15 Interchange acknowledgement negative
16 Functional acknowledgement positive
17 Functional acknowledgement negative
18 Triggering EDI subsystem OK
19 Data passed to port for test
20 Error triggering EDI subsystem
21 Error passing data for test
22 Dispatch OK, acknowledgement still due
23 Error during retransmission
24 Control information of the EDI subsystem OK
25 Processing despite syntax error (outbound)
26 Error during syntax check of IDoc (outbound)
27 Error in dispatch level (ALE service)
28 IDoc sent to ALE distribution unit retroactively
29 Error in ALE service
30 IDoc ready for dispatch (ALE service)
31 Error, no further processing
32 IDoc was edited
33 Original of an IDoc that was edited
34 Error in the control record of IDoc
35 IDoc reloaded from archive
36 Electronic signature not performed (timeout)
37 Error when adding IDoc
38 IDoc archived
39 IDoc is in target system (ALE service)
40 Application document not created in target system
41 Application document created in target system
42 IDoc created by test transaction
Incoming IDocs (from SAP view)
50 IDoc added
51 Application document not posted
52 Application document not fully posted
53 Application document posted
54 Error during formal application check
55 Formal application check OK
56 IDoc with errors added
57 Test IDoc: Error during application check
58 IDoc copy from R/2 connection
59 Not used
60 Syntax error in IDoc (inbound)
61 Processing despite syntax error (inbound)
62 IDoc passed to application
63 Error passing IDoc transfer to application
64 IDoc ready to be passed to application
65 Error in ALE service
66 IDoc waits for predecessor IDoc (serialization)
67 Not used
68 Error, no further processing
69 IDoc was edited
70 Original of an IDoc that was edited
71 IDoc reloaded from archive
72 Not used, only R/2
73 IDoc archived
74 IDoc created from test transaction
75 IDoc is in inbound queue

SAP ERP and SAP S/4HANA are the trademarks or registered trademarks of SAP SE or its affiliates in Germany and in several other countries.

Subjects

most read

Keep on reading

3 minute read

How to create an SAP transaction code

Want to know how to create an SAP transaction code for an existing ABAP program so that you can easily call the program?

6 minute read

How to Set Up and Manage Automatic SAP Jobs

SAP jobs can be used to automate processes in SAP ERP so they can be carried out without user intervention. We explore the key features.

5 minute read

How Can I Add an Entry to an SAP Table?

In this article we show how to add entries to an existing SAP table - even if it does not have its own maintenance dialog.

5 minute read

Alternatives to the Seeburger PI Adapter

The end of maintenance for the Seeburger PI Adapter is imminent. What alternatives are there and which is the best suited for your business?

4 minute read

IDocs in SAP S/4HANA: The Differences to SAP ECC 6.0

The change to S/4HANA also impacts the format of IDocs. In this article we explore IDocs in S/4HANA and the new and changed elements.

11 minute read

Migration to SAP S/4HANA - 5 Key Considerations

Are you prepared for migration to SAP S/4HANA? Discover the 5 key questions all businesses looking to upgrade to SAP's new ERP system should consider.

11 minute read

Exchange of Electronic Invoices with the SAP eDocument Framework

Companies have to increasingly implement e-Invoicing for different countries. This blog post explains how the SAP eDocument Framework can help you.

2 minute read

How Can You Save an IDoc from SAP on Your Hard Drive?

Wondering how to export IDocs as a file on your local computer? We created a handy guide!

5 minute read

Create and Process UBL Documents with Attachments in SAP

Enable your SAP solution for UBL based e-Invoicing over Peppol. Click here for an example case based on the XRechnung in Germany.

6 minute read

IDoc Processing in an SAP ERP System with Transaction BD87

Companies utilising SAP ERP and exchanging documents need a central tool to manage, view and search for IDocs. Transaction BD87 is the answer.

12 minute read

EDI_DC40: Understand the SAP IDoc Control Record

A correctly filled control header is essential for the identification and processing of IDocs. We show what settings are needed in SAP.

6 minute read

An Overview of the Most Important SAP Modules

Before introducing new software, companies need to understand and assess its value. SAPs ERP system offers a lot of functionality through its different modules.

We use cookies to provide an optimal website experience. You decide which one you want to allow. Depending on the setting, however, not all functionalities may be available to you. Data protection & imprint.