MGV_MAST SAP (Generated Table for View MGV_MAST) Table View details

Dictionary Type: Table View
Description: Generated Table for View MGV_MAST




ABAP Code to SELECT data from MGV_MAST
Related tables to MGV_MAST
Access table MGV_MAST




Table View field list including key, data, relationships and ABAP select examples

MGV_MAST is a standard SAP Table View which is used to store Generated Table for View MGV_MAST data and is available within R/3 SAP systems depending on the version and release level.

The MGV_MAST table consists of various fields, each holding specific information or linking keys about Generated Table for View MGV_MAST data available in SAP. These include MATNR (Material Number), WERKS (Plant), STLAN (BOM Usage), STLNR (Bill of material).. 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. .

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified


SAP MGV_MAST table view fields - Full list of fields found in SAP data dictionary

Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
MANDTClient MANDTCLNT3T000MANDT
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
STLANBOM Usage STLANCHAR1T416STLANCSV
STLNRBill of material STNUMCHAR8NUMCVSTNUMSTLNR
STLALAlternative BOM STALTCHAR2ALPHAALTNR
LOSVNFrom Lot Size LOSVNQUAN13(3) MENG13
LOSBSTo Lot Size LOSBSQUAN13(3) MENG13
ANDATDate record created on ANDATDATS8DATUM
ANNAMUser who created record ANNAMCHAR12USNAM
AEDATChanged On AEDATDATS8DATUM
AENAMName of Person Who Changed Object AENAMCHAR12USNAM
CSLTYIndicator: configured material (material variant) CSLTYCHAR1XFELD
MATNR_EXTExternal Long Material Number MATNR_EXTCHAR40MATNLMATNR_EXT
MATNR_VERSMaterial Version Number MATNR_VERSCHAR10MATNWMATNR_VERSMATVERS

Key field Non-key field



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

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

SELECT SINGLE *
FROM MGV_MAST
INTO CORRESPONDING FIELDS OF WA_MGV_MAST
WHERE...

How to access SAP table MGV_MAST

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

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


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!