What Is SAP EDI? How It Works, Which Transactions It Uses, and What Happens After Go-Live
December 1, 2026 | by Jodi Abrams

Your biggest customer just told you they want to start sending purchase orders by EDI, and they'd like to be live next quarter.
Maybe your team knows SAP well. Maybe someone has heard of IDocs. But nobody is quite sure where SAP stops and EDI starts, which documents are involved, or what happens after go-live.
That is what "what is SAP EDI?" is really asking, and it has a longer answer than most people expect. Let's break it down.
Short answer: SAP EDI is the automated exchange of business documents, such as purchase orders, ship notices, and invoices, between SAP and your trading partners. SAP handles the business logic and speaks in IDocs. An EDI translator or service converts those IDocs to and from partner formats like ANSI X12 or EDIFACT and moves them over connections like AS2, SFTP, or a VAN.

What Is SAP EDI?
SAP EDI (Electronic Data Interchange) is the process of sending and receiving standardized business documents between an SAP system and a trading partner without anyone rekeying the data. A customer's purchase order arrives electronically and becomes a sales order in SAP. When the goods ship, SAP generates an advance ship notice and an invoice and sends them back the same way.
Four pieces make it work:
- IDocs - SAP's own document format for moving data in and out of the system. An inbound purchase order typically arrives as an ORDERS05 IDoc, and an outbound ship notice leaves as a DESADV IDoc.
- Partner profiles and port configuration - these tell SAP who each trading partner is, which message types they exchange, and where to send them.
- Output determination and processing logic - On the outbound side, SAP's output determination rules decide which documents are created for each partner. On the inbound side, SAP's processing logic decides what happens to each document it receives. The setup differs between ECC, S/4HANA, and cloud editions.
- An EDI translator or service - converts the IDoc into the partner's required format, such as ANSI X12 or EDIFACT, and handles the connection (AS2, SFTP, or VAN) and acknowledgments.
SAP does not speak X12 or EDIFACT natively. That gap is the whole reason EDI translation exists, and it is where most of the cost and risk in an SAP EDI program sits. It is also why "set it and forget it" rarely holds up. Going live is only the start.
How Does SAP EDI Work?
A typical order-to-cash cycle runs in both directions. Here is the inbound purchase order (EDI 850) first:
- The customer sends an X12 850 to your EDI translator or service over AS2, SFTP, or a VAN.
- The translator validates the file, sends a 997 functional acknowledgment back, and maps the 850 into an ORDERS IDoc.
- The IDoc arrives in SAP and is picked up for processing.
- SAP's inbound processing creates the sales order, matching the partner, material, and ship-to against your master data. If anything doesn't match, the IDoc is rejected and someone has to fix it.
Then the outbound side, the advance ship notice (EDI 856) and invoice (EDI 810):
- Delivery or billing in SAP triggers output determination for that partner.
- SAP creates a DESADV or INVOIC IDoc and sends it through the configured port to the translator.
- The translator maps it to the partner's required 856 or 810, including partner-specific labels, qualifiers, and packaging structure.
- The partner acknowledges it, and a rejected or late document can trigger a chargeback.
The flow itself is simple. What makes it hard is that every trading partner has its own rules for the same document, and SAP has to be configured to satisfy each one.

Which EDI Transactions Are Used in the Customer Order Process (Order-to-Cash)?
The customer order process, also called order-to-cash, runs on the same handful of documents in most SAP EDI programs, and inventory updates often travel alongside them. Each X12 transaction maps to a specific IDoc type:
|
X12 transaction |
Document |
Direction (from SAP) |
SAP IDoc type |
|---|---|---|---|
|
850 |
Purchase order |
Inbound |
ORDERS |
|
855 |
Purchase order acknowledgment |
Outbound |
ORDRSP |
|
856 |
Advance ship notice (ASN) |
Outbound |
DESADV |
|
810 |
Invoice |
Outbound |
INVOIC |
|
820 |
Payment remittance advice |
Inbound |
REMADV |
|
846 |
Inventory advice |
Outbound |
INVRPT |
The 997 functional acknowledgment confirms receipt of each of these and is handled by the translator, not SAP. Transactions for warehouse (940, 945) and forecast (830, 862) exchanges follow the same pattern with their own IDoc types.
How Does an SAP EDI Project Work, and What Happens After Go-Live?
Knowing the transactions is the easy part. Getting them live with each trading partner is a project, and it typically runs in four stages:
- Discovery - Review your SAP setup and your partners' requirements, then agree on scope and timeline.
- SAP and map setup - Configure IDoc types, partner profiles, and output determination, then build the maps.
- Partner testing - Test each transaction end to end with each partner. Onboarding a partner usually takes a matter of weeks, and the pace depends mostly on how fast the partner tests and how ready your master data is.
- Go-live and support - Cut over, monitor, and onboard the next partner.
Stage four never really ends. After go-live, someone has to watch for failed IDocs, resolve errors, update maps when a partner changes a requirement, and onboard new partners. That ongoing work is the difference between connecting EDI and actually managing it.

SAP EDI FAQ
What Is an IDoc in SAP EDI?
An IDoc (Intermediate Document) is SAP's standard format for exchanging business data with other systems. In SAP EDI, an IDoc sits between SAP and the EDI translator, which converts it to or from a partner format like X12 or EDIFACT.
Does SAP Support EDI Out of the Box?
SAP creates and consumes IDocs out of the box, but it does not translate them to X12 or EDIFACT or connect to trading partners on its own. You need an EDI translator, a cloud integration platform, or a managed EDI service for that part.
What Is the Difference Between EDI and an IDoc?
EDI is the practice of exchanging standardized documents between companies. An IDoc is one specific format SAP uses internally. An EDI document like an X12 850 is what the partner sees, and the IDoc is what SAP sees.
Which EDI Transactions Do SAP Customers Use Most?
The most common are the 850 purchase order, 855 purchase order acknowledgment, 856 advance ship notice, 810 invoice, and 997 functional acknowledgment. Payment remittance (820) and inventory (846) are common as well. The table above shows how each maps to an SAP IDoc type.
Why Do SAP EDI Documents Fail?
The most common causes are missing or mismatched master data, missing output determination settings, and partner-specific requirements that the SAP configuration does not meet. Translation errors are less common than people expect.
Does EDI Change When Moving to S/4HANA?
IDocs and partner profiles still work in S/4HANA, but output management and some configuration differ from ECC, so the EDI setup needs to be reviewed and tested partner by partner as part of the move rather than assumed to carry over. For RISE with SAP, SAP Cloud Connector typically links the SAP system to the EDI platform.
Why It Matters
SAP EDI is more than a connection between two systems. It is SAP configuration, partner testing, and ongoing support working together, and when all three are in place it runs quietly in the background.
If you're reviewing how SAP EDI runs in your company, please reach out at info@contax.com and ask for Jodi.
Related Reading
About the Author

Jodi Abrams
Related Articles

Your 3PL Is Live on EDI - Now Who Notices When It Breaks?
Why a clean go-live doesn't mean your SAP 3PL integration is finished

Arcus vs. SPS Commerce: Which EDI Model Fits Your SAP Team?
Both will get your EDI running. The real question is who owns the SAP side when something breaks.

EDI Conversion Doesn't Have to Be a Big Bang
Why moving one trading partner at a time makes an EDI change easier to manage
