ERPClimb logoERPClimb
Pricing
SD / O2Cadvanced 6 min read

SD Pricing Part 5: Header Conditions, Statistical Conditions and Subtotals

Preview · a free account unlocks the full lesson

Key takeaway

Use header conditions (percentage, absolute and order-value conditions) and how they are distributed to items, statistical conditions like cost (VPRS) and cash discount, and subtotals that feed reporting, credit management and profitability — with the pitfalls of each.

In this lessonShow sections

Visual overview

SD Pricing Part 5: Header Conditions, Statistical Conditions and Subtotals — learning sheetFlow: Add a header discount HA00 and check item distribution → Add HB00 and check proportional distribution → Check VPRS and margin in the item → Identify which subtotal feeds credit (A) and which feeds cost (B). Key ideas: HEADER CONDITIONS; ORDER VALUE (HM00); STATISTICAL CONDITIONS; SUBTOTALS. Watch out: Absolute header conditions that are not group conditions are duplicated per item instead of distributed.ERPClimb.com / SD / LESSON 6/10 / LEARNING SHEETSD Pricing Part 5: Header Conditions, StatisticalConditions and Subtotals1 · HOW IT FLOWS1Add a headerdiscount HA00and check item…2Add HB00 andcheckproportional…3Check VPRS andmargin in theitem4Identify whichsubtotal feedscredit (A) and…2 · KEY IDEAS EXPLAINEDHeader ConditionsEntered manually on the header conditions screen.Percentage (HA00): same percentage on every item.Order Value (HM00)Enter the desired total; system distributes thedifference.Useful for negotiated totals; requires controlleduse.Statistical ConditionsVPRS: cost from material valuation(moving/standard price), requirement to avoidpricing errors.SKTO: cash discount as statistical information.SubtotalsSubtotal key on a procedure line fills an itemfield: 1–6 (KZWI1–6), A (credit price for creditmanagement), B (cost WAVWR).Reporting and analytics use these fields; credituses the credit price.3 · REMEMBER · WATCH OUTRememberHeader conditions are entered once for the document and distributed toitems — percentage (HA00) applies to each item, absolute amounts…HM00 sets the order value; the difference is distributed across items.Statistical conditions are calculated but not added to the net value —cost (VPRS) for margin, cash discount for information.!Watch outAbsolute header conditions that arenot group conditions are duplicatedper item instead of distributed.4 · IN A REAL PROJECTA client configured a header freight surcharge as absolute amount without the group condition flag. A 50 EURfreight charge on a 10-item order appeared as 50 EUR on each item — 500 EUR in total. Customers disputedinvoices before anyone noticed. Setting the group condition flag (distribution by value) and correcting open…Original ERPClimb learning sheet • Verify against your SAP release and edition

Explanation

Header conditions are entered once at the document level and then distributed down to the individual items, and how that distribution happens depends on the condition type.

A percentage header condition like HA00 simply applies the same percentage to every item, while an absolute header condition like HB00 is distributed proportionally across items by net value, weight or volume depending on how the condition type is set up — but this proportional distribution only works correctly if the condition is also marked as a group condition; an absolute header condition that isn't a group condition ends up duplicated on every item instead of being split between them.

A related but distinct tool is HM00, which lets you enter a desired total order value directly, with the system working out and distributing the difference across the items to hit that target — useful for matching a negotiated total, though it needs to be used in a controlled way since it's effectively overriding the item-level calculation.

Free account

Create a free account to keep reading

You have read the opening of this lesson. A free ERPClimb account unlocks the rest of it, every other lesson and topic, and your learning history, so you can pick up exactly where you stopped. No card needed.

  • Full explanation
  • Code example
  • Real project scenario
  • Common mistakes
  • Best practices
  • Interview angle

One tap with Google works too. Every topic keeps its first lesson open to everyone.

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.