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
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 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.
To change the status of an IDoc, proceed as follows.
SE38 and execute the program
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.
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!
The following table provides an overview of the standard IDoc statuses in an SAP system.
|Outgoing IDocs (from SAP view)|
|00||Not used, only R/2|
|02||Error passing data to port|
|03||Data passed to port OK|
|04||Error within control information of EDI subsystem|
|05||Error During Translation|
|07||Error during syntax check|
|08||Syntax check OK|
|09||Error during interchange handling|
|10||Interchange handling OK|
|11||Error during dispatch|
|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|
|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)|
|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|
|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)|
|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|
|74||IDoc created from test transaction|
|75||IDoc is in inbound queue|
© 2020. SAP SE or an SAP affiliate company. All rights reserved. Used with permission of SAP SE.