RMGW2 SAP (Input/Output Fields for Maintaining Structured Materials) Structure details
Description: Input/Output Fields for Maintaining Structured Materials
Structure field list including key, data, relationships and ABAP select examples
RMGW2 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 "Input/Output Fields for Maintaining Structured Materials" 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_RMGW2 TYPE RMGW2.
The RMGW2 table consists of various fields, each holding specific information or linking keys about Input/Output Fields for Maintaining Structured Materials data available in SAP. These include MATNR (Material Number), IDNRK (BOM component), MAKTS (Material Description (Short Text)), MAKTH (Material Description (Short Text)).. 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 RMGW2 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 |
SATNR | Cross-Plant Configurable Material | SATNR | CHAR | 18 | MARA | MATN1 | MATNR | ||
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
IDNRK | BOM component | IDNRK | CHAR | 18 | Assigned to domain | MATN1 | MATNR | ||
MAKTS | Material Description (Short Text) | MAKTX | CHAR | 40 | TEXT40 | ||||
MAKTH | Material Description (Short Text) | MAKTX | CHAR | 40 | TEXT40 | ||||
MAKTP | Material Description (Short Text) | MAKTX | CHAR | 40 | TEXT40 | ||||
MEINH | Alternative Unit of Measure for Stockkeeping Unit | LRMEI | UNIT | 3 | T006 | CUNIT | MEINS | ||
MEINT | Unit of Measurement Text (Maximum 10 Characters) | MSEHT | CHAR | 10 | TEXT10 | ||||
POSTP | Item Category (Bill of Material) | POSTP | CHAR | 1 | T418 | POSTP | |||
KMPMG | Component quantity | KMPMG | QUAN | 13(3) | MENGV13 | ||||
KMPME | Component unit of measure | KMPME | UNIT | 3 | T006 | CUNIT | MEINS | ||
LOTMG | Component quantity | KMPMG | QUAN | 13(3) | MENGV13 | ||||
SELKZ | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
RFMAT | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
RUNIT | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
POSNO | BOM Item Number | SPOSN | CHAR | 4 | NUMCV | SPOSN | |||
CHNFL | Change flag (I_nsert, U_pdate, D_elete, SPACE) | WTDYFLG | CHAR | 1 | CHAR1 | ||||
RVREL | Indicator: item relevant to sales | RVREL | CHAR | 1 | Assigned to domain | RVREL | |||
SRTFL | ID 'Object is selected' | W_MRK_SEL | CHAR | 1 | FLAG |
Key field | Non-key field |
How do I retrieve data from SAP structure RMGW2 using ABAP code?
As RMGW2 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 RMGW2 as there is no data to select.How to access SAP table RMGW2
Within an ECC or HANA version of SAP you can also view further information about RMGW2 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