MM Account Determination Part 1: Why Automatic Account Determination Exists
Free sample lesson · open to everyone
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 sectionsHide sections
Visual overview
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
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.
Code example
===== 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 CrWatch 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?
Question 2 of 3
When an invoice is posted with a price higher than the purchase order price for a material valuated at moving average price, and sufficient stock quantity exists to absorb the difference, which transaction/event key typically receives the price difference so it is capitalized into inventory value rather than expensed?
Question 3 of 3
When goods are issued to a cost center using a consumption movement type, which transaction/event key determines the offsetting expense account for that posting?
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
Interview questions on this topic
Related SAP topics
- S/4HANA MM Transformation, Ariba, Migration, Public Cloud and Architecture
- Invoice Verification, GR/IR, Integration and Production Support
- Procurement and End-to-End Procure-to-Pay
- Inventory Management, Valuation, Material Ledger and Account Determination
- MM Foundation, Enterprise Structure and Master Data
- Enterprise Structure
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.