R2PRO SAP (Transport structure for TRDIR (to R/2)) Structure details
Description: Transport structure for TRDIR (to R/2)
Structure field list including key, data, relationships and ABAP select examples
R2PRO 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 "Transport structure for TRDIR (to R/2)" 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_R2PRO TYPE R2PRO.
The R2PRO table consists of various fields, each holding specific information or linking keys about Transport structure for TRDIR (to R/2) data available in SAP. These include SQLX (Source code protection), EDTX (Editor lock flag), VARCL (Case-Sensitive), DBAPL (Application database).. 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 R2PRO 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 |
NAME | ABAP Program Name | PROGRAMM | CHAR | 40 | Assigned to domain | PROGRAMM | RID | ||
SQLX | Source code protection | SQLX | CHAR | 1 | SYCHAR01 | ||||
EDTX | Editor lock flag | EDTX | CHAR | 1 | RDIR_FUNC | ||||
VARCL | Case-Sensitive | VARCL | CHAR | 1 | SYCHAR01 | ||||
DBAPL | Application database | DBAPL | CHAR | 1 | APPL_KUERZ | ||||
DBNA | Logical database | DBNA | CHAR | 2 | SYCHAR02 | ||||
CLAS | Program class | CLAS | CHAR | 4 | TRCL | CLAS | |||
TYPE | Selection screen version | RDIR_TYPE | CHAR | 3 | SYCHAR03 | ||||
OCCURS | Automatically generated program | OCCU | CHAR | 1 | SYCHAR01 | ||||
SUBC | Program type | SUBC | CHAR | 1 | SUBC | ||||
APPL | Application | RDIR_APPL | CHAR | 1 | Assigned to domain | PAPPL | |||
SECU | Authorization Group | SECU | CHAR | 8 | SYCHAR08 | ||||
CNAM | Author | CNAM | CHAR | 12 | SYCHAR12 | ||||
CDAT | 6-digit date for transporting objects into the R/2 system | DATER2 | CHAR | 6 | DATER2 | ||||
UNAM | Last changed by | UNAM | CHAR | 12 | SYCHAR12 | ||||
UDAT | 6-digit date for transporting objects into the R/2 system | DATER2 | CHAR | 6 | DATER2 | ||||
VERN | Version number | VERN | CHAR | 6 | SYCHAR06 | ||||
LEVL | Level | RDIR_LEVL | CHAR | 4 | SYCHAR04 | ||||
RSTAT | Status | RDIR_RSTAT | CHAR | 1 | RSTAT | ||||
RMAND | Client | RMAND | CHAR | 3 | SYCHAR03 | ||||
RLOAD | Master Language | RLOAD | LANG | 1 | ISOLA | LANG | |||
FIXPT | Fixed point arithmetic | FIXPT | CHAR | 1 | RDIR_FUNC | ||||
SSET | Start only via variant | SSET | CHAR | 1 | RDIR_FUNC | ||||
RES4 | Data element for transport structure (R/2) | RES4 | CHAR | 4 | RES4 | ||||
SDATE | 6-digit date for transporting objects into the R/2 system | DATER2 | CHAR | 6 | DATER2 | ||||
STIME | Standard selection screen generation: Time | RDIR_STIME | CHAR | 6 | SYCHAR06 | ||||
IDATE | 6-digit date for transporting objects into the R/2 system | DATER2 | CHAR | 6 | DATER2 | ||||
ITIME | Selection screen generation: Time | RDIR_ITIME | CHAR | 6 | SYCHAR06 |
Key field | Non-key field |
How do I retrieve data from SAP structure R2PRO using ABAP code?
As R2PRO 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 R2PRO as there is no data to select.How to access SAP table R2PRO
Within an ECC or HANA version of SAP you can also view further information about R2PRO 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