← All articles
MMMMFIdocuments13 July 2026By Automate & Graduate

SAP Material Document vs Accounting Document

Master the key differences between SAP material and accounting documents. Learn how they flow through the system, why they matter for inventory and finance, and how to track them effectively.

Understanding SAP Material Document vs Accounting Document

If you've spent any time working with SAP Inventory Management or Materials Management (MM), you've probably heard the terms "material document" and "accounting document" thrown around in conversations. At first glance, they sound like they should do the same thing—but they really don't. Understanding the difference between a SAP material document vs accounting document is crucial to grasping how inventory movements flow through the system and how they impact your financial records.

Let me be clear upfront: these are two distinct beasts that work together in harmony. A material document tracks what happened to your physical inventory—think of it as the logistics record. An accounting document, on the other hand, is the financial twin that ensures those movements hit the right G/L accounts. In this article, we'll break down exactly what each one does, how they relate to each other, and how to find and interpret them in SAP.

What Is a Material Document?

A material document is SAP's way of recording any movement of inventory from one place to another. It's the physical and logical record of what happened in your warehouse or storage location.

When you post a goods receipt, a goods issue, a stock transfer, or even a stock adjustment, SAP creates a material document. This document is stored in table MKPF (Material Document Header) and MSEG (Material Document Line Items). The material document number is your reference point for tracking these movements.

Here's what lives in a material document:

  • Material number and quantity moved
  • Storage location and plant information
  • Movement type (101 for goods receipt, 101 for GR from PO, 202 for goods issue, etc.)
  • The date and time of the movement
  • Posting date and document date
  • Unit of measure
  • Batch number (if applicable)
  • Serial numbers (if applicable)
  • Cost center or order assignment (for GI scenarios)

You can view material documents using transaction code MB51 (Material Document List), which gives you a powerful way to search and filter all inventory movements in your system.

What Is an Accounting Document?

An accounting document is the financial reflection of a material movement. While the material document tracks the logistics, the accounting document ensures the correct G/L accounts are debited and credited.

When you post a goods movement that impacts value—like a goods receipt that increases inventory value or a goods issue that decreases it—SAP creates an accounting document (also called a financial document or FI document) alongside the material document.

Accounting documents are stored in tables BKPF (Accounting Document Header) and BSEG (Accounting Document Line Items). These documents contain:

  • Company code and fiscal year
  • G/L account postings (debits and credits)
  • Amount in document currency and company code currency
  • Cost center or profit center assignments
  • Tax codes and amounts (if applicable)
  • Reference to the originating material document
  • Document type and posting date

You can access accounting documents using transaction FB03 (Display Document) or FB01 (Create Document). You can also use FBL1N to see G/L account line items, which will show you the impact of material movements on your accounts.

How They Connect: The Real-World Flow

Here's where it gets interesting. In most cases, one material document triggers the creation of one or more accounting documents. The connection is maintained through a reference—you'll see the material document number stored in the accounting document, and vice versa.

Let's say you receive 100 units of material "WIDGET-001" against a purchase order. Here's what happens:

  1. Material Document Created: SAP generates a material document (say, number 5000001234) recording 100 units of WIDGET-001 received at Plant 1000, Storage Location 0001. Movement type is 101 (Goods Receipt). This is posted to table MKPF and MSEG.
  2. Accounting Document Generated: Simultaneously (or within the batch job, depending on your configuration), SAP creates an accounting document. This document debits the Inventory G/L account and credits the GR/IR Clearing account with the standard price or moving average price of the material. This is posted to tables BKPF and BSEG.
  3. Cross-Reference Maintained: The accounting document field XBLNR or BKTXT will contain a reference to the material document number. You can search backward and forward between them.

The key point: not all material documents create accounting documents. Stock transfers between storage locations might not trigger accounting impacts if both locations are in the same plant and valuation area. However, movements that change value—goods receipt, goods issue, scrap, write-offs—almost always generate accounting documents.

Key Differences at a Glance

Let's summarize the critical distinctions:

Aspect Material Document Accounting Document Primary Purpose Track physical/logical inventory movement Record financial impact Main Tables MKPF, MSEG BKPF, BSEG Scope All inventory movements Value-impacting movements only Key Field Material Document Number (MBLNR) Document Number (BUKRS + BELNR) Organized By Material, Plant, Storage Location Company Code, G/L Account, Cost Center View Transactions MB51, MMBE, MB5B FB03, FBL1N, FB06

Practical Tips for Consultants and Learners

Here are some real-world tips that will save you debugging time:

  • Always check movement types. Different movement types have different configurations. Use transaction OMJJ to see movement type settings and understand which ones trigger accounting documents.
  • Reconcile material to financial. If you suspect a discrepancy between inventory quantity and financial value, always start by comparing a material document (via MB51) with its corresponding accounting document (via FB03). The link field will help you jump between them.
  • Understand valuation areas. In SAP, a material can be valued at the plant or company code level. This affects how and whether accounting documents are created for inter-plant transfers.
  • Check for posting logic. Use transaction OMSL to review the G/L account determination logic. This tells you exactly which accounts a material movement will hit. For deeper learning on this, explore our SAP modules on account determination.
  • Use report RBAPFMON. This report helps you match material and accounting documents. It's invaluable when doing reconciliation work or troubleshooting inconsistencies.

When Things Go Wrong

One of the most common issues is a material document without a corresponding accounting document, or vice versa. This usually happens because:

  • The movement type isn't configured to post to FI
  • The G/L account determination is missing or incomplete
  • There's a posting error in a background job that the accounting document creation fails while the material document succeeds
  • The material has no valuation set up (rare, but possible in test systems)

When troubleshooting, always start with the material document (transaction MB51), verify the movement type, check the quantity and value, then confirm the corresponding accounting document exists. If it doesn't, investigate the posting logic and G/L account determination for that movement type.

The Bottom Line

The distinction between material and accounting documents isn't just academic—it's fundamental to how SAP manages inventory and finance together. A material document is your logistics record; an accounting document is your financial record. Together, they ensure your inventory count matches your balance sheet.

As you progress in SAP consulting, you'll spend a lot of time linking these two together, troubleshooting mismatches, and explaining them to business users. The more comfortable you become with tables MKPF, MSEG, BKPF, and BSEG, the faster you'll solve real-world problems.

Ready to deepen your SAP knowledge? Visit Automate & Graduate for practical modules that turn theory into hands-on skill.

Practice what you've learned

Automate & Graduate has games, modules, AI tutor, and daily challenges to make SAP stick.

Try it free →
SAP Material Document vs Accounting Document — Automate & Graduate | Automate & Graduate