SAP ABAP IMG Activity TVARV-0001 (Variants: Maintain Selection Variables)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-ABA-TO (Application Component) Logical DB, Selection Screens, Selection Variants
     SLDBV (Package) Selection Screens, Variants, Logical Databases
IMG Activity
ID TVARV-0001 Variants: Maintain Selection Variables  
Transaction Code S_BIN_67000023   IMG Activity: TVARV-0001 
Created on 19981207    
Customizing Attributes TVARV-0001   Variants: Maintain selection variables 
Customizing Activity TVARV-0001   Variants: Maintain selection variables 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name TVARV-0001    

Function

Fixed values for selection variables are stored in table TVARV. The name of the variable is entered into the selection screen variant and a value is inserted from table TVARV at runtime. This allows multiple variants to use the selection variables, while at the same time allowing for central maintenance of their values.

Using fixed values from table TVARV is especially useful in background processing. You do not need to create a new variant or alter an existing variant for every change of value; you simply change the values affected in table TVARV instead.

Be aware that any changes you make to the values in table TVARV will affect all variants that use these variables.

For more information, refer to the ABAP Workbench documentation on maintaining variants.

Branching to Table Maintenance

Executing this activity calls transaction STVARV where you can maintain the table entries for table TVARV. This transaction can also be called outside of IMG for maintaining table TVARV.

Functions

When you call this transaction, it is initially displayed in display mode. Choose Display <-> Change to branch to change mode.

The entire contents of TVARV are displayed on two tabstrips according to the type of table entries they are (SELECT-OPTIONS or PARAMETERS).

Both the name that identifies the selection variable in variants and its value are displayed. The entire RANGES table (name, interval limits, and select options) is displayed for variables of type SELECT-OPTION. The display layout corresponds to its appearance on the selection screen.

You can create new variable values, change existing values, delete entries, and copy variables.

You may also branch to individual maintenance where you can maintain individual variables.

Displaying Variable Values

Variable values are displayed directly. With selection options containing complex selections, you can display all selections existing for a specific variable by choosing the green arrow (Multiple selection (active)). If no complex selections for a variable exist, the arrow remains white in color.

Changing Variable Values

Select the entry that you want to make changes to and choose Change. The line is now ready for entry. You may enter complex selections for selection options by choosing the arrow pushbutton (Multiple selection).

If you want your variables to be case sensitive, select the appropriate checkbox. Save saves all entries and includes them in a transport request.

Adding Variable Values

In order to create a new variable with values in this table, choose Create.

Enter a name and value(s) for your new variable and save them.

Do not forget to enter the names of new variables in the variants you want to use them in.

Copying Variable Values

In order to copy a variable, select the entry and choose Copy.

A dialog box appears where you can enter a name for your copy. Use the Copy function in this window to save the new variable.

You can now make any changes to the variable you want, however, do not forget to enter the new name of the variable in the variants you want to use it in.

Deleting Variables

In order to delete a variable, select the entry and choose Delete.

A dialog box appears where you can either confirm or cancel the deletion process.

You can also delete variables in individual maintenance.

Requirements

Standard settings

Table TVARV is delivered empty.

Recommendation

Activities

Further notes

Business Attributes
ASAP Roadmap ID 201   Make global settings 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG TVARV-0001 0 HLB0009009 Basis Components 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
STVARV T - Individual transaction object STVARV  
History
Last changed by/on SAP  19981207 
SAP Release Created in