RGSGM SAP (Internal Data for Set Variable Maintenance) Structure details

Dictionary Type: Structure
Description: Internal Data for Set Variable Maintenance




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




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

RGSGM 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 "Internal Data for Set Variable Maintenance" 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_RGSGM TYPE RGSGM.

The RGSGM table consists of various fields, each holding specific information or linking keys about Internal Data for Set Variable Maintenance data available in SAP. These include GLBTYPESET (Radio button for set variable), GLBTYPEVAL (Radio button for value variable), UTAB (Table for set), GLOBAL (Variable name).. 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: Not classified


SAP RGSGM 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
REFGLOBALReference variable REFGLOBALCHAR8T802GGLOBAL
GLBTYPESETRadio button for set variable GLBTYPESETCHAR1RADIOBUTT
GLBTYPEVALRadio button for value variable GLBTYPEVALCHAR1RADIOBUTT
UTABTable for set SETTABLECHAR30Assigned to domainAS4TABGLU
GLOBALVariable name GLOBALCHAR8T802GGLOBALGSV
FELDField name SETFLDCHAR30Assigned to domainFDNAMEGSF
VALUEDefault value for a variable SETVALGLBCHAR24SETVAL
TITLEShort text for variables GLBTEXTCHAR30TEXT30
GLBTYPETXTName of set variable type ('Set','Value','Formula') GLBTYPETXTCHAR30GLBTYPETXT
PARAMIDSet/get parameter for a variable GLBMEMORIDCHAR20TPARAMEMORYID
FIELDTEXTShort description of a table field (30 characters only) FIELDTEXTCHAR30TEXT30
TABLETEXTReporting table description RW_TABTEXTCHAR60AS4TEXT
AUTHGRAuthorization group AUTHGRCHAR4Assigned to domainBRGRU
INT_VARCheck box: Internal variable INT_VARTYPCHAR1XFELD
X_FKTRadio button for formula X_FKTCHAR1RADIOBUTT
FKT1Formula M_FORMELCHAR50M_FORMEL
FKT2Formula M_FORMELCHAR50M_FORMEL
FKT3Formula M_FORMELCHAR50M_FORMEL
FKT4Formula M_FORMELCHAR50M_FORMEL
FKT5Formula M_FORMELCHAR50M_FORMEL
L_FKTLong formula text L_FORMELCHAR250L_FORMEL
X_PARAMIDUse check box for parameter ID X_PARAMIDCHAR1XFELD
TEXTVALDefault value TEXTVALCHAR30TEXT30
TEXTSETDefault set TEXTSETCHAR30TEXT30
TEXTVARVariable description TEXTVARCHAR30TEXT30
SVALUEDefault set SVALUECHAR24SETNAME
DEFSETIDSet identification of the default set of a set variable SETIDDFLTCHAR34SETID
VAR_EXITVariables: Formula exit name VAR_EXITCHAR50VAR_EXIT
GLBTYPEALLRadio button for all values default set GLBTYPEALLCHAR1RADIOBUTT
GLBTYPEDEFRadio button for default set GLBTYPEDEFCHAR1RADIOBUTT
GLBGRPONLYReplace set variables only with CO groups GLBGRPONLYCHAR1RADIOBUTT
GLBSETONLYOnly set entry for set variables GLBSETONLYCHAR1RADIOBUTT
GLBVALONLYOnly value entry for set variables GLBVALONLYCHAR1RADIOBUTT
GLBSETNVALSet and value entry for set variables GLBSETNVALCHAR1RADIOBUTT
PARAM1Parameters for an user exit VARPARAMCHAR8Assigned to domainGLOBAL
PARAM2Parameters for an user exit VARPARAMCHAR8Assigned to domainGLOBAL
PARAM3Parameters for an user exit VARPARAMCHAR8Assigned to domainGLOBAL
PARAM4Parameters for an user exit VARPARAMCHAR8Assigned to domainGLOBAL
PARAM5Parameters for an user exit VARPARAMCHAR8Assigned to domainGLOBAL
PARAM6Parameters for an user exit VARPARAMCHAR8Assigned to domainGLOBAL
PARAM7Parameters for an user exit VARPARAMCHAR8Assigned to domainGLOBAL
PARAM8Parameters for an user exit VARPARAMCHAR8Assigned to domainGLOBAL
PARAM9Parameters for an user exit VARPARAMCHAR8Assigned to domainGLOBAL

Key field Non-key field



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

As RGSGM 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 RGSGM as there is no data to select.

How to access SAP table RGSGM

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