Pricing promotions and taxes — SAP Guided Tutorial
Free sample lesson · open to everyone
How prices, promotions and taxes work in SAP Commerce: price rows and their sources, the rule-based promotion engine and vouchers, tax calculation, and keeping web prices consistent with ERP invoicing.
In this lessonShow sectionsHide sections
Visual overview
The situation: a real project scenario
A spring sale combined two promotions unintentionally, giving 45% instead of 25% off for two hours. The fix was promotion priority and exclusivity settings plus a staging test checklist for every campaign.
Explanation
Once products are live in the catalog, SAP Commerce still needs to tell customers a correct price, apply any promotions they qualify for, and calculate the right tax — and all three must end up matching what the ERP will eventually invoice.
Prices are usually stored as price rows: a combination of product, currency, unit, customer price group and validity dates. For B2B scenarios, prices are frequently customer-specific and sourced from the ERP, either replicated into Commerce on a schedule or looked up in real time through an integration call.
The choice between caching ERP prices and calling out live is a tradeoff between performance and accuracy — caching is faster but can show stale prices if the ERP changes them mid-day, while live calls are always correct but add latency and ERP load on every page view.
Promotions run on a rule-based engine configured by business users in Backoffice: conditions (cart value, specific products, customer segment) and actions (percentage off, buy X get Y, free gift). Because multiple promotions can be active at once, every promotion needs a priority and an exclusivity setting, otherwise unrelated campaigns can stack and give away far more discount than intended. Vouchers and coupon codes are a variant of the same engine, scoped to specific customers or codes.
Tax calculation ranges from simple tax rows (a tax category on the product crossed with a tax category on the customer/region) to an external tax engine for multi-country operations where rates, exemptions and rounding rules are too complex to maintain by hand inside Commerce. The storefront also needs to show net or gross prices correctly depending on the market — B2C in most of Europe shows gross (tax-included) prices, while B2B often shows net.
Finally, the order sent to the ERP carries the prices and discounts Commerce calculated, but the ERP may reprice the order (different contract terms, different tax jurisdiction, rounding).
The team must agree up front which system is authoritative for the final price customers get invoiced for, and then actively monitor the gap between what Commerce showed at checkout and what the ERP actually invoices — a growing gap is usually the first sign that a promotion rule, a price sync, or a tax configuration has drifted out of step with the ERP.
Watch out
Common mistakes
Overlapping promotions without priority or exclusivity rules: two unrelated campaigns both apply to the same cart and stack into a much bigger discount than any one promotion was designed to give — the fix is to always set an explicit priority and mark high-value promotions exclusive so they block lower-priority ones from combining.
Activating a promotion straight from Backoffice without a staging test: edge cases (minimum quantities, excluded SKUs, boundary dates) are exactly the scenarios that get missed under launch-day pressure, and they're the ones that cost the most money when wrong.
Maintaining prices in Commerce completely separately from the ERP with no reconciliation: price rows silently diverge from the ERP's contract prices over time, and nobody notices until a customer disputes an invoice.
Showing the wrong net/gross price for the market: copying a net-price template from a B2B site onto a consumer storefront (or vice versa) understates or overstates what the customer will actually be charged, which is a compliance problem in many countries, not just a UX one.
Do this
Best practices
Agree and document one leading pricing source per scenario (Commerce price rows for list prices, ERP for contract/negotiated B2B prices) so there's never ambiguity about which system wins when they disagree.
Test every promotion in staging against its edge cases — minimum cart value boundaries, excluded categories, start/end date transitions, and combinations with other live promotions — before it goes live, not after.
Monitor the difference between order totals shown at checkout and the amounts the ERP actually invoices; a widening gap is an early warning of a pricing, tax or promotion configuration problem, and catching it in the first few orders of a campaign is far cheaper than catching it in a batch of customer disputes.
Keep tax configuration (tax rows or the external tax engine mapping) under the same review process as price changes, since a wrong tax category is just as costly as a wrong price.
In the interview
Interview angle
A strong candidate is asked 'A customer says the price they paid at checkout doesn't match their invoice — how do you find out why?' A weak answer jumps straight to 'check the price rows.' A strong answer walks the whole pipeline: confirm which price source applied at checkout (price row vs. ERP lookup), check which promotions were active and whether priority/exclusivity let them stack unexpectedly, check the tax category applied, and then compare that to what the ERP recalculated when it received the order — because the ERP is often allowed to reprice, and the real question is usually 'did Commerce and ERP agree on who's authoritative,' not 'which number is right.' Being able to name price rows, the promotion engine's priority/exclusivity model, and the ERP repricing step in one coherent answer is what separates someone who's configured promotions from someone who's only read about them.
Practice this lesson
Original educational case studies for SAP consultants, not official SAP certification exam questions. Verify product edition and implementation details against the current SAP documentation.
Quick check
0 of 4 questions attempted
Question 1 of 4
Two promotions combined unexpectedly. Which setting prevents this?
Question 2 of 4
Where do business users typically configure promotion rules?
Question 3 of 4
B2B customers need contract prices from ERP. What is a common approach?
Question 4 of 4
What is the business impact of web totals differing from ERP invoices?
Practise this in an interview
Answer in your own words and get instant feedback, the way an interviewer would judge it.
1How do you keep web prices consistent with ERP in SAP Commerce?
2How do you test a promotion before a big campaign?
Was this lesson helpful?
Keep exploring
Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.