RRVR01 SAP (Control of variable replacement) Structure details
Description: Control of variable replacement
Structure field list including key, data, relationships and ABAP select examples
RRVR01 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 "Control of variable replacement" 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_RRVR01 TYPE RRVR01.
The RRVR01 table consists of various fields, each holding specific information or linking keys about Control of variable replacement data available in SAP. These include VRNID (ID of an Entry in the VREP), VNAM (Name (ID) of a Report Variable), VARTYP (Type of a Report Variable), VPROCTP (Processing type for query variables).. 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 (Deep)
SAP RRVR01 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 |
VRNID | ID of an Entry in the VREP | RRVRNID | NUMC | 4 | NUMC4 | ||||
VNAM | Name (ID) of a Report Variable | RSZVNAM | CHAR | 30 | RSZVNAM | ||||
VARTYP | Type of a Report Variable | RSZVARTYP | NUMC | 1 | RSZVARTYP | ||||
VPROCTP | Processing type for query variables | RSZVPROCTP | NUMC | 1 | RSZVPROCTP | ||||
VPARSEL | Parameter Selection: Single Value, Interval, Selection Opt. | RSZVPARSEL | CHAR | 1 | RSZVPARSEL | ||||
VARINPUT | Variable is ready for input | RSZINPUT | CHAR | 1 | BOOLE | ||||
DYNCHANGE | Variable Can Be Changed During Query Navigation | RSZDYNCHANGE | CHAR | 1 | RSBOOL | ||||
ENTRYTP | Entry required | RSRENTRYTP | NUMC | 1 | RSRENTRYTP | ||||
CMPSTA | Compound status | RSCMPSTA | CHAR | 1 | RSCMPSTA | ||||
CMP_SUPPORT | Variable can also process compounded values | RSZCMPSUP | CHAR | 1 | XFELD | ||||
SIGN | SIGN field in creation of SELECT-OPTIONS tables | RALDB_SIGN | CHAR | 1 | RALDB_SIGN | ||||
OPT | Operator in Select Options and other Expressions | RSZ_OPERATOR | CHAR | 2 | RSZ_OPERATOR_DOMAIN | ||||
LOW | Dim: Field for a User-Defined Characteristic Value | RSCHAVL | SSTR | 1333 | RSCHAVL | ||||
HIGH | Dim: Field for a User-Defined Characteristic Value | RSCHAVL | SSTR | 1333 | RSCHAVL | ||||
SIDLOW | Master data ID | RSSID | INT4 | 10 | RSSID | ||||
SIDHIGH | Master data ID | RSSID | INT4 | 10 | RSSID | ||||
LOWFLAG | Flag for 'typing' an entry | RSZTYPEFLAG | NUMC | 1 | RSZTYPEFLAG | ||||
HIGHFLAG | Flag for 'typing' an entry | RSZTYPEFLAG | NUMC | 1 | RSZTYPEFLAG | ||||
KEYFL | Select according to key | RRKEYFL | CHAR | 1 | CHAR1 | ||||
SORTKEY | Natural Number | INT4 | INT4 | 10 | INT4 | ||||
CHANMID | Master data ID | RSSID | INT4 | 10 | RSSID | ||||
NOSIDFL | No SID necessary | RRNOSID | CHAR | 1 | RSBOOL | ||||
ARTIFICAL | BW: Help variable | RRARTIFIC | CHAR | 1 | BOOLE | ||||
SPDEP | This Entry Influences the SP | RRSPDEP | CHAR | 1 | RS_BOOL | ||||
REFVRNID | Internal ID referenced to other table | RRID_NUMC4 | NUMC | 4 | NUMC4 | ||||
CMPID | ID for Compounding Information in the VREP_CMP | RRCMPID | NUMC | 4 | NUMC4 | ||||
CMPINFO | Compounding depth wrt length of the constants | RRCMPANZ | INT4 | 10 | INT4 | ||||
VSHIFT | Shift of the variable (&VAR+n) | RRVSHIFT | INT4 | 10 | INT4 | ||||
SHID | Internal ID for linking to a hierarchy | RRHID | INT4 | 10 | INT4 | ||||
SELID | BW: Key field for hash access | RRHASHKEY | NUMC | 6 | NUMC6 | ||||
SELLHKZ | Upper or lower limit | RRLHKZ | CHAR | 1 | CHAR1 | ||||
TARGUID | UUID in compressed form | SYSUUID_25 | CHAR | 25 | SYSUUID_25 | ||||
TARGIND | Index of table LRECH | RRLRECHIND | INT4 | 10 | INT4 | ||||
FLAGLH | Replacement with from or to value | RSZFLAGLH | NUMC | 1 | RSZFLAGLH | ||||
FLAGR | Variable Replacement | RSZFLAGR | NUMC | 1 | RSZFLAGR | ||||
FOFFSET | Offset start | RSZFOFFSET | NUMC | 4 | NUMC4 | ||||
FLENGTH | Offset length of a field | RSZFLENGTH | NUMC | 4 | NUMC4 | ||||
ATTRINMID | Internal ID of the CHANM | RRCHANMID | INT4 | 10 | RSSID | ||||
VALUE | Decimal Float Value | RSROA_DF | D34D | 31(9) | |||||
RANGE | 0 |
Key field | Non-key field |
How do I retrieve data from SAP structure RRVR01 using ABAP code?
As RRVR01 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 RRVR01 as there is no data to select.How to access SAP table RRVR01
Within an ECC or HANA version of SAP you can also view further information about RRVR01 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