RMMG3 SAP (Plant Stock Fields in the Material Master) Structure details
Description: Plant Stock Fields in the Material Master
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 |
LFGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR | |||
LFMON | Current period (posting period) | LFMON | NUMC | 2 | MONAT | ||||
VMGJA | Fiscal year of previous period | VMGJA | NUMC | 4 | GJAHR | GJAHR | |||
VMMON | Month of previous period | VMMON | NUMC | 2 | MONAT | ||||
LABST | Valuated Unrestricted-Use Stock | LABST | QUAN | 13(3) | MENG13V | ||||
UMLME | Stock in transfer (from one storage location to another) | UMLMD | QUAN | 13(3) | MENG13V | ||||
INSME | Stock in Quality Inspection | INSME | QUAN | 13(3) | MENG13V | ||||
EINME | Total Stock of All Restricted Batches | EINME | QUAN | 13(3) | MENG13V | ||||
SPEME | Blocked Stock | SPEME | QUAN | 13(3) | MENG13V | ||||
RETME | Blocked Stock Returns | RETME | QUAN | 13(3) | MENG13V | ||||
VMLAB | Valuated unrestricted-use stock in previous period | VMLAB | QUAN | 13(3) | MENG13V | ||||
VMUML | Stock in Transfer in Previous Period | VMUML | QUAN | 13(3) | MENG13V | ||||
VMINS | Stock in Quality Inspection in Previous Period | VMINS | QUAN | 13(3) | MENG13V | ||||
VMEIN | Restricted-Use Stock in Previous Period | VMEIN | QUAN | 13(3) | MENG13V | ||||
VMSPE | Blocked stock of previous period | VMSPE | QUAN | 13(3) | MENG13V | ||||
VMRET | Blocked Stock Returns in Previous Period | VMRET | QUAN | 13(3) | MENG13V | ||||
KLABS | Unrestricted-Use Consignment Stock | KLABS | QUAN | 13(3) | MENG13V | ||||
KINSM | Consignment Stock in Quality Inspection | KINSM | QUAN | 13(3) | MENG13V | ||||
KEINM | Restricted-Use Consignment Stock | KEINM | QUAN | 13(3) | MENG13V | ||||
KSPEM | Blocked Consignment Stock | KSPEM | QUAN | 13(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 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