ERPClimb logoERPClimb
Automatic Account Determination
MM / P2Pbeginner 4 min read

MM Account Determination Part 1: Why Automatic Account Determination Exists

Free sample lesson · open to everyone

Key takeaway

Warehouse users post goods movements, not journal entries — SAP finds the G/L accounts automatically. Learn the idea, the key ingredients (chart of accounts, valuation area grouping, valuation class, transaction key, modifier), and how a GR and a GI find their accounts.

In this lessonShow sections

Visual overview

MM Account Determination Part 1: Why Automatic Account Determination Exists — learning sheetIn one line: Warehouse users post goods movements, not journal entries — SAP finds the G/L accounts automatically. Learn the idea, the key ingredients (chart of accounts, valuation area grouping, valuation class, transaction key, modifier), and how a GR and a GI find their accounts.ERPClimb.com / MM / LESSON 1/5 / LEARNING SHEETMM Account Determination Part 1: Why Automatic AccountDetermination Exists1 · IN ONE LINEWarehouse users post goods movements, not journal entries — SAP finds the G/L accountsautomatically. Learn the idea, the key ingredients (chart of accounts, valuation areagrouping, valuation class, transaction key, modifier), and how a GR and a GI find their…2 · KEY IDEAS EXPLAINEDThe ProblemThousands of movements; consistent postingswithout FI knowledge.IngredientsChart of accounts, grouping code, valuation class,key, modifier.Main KeysBSX, WRX, GBB, PRD.ExamplesGR: BSX/WRX; GI to cost center: GBB-VBR/BSX.3 · DO · AVOIDBest practice!Common mistakeLearn the determination chain.Involve finance.Test movements.✕Thinking MM users choose accounts.✕Ignoring grouping codes.✕Editing OBYC without finance.4 · IN A REAL PROJECTDuring a plant rollout, goods receipts began failing with account determination errors. The new plant had anew valuation grouping code but no OBYC entries. Copying the approved entries from the existing grouping codewith finance review fixed it within hours.Original ERPClimb learning sheet • Verify against your SAP release and edition

The situation: a real project scenario

During a plant rollout, goods receipts began failing with account determination errors. The new plant had a new valuation grouping code but no OBYC entries. Copying the approved entries from the existing grouping code with finance review fixed it within hours.

Explanation

Automatic account determination exists because logistics users post goods movements without needing to know anything about finance — SAP derives the correct G/L accounts on its own.

It does this by combining several inputs: the chart of accounts (determined by the company code), the valuation grouping code (determined by the valuation area), the valuation class (determined by the material), and the transaction key and account modifier (determined by the movement type).

The main transaction keys involved are BSX for stock, WRX for GR/IR, GBB for offsetting entries, and PRD for price differences, and the whole configuration is maintained in transaction OBYC, jointly with finance. A missing configuration entry stops the posting outright, while a wrong entry posts silently to the wrong account — which is the more dangerous failure mode.

This series runs across five parts: Part 1 (this one) covers why account determination exists; Part 2 covers configuration — valuation classes, grouping codes, and OBYC; Part 3 covers transaction keys, modifiers, and movement types; Part 4 covers architecture for multi-entity landscapes; and Part 5 covers troubleshooting and production support.

The underlying problem being solved is that thousands of movements happen every day, and they all need consistent postings without requiring the people doing them to have any FI knowledge. The ingredients that go into finding the right account are the chart of accounts, the grouping code, the valuation class, the transaction key, and the account modifier.

The main keys to know are BSX, WRX, GBB, and PRD. As examples: a goods receipt hits BSX and WRX, while a goods issue to a cost center hits GBB-VBR and BSX. Responsibility for this configuration is a joint one between MM and FI.

To see it in action: post a goods receipt and open the resulting accounting document, then map each line back to the transaction key that produced it. The checkpoint is being able to explain exactly how SAP found each account.

Follow the actual business flow

MM P2P · Process walkthroughERPClimb.com

Inventory posting to finance

Starting business input

Goods movement valuation context

Stage 1 · What to verify

Determine context

Movement type, valuation area/class and account grouping

Conceptual business process. Configuration and exceptional branches vary by SAP release and implementation.

A reviewed example flow tied to this exact lesson, not a generated diagram or guaranteed system transaction sequence.

Code example

ABAP Code
===== STEP 1: determination chain =====Company code → chart of accounts | plant → valuation area → grouping code | material → valuation class | movement type → key + modifier ===== STEP 2: GR example =====101: BSX (stock) Dr | WRX (GR/IR) Cr ===== STEP 3: GI example =====201: GBB-VBR (consumption) Dr | BSX Cr

Watch out

Common mistakes

  • Thinking MM users choose accounts.
  • Ignoring grouping codes.
  • Editing OBYC without finance.
  • Not testing movements.
  • Forgetting modifiers.

Do this

Best practices

  • Learn the determination chain.
  • Involve finance.
  • Test movements.
  • Document entries.
  • Review after changes.

In the interview

Interview angle

Questions: "Why is account determination automatic?", "What are its inputs?", "What does BSX mean?"
Strong answer: determination chain, main keys, examples, MM–FI ownership.

Practice this lesson

Quick check

0 of 3 questions attempted

Question 1 of 3

Which transaction/event key determines the stock (inventory) G/L account that is debited when goods are received against a purchase order for a valuated material?

Practise this in an interview

Answer in your own words and get instant feedback, the way an interviewer would judge it.

1When a standard goods receipt against a purchase order is posted with movement type 101, which two OBYC transaction keys are typically triggered, and what does each one control in the resulting accounting document?

2How do transaction keys in OBYC ensure that inventory postings from goods movements correctly integrate with the general ledger during period-end inventory closing, and what risk arises if a transaction key is left unmapped for a new valuation class?

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.