ERPClimb logoERPClimb
Automatic Account Determination
MM / P2Pintermediate 3 min read

MM Account Determination Part 2: Configuring Valuation Classes, Grouping Codes and OBYC

Preview · a free account unlocks the full lesson

Key takeaway

Configure the building blocks: valuation control and grouping codes (OMWM/OMWD), account category references and valuation classes (OMSK), and OBYC entries per chart of accounts and transaction key, including rules (which fields the key depends on).

In this lessonShow sections

Visual overview

MM Account Determination Part 2: Configuring Valuation Classes, Grouping Codes and OBYC — learning sheetFlow: Check OMWD for the plant → Check OMSK for the material type → Maintain BSX entry for a new class. Key ideas: VALUATION CONTROL; VALUATION CLASSES; OBYC RULES; OBYC ACCOUNTS. Watch out: Changing rules later invalidates existing entries — design rules first.ERPClimb.com / MM / LESSON 2/5 / LEARNING SHEETMM Account Determination Part 2: Configuring ValuationClasses, Grouping Codes and OBYC1 · HOW IT FLOWS1Check OMWD for the plant2Check OMSK for thematerial type3Maintain BSX entry for anew class2 · KEY IDEAS EXPLAINEDValuation ControlActivate grouping code; assign valuation areas.Valuation ClassesAccount category reference → classes → materialtypes.Obyc RulesDependencies per key.Obyc AccountsEntries per combination; debit/credit.3 · REMEMBER · WATCH OUTRememberValuation grouping code (active via OMWM, assigned in OMWD) letsvaluation areas share OBYC entries.OMSK links valuation classes to material types via account categoryreferences.OBYC: per key, define rules (grouping code, modifier, valuation classdependence) then accounts.!Watch outChanging rules later invalidatesexisting entries — design rulesfirst.4 · IN A REAL PROJECTA company wanted separate stock accounts for a new plant but used the same grouping code as others. Postingsmixed with existing plants. Assigning a new grouping code and maintaining its entries separated accounts asfinance required.Original ERPClimb learning sheet • Verify against your SAP release and edition

Explanation

Part 1 of this series explained the concept of account determination; this lesson walks through how to actually configure it. The valuation grouping code, activated in OMWM and assigned per valuation area in OMWD, is what allows several valuation areas to share the same set of OBYC account determination entries rather than needing separate entries for each.

Valuation classes are linked to material types through account category references, maintained in OMSK.

Within OBYC itself, configuration works key by key: first the dependency rules are defined — whether the entry depends on the valuation grouping code, an account modifier, and/or the valuation class — and only then are the actual G/L accounts assigned for each resulting combination; debit and credit accounts can be set differently where the business requires it.

Because changing these dependency rules later invalidates entries that already exist, it's important to design the rules correctly up front rather than configuring accounts first and rules afterward.

Putting this into practice means checking OMWD for the plant in question, checking OMSK for the material type, and then maintaining the BSX entry for a new valuation class, with the goal of confirming that a goods receipt for that new class posts to the intended stock account — ideally verified by simulating the movement and documenting the resulting account matrix.

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.

  • 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.