Overview of SAP IDoc/EDI inbound processing

domain: SAP IDoc/EDI · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. An inbound IDoc arrives at the SAP system via a port (file, tRFC, or HTTP); the port is configured in transaction WE21 and linked to a partner profile in WE20.
  2. The partner profile in WE20 defines the inbound parameters: message type (e.g., ORDERS), basic type (e.g., ORDERS05), and the function module or process code that handles the IDoc (e.g., ORDERS_INBOUND for purchase orders).
  3. The IDoc passes through the IDoc interface layer; syntax and structure checks are applied, and the IDoc status is set to 50 (ready for processing) or 56 (error) in tables EDIDC and EDID4.
  4. The linked process code triggers the application function module, which attempts to post the business document (e.g., purchase order); on success the IDoc status advances to 53, on failure to 51 with error messages visible in transaction WE02 or WE05.
  5. Failed IDocs can be reprocessed after corrections via BD87 (mass reprocessing) or WE19 (test with modified data); workflow notifications can be configured for status 51 errors.

Known gotchas

Related routes

Process inbound IDocs in SAP and diagnose status errors using BD87 and WE19
sap-s4hana · 5 steps · unrated
Configure inbound sales-order creation from an EDI partner using SAP IDoc type ORDERS05, including partner profile setup and process code assignment
help.sap.com · 6 steps · unrated
Map an inbound EDI X12 810 Invoice to a Dynamics 365 Finance and Operations vendor invoice using the DMF VendorInvoiceHeaderEntity and VendorInvoiceLineEntity
learn.microsoft.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans