IDoc status 05 — IDoc Status 05 Error During Translation
Status 05 is an outbound IDoc status meaning the IDoc left SAP successfully but the receiving side or middleware (EDI subsystem, or an Integration Suite iflow acting in that role) could not translate or map it into the target format. The failure happens after SAP handed the document off, so the fix usually lives in the mapping layer, not inside SAP.
This page covers IDoc status 05, the outbound translation-error status that fires after an IDoc has been dispatched to a port but before it reaches the receiving business system in a usable form. It focuses on where translation failures actually originate, how to trace them back through middleware logs, and why blind reprocessing risks either doing nothing or creating a duplicate downstream document.
Published 16 Sept 2026· 1,073 words
What the status means
Status 05 sits on the outbound side of processing, past the point where SAP itself is responsible for the IDoc. By the time status 05 appears, the IDoc has already been written to the port (status 03 or similar was already recorded) and handed to an external agent for conversion, historically an EDI subsystem, in modern landscapes often a middleware layer or Integration Suite iflow standing in that role. Status 05 is that agent reporting back that it could not translate the IDoc's segments into the target format, whether that target is a flat file, an EDI standard like EDIFACT or X12, or an XML schema expected by the receiving application. It is a dead end from SAP's point of view: nothing further happens to the document until someone intervenes outside the standard IDoc dispatch flow.
Why it appears
- Mapping failure in the middleware: a segment, qualifier, or field value the IDoc contains has no corresponding entry in the translation map, most often after a custom field was added to the IDoc extension without updating the mapping.
- Message type or IDoc version mismatch: the sending SAP system emitted a newer or extended structure than the mapping was built against, so unexpected segments break the parser.
- Character set or codepage issues, particularly with non-Latin scripts or special characters in address or text fields that the translation step cannot encode into the target format.
- Missing or incomplete trading partner setup on the middleware side, for example no conversion agreement or partner profile matching the sender/receiver combination in the control record.
- Data quality problems inside the IDoc itself, such as a qualifier value the mapping expects to be from a fixed list but which contains something outside it (an unmapped country code, unit of measure, or partner function).
- The middleware or iflow being down, misconfigured, or mid-deployment when the IDoc arrived, so translation was attempted against a broken or incomplete artifact.
- In BTP-integrated landscapes, the receiving Integration Suite flow throwing a mapping exception that gets relayed back to SAP as a generic translation failure, with the real stack trace visible only in the iflow's own monitoring.
What to inspect
- WE02 or WE05: open the IDoc and read the status 05 long text. It is frequently generic (‘error during translation’) and only hints at the real cause.
- WE21: confirm the port definition used for dispatch is correctly pointing at the intended middleware or subsystem endpoint and has not been repointed or left stale after an environment change.
- Middleware or Integration Suite monitoring: trace the message using the IDoc number, control record fields, or correlation ID and find the actual mapping exception logged there, since this is where the real error text usually lives.
- Compare the failing IDoc's segments against a recently successful IDoc of the same message type and partner, looking for extra segments, unexpected values, or blank mandatory fields.
- Check whether the message type or IDoc structure version was recently changed on the SAP side without a corresponding change on the mapping side.
How to reprocess safely
The underlying cause sits outside the IDoc dispatch mechanism itself, so the fix is either correcting the mapping or configuration in the middleware, or correcting bad data in the source document before a new IDoc is generated. If the segment content is wrong at the source (for example a business partner master record missing a required field that gets mapped incorrectly), fix that master data first so the next IDoc generated for the same transaction is clean. Once the mapping or data problem is fixed, the safest route is usually to trigger a fresh outbound IDoc from the source document rather than trying to force the existing status 05 record through, since status 05 IDocs are not part of the standard reprocessable set that a straightforward reprocessing transaction will pick up cleanly. Before resending anything, confirm with the receiving system or middleware team whether the failed translation produced any partial output on their side. If it did, resending the corrected document risks a duplicate posting downstream, and that side needs to clear or reverse the partial artifact first.
The fix people try first (and why it fails)
The reflex is to select the IDoc in the status monitor and hit reprocess, treating it like an inbound error that just needs another pass. Status 05 is an outbound, external-side failure: reprocessing inside SAP does not re-run the translation, because SAP is not what performed it. At best nothing happens and the IDoc sits unchanged. At worst, someone works around this by manually flipping the status to a success code to clear the error queue, which hides a document that never actually reached the business partner, leaving a silent gap in the interface with no further alert.
Whose problem this is
This is a shared ticket between the SAP interface or Basis team and whoever owns the middleware or Integration Suite iflow. The SAP side confirms the IDoc content and port setup are correct and, if needed, fixes source master or transaction data. The integration team owns the actual translation error and the mapping fix. Functional consultants get pulled in only if the root cause traces back to invalid business data in the source document.
Common pitfalls
The status text in SAP is often too generic to diagnose anything on its own, so teams waste time cycling through SAP-side checks when the actual exception detail only exists in the middleware or iflow log. It is also easy to assume the IDoc data is fine because it looks structurally normal in WE02, when the actual problem is a value that is syntactically valid in SAP but outside the fixed list the external mapping expects. Finally, status 05 can be confused with status 26 (syntax error, which is an SAP-side structural check) even though the two point to entirely different layers of the pipeline.
Related SAP objects
Reviewed pages this object connects to in the ERPClimb knowledge graph.
Source: ERPClimb — https://erpclimb.com/sap-idoc/status-05ERPClimb is an independent platform and is not affiliated with SAP SE. Reference pages are written and reviewed by SAP consultants for learning and troubleshooting.