What moves between WooCommerce and SAP
Most searches that reach this page come from businesses running SAP ECC, and some from S/4HANA, so this page covers SAP's enterprise ERP. If you run SAP Business One, see SAP Business One integration.
WooCommerce takes the order and the customer's details. SAP is the master for materials, stock, prices and billing. The integration creates each sales order in SAP once, and then keeps the shop's products and order statuses current from SAP.
WooCommerce
The WordPress store where orders start
- Orders
- Customers
- Products and stock quantity
- Refunds
SAP ECC or S/4HANA
Where materials, stock and billing are kept
- Sales orders
- Customers / business partners
- Materials and stock
- Deliveries
- Invoices and credit memos
WooCommerce to SAP record mapping
WooCommerce names come from its REST API; SAP names are plain descriptions, because the objects differ between ECC and S/4HANA. Discovery confirms both.
| WooCommerce | SAP ECC / S/4HANA | Direction |
|---|---|---|
| Order | Sales order | WooCommerce to SAP |
| Customer | Customer (ECC) or business partner (S/4HANA) | Both ways |
| Product (SKU) | Material | SAP to WooCommerce |
| stock_quantity | Unrestricted stock for the shop's plant | SAP to WooCommerce |
| Order status and shipment note | Delivery and goods issue | SAP to WooCommerce |
| Order refund | Credit memo | WooCommerce to SAP |
How the WooCommerce sync works
Orders announced by WooCommerce webhooks
WooCommerce can call out on order.created and order.updated, so Connect hears about an order as soon as it exists rather than polling. The order is mapped to an SAP sales order and posted; the SAP document number can then be stored on the WooCommerce order for support staff.
Stock and prices back from SAP
Connect updates each product's stock_quantity, and prices where SAP owns them, through the WooCommerce REST API. Most shops run this every hour or so; busy catalogues can run it more often.
Refunds need a read, not a webhook
WooCommerce's built-in webhook topics cover orders, customers, products and coupons, but not refunds. Connect reads the order's refunds when the order changes and passes them to SAP so billing can raise the credit memo.
See Clarity Connect move an order
Watch an online order travel into the ERP and its status come back in our Clarity Connect demo, or book a live walkthrough on your own systems.
ECC's support dates, and planning for S/4HANA
SAP provides mainstream maintenance for the core applications of SAP Business Suite 7, which includes ECC, until the end of 2027, with optional extended maintenance to the end of 2030 at a higher fee. Many ECC shops will move to S/4HANA during the life of a store integration.
On ECC, integrations usually call RFC-enabled BAPIs or exchange IDocs; S/4HANA adds OData services, which SAP catalogues on the SAP Business Accelerator Hub. Mapping the store's records to business meanings (order, customer, material) rather than to one SAP interface keeps the WooCommerce side unchanged when the ERP moves.
How Clarity Connect runs it
Clarity Connect is Clarity's integration platform. For WooCommerce and SAP it keeps one persistent two-way connection and splits the work into tasks, each running live or on a schedule. When SAP is on-premises, Connect is installed inside your network and talks out only to the store. Clarity has delivered more than 3,000 integrations; you can watch some in our video playlist.
Discovery
A Clarity business analyst documents the data fields and workflows each system can share and which ones you need.
Tasks and mapping
Each flow becomes a Connect task, such as orders to the ERP or stock to the store, set to run in real time or on a schedule.
Testing
Orders and updates are run end to end, including the return trip of statuses back to the customer-facing system.
Live, with a dashboard
Queues and scheduled tasks show in Connect's Hangfire dashboard. A job whose target is offline is retried 10 times, every 30 minutes, and can be re-queued once the cause is fixed.
Clarity Connect is sold as a SaaS subscription at $599 a month or as a one-time license at $15,000 with no ongoing fees, and larger projects are priced to scope. See pricing.
Questions
Does this work with SAP ECC as well as S/4HANA?
Yes. ECC is usually reached through BAPIs, RFCs or IDocs and S/4HANA through its OData services; the WooCommerce side is the same for both.
How does Connect authenticate to WooCommerce?
With a REST API consumer key and secret created under WooCommerce > Settings > Advanced, given only the read or write access the integration needs.
We run SAP Business One. Is this the right page?
Business One is a different product with its own API, the Service Layer. See SAP Business One integration.
Can customers pay SAP invoices from the store?
Clarity Payment Hub handles invoice payments for SAP; see Payment Hub for SAP ECC or for S/4HANA.
Related resources
Connect WooCommerce and SAP
Tell us whether you run ECC or S/4HANA and which orders, materials and statuses need to move. A Clarity business analyst will document the flows with your SAP team first.
Book a demo
