βš™οΈSAPTools
πŸ“¦

SAP IDoc Segment Explorer

IntegrationNew

Explore IDoc types and their segment structures for the most common SAP IDocs: ORDERS05, INVOIC02, DESADV01, MATMAS05, DEBMAS06. Find fields and data types.

ORDERS05Message Type: ORDERSβ€” Purchase Order

Complete IDoc Reference

ORDERS05Message Type: ORDERS β€” Purchase Order Β· 3 segments
E1EDK01Document header general data
mandatorymax: 1
FieldTypeLenDescription
ACTIONCHAR3Action code (002=Change, 003=Delete, 004=Undo)
KZABSCHAR1Flag: Order acknowledgement required
CURCYCHAR3Currency
ZTERMCHAR17Terms of payment
BELNRCHAR35Document number
E1EDKA1Partner (name + address)
mandatorymax: 9
FieldTypeLenDescription
PARVWCHAR3Partner function (AG=Sold-to, WE=Ship-to, RE=Bill-to)
PARTNCHAR17Partner number
NAME1CHAR35Name 1
STRASCHAR35Street address
ORT01CHAR35City
PSTLZCHAR9Postal code
LAND1CHAR3Country
E1EDP01Item general data
mandatorymax: 999
FieldTypeLenDescription
POSEXCHAR6Item number
MATNRCHAR35Material number
MENGEQUAN15Quantity
MENEECHAR3Unit of measure
PREISCURR15Price
CURCYCHAR3Currency
INVOIC02Message Type: INVOIC β€” Invoice / Billing Document Β· 3 segments
E1EDK01Document header general data
mandatorymax: 1
FieldTypeLenDescription
ACTIONCHAR3Action code
BELNRCHAR35Invoice document number
NTGEWQUAN15Net weight
GEWEICHAR3Weight unit
E1EDKA1Partner identification
mandatorymax: 9
FieldTypeLenDescription
PARVWCHAR3Partner function
PARTNCHAR17Partner number
E1EDS01Document totals
mandatorymax: 1
FieldTypeLenDescription
SUMMECURR18Total amount
SUNITCHAR3Currency
WAERKCHAR3Currency key
DESADV01Message Type: DESADV β€” Despatch Advice (Shipping Notification) Β· 3 segments
E1EDL20Delivery header
mandatorymax: 1
FieldTypeLenDescription
VBELNCHAR10Delivery number
LFARTCHAR4Delivery type
WADATCHAR8Goods issue date (YYYYMMDD)
VSTELCHAR4Shipping point
KUNNRCHAR10Ship-to customer
E1EDL24Handling unit (packaging)
optionalmax: 9
FieldTypeLenDescription
VHILMCHAR18Packaging material
ANZPKQUAN15Number of packages
E1EDL37Delivery item
mandatorymax: 999
FieldTypeLenDescription
POSNRCHAR6Delivery item number
MATNRCHAR18Material number
LFIMGQUAN13Actual quantity delivered
VRKMECHAR3Sales unit
MATMAS05Message Type: MATMAS β€” Material Master Β· 3 segments
E1MARAMMaterial master: General data
mandatorymax: 1
FieldTypeLenDescription
MATNRCHAR18Material number
MTARTCHAR4Material type
MBRSHCHAR1Industry sector
MEINSCHAR3Base unit of measure
BRGEWQUAN13Gross weight
GEWEICHAR3Weight unit
E1MAKTMMaterial description by language
optionalmax: 9
FieldTypeLenDescription
SPRASCHAR1Language key
MAKTXCHAR40Material description
E1MARCMPlant data
optionalmax: 99
FieldTypeLenDescription
WERKSCHAR4Plant
EKGRPCHAR3Purchasing group
DISPOCHAR3MRP controller
DEBMAS06Message Type: DEBMAS β€” Customer Master Β· 2 segments
E1KNA1MCustomer master: General data
mandatorymax: 1
FieldTypeLenDescription
KUNNRCHAR10Customer number
KTOKDCHAR4Customer account group
NAME1CHAR35Name 1
LAND1CHAR3Country
SPRASCHAR1Language key
E1KNB1MCompany code data
optionalmax: 9
FieldTypeLenDescription
BUKRSCHAR4Company code
AKONTCHAR10Reconciliation account
ZTERMCHAR4Terms of payment

Advertisement

About SAP IDoc Segment Explorer

Debugging an EDI/ALE interface means matching data against the exact segment structure of an IDoc type β€” ORDERS05, INVOIC02, DESADV01, and similar β€” which isn't obvious from WE02/WE05 output alone. This explorer lists the segment structures for the most common SAP IDoc types with their fields and data types, so you can map source data to the right segment without opening WE60/WE31.

How to use this tool

  1. Select an IDoc type (ORDERS05, INVOIC02, DESADV01, MATMAS05, DEBMAS06, etc.).
  2. Browse the segment hierarchy and expand a segment to see its fields.
  3. Search for a field name to find which segment it belongs to.
  4. Use the field list to map incoming EDI/ALE data to the correct IDoc segment before processing.

All processing happens locally in your browser. No data is sent to any server. Your SAP code and business data remain private at all times.

Frequently Asked Questions

What is an IDoc in SAP?

An IDoc (Intermediate Document) is SAP's standard data format for electronic data interchange (EDI) between SAP systems and external partners. Each IDoc type has a hierarchical structure of segments, where each segment contains specific business fields.

What is the difference between IDoc type and message type?

The IDoc type (Basic Type) defines the technical structure of segments and fields (e.g., ORDERS05). The message type describes the business meaning (e.g., ORDERS for purchase orders). One message type can be implemented by multiple IDoc types.

How do I monitor IDocs in SAP?

Use transaction WE02 or WE05 to display IDocs, BD87 to process failed IDocs, and WE19 to create test IDocs. The IDoc status codes (01–75) indicate whether an IDoc was sent successfully, is waiting, or has errors.