MALG SAP (Assignment of Layout Modules to Materials) Table details
Dictionary Type: Table
Description: Assignment of Layout Modules to Materials
Description: Assignment of Layout Modules to Materials
Table field list including key, data, relationships and ABAP select examples
MALG is a standard SAP Table which is used to store Assignment of Layout Modules to Materials data and is available within R/3 SAP systems depending on the version and release level.
The MALG table consists of various fields, each holding specific information or linking keys about Assignment of Layout Modules to Materials data available in SAP. These include MATNR (Material Number), MEINH (Unit of Measure for Display), LAYGR (Layout Module), LMNUM (Sequence number in the layout module).. 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 MALG 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 |
MEINH | Unit of Measure for Display | MEINH | UNIT | 3 | MARM | CUNIT | MEINS | ||
LAYGR | Layout Module | LAYGR | CHAR | 10 | TWML | LAYGR | WLM | LAYMODD | |
LMNUM | Sequence number in the layout module | LAYMOD_NUM | NUMC | 6 | NUMC6 | WLMV | |||
SORF1 | Sort sequence number in layout module | SORF1 | NUMC | 10 | NUMC10 | ||||
HPLGR | Indicator: Main layout module | HPLGR | CHAR | 1 | XFELD | ||||
FACIN | Number of materials placed next to one another | FACING | QUAN | 13(3) | MENG13 | ||||
SHELF | Shelf Section | SHELF_NO | NUMC | 10 | NUMC10 | ||||
LMVER | Layout Module Version | LAYMOD_VER | NUMC | 4 | WLMV | WLMV | LAYMOD_VER | WLMV | LAYMODVER |
FRONT | Number of materials positioned over one another | FACING_VERT | QUAN | 13(3) | MENG13 | ||||
SHQNM | Maximum shelf quantity | SHF_QNT_MAX | QUAN | 13(3) | MENG13 | ||||
SHQNO | Optimum shelf quantity | SHF_QNT_OPT | QUAN | 13(3) | MENG13 | ||||
PREQN | Presentation quantity | PRES_QNT | QUAN | 13(3) | MENG13 | ||||
EXFLG | Exclusion Flag | EX_FLAG | CHAR | 1 | EX_FLAG | ||||
LMVAR | Variant for Layout Module Version | LAYMOD_VAR | CHAR | 4 | Assigned to domain | LAYMOD_VAR | WLVA | ||
.INCLU--AP | 0 | ||||||||
TISTP | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | TIMESTAMP | DEC | 15 | TZNTSTMPS | ||||
OSPSK | OAPC Flag | WRF_OAPC_FLAG | CHAR | 1 | WRF_LWB_OAPC_FLG | ||||
.INCLU--AP | 0 | ||||||||
LABEL_TYPE_CODE | Label type | ETIAR | CHAR | 2 | T6WP3 | ETIAR | |||
LABEL_NUM_VALUE | Number of labels | WRF_NUMBER_LABEL | NUMC | 2 | WRF_NUMBER_LABEL |
Key field | Non-key field |
How do I retrieve data from SAP table MALG using ABAP code
The following ABAP code Example will allow you to do a basic selection on MALG to SELECT all data from the tableDATA: WA_MALG TYPE MALG.
SELECT SINGLE *
FROM MALG
INTO CORRESPONDING FIELDS OF WA_MALG
WHERE...
How to access SAP table MALG
Within an ECC or HANA version of SAP you can also view further information about MALG 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