MGV_L_LAG1M SAP (Generated Table for View) Table View details
Dictionary Type: Table View
Description: Generated Table for View
Description: Generated Table for View
Table View field list including key, data, relationships and ABAP select examples
MGV_L_LAG1M is a standard SAP Table View which is used to store Generated Table for View data and is available within R/3 SAP systems depending on the version and release level.
The MGV_L_LAG1M table consists of various fields, each holding specific information or linking keys about Generated Table for View data available in SAP. These include MATNR (Material Number), WERKS (Plant), CHARG (Batch Number), BESTQ (Stock Category in the Warehouse Management System).. 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_L_LAG1M 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 |
MANDT | Client | MANDT | CLNT | 3 | MANDT | ||||
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
CHARG | Batch Number | CHARG_D | CHAR | 10 | CHARG | CHA | |||
BESTQ | Stock Category in the Warehouse Management System | BESTQ | CHAR | 1 | BESTQ | ||||
SOBKZ | Special Stock Indicator | SOBKZ | CHAR | 1 | T148 | SOBKZ | |||
LGNUM | Warehouse Number / Warehouse Complex | LGNUM | CHAR | 3 | T300 | LGNUM | LGN | ||
LGTYP | Storage Type | LGTYP | CHAR | 3 | T301 | LGTYP | LGT | H_T301 | |
LGPLA | Storage Bin | LGPLA | CHAR | 10 | LGPLA | LGP | LAG1 | ||
LQNUM | Quant | LVS_LQNUM | NUMC | 10 | LVS_LQNUM | LQN | |||
MATNR_EXT | Material Number | MGV_MATNR_EXTERNAL | CHAR | 40 | MATNL | MATNR_EXT | |||
MATNR_VERS | Version Number for MATNR Field | MGV_MATNR_VERSION | CHAR | 10 | MATNW | MATNR_VERS |
Key field | Non-key field |
How do I retrieve data from SAP table MGV_L_LAG1M using ABAP code
The following ABAP code Example will allow you to do a basic selection on MGV_L_LAG1M to SELECT all data from the tableDATA: WA_MGV_L_LAG1M TYPE MGV_L_LAG1M.
SELECT SINGLE *
FROM MGV_L_LAG1M
INTO CORRESPONDING FIELDS OF WA_MGV_L_LAG1M
WHERE...
How to access SAP table MGV_L_LAG1M
Within an ECC or HANA version of SAP you can also view further information about MGV_L_LAG1M 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