SAP MARV Material Control Record Table data and field list

MARV is a standard SAP Table which is used to store Material Control Record data in SAP systems, such as SAP R/3, S/4HANA, depending on the version and release level.

The MARV table consists of various fields, each holding specific information or linking keys about Material Control Record data available in SAP. These include BUKRS (Company Code), LFGJA (Fiscal Year of Current Period), LFMON (Current period (posting period)), VMGJA (Fiscal year of previous period)... See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .

MARV table Technical Details:

Delivery Class: C - Customising table, maintenance only by cust
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type)


SAP MARV table fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the MARV table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
MANDTClient MANDTCLNT3T000MANDT
BUKRSCompany Code BUKRSCHAR4T001BUKRSBUKC_T001
LFGJAFiscal Year of Current Period LFGJANUMC4GJAHRGJAHR
LFMONCurrent period (posting period) LFMONNUMC2MONAT
VMGJAFiscal year of previous period VMGJANUMC4GJAHRGJAHR
VMMONMonth of previous period VMMONNUMC2MONAT
VJGJAFiscal year of last period of previous year VJGJANUMC4GJAHRGJAHR
VJMONLast month of previous year VJMONNUMC2MONAT
XRUEMAllow Posting to Previous Period (Backposting) XRUEMCHAR1XFELD
XRUEVIndicator: Disallow backposting after a change of period XRUEVCHAR1XFELD
AENAMName of Person Who Changed Object AENAMCHAR12USNAM
LAEDADate of Last Change LAEDADATS8DATUM
UZEITTime UZEITTIMS6UZEIT
KZINVIndicator: Initialize company code KZINVCHAR1XFELD
VVMGJFiscal year of period before last VVMGJNUMC4GJAHRGJAHR
VVMMOMonth of period before last VVMMONUMC2MONAT
VVJGJFiscal year of last period of year before last VVJGJNUMC4GJAHRGJAHR
VVJMOLast period of year before last VVJMNNUMC2MONAT
GJA_40CFiscal year of 1st period with dynamic closing GJA_40CNUMC4GJAHRGJAHR
MON_40C1st period with dynamic closing MON_40CNUMC2MONAT
GJA_46CFiscal Year of 1st Period After 4.6C Upgrade GJA_46CNUMC4GJAHRGJAHR
MON_46C1st Period After 4.6C Upgrade MON_46CNUMC2MONAT

Key field Non-key field



How do I retrieve data from SAP table MARV using ABAP code

The following ABAP code Example will allow you to do a basic selection on MARV to SELECT all data from the table
DATA: WA_MARV TYPE MARV.

SELECT SINGLE *
FROM MARV
INTO CORRESPONDING FIELDS OF WA_MARV
WHERE...

How to access SAP table MARV

Within an ECC or HANA version of SAP you can also view further information about MARV and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).