RMMG3 SAP (Plant Stock Fields in the Material Master) Structure details

Dictionary Type: Structure
Description: Plant Stock Fields in the Material Master




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




Structure field list including key, data, relationships and ABAP select examples

RMMG3 is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Plant Stock Fields in the Material Master" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_RMMG3 TYPE RMMG3.

The RMMG3 table consists of various fields, each holding specific information or linking keys about Plant Stock Fields in the Material Master data available in SAP. These include LFMON (Current period (posting period)), VMGJA (Fiscal year of previous period), VMMON (Month of previous period), LABST (Valuated Unrestricted-Use Stock).. 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: Can be enhanced (character-type or numeric)


SAP RMMG3 structure 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
LFGJAFiscal Year of Current Period LFGJANUMC4GJAHRGJAHR
LFMONCurrent period (posting period) LFMONNUMC2MONAT
VMGJAFiscal year of previous period VMGJANUMC4GJAHRGJAHR
VMMONMonth of previous period VMMONNUMC2MONAT
LABSTValuated Unrestricted-Use Stock LABSTQUAN13(3) MENG13V
UMLMEStock in transfer (from one storage location to another) UMLMDQUAN13(3) MENG13V
INSMEStock in Quality Inspection INSMEQUAN13(3) MENG13V
EINMETotal Stock of All Restricted Batches EINMEQUAN13(3) MENG13V
SPEMEBlocked Stock SPEMEQUAN13(3) MENG13V
RETMEBlocked Stock Returns RETMEQUAN13(3) MENG13V
VMLABValuated unrestricted-use stock in previous period VMLABQUAN13(3) MENG13V
VMUMLStock in Transfer in Previous Period VMUMLQUAN13(3) MENG13V
VMINSStock in Quality Inspection in Previous Period VMINSQUAN13(3) MENG13V
VMEINRestricted-Use Stock in Previous Period VMEINQUAN13(3) MENG13V
VMSPEBlocked stock of previous period VMSPEQUAN13(3) MENG13V
VMRETBlocked Stock Returns in Previous Period VMRETQUAN13(3) MENG13V
KLABSUnrestricted-Use Consignment Stock KLABSQUAN13(3) MENG13V
KINSMConsignment Stock in Quality Inspection KINSMQUAN13(3) MENG13V
KEINMRestricted-Use Consignment Stock KEINMQUAN13(3) MENG13V
KSPEMBlocked Consignment Stock KSPEMQUAN13(3) MENG13V

Key field Non-key field



How do I retrieve data from SAP structure RMMG3 using ABAP code?

As RMMG3 is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on RMMG3 as there is no data to select.

How to access SAP table RMMG3

Within an ECC or HANA version of SAP you can also view further information about RMMG3 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!