SAP ECC → Salesforce · Two-tier distribution playbook

Pull quoting out of SAP ECC. Leave the price in SAP.

Salesforce owns the selling motion. SAP stays the source of price, credit and invoice. An integration layer you own sits between them, so the S/4 move becomes a reconnect instead of a rebuild. On this page
Northwind Distribution · Quote Q-10482
Toggle the pricing pattern to see what changes on the same quote.

Salesforce

Owns the selling motion Account · sold-to + end customerOpportunityQuote + config rulesApprovalsOrder (as the rep sees it)

Integration layer

Owned by you, not by CPQ Pricing APIAvailability APICustomer APIOrders API

SAP ECC

Stays system of record Price conditions + SPAsATP / availabilityCreditBilling + rebates
Quote line price$43.85
SAP net price$43.85
Drift0.0%
Priced 0.9s ago. SPA A-2291 applied for the end customer, valid to 12/31. Same answer SAP will invoice.
Why this breaks

The project fails at the boundary, not in the CPQ config.

Most quoting moves stall because nobody decides which system owns price, credit and the order.

01

No system‑of‑record line is drawn

The team says "move quoting" without deciding who owns price, availability, credit, order and invoice. Now two systems both claim to know the price.

"SAP was our original quoting solution before we implemented Salesforce."

02

Pricing gets copied instead of called

Vendor price files, SPAs and tiered partner pricing get loaded into CPQ price books. They drift from SAP within weeks, and someone owns a reconciliation job forever.

03

Two-tier pricing runs on agreements

Price depends on end customer, SPA number, vendor, quantity and date window. Generic CPQ starts from list and discounts down. Distribution starts from cost and agreement and builds up.

"we're in tech distribution and it's a two tier distro model."

04

Quoting and ordering move on the same day

Cutting the order interface over with quoting bets revenue on an untested integration. Blocked orders and wrong sales areas land on customer service first.

05

The integration lives inside the CPQ tool

Apex or plugin code that calls ECC directly has to be rewritten at the S/4 cutover. That is the exact cost the program was supposed to avoid.

"we can derisk that project by pulling some of its functions like quoting and ordering into other systems."

06

The tool choice ignores the roadmap

Salesforce CPQ is end-of-sale and in maintenance. Building a multi-year program on it means paying for a second re-implementation inside the same S/4 window.

What good looks like

Benchmarks for the business case your CFO will read.

Measure turnaround, price match and order fallout. Those three numbers decide whether the move paid off.

MetricWeakAcceptableStrongSource
Quote turnaround, standard requestOver 72 hours24–72 hours (industry typical)Under 4 hours; same day for complexGo Autonomous, 2026
Quote-to-invoice price discrepancyOver 3% of lines1–3%Under 1%Go Autonomous, 2026
Time to produce a typical quote4.9 hours (no CPQ)—3.6 hours with CPQ (27% faster)Aberdeen Group, 2013
Reps achieving quota46% (no CPQ)—58% with CPQAberdeen Group, 2013
How SPAs are managedSpreadsheets (34% of companies; ~88% of spreadsheets contain errors)Shared database, manual claim checksSPA validated on every quote lineVistaar, 2025
Order processing automationMostly keyed by hand~60% touchless (rule-based ceiling)Exceptions only; they take 4–8x base time, so shrink themGo Autonomous, 2026
CPQ to Revenue Cloud migrationOver 9 months3–6 months typicalPhased by sales area with exit criteriaSalesforce, 2026

Sources: Go Autonomous "B2B Quoting in 2026" (2026); Aberdeen Group CPQ research brief, CPQ users vs non-users (2013); Vistaar SPA guide citing industry research (2025); Salesforce CPQ end-of-sale page (2026). Context: SAP ECC mainstream maintenance ends Dec 31, 2027, with paid extended maintenance through 2030 (SAP, via Kellton 2026). EY puts typical revenue leakage at 1–5% of EBITDA a year, and 52% of distributors believe they don't receive every rebate they earn (MDM, via Vistaar 2025).

The step-by-step playbook

Ten steps, three phases, one boundary that never moves.

Identity first, pricing second, ordering third. Each phase has an exit gate before the next one starts.

01
Phase 0 · Design

Write the system‑of‑record matrix

What

One row per object: sold-to, ship-to, material, price condition, SPA, availability, credit, quote, order, delivery, invoice, rebate claim.

Why

Every later argument ("Salesforce price is wrong") resolves against this sheet. Without it, both systems drift into owning price.

How

Columns: object, owner, read-only copy in, sync direction, frequency, matching key. Sign-off from Sales Ops, IT and Finance.

  • Salesforce owns Account hierarchy, Opportunity, Quote, configuration rules, approvals, and the order as the rep experiences it.
  • SAP keeps price conditions, SPAs, ATP, credit decisions, billing and rebates. Salesforce shows them read-only.
02
Phase 0 · Design

Fix identity before you touch pricing

What

Map SAP customer and material masters onto Salesforce records with external IDs.

Why

A price call can't resolve if Salesforce can't say which sold-to, sales area and material it means.

How

External ID fields, unique, upsert-only. No name matching anywhere.

  • Account: SAP_Sold_To__c (External ID) and SAP_Sales_Area__c as sales org-distribution channel-division (VKORG-VTWEG-SPART). One sold-to can sell through several sales areas.
  • Ship-to as a child Account or Address record with SAP_Ship_To__c. End customer as its own Account, linked to the reseller.
  • Product2: SAP_Material__c (External ID). Orders later carry SAP_Order_Number__c.
03
Phase 0 · Design

Decide call vs replicate for each price type

What

Replicate only stable list prices. Call SAP in real time for net price.

Why

Net price in two-tier depends on customer, SPA, quantity and date. A copy is wrong the moment a condition record changes.

How

Nightly list sync into price book entries; simulate the order in SAP for everything else.

  • Use BAPI_SALESORDER_SIMULATE (or an RFC wrapper) for net price. It returns item net value, condition records and schedule lines with confirmed quantity and date. For non-configurable products needing a credit check, COD_SALESORDER_SIMULATE returns credit fields that the standard BAPI doesn't.
  • Always pass sales org, distribution channel, document type and currency. Omitting currency falls back to the ERP default and returns wrong prices.
  • Cache the response on the line: SAP_Net_Price__c, SAP_Conditions_JSON__c, SAP_Priced_At__c, SAP_Price_Expires__c.
04
Phase 0 · Design

Put the SPA on the quote line

What

Carry agreement number, vendor, end customer, cost and validity on every agreement-priced line.

Why

Ship-and-debit claims are validated against product, end customer and date window. Missing data means rejected claims.

How

Quote Line fields plus two validation rules.

  • Fields: SPA_Number__c, SPA_Vendor__c, SPA_End_Customer__c (lookup), SPA_Valid_To__c, Into_Stock_Cost__c, SPA_Cost__c, Claim_Amount__c (formula: into-stock cost minus SPA cost, times quantity).
  • Validation: SPA end customer must equal the quote's end-customer Account. Quote expiration date can't be later than SPA_Valid_To__c.
05
Phase 0 · Design

Build the integration layer as its own product

What

System APIs for Pricing, Availability, Customers and Orders, plus one process API Salesforce calls.

Why

At the S/4 cutover you repoint system APIs. The Salesforce side, the reps and the approvals don't change.

How

MuleSoft, Boomi or SAP Integration Suite. Salesforce never calls ECC directly.

  • MuleSoft's SAP accelerator documents this split: a Pricing system API running sales order simulation, a Product Availability API, and Orders system and process APIs that write the SAP order number back.
  • The layer owns retries, idempotency and an error queue. Salesforce shows a human-readable status, not a stack trace.
  • If IT runs SAP PI/PO, note its standard maintenance ends in 2027 (extendable to 2030). Don't build new interfaces on it.
06
Phase 1 · Quoting

Wire the price call into the quote engine

What

Call the pricing API when the rep calculates, with a timeout and a cached fallback.

Why

A quote page that hangs sends reps straight back to SAP.

How

Revenue Cloud prehook, or a CPQ quote calculator plugin calling Apex REST.

  • Revenue Cloud Advanced: add the call as a prehook in a Procedure Plan Definition (Apex implementing RevSignaling.SignalingApexProcessor). Turn on "Procedure Plan Orchestration for Pricing" in Revenue Settings (Summer '25 or later). List price can come from a Pricing Procedure with a decision table.
  • Salesforce CPQ: quote calculator plugin onBeforeCalculate calls an Apex REST endpoint that hits the process API.
  • Target under 3 seconds end to end. On timeout, price from cache, flag the line "Reprice needed" and block quote output until it clears.
07
Phase 1 · Quoting

Run parallel pricing, then go live by sales area

What

For 2–4 weeks, price the same baskets in Salesforce and SAP and compare.

Why

Reps forgive slow. They don't forgive a wrong price in front of a customer.

How

A match report on cached SAP net vs the quote line, by sales area.

  • Exit gate: at least 99% of lines match, p95 price-call latency under 3 seconds, zero unresolved identity errors.
  • Orders are still created in SAP by customer service from the Salesforce quote. Measure turnaround and discrepancy at order entry.
08
Phase 2 · Ordering

Automate the order handoff

What

Accepted quote becomes a Salesforce Order, which creates the SAP sales order through the Orders API.

Why

This removes rekeying, the biggest source of quote-to-invoice drift.

How

Idempotent create, status written back, fallout queue with owners.

  • Create with BAPI_SALESORDER_CREATEFROMDAT2 or an ORDERS05 IDoc. Use the Salesforce Order Id as the idempotency key so a retry never makes a duplicate order.
  • Write back SAP_Order_Number__c and status events: credit block, delivery block, shipped, invoiced.
  • Exit gate: order fallout under 2% for four straight weeks before the next sales area moves.
09
Phase 3 · Post-sale

Show delivery, invoice and claim status read-only

What

Reps and account managers see order status in Salesforce without logging into SAP.

Why

"Where's my order?" calls are a hidden cost of keeping SAP as the only window.

How

Synced status fields or a Lightning component that reads the Orders API.

  • Nothing SAP owns is editable in Salesforce. Field-level security makes every SAP_ field read-only for all profiles except the integration user.
10
Phase 3 · Retire

Turn off ECC quoting and hand S/4 a clean edge

What

Stop creating quotations (VA21) in SAP for migrated sales areas. Keep read access to history.

Why

Every process left on ECC is scope the S/4 program migrates again.

How

Authorization change in SAP plus a cutover note in the system-of-record matrix.

  • Deliverable to the S/4 team: the matrix, the API contracts, and the condition types the Pricing API depends on. That's the whole interface they have to honor.
Best practices

Twelve rules we'd put on the project charter on day one.

Most of these protect one thing: there is exactly one price, and SAP owns it.

  1. Call net, replicate list. Copy only published list prices. Everything agreement-driven is a live call.
  2. Store the condition breakdown, not just the net. Finance will ask why the price is what it is.
  3. Timestamp every price. Reprice automatically when a quote is edited after the price expires.
  4. External IDs everywhere. Account, Product2 and Order are upserted by key, never matched by name.
  5. Make sales area a real field on the quote, not a hidden default. It drives price determination.
  6. Phase by sales area or region, not by product line. Cutover and rollback stay clean.
  7. Approvals in Salesforce, credit in SAP. Don't rebuild credit logic in CPQ.
  8. Model reseller and end customer separately. Two Accounts with an explicit relationship, both on the quote.
  9. Pick Revenue Cloud for multi-year programs. Pick CPQ only for a short bridge with an accepted second move.
  10. Instrument the integration: price-call latency, failure rate, order fallout rate and quote turnaround on one dashboard.
  11. Give the error queue an owner. A failed order with no owner is a lost order.
  12. Write exit gates before the project starts. Nobody argues about 99% after they agreed to it.
Common mistakes

Eight ways this program quietly costs you margin.

Each one looks faster in sprint one and costs more by quarter two.

Copying SPAs into CPQ price books

Prices drift from SAP and nobody notices until invoicing.

Cost: a permanent reconciliation job and silent margin leak (EY: 1–5% of EBITDA is typical leakage).

Moving quoting and ordering together

The first live test of the order interface is a real customer order.

Cost: fallout lands on customer service and reps lose trust in week one.

Apex calling ECC directly

The integration is welded to the system you're about to replace.

Cost: rebuilt at the S/4 cutover, which erases the derisking case.

No end customer on the quote

The distributor can't prove which deal the SPA price was for.

Cost: rejected ship-and-debit claims. 52% of distributors already believe they miss rebates.

Ignoring sales area

The price call runs against the wrong org or channel.

Cost: "Salesforce has the wrong price" tickets that stall adoption.

Synchronous calls with no timeout

The quote page hangs whenever SAP is slow.

Cost: reps go back to quoting in SAP and the program loses its sponsor.

Building a long program on CPQ

CPQ is end-of-sale with no new features.

Cost: a second re-implementation inside the same S/4 window.

No owner for the error queue

Failed orders sit in middleware logs nobody reads.

Cost: orders that never ship, found by the customer.
Program sizer

Put your numbers in. See the exposure and the phases.

Two inputs decide most of the timeline: how much of your pricing is agreement-driven, and how often SAP orders get touched by hand.

1,200
All quotes created across reps and inside sales.
$18,000
45%
The part of the book that can't come from a static price list.
30%
4
Agreement-priced value / month$9.7MQuotes × value × agreement share.
Exposure if prices are copied$1.17M/yr1% drift on agreement-priced value, × 12. Illustrative low end of EY's 1–5% leakage range.
Lines that need a live SAP call45%Equal to the agreement share. Above 30%, replication is the wrong pattern.
Program length (planning estimate)14 moSum of the three phases below.
Phase plan
Quoting 5 moOrdering 5 moPost-sale 2
Phase 1: 2 mo design + 0.75 mo per sales areaPhase 2: 2 mo + 1 mo per 10% hand-touched ordersPhase 3: 2 mo

JayOh planning heuristic for scoping conversations, not a quote. Your parallel-pricing results move it more than anything else.

Copyable template

System‑of‑record matrix and quote‑line field spec.

Paste this into your design doc and fill in the owner column with IT, Sales Ops and Finance in the room.

sap-to-salesforce-quoting-spec.txt
SYSTEM-OF-RECORD MATRIX  (object | owner | copy in | direction | frequency | key)
Sold-to customer      | SAP        | Salesforce Account (read-only fields)  | SAP to SFDC | nightly + on change | SAP_Sold_To__c
Sales area            | SAP        | Account child / multi-select           | SAP to SFDC | nightly             | VKORG-VTWEG-SPART
Ship-to               | SAP        | Child Account / Address                | SAP to SFDC | nightly             | SAP_Ship_To__c
End customer          | Salesforce | SAP partner function on order          | SFDC to SAP | at order            | Account Id
Material              | SAP        | Product2                               | SAP to SFDC | nightly             | SAP_Material__c
List price            | SAP        | Price book entry                       | SAP to SFDC | nightly             | material + price list
Net price / conditions| SAP        | Quote line cache (never edited)        | live call   | on calculate        | simulate response
SPA / agreement       | SAP        | Quote line fields                      | live call   | on calculate        | SPA_Number__c
Availability (ATP)    | SAP        | Quote line confirmed qty/date          | live call   | on calculate        | schedule line
Credit decision       | SAP        | Order status only                      | SAP to SFDC | event               | SAP_Order_Number__c
Quote + approvals     | Salesforce | none                                   | -           | -                   | Quote Id
Sales order           | SAP        | Salesforce Order (status read-only)    | SFDC to SAP | on acceptance       | Order Id (idempotency key)
Delivery / invoice    | SAP        | Status fields                          | SAP to SFDC | event               | SAP_Order_Number__c
Rebate / claim        | SAP        | Claim_Amount__c (reference)            | SAP to SFDC | nightly             | SPA_Number__c

QUOTE LINE FIELD SPEC
SAP_Net_Price__c        Currency   from simulate, read-only
SAP_Conditions_JSON__c  Long text  full condition breakdown (type, amount, source)
SAP_Priced_At__c        DateTime   when the call returned
SAP_Price_Expires__c    DateTime   priced_at + validity window; reprice after
SAP_Confirmed_Qty__c    Number     from schedule line
SAP_Confirmed_Date__c   Date       from schedule line
SPA_Number__c           Text(40)   agreement applied
SPA_Vendor__c           Lookup     vendor Account
SPA_End_Customer__c     Lookup     must equal Quote end customer (validation rule)
SPA_Valid_To__c         Date       Quote expiration must be on or before this (validation rule)
Into_Stock_Cost__c      Currency   distributor buy cost
SPA_Cost__c             Currency   agreement cost
Claim_Amount__c         Formula    (Into_Stock_Cost__c - SPA_Cost__c) * Quantity
Reprice_Needed__c       Checkbox   set on timeout or expiry; blocks quote output

PHASE EXIT GATES
Phase 1 quoting   : price match >= 99% for 2-4 weeks, p95 price call < 3s, zero identity errors
Phase 2 ordering  : order fallout < 2% for 4 straight weeks per sales area
Phase 3 retire    : VA21 quotation creation off for migrated sales areas; history read-only
FAQ

What platform owners ask before they build the case.

Short answers to the questions that come up in the first architecture review.

Why move quoting now if S/4 is a few years out?

Because anything you build on ECC between now and S/4 gets migrated twice. Quoting and ordering are the most customer-facing functions and the least tied to the financial close, so they're the cheapest to pull forward. With an API layer in front of SAP, the S/4 cutover becomes a repoint instead of a rebuild.

Salesforce CPQ or Revenue Cloud Advanced?

For a multi-year program, Revenue Cloud Advanced. Salesforce CPQ is end-of-sale: existing customers can renew and add users, but there's no new feature development. Choose CPQ only if you need to ship in under six months and accept a second migration later. Salesforce puts a typical CPQ-to-RCA migration at 3–6 months.

Can't we just load our SAP price lists into Salesforce price books?

For published list prices, yes, nightly. For two-tier net pricing, no. SPAs, ship-and-debit and partner tiers depend on end customer, quantity and date, and they change constantly. Copies drift, and drift is margin you find at invoicing. Call SAP for net price and cache it on the line.

Does a live price call slow down the quote?

It can, which is why the call needs a timeout and a cached fallback. Target under 3 seconds at p95. On timeout, price from cache and mark the line "Reprice needed" so it can't go out until it's confirmed.

Do we need MuleSoft?

You need an integration layer you own. MuleSoft is a good fit if you're already licensed or connect several systems. SAP Integration Suite fits if SAP-side IT owns integration. Boomi is often fastest for mid-market. What matters is that Salesforce never calls ECC directly.

How do we handle resellers and end customers in the CRM?

Model both as Accounts with an explicit relationship and put both on the quote. The reseller is the sold-to. The end customer decides SPA eligibility and claim validity. Without the end customer on the line, the claim can't be proven.

How long does this take?

It depends on how much pricing is agreement-driven and how messy the order handoff is. Use the program sizer above for a planning range. In practice, the parallel-pricing results in Phase 1 tell you whether you're on a 9-month or an 18-month path.

How JayOh does it

We draw the boundary first, then build both sides of it.

A JayOh pod is a lead consultant plus Salesforce and integration developers working in one-week sprints. The consultant owns the architecture and the business case. The devs ship pricing hooks, order objects and error queues in parallel.

40+CRM migrations with zero data loss
90%reduction in data errors
35%shorter sales cycles
100+engagements delivered

Sprint 1: the matrix and the case

System-of-record matrix, identity mapping and a sized business case your CFO can sign. No CPQ config until the boundary is agreed.

Sprints 2–8: pricing live by sales area

Integration contracts, the price call with cache and timeout, SPA fields and parallel pricing against SAP until the 99% gate clears.

Then: ordering with a rollback plan

Sandbox, feature flags and after-hours deploys from our CRM change playbook. One sales area at a time, with an owner on every fallout queue.