← All integrations
WooCommerce → SAP

WooCommerce SAP integration

Last updated:

In short

A WooCommerce SAP integration posts each paid WooCommerce order into SAP as a sales order against the correct customer master and material numbers, and sends SAP stock levels, prices and delivery status back to the store. It deduplicates customers, maps SKUs to material numbers, sets sales org and tax code, and never creates the same order twice.

Two systems, one sale: store front and ERP

WooCommerce is where the sale happens: the order, the customer who placed it, the products, the payment, the refund a week later. SAP is where the business runs on that sale: the sales order that drives fulfilment, the customer master it posts against, the material master that has to exist first, the delivery, the invoice, the stock that just dropped. Left unconnected, someone re-keys every order from the WordPress admin into SAP by hand, and someone else exports stock from SAP into a spreadsheet to stop the shop overselling.

The integration runs in both directions. Orders and customers travel from the store into SAP as proper sales documents against the right master data. Stock levels, prices, and delivery status travel from SAP back to the store so the catalogue reflects what the warehouse holds. Nobody retypes an order, and nobody discovers at dispatch that the item sold out three orders ago.

Orders into SAP, stock and prices back to WooCommerce

WooCommerce object / eventBecomes in SAPNotes
Paid orderSales order (VBAK/VBAP, or ORDR in Business One)Needs sales org, distribution channel, division set - none of which exist in WooCommerce
Order line itemSales order line against material numberSKU mapped to the SAP material; unknown SKU is rejected, not guessed
Customer / billing addressBusiness partner / customer master (Debitor)Deduplicated on email and VAT ID; B2C can post to a CpD collective account
Shipping & discountsPricing conditions / condition linesModelled as SAP conditions, not free-text lines
Refund / cancellationCredit memo / return (Gutschrift)References the original document, dated to the refund
SAP stock levelWooCommerce stock quantitySAP is source of truth; delta sync back to the store
SAP price listWooCommerce product priceCurrency and price-list assignment respected
SAP delivery / goods issueWooCommerce order status + trackingMoves the order to completed and posts the tracking note

Field mappings, number ranges, sales-org configuration, and tax codes are worked out once against your SAP customising and kept in the pipeline’s configuration, so your Basis and sales teams are not asked to re-map anything per order.

Material numbers, customer masters and tax codes

Generic plugins and nightly CSV imports move the straightforward orders and push the difficult ones onto your operations and Basis teams:

Posting WooCommerce orders through OData, BAPI, IDoc or Service Layer

WooCommerce order, customer, and refund events are picked up by webhook or on a schedule, validated, enriched with the master data and organisational fields SAP requires, and posted through whichever interface your release offers: OData, BAPI/RFC, IDoc, or the Business One Service Layer. Stock, price, and delivery updates come back to the store over the same connection.

Because every WooCommerce order ID is stored next to its SAP sales order number, a replayed webhook neither posts a second sales order nor decrements stock twice. The pipeline itself runs on EU-hosted AWS infrastructure, so order and customer data stays in the EU in transit, and that holds even where SAP sits on-premise behind your own network.

We also own the running of it: health checks, on-call alerting, incident handling, and tracking WooCommerce REST API changes, plugin updates that reshape the order payload, and SAP interface changes are covered by the contract. Your team gets an SLA rather than a home-grown script to babysit.

Order volumes where re-keying into SAP stops working

If you take a handful of orders a week and someone re-keys them into SAP in a few minutes, a manual process is reasonable and we will not try to talk you out of it. The integration starts paying for itself when order volume makes re-keying a job in itself, when overselling on stale stock starts costing you, when guest checkouts are bloating your customer master, or when B2B pricing, VAT handling, and returns make the SAP side too intricate to trust to copy-paste. At that stage the errors it keeps out of your ERP are worth more than the pipeline costs.

Frequently asked questions

Which SAP do you integrate with - S/4HANA, ECC, or Business One?
All three, because the connection method differs for each. SAP S/4HANA and ECC we reach through OData or BAPI/RFC and, where the workflow is document-based, IDocs (ORDERS, MATMAS, DEBMAS). SAP Business One we drive through the Service Layer or DI API against objects like Business Partners, Items, Sales Orders, and Invoices. We confirm the exact release, interface, and whether it is on-premise or private cloud before scoping, because that decides everything about how the pipeline talks to SAP.
How do you match WooCommerce SKUs to SAP material numbers?
By an agreed mapping, not by hoping the strings line up. SAP material numbers are often numeric and zero-padded in an 18-character field, while a WooCommerce SKU is free text a shop manager typed. We map SKU to material number explicitly, handle leading zeros and alphanumeric conversion, and reject an order line whose SKU has no known material rather than posting a broken sales order into SAP without telling anyone.
Will it create duplicate customers in SAP?
No, that is one of the main things the pipeline exists to prevent. WooCommerce happily creates a fresh customer record for every guest checkout. Before creating a sales order we match on email and, for B2B, VAT ID against the SAP customer master and reuse the existing Debitor. For pure B2C flows we can post against a collective one-time-customer account (CpD / Sammeldebitor) instead of exploding your master data with thousands of individuals.
Does it keep stock and prices in sync so we do not oversell?
Yes. SAP is the source of truth for available stock and pricing, so we push stock levels and price-list changes from SAP back to WooCommerce on a schedule, or on stock-movement events where the SAP interface supports it. We sync deltas rather than rewriting the whole catalogue each run, and we agree the update cadence against your overselling tolerance - a warehouse that ships same-day needs tighter timing than one that batches overnight.
What happens when a WooCommerce update or an SAP interface change breaks the order flow?
We fix it under the support contract. The pipeline runs on infrastructure we host in the EU and watch, so a WooCommerce REST API change, a plugin update that alters the order payload, or an interface adjustment by your SAP Basis team shows up as an alert on our side before your operations team notices orders missing in SAP. There is an SLA behind it, not a script somebody has to remember to run.
// scoping request

Need this integration built and permanently operated? Tell us which systems connect and what data has to move. Fixed-price scoping quote within 48 hours.

We reply within one working day. No newsletter, no sales sequence.