MALG SAP (Assignment of Layout Modules to Materials) Table details

Dictionary Type: Table
Description: Assignment of Layout Modules to Materials




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




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
MANDTClient MANDTCLNT3T000MANDT
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
MEINHUnit of Measure for Display MEINHUNIT3MARMCUNITMEINS
LAYGRLayout Module LAYGRCHAR10TWMLLAYGRWLMLAYMODD
LMNUMSequence number in the layout module LAYMOD_NUMNUMC6NUMC6WLMV
SORF1Sort sequence number in layout module SORF1NUMC10NUMC10
HPLGRIndicator: Main layout module HPLGRCHAR1XFELD
FACINNumber of materials placed next to one another FACINGQUAN13(3) MENG13
SHELFShelf Section SHELF_NONUMC10NUMC10
LMVERLayout Module Version LAYMOD_VERNUMC4WLMVWLMVLAYMOD_VERWLMVLAYMODVER
FRONTNumber of materials positioned over one another FACING_VERTQUAN13(3) MENG13
SHQNMMaximum shelf quantity SHF_QNT_MAXQUAN13(3) MENG13
SHQNOOptimum shelf quantity SHF_QNT_OPTQUAN13(3) MENG13
PREQNPresentation quantity PRES_QNTQUAN13(3) MENG13
EXFLGExclusion Flag EX_FLAGCHAR1EX_FLAG
LMVARVariant for Layout Module Version LAYMOD_VARCHAR4Assigned to domainLAYMOD_VARWLVA
.INCLU--AP 0
TISTPUTC Time Stamp in Short Form (YYYYMMDDhhmmss) TIMESTAMPDEC15TZNTSTMPS
OSPSKOAPC Flag WRF_OAPC_FLAGCHAR1WRF_LWB_OAPC_FLG
.INCLU--AP 0
LABEL_TYPE_CODELabel type ETIARCHAR2T6WP3ETIAR
LABEL_NUM_VALUENumber of labels WRF_NUMBER_LABELNUMC2WRF_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 table
DATA: 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 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!