EDI Fundamentals for SAP: ANSI X12 and EDIFACT Envelopes, Transaction Sets and Acknowledgments (997, CONTRL)
Course quiz
EDI Fundamentals for SAP: ANSI X12 and EDIFACT Envelopes, Transaction Sets and Acknowledgments (997, CONTRL)
Keep this: job aid
EDI file reading cheat sheet
- X12 envelopes: ISA/IEA interchange, GS/GE group, ST/SE transaction set; control numbers must match header and trailer.
- ISA is fixed at 106 characters: element separator after "ISA", component separator in ISA16, segment terminator at the end.
- EDIFACT envelopes: optional UNA, UNB/UNZ interchange, optional UNG/UNE group, UNH/UNT message; release character ? escapes delimiters.
- GS01 codes: PO = 850, PR = 855, SH = 856, IN = 810, FA = 997.
- Pairs: 850/ORDERS → ORDERS, 855/ORDRSP → ORDRSP, 856/DESADV → DESADV, 810/INVOIC → INVOIC, 830/DELFOR → DELINS.
- Basic types at Contoso: ORDERS05 (orders and order responses), DELVRY07 (ship notices), INVOIC02 (invoices).
- Proof layers: MDN = file arrived; 997/999/CONTRL = file is syntactically valid; 855 or partner confirmation = business accepted.
- 997 AK9: A accepted, E accepted with errors, P partially accepted, R rejected. CONTRL action: 8 received, 7 acknowledged, 4 rejected.
- Always pull the raw partner file from the middleware before debugging an IDoc: qualifier errors start at the source.