Skip to content

Free ORDERS05 IDoc Validator

Paste or upload a SAP ORDERS05 IDoc flat file. Check the required segments, spot Z-extensions, read the segment tree and export it as JSON.

Runs in your browser. Nothing you enter or paste is sent to OrderSync.

Try a sample:

The first line is the EDI_DC40 control record. Export with SAP transaction WE60 or WE02.

About ORDERS05

ORDERS05 is the standard SAP IDoc type for purchase orders in SAP-connected supply chains. When a customer runs SAP, their purchase orders often reach suppliers as ORDERS05 IDocs, either directly or translated to X12 or EDIFACT by middleware. A valid file has the EDI_DC40 control record, at least one E1EDK01 document header, and at least one E1EDP01 line item.

Z-segments are custom SAP extensions your trading partner may have added. The validator flags them as warnings so you know they are there, and never rejects an otherwise valid IDoc because of them.

Key ORDERS05 Segments

SegmentWhat it holdsRequired
EDI_DC40Control record: IDoc type, message type, sender, receiverYes
E1EDK01Document header: currency, document typeYes
E1EDKA1Partner (AG buyer, LF supplier, WE ship-to)No
E1EDK02References, such as the PO numberNo
E1EDK03DatesNo
E1EDP01Line item: quantity, unit, priceYes
E1EDP19Item identifiers (VN vendor part, EN EAN/UPC)No

Also Working With X12 or EDIFACT?

The EDI viewer and validator reads X12 850, 810, 856 and 997 files, and the EDIFACT viewer covers EANCOM and TRADACOMS. For how an ERP connects to trading partners, see ERP and EDI integration.

Frequently Asked Questions

What does the ORDERS05 validator check?

That the flat file has its EDI_DC40 control record, at least one E1EDK01 document header and at least one E1EDP01 line item, that every segment name is known for ORDERS05, and how the segments nest. Custom Z-segments are flagged as warnings, not errors, because most real ORDERS05 implementations carry some.

How do I export an IDoc flat file from SAP?

Use WE02 or WE05 to find the IDoc, then WE60 or the download option to save it as a text file. Paste the contents here or choose the file. WE19 lets you re-process a test IDoc once it validates.

Can it read IDoc XML or other IDoc types?

Not yet. It reads the ORDERS05 flat file format. IDoc XML from SAP PI or CPI is recognised and you are told how to export the flat file instead. DESADV and INVOIC IDocs are not validated.

Is my IDoc uploaded?

No. Parsing and validation run in your browser and nothing is sent to OrderSync. The JSON export is built in the browser too.