Sunday, March 20, 2011

Table TVARVC


TVARVC is a standard SAP R/3 table that has been present since ECC.The earlier version of this was TVARV.The table is very useful in many ways and its specially used in case of creating dynamic variants.
With transaction STVARV you can maintain the entries in table TAVRVC for the current client (display/change/add). Transaction STVARVC allows you only to maintain the entries in client 000.One could also maintain the values through transaction SM30.SAP has suggested to move the table contents of TVARV to TVARVC , once you have upgraded to ECC.However, the support to TVARV variables is also provided in ECC.
A conversion report RSTVARVCLIENTDEPENDENT is provided, which writes TVARV entries in TVARVC in all clients
One of the striking differences compared to TVARV with TVARVC is that TVARVC has two extra fields for capturing MANDT & CLIE_INDEP.Both are system related fields. This was not there for TVARV.

TVARVC is especially useful in background processing. You do not have to create a new variant for each minor change of values or repeatedly change an existing variant, since you only have to change the values stored in TVARVC.

Creating the dynamic variant

.1. First maintain a variable with values in table TVARVC. This can be done from transaction STVARV or if needed STVARVC (for client 000). This variable is then assigned to the variant.
2. Create the dynamic variant in the program (SE38).
3. Select the option of taking it from TVARVC as shown in screen and select the value. After this save the variant.

You could also mention whether the variant is to be used only for background processing or not

No comments:

Post a Comment