ERPClimb logoERPClimb
Inventory Management, Valuation, Material Ledger and Account Determination
MM / P2Padvanced 4 min read

MM Inventory Valuation Part 5: Automatic Account Determination — BSX, WRX, GBB and Valuation Class

Preview · a free account unlocks the full lesson

Key takeaway

How MM finds G/L accounts: valuation grouping code, valuation class, transaction keys (BSX, WRX, GBB, PRD, UMB, KDM…), account modifiers (e. g. VBR, VAX, VAY, INV), movement type assignment, and how to analyse and fix wrong or missing accounts.

In this lessonShow sections

Visual overview

MM Inventory Valuation Part 5: Automatic Account Determination — BSX, WRX, GBB and Valuation Class — learning sheetFlow: Take a 201 GI; identify BSX and GBB-VBR → Check OBYC entries for the valuation class → Change nothing in production without finance approval. Key ideas: INGREDIENTS; TRANSACTION KEYS; ACCOUNT MODIFIERS; MOVEMENT TYPES. Watch out: A missing OBYC entry stops posting; a wrong one posts silently to the wrong account.ERPClimb.com / MM / LESSON 5/5 / LEARNING SHEETMM Inventory Valuation Part 5: Automatic AccountDetermination — BSX, WRX, GBB and Valuation Class1 · HOW IT FLOWS1Take a 201 GI; identifyBSX and GBB-VBR2Check OBYC entries forthe valuation class3Change nothing inproduction withoutfinance approval2 · KEY IDEAS EXPLAINEDIngredientsChart of accounts, valuation grouping code (OMWD),valuation class.Transaction KeysBSX, WRX, GBB, PRD, UMB, KON (consignment), andmore.Account ModifiersGBB: VBR, VAX, VAY, INV, BSA, AUF...; PRDmodifiers per settings.Movement TypesMovement type → value string → keys and modifiers.3 · REMEMBER · WATCH OUTRememberKeys: chart of accounts + valuation grouping code + valuation class +transaction key (+ account modifier) → G/L account.BSX stock, WRX GR/IR, GBB offsetting entry (with modifiers like VBRconsumption, VAX/VAY sales, INV inventory differences, BSA initial…Movement types determine transaction keys and modifiers.!Watch outA missing OBYC entry stops posting;a wrong one posts silently to thewrong account.4 · IN A REAL PROJECTA 201 goods issue posted to the wrong expense account because the valuation class of a new material group hadGBB-VBR mapped to a generic account. Finance identified it at month-end. The team defined OBYC entries for newclasses with finance sign-off and tested each movement before activation.Original ERPClimb learning sheet • Verify against your SAP release and edition

Explanation

Part 4 of this series covered split valuation; this final part covers automatic account determination. The combination that drives a posting to a specific G/L account is built from the chart of accounts, the valuation grouping code, the valuation class, the transaction key, and in some cases an additional account modifier.

The transaction keys that matter most are BSX for the stock account, WRX for GR/IR, GBB for the offsetting entry — which itself has modifiers such as VBR for consumption, VAX and VAY for sales-related movements, INV for inventory differences, and BSA for initial stock entry — and PRD for price differences.

Movement types determine which transaction keys and modifiers actually apply through their value strings. The valuation grouping code (maintained in OMWD) lets different plants either share the same account determination or keep it separate, depending on how they're assigned.

A missing OBYC entry stops a posting outright, which at least surfaces the problem immediately, while a wrong entry posts silently to the wrong account, which is far harder to catch. Analysis relies on simulating the posting in MIGO, displaying the OBYC entries involved, reading the error message carefully, and reviewing the resulting accounting document.

Working through this means taking a standard 201 goods issue, identifying that it uses BSX together with the GBB-VBR modifier, checking the OBYC entries for the relevant valuation class, and — critically — never changing any of this directly in production without finance approval, since it affects the balance sheet.

The goal is to be able to derive, from master data alone, the G/L accounts involved in a goods receipt, a goods issue to a cost center, a scrapping posting, and a physical inventory difference.

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.