RGSGM SAP (Internal Data for Set Variable Maintenance) Structure details
Description: Internal Data for Set Variable Maintenance
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 |
REFGLOBAL | Reference variable | REFGLOBAL | CHAR | 8 | T802G | GLOBAL | |||
GLBTYPESET | Radio button for set variable | GLBTYPESET | CHAR | 1 | RADIOBUTT | ||||
GLBTYPEVAL | Radio button for value variable | GLBTYPEVAL | CHAR | 1 | RADIOBUTT | ||||
UTAB | Table for set | SETTABLE | CHAR | 30 | Assigned to domain | AS4TAB | GLU | ||
GLOBAL | Variable name | GLOBAL | CHAR | 8 | T802G | GLOBAL | GSV | ||
FELD | Field name | SETFLD | CHAR | 30 | Assigned to domain | FDNAME | GSF | ||
VALUE | Default value for a variable | SETVALGLB | CHAR | 24 | SETVAL | ||||
TITLE | Short text for variables | GLBTEXT | CHAR | 30 | TEXT30 | ||||
GLBTYPETXT | Name of set variable type ('Set','Value','Formula') | GLBTYPETXT | CHAR | 30 | GLBTYPETXT | ||||
PARAMID | Set/get parameter for a variable | GLBMEMORID | CHAR | 20 | TPARA | MEMORYID | |||
FIELDTEXT | Short description of a table field (30 characters only) | FIELDTEXT | CHAR | 30 | TEXT30 | ||||
TABLETEXT | Reporting table description | RW_TABTEXT | CHAR | 60 | AS4TEXT | ||||
AUTHGR | Authorization group | AUTHGR | CHAR | 4 | Assigned to domain | BRGRU | |||
INT_VAR | Check box: Internal variable | INT_VARTYP | CHAR | 1 | XFELD | ||||
X_FKT | Radio button for formula | X_FKT | CHAR | 1 | RADIOBUTT | ||||
FKT1 | Formula | M_FORMEL | CHAR | 50 | M_FORMEL | ||||
FKT2 | Formula | M_FORMEL | CHAR | 50 | M_FORMEL | ||||
FKT3 | Formula | M_FORMEL | CHAR | 50 | M_FORMEL | ||||
FKT4 | Formula | M_FORMEL | CHAR | 50 | M_FORMEL | ||||
FKT5 | Formula | M_FORMEL | CHAR | 50 | M_FORMEL | ||||
L_FKT | Long formula text | L_FORMEL | CHAR | 250 | L_FORMEL | ||||
X_PARAMID | Use check box for parameter ID | X_PARAMID | CHAR | 1 | XFELD | ||||
TEXTVAL | Default value | TEXTVAL | CHAR | 30 | TEXT30 | ||||
TEXTSET | Default set | TEXTSET | CHAR | 30 | TEXT30 | ||||
TEXTVAR | Variable description | TEXTVAR | CHAR | 30 | TEXT30 | ||||
SVALUE | Default set | SVALUE | CHAR | 24 | SETNAME | ||||
DEFSETID | Set identification of the default set of a set variable | SETIDDFLT | CHAR | 34 | SETID | ||||
VAR_EXIT | Variables: Formula exit name | VAR_EXIT | CHAR | 50 | VAR_EXIT | ||||
GLBTYPEALL | Radio button for all values default set | GLBTYPEALL | CHAR | 1 | RADIOBUTT | ||||
GLBTYPEDEF | Radio button for default set | GLBTYPEDEF | CHAR | 1 | RADIOBUTT | ||||
GLBGRPONLY | Replace set variables only with CO groups | GLBGRPONLY | CHAR | 1 | RADIOBUTT | ||||
GLBSETONLY | Only set entry for set variables | GLBSETONLY | CHAR | 1 | RADIOBUTT | ||||
GLBVALONLY | Only value entry for set variables | GLBVALONLY | CHAR | 1 | RADIOBUTT | ||||
GLBSETNVAL | Set and value entry for set variables | GLBSETNVAL | CHAR | 1 | RADIOBUTT | ||||
PARAM1 | Parameters for an user exit | VARPARAM | CHAR | 8 | Assigned to domain | GLOBAL | |||
PARAM2 | Parameters for an user exit | VARPARAM | CHAR | 8 | Assigned to domain | GLOBAL | |||
PARAM3 | Parameters for an user exit | VARPARAM | CHAR | 8 | Assigned to domain | GLOBAL | |||
PARAM4 | Parameters for an user exit | VARPARAM | CHAR | 8 | Assigned to domain | GLOBAL | |||
PARAM5 | Parameters for an user exit | VARPARAM | CHAR | 8 | Assigned to domain | GLOBAL | |||
PARAM6 | Parameters for an user exit | VARPARAM | CHAR | 8 | Assigned to domain | GLOBAL | |||
PARAM7 | Parameters for an user exit | VARPARAM | CHAR | 8 | Assigned to domain | GLOBAL | |||
PARAM8 | Parameters for an user exit | VARPARAM | CHAR | 8 | Assigned to domain | GLOBAL | |||
PARAM9 | Parameters for an user exit | VARPARAM | CHAR | 8 | Assigned to domain | GLOBAL |
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 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