SAP IDocs
IDocs are the central import and export format of SAP ERP systems. The basic structure and concepts behind IDocs can be viewed in our other article. During the inbound and outbound processing of IDocs, errors can occur, leading to IDocs getting stuck in specific error states. It is the responsibility of the designated SAP user to restart the IDoc processing. In most cases this is not done by the business department itself, but rather by a trained employee who also looks after other EDI topics in the company, for example.
The following image shows the central starting point for identifying faulty IDocs in a SAP ERP system ā transaction BD87
.
Ā© 2020. SAP SE or an SAP affiliate company. All rights reserved. Used with permission of SAP SE.
With the help of this transaction it is possible to filter IDocs according to specific criteria, e.g. Show all faulty outbound DESADV since yesterday.
An IDoc always holds a specific status in an SAP ERP system. This status is defined by a status code (those interested in how the status of an IDoc can be changed can read our article about the IDoc). Depending on the state an IDoc gets stuck in, it is necessary to use different programs to reprocess the IDoc. Naturally, before doing so you must first correct the issue that is keeping the IDoc from being processed.
Reprocessing of inbound IDocs
To process inbound IDocs, the following programs can be utilised. If it is available, a program can also be called with the assigned transaction code, which is displayed in the last column.
StaĀtus | DesĀcriptĀion | ProĀgraĀm | CoĀde |
---|---|---|---|
51 | AppliĀcation docĀument not posĀted | RBD |
ā |
56 | IDoc with errors added | RBD |
BD |
60 | Error during syntax check of IDoc (inbound) | RBD |
ā |
61 | Processing despite syntax error (inbound) | RBD |
BD |
63 | Error passing IDoc to application | RBD |
BD |
64 | IDoc ready to be transferred to appĀlicaĀtion | RBD |
BD |
65 | Error in ALE serĀvice | RBD |
BD |
66 | IDoc is waiting for preĀdeceĀssor IDoc (serialĀizatĀion) | RBD |
BD |
69 | IDoc was edited | RBDA |
WP |
To call a program in SAP you can use transaction SE38
as shown in the following image.
Ā© 2020. SAP SE or an SAP affiliate company. All rights reserved. Used with permission of SAP SE.
Type the respective program name in the text field Program and start it by pressing F8.
Reprocessing outbound IDocs
To process outbound IDocs the following programs can be utilised.
StaĀtus | DesĀcriptĀion | ProĀgram | CoĀde |
---|---|---|---|
02 | Error passing data to port | RBDA |
BD |
04 | Error within control inforĀmatĀion of EDI subĀsystem | RBDA |
BD |
05 | Error during translation | RBDA |
BD |
25 | Processing despite syntax error (outbound) | RBDA |
BD |
26 | Error during syntax check of IDoc (outbound) | RBDS |
ā |
29 | Error in ALE serĀvice | RBDA |
BD |
30 | IDoc ready for dispatch (ALE service) | RSEO |
WE |
32 | IDoc was edited | RBDA |
WP |
SAP frontends IDoc reprocessing
SAP offers two additional programs which serve as the frontend for all programs used for the processing of inbound and outbound IDocs. There are no transaction codes assigned to both of these programs, which is why they usually need to be started via transaction SE38
.
Program RBDINPUT
By using program RBDINPUT
it is possible to call different programs for the processing of inbound IDocs. The following image shows the user interface of the application.
Ā© 2020. SAP SE or an SAP affiliate company. All rights reserved. Used with permission of SAP SE.
Program RBDOUTPU
With the help of program RBDOUTPU
the different programs for outbound processing of IDocs can be called. The following image shows the frontend of the program.
Ā© 2020. SAP SE or an SAP affiliate company. All rights reserved. Used with permission of SAP SE.
Do you have any questions?
Do you still have any questions regarding the topic of processing IDocs in SAP ERP systems? Feel free to contact us, weāre always happy to help!
You may also find the following articles helpful:
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.