REPOSRC SAP (Report Source Code) Table details
Dictionary Type: Table
Description: Report Source Code
Description: Report Source Code
Table field list including key, data, relationships and ABAP select examples
REPOSRC is a standard SAP Table which is used to store Report Source Code data and is available within R/3 SAP systems depending on the version and release level.
The REPOSRC table consists of various fields, each holding specific information or linking keys about Report Source Code data available in SAP. These include R3STATE (ABAP: Program Status (Active, Saved, Transported...)), SQLX (Source code protection), EDTX (Editor lock flag), DBNA (Logical 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: S - System table, maint. only by SAP, change = modificationDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
SAP REPOSRC table 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 |
PROGNAME | ABAP Program Name | PROGNAME | CHAR | 40 | PROGNAME | ||||
R3STATE | ABAP: Program Status (Active, Saved, Transported...) | R3STATE | CHAR | 1 | R3STATE | ||||
SQLX | Source code protection | SQLX | CHAR | 1 | SYCHAR01 | ||||
EDTX | Editor lock flag | EDTX | CHAR | 1 | RDIR_FUNC | ||||
DBNA | Logical database | DBNA | CHAR | 2 | SYCHAR02 | ||||
CLAS | Program class | CLAS | CHAR | 4 | Assigned to domain | 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 | Created on | RDIR_CDATE | DATS | 8 | SYDATS | ||||
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 | |||
UNAM | Last changed by | UNAM | CHAR | 12 | SYCHAR12 | ||||
UDAT | Changed On | RDIR_UDATE | DATS | 8 | SYDATS | ||||
UTIME | Dictionary: time of last change | DDTIME | TIMS | 6 | DDTIME | ||||
DATALG | ABAP/4: Length of a program component | DATALG | INT4 | 10 | SYBIN4 | ||||
VARCL | Case-Sensitive | VARCL | CHAR | 1 | SYCHAR01 | ||||
DBAPL | Application database | DBAPL | CHAR | 1 | APPL_KUERZ | ||||
FIXPT | Fixed point arithmetic | FIXPT | CHAR | 1 | RDIR_FUNC | ||||
SSET | Start only via variant | SSET | CHAR | 1 | RDIR_FUNC | ||||
SDATE | Standard selection screen generation: Date | RDIR_SDATE | DATS | 8 | SYDATS | ||||
STIME | Standard selection screen generation: Time | RDIR_STIME | CHAR | 6 | SYCHAR06 | ||||
IDATE | Selection screen generation: Date | RDIR_IDATE | DATS | 8 | SYDATS | ||||
ITIME | Selection screen generation: Time | RDIR_ITIME | CHAR | 6 | SYCHAR06 | ||||
LDBNAME | LDB name | LDBNAM | CHAR | 20 | LDBNAME | LDB | SH_LDBD | ||
UCCHECK | Flag, if unicode check was performed | UCCHECK | CHAR | 1 | SYCHAR01 | ||||
MAXLINELN | Maximum Length of Source Code Line | MAXLINELN | INT2 | 5 | SYBIN2 | ||||
DATA | Source Code (Compressed) | 0 |
Key field | Non-key field |
How do I retrieve data from SAP table REPOSRC using ABAP code
The following ABAP code Example will allow you to do a basic selection on REPOSRC to SELECT all data from the tableDATA: WA_REPOSRC TYPE REPOSRC.
SELECT SINGLE *
FROM REPOSRC
INTO CORRESPONDING FIELDS OF WA_REPOSRC
WHERE...
How to access SAP table REPOSRC
Within an ECC or HANA version of SAP you can also view further information about REPOSRC 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