4 minute read

Reprocessing IDocs in SAP ERP

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.


Selection screen of transaction BD87
Selection screen of 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.

White Paper - EDI Integration in SAP

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 RBDMANI2
56 IDoc with errors added RBDAGAI2 BD84
60 Error during syntax check of IDoc (inbound) RBDSYNEI
61 Processing despite syntax error (inbound) RBDAGAI2 BD84
63 Error passing IDoc to application RBDAGAI2 BD84
64 IDoc ready to be transferred to app­lica­tion RBDAPP01 BD20
65 Error in ALE ser­vice RBDAGAI2 BD84
66 IDoc is waiting for pre­dece­ssor IDoc (serial­izat­ion) RBDAPP01 BD20
69 IDoc was edited RBDAGAIE WPIE

To call a program in SAP you can use transaction SE38 as shown in the following image.


Calling a program via transaction SE38
Calling a program via transaction SE38

© 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 RBDAGAIN BD83
04 Error within control infor­mat­ion of EDI sub­system RBDAGAIN BD83
05 Error during translation RBDAGAIN BD83
25 Processing despite syntax error (outbound) RBDAGAIN BD83
26 Error during syntax check of IDoc (outbound) RBDSYNEO
29 Error in ALE ser­vice RBDAGAIN BD83
30 IDoc ready for dispatch (ALE service) RSEOUT00 WE14
32 IDoc was edited RBDAGAIE WPIE

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.


Program RBDINPUT
Program RBDINPUT

© 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.


Program RBDINPU
Program RBDINPU

© 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. 

Subjects

most read

Keep on reading

2 minute read

How to End Another User's SAP Session

Unable to edit a crucial document in SAP® because you're locked out? Learning how to end another user's SAP session will solve this issue.

3 minute read

Finding Translations for SAP® Terminology

Using the correct translations for SAP® terminology is important in international projects. Discover how to find these quickly.

2 minute read

How to Save an IDoc Parser Report to a Local File

In this short and simple guide we show you how to save an IDoc parser report to a local file in just a couple of easy steps.

6 minute read

How to Debug SAP Message ME161 - "The Notified Quantity Exceeds the Ordered Quantity"

Don't know how to fix SAP error message ME161 "The notified quantity exceeds the ordered quantity"? In this article we break it down.

3 minute read

ecosio to Host SAP/EDI Workshop at UKISUG Connect 2021

ecosio is exhibiting and running an SAP/EDI workshop at this year's UKISUG Connect conference. Find out what attendees can enjoy at the event.

6 minute read

SAP® EDI Project Roles - A Breakdown

Learn the various EDI project roles involved in achieving successful EDI integration in SAP systems and how the different roles interact.

10 minute read

Alternative Solutions for EDI Data Exchange with SAP PI

Many companies use SAP PI to enable data exchange between a given SAP ERP system and its connecting systems. Discover the options available.

6 minute read

How do I Implement EDI with SAP Integration Suite®?

EDI with SAP Integration Suite®: take over internally yourself or hire a fully managed EDI service provider? In this article we explore the positives and negatives of these approaches.

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?

9 minute read

Alternative Solutions for EDI Data Exchange with SAP PI and SAP PO

Discover the three possibilities when it comes to implementation of electronic data interchange (EDI) in SAP Process Integration or SAP Process Orchestration (SAP PI/PO).

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.

4 minute read

IDoc Status Change in SAP ERP

IDoc statuses are not always the clearest - particularly when errors occur. In this article we explain how to change IDoc status as required.

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.