← All integrations
SAP → Salesforce

SAP Salesforce integration

Last updated:

In short

A SAP to Salesforce integration pushes SAP business partners, sellable materials, condition-based prices, order status, and open receivables into Salesforce Accounts, Products, and Orders, and turns closed-won opportunities into SAP sales orders. SAP customer numbers map to Salesforce external IDs, and sales-org structure and multi-currency are respected, so nobody re-keys an order.

Letting SAP and Salesforce each own what they are good at

SAP is the system of record for what a customer costs, owes, and has ordered. Salesforce is where sales works: pipeline, quotes, relationships, forecasts. The two describe the same customers and the same deals from opposite ends, and for most companies they stay in sync because somebody re-types the information from one screen into the other.

The integration removes that person. It pushes the ERP truth - who the customer is, what they may buy, at what price, what they still owe - into Salesforce so sales works from real data, and it writes closed deals back into SAP as sales orders so fulfilment and finance start without a re-key. The two systems do not become identical; each keeps owning its part and is kept honest with the other automatically.

KNA1, Product2, and PricebookEntry: the object map

SAP object / eventBecomes in SalesforceNotes
Business Partner / customer master (KNA1)AccountMatched by SAP customer number to an external ID field; upserted, never duplicated
Contact personsContactLinked to the parent Account; partner-function role preserved
Material masterProduct2Only the sellable materials for the relevant sales org / distribution channel
Condition-based pricingPricebookEntrySAP is the pricing authority; currency and scale prices carried across
Sales order status & deliveryOrder / status fieldWrite-back of confirmation, delivery, and shipment status against the originating deal
Billing document / invoiceOrder or related recordSo sales sees what was invoiced, not just what was quoted
Open items / credit exposure (AR)Account fieldsDrives credit warnings and can block a Salesforce Order before it reaches SAP

The reverse flow matters just as much: a closed-won Salesforce opportunity or Order becomes a SAP sales order, with partner functions, sales org, and materials resolved on the way in. The object list and the direction of each flow are settled in scoping and then enforced by the pipeline.

Partner functions, KUNNR matching, and row locks

A point connector or a nightly export handles the simple customer copy and then leaves the hard cases on your desk:

Choosing the SAP interface per object and loading with Bulk API 2.0

Objects are read through the right SAP interface per case - OData and CDS views on S/4HANA, IDoc or RFC/BAPI through SAP Gateway on ECC - validated, mapped to your agreed Salesforce model, and written with Bulk API 2.0 for volume or targeted upserts for deltas. None of this requires buying a separate integration platform subscription on top of SAP and Salesforce.

KUNNR or the Business Partner ID sits in an external ID field on the Account, and SAP sales orders carry the Salesforce opportunity or Order ID as their reference. A re-run therefore upserts onto the record that already exists, and a resubmitted opportunity finds its SAP order instead of opening a second one. Customer and order data moves only through our AWS environment in the EU, so ERP customer data does not leave the EU on its way to the CRM, which matters for your DPA / AVV.

After go-live we keep watching both ends - a new S/4HANA release, a Salesforce API version sunset, a governor-limit change - and handle each as contracted operations work, under an SLA rather than a script somebody has to remember to run.

When a point connector or manual re-keying will do

If a handful of accounts move between the systems and sales is happy re-keying the occasional order, a manual process or a simple point connector is enough, and we would rather say so than sell you a pipeline. A managed pipeline makes sense when order volume climbs, when order-to-cash write-back has to be reliable, when credit exposure needs to reach sales before a deal is booked, or when duplicate Accounts and drifting prices are already costing your team more time than a managed pipeline would.

Frequently asked questions

Should I connect SAP to Salesforce with OData, IDoc, BAPI, or a middleware bus?
It depends on your SAP release and which objects move. S/4HANA exposes clean OData v2/v4 services and CDS views with delta tokens, which we prefer for master data and reads. ECC often means IDocs or RFC/BAPI calls through SAP Gateway. We pick the interface per object rather than forcing everything through one channel, and we do not require you to buy a separate integration bus to make it work.
How do you match a SAP customer to the right Salesforce Account?
We map the SAP customer number (KUNNR) or S/4HANA Business Partner ID to a dedicated external ID field on the Salesforce Account and upsert against it. That makes the sync idempotent and stops duplicate Accounts appearing. Where you already have Accounts created by sales before SAP has a customer, we run a one-time reconciliation to link the existing records before the pipeline goes live.
Can it create sales orders in SAP from a closed Salesforce opportunity?
Yes, and this is the flow most order-to-cash projects care about. A closed-won opportunity or a Salesforce Order becomes a SAP sales order via the sales-order OData service or an ORDERS IDoc, with sold-to, ship-to, and bill-to partner functions, sales org, distribution channel, and material numbers resolved correctly. Credit blocks, missing materials, and pricing errors are surfaced back to Salesforce rather than dropped.
How is multi-currency and pricing handled between the two systems?
SAP is the pricing authority. Condition-based prices and the document currency are calculated in SAP, and we carry the currency, exchange-rate context, and rounding into Salesforce rather than recomputing them in the CRM. Salesforce multi-currency uses dated exchange rates and its own currency codes, so we align the ISO codes and decimal handling per currency so an amount never drifts by a cent between the two.
Who keeps the SAP to Salesforce sync within API limits once it is live?
We do, on EU-hosted infrastructure that we monitor. Salesforce API consumption is managed deliberately - Bulk API 2.0 for volume loads, targeted upserts for deltas - so the sync never exhausts your org's daily request allocation. An S/4HANA release that changes a service, a Salesforce API version sunset, or a governor limit your org runs into is an incident we resolve under an SLA, with a named owner on our side.
// 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.