RPY_VIFD SAP (Structure of view: Fields) Structure details
Description: Structure of view: Fields
Structure field list including key, data, relationships and ABAP select examples
RPY_VIFD 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 of view: Fields" 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_VIFD TYPE RPY_VIFD.
The RPY_VIFD table consists of various fields, each holding specific information or linking keys about Structure of view: Fields data available in SAP. These include VIEWFIELD (ABAP Dictionary: Name of view field), VIFIELDPOS (Position in a repetition group), TABLNAME (Table Name), FIELDNAME (Field 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: W - System table, contents transportable via separate TR objectsDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
SAP RPY_VIFD 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 |
VIEWNAME | Name of SAP table view | VIEWNAME | CHAR | 30 | Assigned to domain | VIEWNAME | DVI | ||
VIEWFIELD | ABAP Dictionary: Name of view field | VIEWFIELD | CHAR | 30 | Assigned to domain | FDNAME | |||
VIFIELDPOS | Position in a repetition group | MCPOS | NUMC | 4 | AS4POS | ||||
TABLNAME | Table Name | TABNAME | CHAR | 30 | Assigned to domain | AS4TAB | DTB | ||
FIELDNAME | Field Name | FIELDNAME | CHAR | 30 | Assigned to domain | FDNAME | DFD | ||
KEYFLAG | Identifies a key field of a table | KEYFLAG | CHAR | 1 | KEYFLAG | ||||
DTELNAME | Data element (semantic domain) | ROLLNAME | CHAR | 30 | Assigned to domain | ROLLNAME | ROL | DD_DTEL | |
DTELCHANGE | Indicator for change to data element | ROLLCHANGE | CHAR | 1 | DDFLAG | ||||
READONLY | Maintenance attribute for view field | VFLDROFLAG | CHAR | 1 | VFLDRDONLY | ||||
ENQMODE | Lock mode | ENQMODE | CHAR | 1 | ENQMODE | ||||
CHECKTABLE | Check table name of the foreign key | CHECKTABLE | CHAR | 30 | Assigned to domain | AS4TAB | |||
CONVEXIT | Conversion Routine | CONVEXIT | CHAR | 5 | CONVEXIT | ||||
DATATYPE | Data Type in ABAP Dictionary | DATATYPE_D | CHAR | 4 | DTYPE | DATATYPE | |||
LANGUAGE | Language Key | DDLANGUAGE | LANG | 1 | Assigned to domain | ISOLA | SPRAS | ||
SHORTTEXT | Explanatory short text | DDTEXT | CHAR | 60 | DDTEXT | ||||
DECIMALS | Number of Decimal Places | DECIMALS | NUMC | 6 | DDLENG | ||||
DOMANAME | Parameter for domain name | DOMANAME | CHAR | 30 | SELPAR | ||||
VALUETAB | Value table | ENTITYTAB | CHAR | 30 | Assigned to domain | AS4TAB | DD_DBTB | ||
LENGTH | Length (No. of Characters) | DDLENG | NUMC | 6 | DDLENG | ||||
HEADLENGTH | Maximum length of heading | HEADLEN | NUMC | 2 | SCRLEN | ||||
INTLENGTH | Internal Length in Bytes | INTLEN | NUMC | 6 | DDLENG | ||||
INTTYPE | ABAP data type (C,D,N,...) | INTTYPE | CHAR | 1 | INTTYPE | ||||
LOGFLAG | Indicator for writing change documents | LOGFLAG | CHAR | 1 | AS4FLAG | ||||
LOWERCASE | Lowercase letters allowed/not allowed | LOWERCASE | CHAR | 1 | AS4FLAG | ||||
PARAMID | Set/Get parameter ID | MEMORYID | CHAR | 20 | Assigned to domain | MEMORYID | |||
OUTPUTLEN | Output Length | OUTPUTLEN | NUMC | 6 | DDLENG | ||||
REFFIELD | Reference field for currency and qty fields | REFFIELD | CHAR | 30 | Assigned to domain | FDNAME | |||
REFTABLE | Table for reference field | REFTABLE | CHAR | 30 | Assigned to domain | AS4TAB | |||
REPTEXT | Heading | REPTEXT | CHAR | 55 | REPTEXT | ||||
DTELNAMEVI | Data element of a view field | ROLLNAMEVI | CHAR | 30 | Assigned to domain | ROLLNAME | |||
SCRLEN_S | Max. length for short field label | SCRLEN_S | NUMC | 2 | SCRLEN | ||||
SCRLEN_M | Max. length for medium field label | SCRLEN_M | NUMC | 2 | SCRLEN | ||||
SCRLEN_L | Max. length for long field label | SCRLEN_L | NUMC | 2 | SCRLEN | ||||
SCRTEXT_S | Short Field Label | SCRTEXT_S | CHAR | 10 | SCRTEXT_S | ||||
SCRTEXT_M | Medium Field Label | SCRTEXT_M | CHAR | 20 | SCRTEXT_M | ||||
SCRTEXT_L | Long Field Label | SCRTEXT_L | CHAR | 40 | SCRTEXT_L | ||||
SIGNFLAG | Flag for sign in numerical fields | SIGNFLAG | CHAR | 1 | AS4FLAG | ||||
VALUEEXIST | Existence of fixed values | VALEXI | CHAR | 1 | AS4FLAG |
Key field | Non-key field |
How do I retrieve data from SAP structure RPY_VIFD using ABAP code?
As RPY_VIFD 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_VIFD as there is no data to select.How to access SAP table RPY_VIFD
Within an ECC or HANA version of SAP you can also view further information about RPY_VIFD 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