Skip to content
SAP Reference

MARA

master S/4HANA status: Active

General Material Data

Identity
Language note

MARA keeps its readable descriptions in MAKT — one row per SPRAS. See text tables in the quirks guide.

What the badges mean
S/4HANA status: Active
Active and unchanged in S/4HANA.
S/4HANA status: Deprecated
Still readable today, but no longer SAP's strategic path — plan around it.
S/4HANA status: Replaced
Replaced by a new persistence in S/4HANA; the classic name may still answer reads (see read mechanism).
S/4HANA status: Migrating to IBP
Planning scope is moving from APO toward IBP.
S/4HANA status: Active (StRM) · Replaced (EWM)
Path-dependent: active with SAP Stock Room Management, replaced where EWM is the warehouse path.
S/4HANA status: Replaced · Compat View
Compatibility view: the classic table name is redirected to a view over the new persistence — see how the physical model moved.
S/4HANA status: Active · Proxy View
Proxy view: reads route through NSDM proxy/CDS views — see how the physical model moved.
master
Data class: what the table holds — master data, transaction documents, org structure, config, or texts (one row per language — see the quirks guide).
Linked type codes

CLNT the client key; filter it explicitly and carry it through every join.

NUMC fixed-width numeric text; keep it a string and keep the leading zeros.

DATS, TIMS character date (YYYYMMDD) and time (HHMMSS), zero-filled when initial.

CURR, CUKY, QUAN, UNIT amounts and quantities, meaningful only beside the currency key or unit that qualifies them.

LANG a language key in a text table — one row per language.

In field listings, K marks a primary-key field, and linked type codes in the Type column jump to the matching quirks-guide section.
Used in the library

Fields

95 fields · 2 key

95 fields.

Table fields: key flag, field name, description, data type (linked to the data quirks guide where the type carries a known trap), length, and check-table references. 95 fields.
KeyFieldDescriptionTypeLengthReferences
Primary keyMANDTClientCLNT3T000
Primary keyMATNRMaterial NumberCHAR18 / 40
ERSDACreated OnDATS8
ERNAMName of Person who Created the ObjectCHAR12
LAEDADate of Last ChangeDATS8
AENAMName of Person Who Changed ObjectCHAR12
VPSTAMaintenance Status of Complete MaterialCHAR15
PSTATMaintenance statusCHAR15
LVORMFlag Material for Deletion at Client LevelCHAR1
MTARTMaterial TypeCHAR4T134
MBRSHIndustry SectorCHAR1T137
MATKLMaterial GroupCHAR9T023
BISMTOld Material NumberCHAR18
MEINSBase Unit of MeasureUNIT3T006
BSTMEPurchase Order Unit of MeasureUNIT3T006
ZEINRDocument NumberCHAR22
ZEIARDocument TypeCHAR3
ZEIVRDocument VersionCHAR2
ZEIFOPage Format of DocumentCHAR4
AESZNDocument Change Number (Without Document Management System)CHAR6
BLATTPage Number of DocumentCHAR3
FERTHProduction/Inspection MemoCHAR18
FORMTPage Format of Production MemoCHAR4
GROESSize/DimensionsCHAR32
WRKSTBasic MaterialCHAR48
NORMTIndustry Standard DescriptionCHAR18
LABORLaboratory/Design OfficeCHAR3
EKWSLPurchasing Value KeyCHAR4
BRGEWGross WeightQUAN13,3
NTGEWNet WeightQUAN13,3
GEWEIWeight UnitUNIT3T006
VOLUMVolumeQUAN13,3
VOLEHVolume UnitUNIT3T006
BEHVOContainer RequirementsCHAR2
RAUBEStorage ConditionsCHAR2T142
TEMPBTemperature Conditions IndicatorCHAR2
DISSTLow-Level CodeCHAR3
TRAGRTransportation GroupCHAR4
STOFFHazardous Material NumberCHAR18
SPARTDivisionCHAR2TSPA
KUNNRCompetitorCHAR10
WESCHQuantity: Number of GR/GI Slips to Be PrintedQUAN13,3
BWVORProcurement RuleCHAR1
BWSCLSource of SupplyCHAR1
SAISOSeason CategoryCHAR4
ETIARLabel TypeCHAR2
ETIFOLabel FormCHAR2
EAN11International Article Number (EAN/UPC)CHAR18
NUMTPCategory of International Article Number (EAN)CHAR2
LAENGLengthQUAN13,3
BREITWidthQUAN13,3
HOEHEHeightQUAN13,3
MEABMUnit of Dimension for Length/Width/HeightUNIT3T006
PRDHAProduct HierarchyCHAR18
CADKZCAD IndicatorCHAR1
QMPURQM in Procurement Is ActiveCHAR1
ERGEWAllowed Packaging WeightQUAN13,3
ERGEIUnit of Weight (allowed packaging weight)UNIT3T006
ERVOLAllowed Packaging VolumeQUAN13,3
ERVOEVolume Unit (allowed packaging volume)UNIT3T006
GEWTOExcess Weight Tolerance for HUDEC3,1
VOLTOExcess Volume Tolerance for HUDEC3,1
VABMEVariable Purchase Order Unit ActiveCHAR1
KZREVRevision Level Has Been Assigned to MaterialCHAR1
KZKFGConfigurable MaterialCHAR1
XCHPFBatch Management Requirement IndicatorCHAR1
VHARTPackaging Material TypeCHAR4
FUELGMaximum Level (by Volume)DEC3
STFAKStacking FactorINT25
MAGRVMaterial Group: Packaging MaterialsCHAR4
BEGRUAuthorization GroupCHAR4
DATABValid-From DateDATS8
LIQDTDeletion DateDATS8
SAISJSeason YearCHAR4
PLGTPPrice Band CategoryCHAR2
MLGUTEmpties Bill of MaterialCHAR1
EXTWGExternal Material GroupCHAR18
SATNRCross-Plant Configurable MaterialCHAR18
ATTYPMaterial CategoryCHAR2
KZKUPIndicator: Material Can Be Co-ProductCHAR1
KZNFMIndicator: The Material Has a Follow-Up MaterialCHAR1
PMATAPricing Reference MaterialCHAR18
MSTAECross-Plant Material StatusCHAR2
MSTDEDate from Which the Cross-Plant Material Status Is ValidDATS8
TAKLVTax Classification of MaterialCHAR1
MHDRZMinimum Remaining Shelf LifeDEC4
MHDHBTotal Shelf LifeDEC4
MHDLPStorage PercentageDEC3
INHMEContent UnitUNIT3T006
INHALNet ContentsQUAN13,3
MAXCMaximum Allowed Capacity of Packaging MaterialDEC15,3
MAXC_TOLOvercapacity Tolerance of the Handling UnitDEC3,1
MAXLMaximum Packing Length of Packaging MaterialQUAN15,3
MAXBMaximum Packing Width of Packaging MaterialQUAN15,3
MAXHMaximum Packing Height of Packaging MaterialQUAN15,3

Lengths shown as ECC / S/4HANA where the extended material number applies.

Linked type codes in the Type column jump to the matching section of the SAP data quirks guide.

Field provenance: hand-curated.

Boilerplate SQL

Starting point for reading MARA on Databricks. Set your Unity Catalog location and filter values below — they’re substituted into the SQL and the copy button.

Query parameters

4 parameters not filled: <catalog>, <schema>, <MANDT>, <MATNR>

-- ============================================================
-- Table  : MARA General Material Data
-- Purpose: Column-selected read of MARA — auto-generated from field metadata
-- Grain  : One row per MATNR
-- Notes  : Auto-generated skeleton. For multi-table transaction query patterns, see the linked t-codes on this page. Set catalog/schema to your Unity Catalog location; fill remaining placeholders (<...>) for your tenant.
-- ============================================================
SELECT
  m.MANDT AS "Client",
  m.MATNR AS "Material Number",
  m.ERSDA AS "Created On",
  m.ERNAM AS "Name of Person who Created the Object",
  m.LAEDA AS "Date of Last Change",
  m.AENAM AS "Name of Person Who Changed Object",
  m.VPSTA AS "Maintenance Status of Complete Material",
  m.PSTAT AS "Maintenance status",
  m.LVORM AS "Flag Material for Deletion at Client Level",
  m.MTART AS "Material Type",
  m.MBRSH AS "Industry Sector",
  m.MATKL AS "Material Group",
  m.BISMT AS "Old Material Number",
  m.MEINS AS "Base Unit of Measure",
  m.BSTME AS "Purchase Order Unit of Measure",
  m.ZEINR AS "Document Number",
  m.ZEIAR AS "Document Type",
  m.ZEIVR AS "Document Version",
  m.ZEIFO AS "Page Format of Document",
  m.AESZN AS "Document Change Number (Without Document Management System)",
  m.BLATT AS "Page Number of Document",
  m.FERTH AS "Production/Inspection Memo",
  m.FORMT AS "Page Format of Production Memo",
  m.GROES AS "Size/Dimensions",
  m.WRKST AS "Basic Material",
  m.NORMT AS "Industry Standard Description",
  m.LABOR AS "Laboratory/Design Office",
  m.EKWSL AS "Purchasing Value Key",
  m.BRGEW AS "Gross Weight",
  m.NTGEW AS "Net Weight",
  m.GEWEI AS "Weight Unit",
  m.VOLUM AS "Volume",
  m.VOLEH AS "Volume Unit",
  m.BEHVO AS "Container Requirements",
  m.RAUBE AS "Storage Conditions",
  m.TEMPB AS "Temperature Conditions Indicator",
  m.DISST AS "Low-Level Code",
  m.TRAGR AS "Transportation Group",
  m.STOFF AS "Hazardous Material Number",
  m.SPART AS "Division"
  -- … plus 55 more columns — full list in the Fields section above
FROM <catalog>.<schema>.mara m
WHERE
  m.MANDT = '<MANDT>'
  -- AND m.MATNR = '<MATNR>'
ORDER BY m.MATNR;

Verified August 2026

More query patterns: MM01 MM02 MM03

Released CDS views over this table

Released SAP standard VDM views that read over MARA. Prefer these over classic-table reads on S/4HANA where available.

Relationships

Diagram of 1-hop neighbors — join details below.

Join details

  • MARAMARCforeign key · 1:N
    ON mara.MATNR = marc.MATNR
  • MARAMAKTtext table · 1:N
    ON mara.MATNR = makt.MATNR
  • MARAMBEWforeign key · 1:N
    ON mara.MATNR = mbew.MATNR
  • MARAMVKEforeign key · 1:N
    ON mara.MATNR = mvke.MATNR
  • MARAMARMforeign key · 1:N
    ON mara.MATNR = marm.MATNR
  • EKPOMARAforeign key · N:1
    ON ekpo.MATNR = mara.MATNR
  • VBAPMARAforeign key · N:1
    ON vbap.MATNR = mara.MATNR
  • LIPSMARAforeign key · N:1
    ON lips.MATNR = mara.MATNR
  • MSEGMARAforeign key · N:1
    ON mseg.MATNR = mara.MATNR
  • RESBMARAforeign key · N:1
    ON resb.MATNR = mara.MATNR
  • AFPOMARAforeign key · N:1
    ON afpo.MATNR = mara.MATNR
  • QALSMARAforeign key · N:1
    ON qals.MATNR = mara.MATNR
  • QMATMARAforeign key · N:1
    ON qmat.MATNR = mara.MATNR
  • MARAT006check table · N:1
    ON mara.MEINS = t006.MSEHI

Transaction Codes That Use This Table

R read · W write · R/W read + write

Secondary t-codes

More Materials Management tables