IDocs
IDocs are SAP’s structured document formats for integration; this reference explains IDoc types, segments and how to find their definitions.
Understanding IDoc structures and where to find their documentation is essential for integration, mapping fields, troubleshooting failures (status 51), and extending IDocs with custom segments.
- An IDoc type defines the structure of a business document (segments and fields) exchanged via ALE/EDI.
- Use WE60 for IDoc-type documentation (segments/fields).
- Use WE30 (IDoc types) and WE31 (segments) to view structures.
- Watch out: Guessing instead of using the reference tools.
What it is
An IDoc type defines the structure of a business document (segments and fields) exchanged via ALE/EDI. Each represents a document kind (e.g. ORDERS for purchase orders, MATMAS for material master), with a message type controlling its use.
How to find/use it
- Use
WE60for IDoc-type documentation (segments/fields). - Use
WE30(IDoc types) andWE31(segments) to view structures. - Use
WE02/WE05to view IDoc instances and statuses. - Match message type and IDoc type when configuring partner profiles.
Why it matters
Understanding IDoc structures and where to find their documentation is essential for integration, mapping fields, troubleshooting failures (status 51), and extending IDocs with custom segments.
Common pitfalls
- Guessing instead of using the reference tools.
- Editing/using without understanding the object.
- Relying on memory for details you can look up.