LVC_S_VARI SAP (Structure for complete information of a variant) Structure details
Description: Structure for complete information of a variant
Structure field list including key, data, relationships and ABAP select examples
LVC_S_VARI 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 complete information of a variant" 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_LVC_S_VARI TYPE LVC_S_VARI.
The LVC_S_VARI table consists of various fields, each holding specific information or linking keys about Structure for complete information of a variant data available in SAP. These include RELID (Region in IMPORT/EXPORT Data Table), REPORT (ABAP Program Name), HANDLE (Mgt. ID for repeated calls from the same program), LOG_GROUP (Logical group 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:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
SAP LVC_S_VARI 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 |
S_VARI | 0 | ||||||||
RELID | Region in IMPORT/EXPORT Data Table | INDX_RELID | CHAR | 2 | SYCHAR02 | ||||
REPORT | ABAP Program Name | REPID | CHAR | 40 | PROGNAME | ||||
HANDLE | Mgt. ID for repeated calls from the same program | SLIS_HANDL | CHAR | 4 | CHAR4 | ||||
LOG_GROUP | Logical group name | SLIS_LOGGR | CHAR | 4 | CHAR4 | ||||
USERNAME | User name for user-specific storage | SLIS_USER | CHAR | 12 | SYCHAR12 | ||||
VARIANT | Layout | SLIS_VARI | CHAR | 12 | SLIS_VARI | ||||
TYPE | Type (internal use) | SLIS_TYPE | CHAR | 1 | CHAR1 | ||||
TEXT | Description for layout | SLIS_VARBZ | CHAR | 40 | TEXT40 | ||||
VERSION | Object version | VERSION | NUMC | 6 | DDPOSITION | ||||
ERFDAT | Display variant creation date | SLIS_ERDAT | DATS | 8 | SYDATS | ||||
ERFTIME | Display variant creation time | SLIS_ERTIM | TIMS | 6 | SYTIME | ||||
ERFNAME | Display variant creator | SLIS_ERNAM | CHAR | 12 | CHAR12 | ||||
AEDAT | Display variant change date | SLIS_AEDAT | DATS | 8 | SYDATS | ||||
AETIME | Display variant change time | SLIS_AETIM | TIMS | 6 | SYTIME | ||||
AENAME | Name of the last user to change the display variant | SLIS_AENAM | CHAR | 12 | CHAR12 | ||||
DEPENDVARS | Dependent variant entry vector | SLIS_DEPVS | CHAR | 10 | CHAR10 | ||||
DEFAULTVAR | Initial layout flag | SLIS_DEF | CHAR | 1 | FLAG | ||||
INACTIVE | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 | ||||
S_LAYO | 0 | ||||||||
ZEBRA | ALV control: Alternating line color (striped) | LVC_ZEBRA | CHAR | 1 | CHAR1 | ||||
EDIT | ALV control: Ready for input | LVC_EDIT | CHAR | 1 | CHAR01 | ||||
EDIT_MODE | ALV control: Edit mode | LVC_EDMO | CHAR | 1 | CHAR01 | ||||
NO_KEYFIX | ALV control: Do not fix key columns | LVC_NOKFIX | CHAR | 1 | CHAR01 | ||||
FRONTEND | ALV control: Excel, Crystal or ALV | LVC_FRONT | CHAR | 1 | CHAR01 | ||||
OBJECT_KEY | Business Document Service: Object key | BDS_TYPEID | CHAR | 70 | SWO_TYPEID | ||||
DOC_ID | Business Document Service: Document ID | BDS_DOCID | CHAR | 42 | CHAR42 | ||||
TEMPLATE | Business Document Service: File names | BDS_FILENA | CHAR | 255 | CHAR255 | ||||
LANGUAGE | Language ID | LANG | LANG | 1 | ISOLA | LANG | |||
GRAPHICS | GUID in 'CHAR' Format in Uppercase | GUID_32 | CHAR | 32 | SYSUUID_C | ||||
SMALLTITLE | ALV control: Title size | LVC_TITSZ | CHAR | 1 | CHAR1 | ||||
NO_HGRIDLN | ALV control: Hide horizontal grid lines | LVC_HGRID | CHAR | 1 | CHAR1 | ||||
NO_VGRIDLN | ALV control: Hide vertical grid lines | LVC_VGRID | CHAR | 1 | CHAR1 | ||||
NO_HEADERS | ALV control: Hide column headings | LVC_HEADS | CHAR | 1 | CHAR1 | ||||
NO_MERGING | ALV control: Disable cell merging | LVC_MERGE | CHAR | 1 | CHAR1 | ||||
CWIDTH_OPT | ALV control: Optimize column width | LVC_CWO | CHAR | 1 | CHAR1 | ||||
TOTALS_BEF | ALV control: Totals output before individual records | LVC_TOTBEF | CHAR | 1 | CHAR1 | ||||
NO_TOTARR | Character Field Length 1 | CHAR01 | CHAR | 1 | CHAR1 | ||||
NO_TOTEXP | Character Field Length 1 | CHAR01 | CHAR | 1 | CHAR1 | ||||
NO_ROWMOVE | Character Field Length 1 | CHAR01 | CHAR | 1 | CHAR1 | ||||
NO_ROWINS | Character Field Length 1 | CHAR01 | CHAR | 1 | CHAR1 | ||||
NO_COLEXPD | Character Field Length 1 | CHAR01 | CHAR | 1 | CHAR1 | ||||
NO_F4 | Character Field Length 1 | CHAR01 | CHAR | 1 | CHAR1 | ||||
COUNTFNAME | ALV control: Field name of internal table field | LVC_FNAME | CHAR | 30 | CHAR30 | ||||
COL_OPT | Character Field Length 1 | CHAR01 | CHAR | 1 | CHAR1 | ||||
VAL_DATA | Character Field Length 1 | CHAR01 | CHAR | 1 | CHAR1 | ||||
BLOB_SCOPE | Identifier if BLOB is from SAP or Customer | SALV_BS_BLOB_SCOPE | CHAR | 1 | SALV_BS_BLOB_SCOPE | ||||
BLOB_FLAVOUR | Key Field for BLOB Store in SALV_BS_BLOB_... | SALV_BS_BLOB_FLAVOUR | CHAR | 6 | SALV_BS_BLOB_FLAVOUR | ||||
BLOB_NAME | Name for BLOB Store in SALV_BS_BLOB_... | SALV_BS_BLOB_NAME | CHAR | 24 | SALV_BS_BLOB_NAME | ||||
BLOB_KEY | Key Field for BLOB Storage | SLIS_BLOB_KEY | CHAR | 10 | SLIS_BLOB_KEY | ||||
BLOB_TYPE | ID from ALV Layout for BLOB Display Mode | SLIS_BLOB_TYPE | CHAR | 1 | SLIS_BLOB_TYPE | ||||
STYLEFNAME | ALV control: Field name of internal table field | LVC_FNAME | CHAR | 30 | CHAR30 | ||||
NO_ROWMARK | ALV control: Disable row selections | LVC_ROWMK | CHAR | 1 | CHAR1 | ||||
NO_TOOLBAR | ALV control: Hide toolbar | LVC_TOOLB | CHAR | 1 | CHAR1 | ||||
GRID_TITLE | ALV Control: Title bar text | LVC_TITLE | CHAR | 70 | TEXT70 | ||||
SEL_MODE | ALV control: SelectionMode | LVC_LIBOX | CHAR | 1 | CHAR1 | ||||
BOX_FNAME | ALV control: Field name of internal table field | LVC_FNAME | CHAR | 30 | CHAR30 | ||||
SGL_CLK_HD | ALV control: SingleClick on column header | LVC_SGLCLH | CHAR | 1 | |||||
NO_TOTLINE | ALV control: Do not output totals line | LVC_NOTOTL | CHAR | 1 | CHAR1 | ||||
NUMC_TOTAL | ALV control: Disallow NUMC field summation | LVC_NUMCTO | CHAR | 1 | CHAR1 | ||||
NO_UTSPLIT | ALV control: Split totals lines by unit | LVC_UNITSP | CHAR | 1 | CHAR1 | ||||
EXCP_FNAME | ALV control: Field name with exception coding | LVC_EXFNM | CHAR | 30 | CHAR30 | ||||
EXCP_ROLLN | ALV control: Data element for exception documentation | LVC_EXROL | CHAR | 30 | ROLLNAME | ||||
EXCP_CONDS | ALV control: Aggregate exceptions | LVC_EXCON | CHAR | 1 | CHAR1 | ||||
EXCP_LED | ALV control: Exception as LED | LVC_EXLED | CHAR | 1 | CHAR1 | ||||
EXCP_GROUP | ALV Control: Exception Group | LVC_EXGRP | CHAR | 1 | LVC_EXGRP | ||||
DETAILINIT | ALV control: Display initial values on detail screen | LVC_DETINI | CHAR | 1 | CHAR1 | ||||
DETAILTITL | ALV control: Title bar of detail screen | LVC_DETTIT | CHAR | 60 | CUA_TIT_TX | ||||
KEYHOT | ALV control: Key columns as hotspot | LVC_KEYHOT | CHAR | 1 | CHAR1 | ||||
NO_AUTHOR | ALV control: Do not perform ALV standard authority check | LVC_NOAUTH | CHAR | 1 | CHAR01 | ||||
XIFUNCKEY | SAP Query (S): Name of additional function | AQS_XIKEY | CHAR | 30 | AQS_C30K | ||||
XIDIRECT | General Flag | FLAG | CHAR | 1 | FLAG | ||||
S_DRAGDROP | 0 | ||||||||
CNTR_DDID | ALV control: Drag&Drop handle for DragDrop object | LVC_DDID | INT4 | 10 | |||||
GRID_DDID | ALV control: Drag&Drop handle for DragDrop object | LVC_DDID | INT4 | 10 | |||||
COL_DDID | ALV control: Drag&Drop handle for DragDrop object | LVC_DDID | INT4 | 10 | |||||
ROW_DDID | ALV control: Drag&Drop handle for DragDrop object | LVC_DDID | INT4 | 10 | |||||
FIELDNAME | ALV control: Field name of internal table field | LVC_FNAME | CHAR | 30 | CHAR30 | ||||
INFO_FNAME | ALV control: Field name with simple row color coding | LVC_CIFNM | CHAR | 30 | CHAR30 | ||||
CTAB_FNAME | ALV control: Field name with complex cell color coding | LVC_CTFNM | CHAR | 30 | CHAR30 | ||||
WEBLOOK | ALV control: Web look | LVC_LOOK | CHAR | 10 | CHAR10 | ||||
WEBSTYLE | ALV control: Style | LVC_STYLE | RAW | 4 | HEX4 | ||||
WEBROWS | ALV control: Number of lines to be displayed in the Web | LVC_WEBROW | INT4 | 10 | |||||
WEBXWIDTH | Natural Number | INT4 | INT4 | 10 | INT4 | ||||
WEBXHEIGHT | Natural Number | INT4 | INT4 | 10 | INT4 | ||||
T_FCAT | 0 | ||||||||
T_SORT | 0 | ||||||||
T_FILT | 0 |
Key field | Non-key field |
How do I retrieve data from SAP structure LVC_S_VARI using ABAP code?
As LVC_S_VARI 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 LVC_S_VARI as there is no data to select.How to access SAP table LVC_S_VARI
Within an ECC or HANA version of SAP you can also view further information about LVC_S_VARI 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