MVGN SAP (Material Data for Each Warehouse Number) Table details

Dictionary Type: Table
Description: Material Data for Each Warehouse Number




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




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

MVGN is a standard SAP Table which is used to store Material Data for Each Warehouse Number data and is available within R/3 SAP systems depending on the version and release level.

The MVGN table consists of various fields, each holding specific information or linking keys about Material Data for Each Warehouse Number data available in SAP. These include MATNR (Material Number), LGNUM (Warehouse Number / Warehouse Complex), LVORM (Deletion flag for all material data of a warehouse number), LGBKZ (Storage Section Indicators).. 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: A - Application table (master and transaction data)
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP MVGN table 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
LGNUMWarehouse Number / Warehouse Complex LGNUMCHAR3T300LGNUMLGN
LVORMDeletion flag for all material data of a warehouse number LVOLNCHAR1XFELD
LGBKZStorage Section Indicators LVS_LGBKZCHAR3T304LVS_LGBKZ
LTKZEStorage type indicator for stock placement MLGN_LTKZECHAR3T305LVS_LGTKZ
LTKZAStorage type indicator for stock removal MLGN_LTKZACHAR3T305LVS_LGTKZ
LHMG1Loading equipment quantity 1 LVS_LHMNG1QUAN13(3) MENG13
LHMG2Loading equipment quantity 2 LVS_LHMNG2QUAN13(3) MENG13
LHMG3Loading equipment quantity 3 LVS_LHMNG3QUAN13(3) MENG13
LHME1Unit of measure for loading equipment quantity 1 LHMEH1UNIT3T006CUNITMEINS
LHME2Unit of measure for loading equipment quantity 2 LHMEH2UNIT3T006CUNITMEINS
LHME3Unit of measure for loading equipment quantity 3 LHMEH3UNIT3T006CUNITMEINS
LETY11st storage unit type LVS_LETYP1CHAR3T307LVS_LETYP
LETY22nd storage unit type LVS_LETYP2CHAR3T307LVS_LETYP
LETY33rd storage unit type LVS_LETYP3CHAR3T307LVS_LETYP
LVSMEWarehouse Management Unit of Measure LVS_LVSMEUNIT3T006CUNITMEINS
KZZULIndicator: Allow addition to existing stock MLGN_KZZULCHAR1XFELD
BLOCKBulk storage indicator LVS_BLOCK2CHAR2T338LVS_BLOCK2
KZMBFIndicator: Message to inventory management KZMBFCHAR1XFELD
BSSKZSpecial movement indicator for warehouse management LVS_BSSKZCHAR1T306LVS_BSSKZ
MKAPVCapacity usage MLGN_MKAPVDEC11(3) DEC8_3
BEZMEUnit of measure for capacity consumption MLGN_BEZMEUNIT3T006CUNITMEINS
PLKPTPicking storage type for rough-cut and detailed planning MLGN_PLKPTCHAR3T301LGTYPLGT
VOMEMDefault for unit of measure from material master record MLGN_VOMEMCHAR1LVS_VOME
L2SKRMaterial relevance for 2-step picking MLGN_L2SKRCHAR1LVS_2SKREL

Key field Non-key field



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

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

SELECT SINGLE *
FROM MVGN
INTO CORRESPONDING FIELDS OF WA_MVGN
WHERE...

How to access SAP table MVGN

Within an ECC or HANA version of SAP you can also view further information about MVGN 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!