VARI SAP (ABAP/4: Variant storage (similar to INDX)) Table details

Dictionary Type: Table
Description: ABAP/4: Variant storage (similar to INDX)




ABAP Code to SELECT data from VARI
Related tables to VARI
Access table VARI




Table field list including key, data, relationships and ABAP select examples

VARI is a standard SAP Table which is used to store ABAP/4: Variant storage (similar to INDX) data and is available within R/3 SAP systems depending on the version and release level.

The VARI table consists of various fields, each holding specific information or linking keys about ABAP/4: Variant storage (similar to INDX) data available in SAP. These include RELID (Relation ID), REPORT (ABAP: Program Name in Variant Key), VARIANT (ABAP: Name of variant (without program name)), SRTF2 (Next record counter in EXPORT/IMPORT data tables).. 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 objects
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified


SAP VARI 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
MANDTClient MANDTCLNT3Assigned to domainMANDT
RELIDRelation ID RELIDCHAR2RELID
REPORTABAP: Program Name in Variant Key VARI_REPRTCHAR40Assigned to domainPROGRAMM
VARIANTABAP: Name of variant (without program name) VARIANTCHAR14Assigned to domainVARIANT
SRTF2Next record counter in EXPORT/IMPORT data tables INDX_SRTF2INT410SYBIN4
VDATEABAP: Date of a variant VARI_VDATEDATS8SYDATS
VTIMEABAP: Time of a variant VARI_VTIMETIMS6SYTIME
VERNRABAP: Program version number TRDIR_VERNCHAR6SYCHAR06
CLUSTRBIN2 data element for SYST SYBIN2INT25SYBIN2
CLUSTDContents of variant VARILRAWLRAW2886VARILRAW

Key field Non-key field



How do I retrieve data from SAP table VARI using ABAP code

The following ABAP code Example will allow you to do a basic selection on VARI to SELECT all data from the table
DATA: WA_VARI TYPE VARI.

SELECT SINGLE *
FROM VARI
INTO CORRESPONDING FIELDS OF WA_VARI
WHERE...

How to access SAP table VARI

Within an ECC or HANA version of SAP you can also view further information about VARI and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!