MYML1 SAP (LIFO: Transaction-Related Material Layer) Table details
Dictionary Type: Table
Description: LIFO: Transaction-Related Material Layer
Description: LIFO: Transaction-Related Material Layer
Table field list including key, data, relationships and ABAP select examples
MYML1 is a standard SAP Table which is used to store LIFO: Transaction-Related Material Layer data and is available within R/3 SAP systems depending on the version and release level.
The MYML1 table consists of various fields, each holding specific information or linking keys about LIFO: Transaction-Related Material Layer data available in SAP. These include MYVER (LIFO Layer Version), MYKEY (LIFO valuation level), MATNR (Material Number), MBLNR (Number of Material Document).. 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: Not classified
SAP MYML1 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 | |||
MYVER | LIFO Layer Version | MYVER | CHAR | 1 | TMY05 | CHAR1 | MYV | ||
MYKEY | LIFO valuation level | MYKEY | CHAR | 4 | Assigned to domain | MYKEY | MYL | ||
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
MBLNR | Number of Material Document | MBLNR | CHAR | 10 | ALPHA | BELNR | MBN | ||
MJAHR | Material Document Year | MJAHR | NUMC | 4 | GJAHR | GJAHR | MJA | ||
MBLPO | Item in Material Document | MBLPO | NUMC | 4 | MBLPO | POS | |||
BUDAT | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
MYWRT | LIFO layer value (gross) | MYWRT | CURR | 13(2) | WERT13 | ||||
MYWRN | LIFO layer value (net) | MYWRN | CURR | 13(2) | WERT13 | ||||
MYMNG | LIFO layer quantity | MYMNG | QUAN | 13(3) | MENG13 | ||||
MEINS | Base Unit of Measure | MEINS | UNIT | 3 | T006 | CUNIT | MEINS | ||
BWTAR | Valuation Type | BWTAR_D | CHAR | 10 | Assigned to domain | BWTAR | BWT | ||
BWART | Movement Type (Inventory Management) | BWART | CHAR | 3 | Assigned to domain | BWART | BWA | ||
AWSYS | Logical system | LOGSYS | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
PRGID | Balance Sheet Valuation Program ID | MY_PROGID | CHAR | 2 | MY_PROGID | ||||
TIMEL | Time Stamp - Long Format | TZNTSTMPLL | NUMC | 21 | TZNTSTMPLL |
Key field | Non-key field |
How do I retrieve data from SAP table MYML1 using ABAP code
The following ABAP code Example will allow you to do a basic selection on MYML1 to SELECT all data from the tableDATA: WA_MYML1 TYPE MYML1.
SELECT SINGLE *
FROM MYML1
INTO CORRESPONDING FIELDS OF WA_MYML1
WHERE...
How to access SAP table MYML1
Within an ECC or HANA version of SAP you can also view further information about MYML1 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