RPY_PROG SAP (Structure for programs) Structure details
Description: Structure for programs
Structure field list including key, data, relationships and ABAP select examples
RPY_PROG 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 "Structure for programs" 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_RPY_PROG TYPE RPY_PROG.
The RPY_PROG table consists of various fields, each holding specific information or linking keys about Structure for programs data available in SAP. These include PROG_TYPE (Program type), APPL (Application), CODE_LOCK (Source code protection), EDIT_LOCK (Editor lock flag).. 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 RPY_PROG 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 |
PROGNAME | ABAP Program Name | PROGRAMM | CHAR | 40 | Assigned to domain | PROGRAMM | RID | ||
PROG_TYPE | Program type | SUBC | CHAR | 1 | SUBC | ||||
APPL | Application | RDIR_APPL | CHAR | 1 | Assigned to domain | PAPPL | |||
CODE_LOCK | Source code protection | SQLX | CHAR | 1 | SYCHAR01 | ||||
EDIT_LOCK | Editor lock flag | EDTX | CHAR | 1 | RDIR_FUNC | ||||
UPPLOWCASE | Case-Sensitive | VARCL | CHAR | 1 | SYCHAR01 | ||||
AUTH_GROUP | Authorization Group | SECU | CHAR | 8 | SYCHAR08 | ||||
DBAPPL | Application database | DBAPL | CHAR | 1 | APPL_KUERZ | ||||
DBNAME | Logical database | DBNA | CHAR | 2 | SYCHAR02 | ||||
SELSCREEN | Selection screen version | RDIR_TYPE | CHAR | 3 | SYCHAR03 | ||||
CREAT_USER | Author | CNAM | CHAR | 12 | SYCHAR12 | ||||
CREAT_DATE | Created on | RDIR_CDATE | DATS | 8 | SYDATS | ||||
MOD_USER | Last changed by | UNAM | CHAR | 12 | SYCHAR12 | ||||
MOD_DATE | Changed On | RDIR_UDATE | DATS | 8 | SYDATS | ||||
VERSION | Version number | VERN | CHAR | 6 | SYCHAR06 | ||||
RELEASE | Level | RDIR_LEVL | CHAR | 4 | SYCHAR04 | ||||
STATUS | Status | RDIR_RSTAT | CHAR | 1 | RSTAT | ||||
MANDANT | Client | RMAND | CHAR | 3 | SYCHAR03 | ||||
MASTERLANG | Master Language | RLOAD | LANG | 1 | ISOLA | LANG | |||
FIXP_ARITH | Fixed point arithmetic | FIXPT | CHAR | 1 | RDIR_FUNC | ||||
START_VARI | Start only via variant | SSET | CHAR | 1 | RDIR_FUNC | ||||
AUTO_GENER | Automatically generated program | OCCU | CHAR | 1 | SYCHAR01 |
Key field | Non-key field |
How do I retrieve data from SAP structure RPY_PROG using ABAP code?
As RPY_PROG 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 RPY_PROG as there is no data to select.How to access SAP table RPY_PROG
Within an ECC or HANA version of SAP you can also view further information about RPY_PROG 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