SAP FI-MM and FI-SD integration: accounting entries and account determination

In SAP, logistics transactions post to finance automatically through account determination: OBYC for materials management (FI-MM) and VKOA for sales billing (FI-SD). A goods receipt against a purchase order posts debit inventory (BSX) and credit GR/IR clearing (WRX); a goods issue to a customer posts debit cost of goods sold (GBB with modifier VAX) and credit inventory; billing posts debit customer and credit revenue (ERL) and output tax. When these postings land in the wrong account, finance spends month-end correcting them, which is why this integration deserves a focused review.

When this makes sense

  • A finance team finding goods movements posting to the wrong GL account and fixing it with manual journals
  • A company with large unexplained GR/IR balances that never clear
  • A business seeing billing documents blocked with account determination errors
  • An S/4HANA project redesigning valuation classes and account determination
  • A controller who wants a clear map of which logistics transactions post where

What the engagement covers

MM account determination (OBYC)

Transaction keys BSX (inventory), WRX (GR/IR), GBB (offsetting entries with modifiers such as VBR, VAX, VAY, INV), PRD (price differences) and FR1 (freight), mapped by valuation class and valuation grouping code.

Valuation classes and movement types

Valuation classes per material type, account category references and account modification for movement types, so each movement finds the right accounts.

SD account determination (VKOA)

Account keys ERL (revenue), ERS (sales deductions), EVV (cash clearing) and MWS (output tax), with the account determination procedure and customer and material account assignment groups.

Invoice verification

MIRO postings that clear GR/IR, price difference handling for standard and moving average price materials, and tolerance settings.

Reconciliation

GR/IR analysis and clearing (MR11, F.13), inventory to GL reconciliation and review of document flow from logistics to FI.

Error resolution

Root cause analysis for posting errors, such as missing account assignments, with configuration fixes and test cases.

How it runs

  1. 1

    Diagnose (1-3 weeks)

    • Pull sample postings
    • Map transaction keys to accounts
    • List errors and manual corrections
  2. 2

    Design fixes (1-3 weeks)

    • Valuation class review
    • OBYC and VKOA changes
    • Test scenarios
  3. 3

    Implement and test (2-4 weeks)

    • Transport changes
    • End-to-end tests for P2P and O2C
    • Reconciliation checks
  4. 4

    Clean up (1-4 weeks)

    • Clear historic GR/IR balances
    • Document posting map
    • Train finance and logistics users

What you get

  • Posting map from logistics transactions to GL accounts
  • Account determination configuration documentation
  • Test evidence for procure-to-pay and order-to-cash postings
  • GR/IR clearing analysis
  • User guide for common posting errors

What drives cost and effort

Number of material types and valuation classesMore combinations mean more account determination entries to review.
Special processesConsignment, subcontracting and stock transfers add movement types and postings.
Historic GR/IR balancesOld open items take time to analyze and clear.
Number of company codesDifferent charts of accounts multiply configuration.
Change controlStrict transport processes add time but protect production.

Fixed-scope integration review

Companies that want a diagnosis and fix list in a set time.

Time and materials

Clean-up of historic balances where volume is unknown.

Ongoing support

Businesses that want account determination changes handled as part of SAP support.

Questions to ask any SAP consultant

Will you trace real postings from MIGO, VL02N and VF01 through to the FI document, not only read OBYC and VKOA tables?

Many wrong postings come from movement type, valuation class or account assignment group choices made in the process, which a configuration review alone misses.

How will you analyze and clear historic GR/IR balances?

Correcting configuration stops new errors but leaves old open items; you need a plan using MR11, F.13 or manual clearing with audit evidence.

Who on your team understands both the MM or SD process and the FI result?

Integration defects sit between the logistics and finance teams; a consultant who only knows one side tends to pass the issue back.

Which movement types, billing types and special processes will your test plan cover?

A change to a GBB modifier or valuation class can fix one flow and break consignment, subcontracting or stock transfers.

Will you hand over a posting map our team can maintain?

A documented map of transaction keys to accounts lets internal staff make future changes without guesswork.

Score candidate partners side by side with the free Implementation Partner Scorecard

Where these projects go wrong

Fixing one posting breaks another

List every movement type and billing type that uses the changed key or valuation class and regression-test each in the quality system.

GR/IR keeps growing after the fix

Review GR/IR monthly by vendor and purchase order age, and agree with purchasing who resolves quantity and price mismatches.

Price differences land in the wrong P&L account

Check PRD settings and price control (standard versus moving average) per material type, and review variance accounts at each close.

Changes made directly in production

Keep account determination client-locked, transport every change and record it in the posting map.

If the problem is a single missing account in OBYC or VKOA, your internal SAP finance analyst can fix it in minutes. A consultant is useful when postings are widely inconsistent, balances are large, or a redesign is needed for S/4HANA.

Frequently asked questions

What are the FI-MM accounting entries for a goods receipt and invoice?

For a stock material received against a purchase order (movement type 101): debit inventory (BSX) and credit GR/IR clearing (WRX). The MIRO invoice then debits GR/IR and credits the vendor, with any difference for a standard price material posted to price differences (PRD).

What are the FI-SD accounting entries?

The goods issue for a delivery (movement type 601) debits cost of goods sold through GBB with modifier VAX and credits inventory (BSX). The billing document debits the customer's receivable, credits revenue through account key ERL and credits output tax through MWS.

What is OBYC used for?

OBYC maintains automatic account determination for materials management: for each transaction key, chart of accounts, valuation grouping code, account modifier and valuation class it specifies the GL account. It is the main place to look when goods movements post to the wrong account.

What is VKOA used for?

VKOA maintains revenue account determination for billing, typically by sales organization, customer account assignment group, material account assignment group and account key. Missing entries cause billing documents to stop before release to accounting.

Can AI help with account determination problems?

An AI agent can sample FI documents created from logistics, group them by transaction key and account, and flag combinations that look inconsistent for a consultant to confirm. Netray builds such checks as read-only tools that stay inside the customer's SAP landscape.

Talk to a SAP consultant

Tell us where you are and what you need. You get a straight answer on scope, approach and whether you need outside help at all.

Get ERP alerts and new tools

Support deadlines, release changes and new free tools for the ERP you run. A couple of emails a month at most.

Free. Unsubscribe with one click from any email.