MVGN SAP (Material Data for Each Warehouse Number) Table details
Dictionary Type: Table
Description: Material Data for Each Warehouse Number
Description: Material Data for Each Warehouse Number
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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
LGNUM | Warehouse Number / Warehouse Complex | LGNUM | CHAR | 3 | T300 | LGNUM | LGN | ||
LVORM | Deletion flag for all material data of a warehouse number | LVOLN | CHAR | 1 | XFELD | ||||
LGBKZ | Storage Section Indicators | LVS_LGBKZ | CHAR | 3 | T304 | LVS_LGBKZ | |||
LTKZE | Storage type indicator for stock placement | MLGN_LTKZE | CHAR | 3 | T305 | LVS_LGTKZ | |||
LTKZA | Storage type indicator for stock removal | MLGN_LTKZA | CHAR | 3 | T305 | LVS_LGTKZ | |||
LHMG1 | Loading equipment quantity 1 | LVS_LHMNG1 | QUAN | 13(3) | MENG13 | ||||
LHMG2 | Loading equipment quantity 2 | LVS_LHMNG2 | QUAN | 13(3) | MENG13 | ||||
LHMG3 | Loading equipment quantity 3 | LVS_LHMNG3 | QUAN | 13(3) | MENG13 | ||||
LHME1 | Unit of measure for loading equipment quantity 1 | LHMEH1 | UNIT | 3 | T006 | CUNIT | MEINS | ||
LHME2 | Unit of measure for loading equipment quantity 2 | LHMEH2 | UNIT | 3 | T006 | CUNIT | MEINS | ||
LHME3 | Unit of measure for loading equipment quantity 3 | LHMEH3 | UNIT | 3 | T006 | CUNIT | MEINS | ||
LETY1 | 1st storage unit type | LVS_LETYP1 | CHAR | 3 | T307 | LVS_LETYP | |||
LETY2 | 2nd storage unit type | LVS_LETYP2 | CHAR | 3 | T307 | LVS_LETYP | |||
LETY3 | 3rd storage unit type | LVS_LETYP3 | CHAR | 3 | T307 | LVS_LETYP | |||
LVSME | Warehouse Management Unit of Measure | LVS_LVSME | UNIT | 3 | T006 | CUNIT | MEINS | ||
KZZUL | Indicator: Allow addition to existing stock | MLGN_KZZUL | CHAR | 1 | XFELD | ||||
BLOCK | Bulk storage indicator | LVS_BLOCK2 | CHAR | 2 | T338 | LVS_BLOCK2 | |||
KZMBF | Indicator: Message to inventory management | KZMBF | CHAR | 1 | XFELD | ||||
BSSKZ | Special movement indicator for warehouse management | LVS_BSSKZ | CHAR | 1 | T306 | LVS_BSSKZ | |||
MKAPV | Capacity usage | MLGN_MKAPV | DEC | 11(3) | DEC8_3 | ||||
BEZME | Unit of measure for capacity consumption | MLGN_BEZME | UNIT | 3 | T006 | CUNIT | MEINS | ||
PLKPT | Picking storage type for rough-cut and detailed planning | MLGN_PLKPT | CHAR | 3 | T301 | LGTYP | LGT | ||
VOMEM | Default for unit of measure from material master record | MLGN_VOMEM | CHAR | 1 | LVS_VOME | ||||
L2SKR | Material relevance for 2-step picking | MLGN_L2SKR | CHAR | 1 | LVS_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 tableDATA: 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 asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects