SAP FI integration with SD, MM and the other modules: how postings flow and how to get it right

In SAP, FI is integrated with the logistics modules through automatic account determination: every goods movement, invoice and billing document finds its G/L accounts from configuration rather than from the user. FI-SD runs through revenue account determination (VKOA) and the customer reconciliation account; FI-MM runs through OBYC transaction keys, valuation classes and the GR/IR clearing account. Most finance headaches in SAP, from wrong revenue accounts to an unexplained GR/IR balance, trace back to these settings.

When this makes sense

  • Controllers who find billing documents stuck with an accounting block in VFX3 because no revenue account was determined
  • Finance teams carrying a growing GR/IR balance that nobody can explain line by line
  • Companies adding a new plant, company code or product line and needing valuation classes and account keys extended correctly
  • S/4HANA conversion teams reviewing account determination before moving to the Universal Journal
  • Auditors or new finance leads who want a documented map of which logistics events post to which accounts
  • FICO consultants inheriting a system where account determination was configured years ago with no documentation

What the engagement covers

FI-SD revenue account determination

Review VKOA access sequences and tables (customer account assignment group, material account assignment group, account key), the KOFI condition type in the account determination procedure, and account keys such as ERL for revenue, ERS for sales deductions, ERF for freight and MWS for output tax.

FI-SD customer side

Reconciliation accounts on the customer or business partner company code data, payer and terms of payment, cash discount handling, and credit management (FD32 in ECC or SAP Credit Management through UKM_BP in S/4HANA) and how blocked orders relate to open AR.

FI-MM automatic postings

OBYC transaction keys BSX (inventory), WRX (GR/IR clearing), PRD (price differences), GBB with its account modifiers (VBR consumption, VAX and VAY cost of goods sold), KON for consignment liabilities, plus valuation grouping codes and valuation classes on the material master accounting view.

Invoice verification and GR/IR

MIRO tolerances, price and quantity variance handling, blocked invoices released in MRBR, and GR/IR maintenance through MR11 with analysis in MB5S, so the clearing account reconciles at period end.

FI-PP and CO integration

Production order settlement (KO88 or CO88), WIP calculation (KKAX), variance calculation (KKS2), cost element assignment and how standard cost estimates (CK11N, CK24) drive inventory valuation postings.

Tax, assets and other touchpoints

Tax procedure and tax accounts, asset acquisitions from purchase orders with account assignment A, and payroll or travel postings where HCM feeds FI.

Simulation and documentation

Use OMWB to simulate MM postings and billing analysis to check SD account determination, then record each key, modifier and account in a reviewed account determination matrix.

How it runs

  1. 1

    Discovery and data pull (1-2 weeks)

    • Export VKOA and OBYC configuration per chart of accounts
    • Pull GR/IR, price difference and revenue account balances by period
    • Interview AR, AP and cost accounting on recurring manual fixes
  2. 2

    Analysis and design (2-3 weeks)

    • Trace sample documents end to end from delivery or goods receipt to the journal entry
    • Identify missing or overlapping account determination entries
    • Design valuation class and account assignment group changes
  3. 3

    Configure and test (2-4 weeks)

    • Change configuration in a development client with transports
    • Run order-to-cash and procure-to-pay test scripts with posting checks
    • Simulate with OMWB and verify period-end jobs
  4. 4

    Cutover and clean-up (1-2 weeks)

    • Transport to production in a controlled window
    • Clear historical GR/IR items with MR11 where justified
    • Hand over the documented account determination matrix

What you get

  • Account determination matrix covering VKOA, OBYC and tax accounts per chart of accounts
  • Document trace pack showing logistics events and their FI postings
  • GR/IR root-cause analysis with clean-up proposal
  • Configuration change list with transports and test evidence
  • Order-to-cash and procure-to-pay test scripts with expected journal entries
  • Period-end checklist for settlement, WIP, variances and GR/IR

What drives cost and effort

Number of company codes and charts of accountsEach chart of accounts carries its own account determination, so a group with several country charts multiplies review and testing.
Valuation class sprawlDozens of valuation classes created over the years make OBYC tables long and error-prone; rationalizing them adds design work but reduces future cost.
Condition technique customizationsCustom access sequences, extra account keys and custom pricing conditions in SD widen the scope of revenue account testing.
Size of the open GR/IR balanceYears of uncleared items need investigation by vendor and PO before anything can be written off.
S/4HANA timingIf a conversion is coming, aligning the review with the Universal Journal and business partner work avoids doing it twice.
Audit requirementsFormal evidence of configuration and test results for auditors adds documentation effort.

Fixed-scope account determination review

Finance teams that want a documented map and a list of defects within a defined period.

Time and materials with a cap

Clean-up work such as GR/IR investigation where the volume of problem items is unknown until analysis starts.

Ongoing FICO support retainer

Companies that regularly add plants, materials or sales channels and need account determination extended correctly each time.

Questions to ask any SAP consultant

Walk me through how a billing document finds its revenue account in our system.

A consultant who can explain KOFI, the access sequence and account keys from memory understands FI-SD integration rather than just FI.

How would you investigate our GR/IR balance?

Good answers mention MB5S, purchase order history, invoice before goods receipt cases and MR11 controls, not just a write-off.

Have you worked on both the MM and SD sides of integration, or only one?

Many FI consultants are strong on one side. Integration defects often sit exactly between modules.

How do you test account determination changes before they reach production?

You want posting simulation, test scripts with expected journal entries and transports, not direct changes in production.

What changes in FI integration when we move to S/4HANA?

They should mention the Universal Journal (ACDOCA), cost elements becoming G/L accounts, business partner and mandatory material ledger.

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

Where these projects go wrong

Changing a valuation class on materials with stock or open orders

Check stock, open purchase orders and production orders first; SAP blocks some changes for good reason, and workarounds can split postings across accounts.

Overly broad VKOA entries that send many products to one revenue account

Design account assignment groups that match reporting needs and test each combination with real billing documents.

Writing off GR/IR items that are real liabilities

Investigate by vendor and PO, confirm with purchasing, and keep MR11 authorizations restricted.

Configuration changed directly in production

Enforce client settings and transports so every change is traceable and tested.

If your issue is one missing VKOA or OBYC entry for a new material type, an internal FICO analyst or your existing SAP support provider can usually fix it in an afternoon with OMWB simulation and a transport. Bring in outside help when the problem is structural: several charts of accounts, a GR/IR balance nobody trusts, or an S/4HANA move where integration design needs to be revisited.

Frequently asked questions

What is the main tcode for FI-MM integration?

OBYC maintains MM automatic account determination by transaction key, valuation modifier and valuation class. OMWB lets you simulate which accounts a movement will hit, and OMWD links plants to valuation grouping codes.

What is the main tcode for FI-SD integration?

VKOA maintains revenue account determination. It uses condition type KOFI in the account determination procedure with access sequences based on account assignment groups for customer and material plus the account key from the pricing procedure.

Why is my billing document not posted to accounting?

Usually the account determination found no G/L account for the combination of chart of accounts, sales organization, account assignment groups and account key. Check the error in VFX3, use the account determination analysis on the billing document, and add or correct the VKOA entry.

What causes GR/IR differences?

Typical causes are invoices received before goods receipts, quantity or price differences beyond tolerance, cancelled documents and partial deliveries. MB5S shows the balance by PO and MR11 clears justified differences.

Does FI integration change in S/4HANA?

The principles stay, but postings land in the Universal Journal (ACDOCA), secondary cost elements become G/L accounts, customers and vendors become business partners, and material ledger is always active. Account determination tables still drive the accounts.

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.