RMMG1_REF SAP (Material Master Maintenance: Initial Param. - Ref. Material) Structure details
Description: Material Master Maintenance: Initial Param. - Ref. Material
Structure field list including key, data, relationships and ABAP select examples
RMMG1_REF 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 "Material Master Maintenance: Initial Param. - Ref. Material" 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_RMMG1_REF TYPE RMMG1_REF.
The RMMG1_REF table consists of various fields, each holding specific information or linking keys about Material Master Maintenance: Initial Param. - Ref. Material data available in SAP. These include WERKS (Reference plant), LGORT (Reference Storage Location), BUKRS (Reference Company Code), BWKEY (Reference valuation area).. 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)
SAP RMMG1_REF 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 |
MATNR | Reference material | REF_MATNR | CHAR | 18 | MARA | MATN1 | MATNR | RMA | MAT1 |
WERKS | Reference plant | REF_WERKS | CHAR | 4 | T001W | WERKS | RWK | ||
LGORT | Reference Storage Location | REF_LGORT | CHAR | 4 | T001L | LGORT | RLG | ||
BUKRS | Reference Company Code | REF_BUKRS | CHAR | 4 | T001 | BUKRS | RBU | ||
BWKEY | Reference valuation area | REF_BWKEY | CHAR | 4 | T001K | BWKEY | RBK | ||
BWTAR | Reference valuation type | REF_BWTAR | CHAR | 10 | T149D | BWTAR | RBA | ||
VKORG | Reference sales organization | REF_VKORG | CHAR | 4 | TVKO | VKORG | RVK | ||
VTWEG | Reference distribution channel | REF_VTWEG | CHAR | 2 | TVTW | VTWEG | RVT | ||
LGNUM | Reference warehouse number | REF_LGNUM | CHAR | 3 | T300 | LGNUM | RLN | ||
LGTYP | Reference storage type | REF_LGTYP | CHAR | 3 | T301 | LGTYP | RLT | ||
MYKEY | LIFO valuation level | MYKEY | CHAR | 4 | T001Y | MYKEY | MYL | ||
SPRAS | Language Key | SPRAS | LANG | 1 | T002 | ISOLA | SPRAS | SPR | H_T002 |
Key field | Non-key field |
How do I retrieve data from SAP structure RMMG1_REF using ABAP code?
As RMMG1_REF 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 RMMG1_REF as there is no data to select.How to access SAP table RMMG1_REF
Within an ECC or HANA version of SAP you can also view further information about RMMG1_REF 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