← All integrations
SAP S/4HANA → HubSpot

SAP S/4HANA HubSpot integration

Last updated:

In short

A SAP S/4HANA HubSpot integration matches SAP business partners to HubSpot companies, creates S/4HANA sales orders from closed-won deals through the OData sales APIs, and writes order, delivery, and billing status back onto the deal. It handles sales areas, partner roles, currency, and HubSpot rate limits, so nobody re-keys an order between ERP and CRM.

One customer, one order book across S/4HANA and HubSpot

Your commercial teams live in HubSpot: contacts, companies, deals, the pipeline, the forecast. Your business of record lives in SAP S/4HANA: the business partner master, the sales order, the delivery, the billing document, the open item on the customer account. These two systems describe the same customers and the same deals, and left alone they drift apart within weeks.

The integration matches HubSpot companies to SAP business partners, turns closed-won deals into sales orders in S/4HANA, and pushes order, delivery, and invoice status back onto the deal so a sales rep can see that the order shipped and the invoice is paid without opening SAP GUI or asking finance. The point is a single, trustworthy answer to “what did this customer order and where is it” that both sides share.

Business partners, sales orders, and billing documents on the deal

SAP S/4HANA object / eventBecomes in HubSpotNotes
Business partner (customer role)Company recordMatched or created; VAT ID / customer number carried as the stable key
Contact person of the BPContact, associated to the companyDeduplicated by email on the HubSpot side
Sales order (VBAK/VBAP)Deal + line items, or custom objectOrder number and value written back onto the originating deal
Delivery / goods issue statusDeal property or timeline eventLets sales see fulfillment without SAP access
Billing document / invoiceDeal property, ticket, or custom objectInvoice number, amount, due date, payment status
Credit / block statusDeal property or ticket flagWarns sales before they promise a shipment that is blocked

Direction runs both ways: HubSpot deals and companies flow into S/4HANA as sales orders and business partners, while SAP order and financial status flows back onto the deal. Which object maps to which, the partner roles, and which side is authoritative for each field are decided in scoping and become part of the pipeline’s configuration.

Partner roles and sales areas: what HubSpot cannot express

A generic connector or a nightly export covers the straightforward records and leaves the costly exceptions with your team:

Running the deal-to-order flow on OData and the HubSpot v3 API

This is a bidirectional pipeline, not a batch job. Changes are picked up by HubSpot webhooks and SAP delta reads, validated against the object schemas, transformed through your agreed mapping, and written via the S/4HANA OData APIs and the HubSpot v3 API - batched and rate-limit-aware on both ends.

Before creating a sales order, the pipeline looks up the HubSpot deal ID in the order’s customer reference field; before creating a business partner, it checks the agreed matching key. A webhook delivered twice or a replayed delta therefore finds the existing order or partner and updates it. Customer and order data is processed on EU-hosted infrastructure, so your DPA / AVV and GDPR position need no exceptions for this flow.

Run monitoring and alerts, incident handling, and tracking SAP OData deprecations and HubSpot schema changes stay with us under contract, so you are not left maintaining a middleware tenant yourselves.

When re-keying a few orders by hand is fine

If a handful of orders a month move between the two systems and one person re-keys them in five minutes, a manual step is the sensible choice and we will tell you so. The integration pays off when deal volume makes re-keying a job in itself, when sales keeps promising ship dates finance has blocked, when duplicate customers pile up because two teams create them independently, or when your forecast and your order book have drifted apart. At that point a managed pipeline pays for itself in the reconciliation it removes.

Frequently asked questions

Do you connect to S/4HANA Cloud Public Edition, Private Cloud, or on-premise?
All three. For SAP S/4HANA Cloud Public Edition we use the released OData APIs exposed through communication arrangements - business partner, sales order, and billing document scenarios. For S/4HANA on-premise or Private Cloud Edition we use the SAP Gateway OData services, and where a released API does not exist we fall back to a whitelisted BAPI or a custom CDS-based service. We agree the exact endpoints and the technical communication user with your Basis team before we build.
How do you match a HubSpot company to the right SAP business partner?
There is no shared key out of the box, so we agree a matching strategy up front. The strongest key is the VAT ID (USt-IdNr) or a customer number you already store on the HubSpot company; failing that we match on normalized company name plus country and address. New customers created in HubSpot can be provisioned as SAP business partners with the correct customer role, or held for review, depending on how much control your master-data team wants.
Can it push a closed-won deal into S/4HANA as a sales order?
Yes, and this is the most common reason people build it. When a deal reaches the agreed stage, we create a sales order in S/4HANA via the sales order OData API - resolving the sold-to party, sales area, material numbers, pricing, and payment terms from the deal, its line items, and your mapping rules. The HubSpot deal ID is written to the order as your reference so the link is stable and the create is idempotent on retry.
How do you keep HubSpot from hitting SAP or SAP from hitting HubSpot rate limits?
HubSpot's v3 API caps burst and daily request volume by subscription tier, and SAP Gateway has its own throughput ceiling. We batch reads and writes ($batch on the SAP side, batch and search endpoints on the HubSpot side), respect delta tokens and last-modified filters so we only move what changed, and back off on 429s rather than hammering. You never see a throttled sync because the pipeline is built to stay under both ceilings.
What happens when SAP deprecates an OData service or HubSpot changes an object schema?
We handle the change before your revenue operations team feels it. The pipeline runs on EU-hosted infrastructure under our monitoring, and following SAP API deprecations and HubSpot schema updates is part of what the contract covers. Orders should not stop flowing because a service was retired. You get alerting, incident response, an SLA, and a single accountable owner instead of a middleware tenant somebody has to babysit.
// 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.