RMGW2 SAP (Input/Output Fields for Maintaining Structured Materials) Structure details

Dictionary Type: Structure
Description: Input/Output Fields for Maintaining Structured Materials




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




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
SATNRCross-Plant Configurable Material SATNRCHAR18MARAMATN1MATNR
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
IDNRKBOM component IDNRKCHAR18Assigned to domainMATN1MATNR
MAKTSMaterial Description (Short Text) MAKTXCHAR40TEXT40
MAKTHMaterial Description (Short Text) MAKTXCHAR40TEXT40
MAKTPMaterial Description (Short Text) MAKTXCHAR40TEXT40
MEINHAlternative Unit of Measure for Stockkeeping Unit LRMEIUNIT3T006CUNITMEINS
MEINTUnit of Measurement Text (Maximum 10 Characters) MSEHTCHAR10TEXT10
POSTPItem Category (Bill of Material) POSTPCHAR1T418POSTP
KMPMGComponent quantity KMPMGQUAN13(3) MENGV13
KMPMEComponent unit of measure KMPMEUNIT3T006CUNITMEINS
LOTMGComponent quantity KMPMGQUAN13(3) MENGV13
SELKZCheckbox XFELDCHAR1XFELD
RFMATMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
RUNITBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
POSNOBOM Item Number SPOSNCHAR4NUMCVSPOSN
CHNFLChange flag (I_nsert, U_pdate, D_elete, SPACE) WTDYFLGCHAR1CHAR1
RVRELIndicator: item relevant to sales RVRELCHAR1Assigned to domainRVREL
SRTFLID 'Object is selected' W_MRK_SELCHAR1FLAG

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 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!