ERPClimb logoERPClimb
Pricing
SD / O2Cintermediate 6 min read

SD Pricing Part 2: Condition Tables and Access Sequences — How SAP Finds a Price

Preview · a free account unlocks the full lesson

Key takeaway

How price finding works: condition tables as key combinations from the field catalog, access sequences that search from specific to general, exclusive indicators, access requirements, and how to design tables and sequences that are fast and maintainable.

In this lessonShow sections

Visual overview

SD Pricing Part 2: Condition Tables and Access Sequences — How SAP Finds a Price — learning sheetFlow: Identify the business price levels (customer-specific, list price, base price) → Map each level to a condition table → Build the access sequence specific → general, exclusive for prices → Assign the access sequence to the condition type (Part 3). Key ideas: CONDITION TABLES; FIELD CATALOG; ACCESS SEQUENCES; SEARCH ORDER. Watch out: Too many accesses or badly ordered tables slow pricing and make results hard to explain.ERPClimb.com / SD / LESSON 7/10 / LEARNING SHEETSD Pricing Part 2: Condition Tables and Access Sequences —How SAP Finds a Price1 · HOW IT FLOWS1Identify thebusiness pricelevels…2Map each levelto a conditiontable3Build the accesssequencespecific →…4Assign theaccess sequenceto the condition…2 · KEY IDEAS EXPLAINEDCondition TablesCreated in V/03 from fields of the field catalog(KOMG).Custom tables numbered 501–999; standard examplesA004/A304 (material), A005/A305(customer/material).Field CatalogAdding new fields (e.g. customer group 5) requiresextension of KOMK/KOMP and filling them in userexits/BAdIs.Plan fields carefully — every table and accessdepends on them.Access SequencesV/07: access number, table, requirement, exclusiveflag.Field mapping from document fields to table fields(e.g. ship-to vs sold-to as customer).Search OrderSpecific → general: customer/material, pricelist/material, material.Exclusive: stop at first found; typical forprices.3 · REMEMBER · WATCH OUTRememberA condition table defines a key combination (e.g. sales org + channel+ customer + material) built from the pricing field catalog.An access sequence lists condition tables in search order — from mostspecific (customer/material) to most general (material).The "exclusive" indicator stops the search when a record isfound; without it, the system continues and may find more records.!Watch outToo many accesses or badly orderedtables slow pricing and make resultshard to explain.4 · IN A REAL PROJECTA client had an access sequence with 14 accesses for its main price, many added over years for special cases.Pricing a 300-line order took several seconds per item and nobody could explain which record would win. Theteam analysed record usage: 9 tables had fewer than 20 active records. They consolidated into 4 tables, moved…Original ERPClimb learning sheet • Verify against your SAP release and edition

Explanation

A condition table defines a key combination — say, sales organization plus distribution channel plus customer plus material — built from fields in the pricing field catalog (KOMG), and it is created through transaction V/03; custom tables are numbered in the 501–999 range, while standard examples include A004/A304 for material-level pricing and A005/A305 for customer/material combinations.

Every field used in a table's key has to already exist in the pricing communication structures, KOMK at header level and KOMP at item level, so adding a genuinely new field — say, a specific customer group — means extending KOMK/KOMP and filling the new field through a user exit or BAdI, which is worth planning carefully since every table and access built afterward depends on it.

An access sequence, configured in V/07, lists a set of condition tables in a defined search order, along with an access number, a requirement (a routine that can skip the access entirely when its conditions aren't met — for instance, restricting an access to export orders only) and an exclusive flag, plus the field mapping that connects document fields to table fields, such as deciding whether "customer" in the key should come from the ship-to or the sold-to party.

The search order generally runs from most specific to most general — customer and material together, then price list and material, then material alone — and the exclusive flag decides what happens once a record is found: an exclusive access stops the search right there, which is the typical setting for prices, while a non-exclusive access keeps going and can collect several records, which suits situations like stacking multiple discount levels.

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.