SAP S/4HANA
What is Material Document Table (MATDOC)?
The S/4HANA table that stores all material-document header and item data for inventory movements in one place.
MATDOC replaces ECC tables MKPF and MSEG and also eliminates stored stock aggregates, which are calculated on the fly. Legacy tables still exist as compatibility views so old reads keep working. Custom code that writes directly to the old tables must be remediated before conversion.
Related transaction codes
Related terms
Material Document
The record of a goods movement, identified by document number and year, containing material, quantity, and movement type.
Goods Movement
A physical or logical stock change, such as receipt, issue, or transfer, recorded in SAP with a movement type.
Compatibility View
A CDS-based view that replaces an obsolete ECC table name in S/4HANA so legacy SELECT statements still return data.
Universal Journal
The single S/4HANA line-item table (ACDOCA) that stores General Ledger, controlling, asset, and material-ledger postings together.
More in SAP S/4HANA
Planning an S/4HANA move?
Read the field guides on testing an ECC to S/4HANA migration and grab the free template library.