Ansicht
Dokumentation

TVARV-0001 - Variants: Maintain Selection Variables

TVARV-0001 - Variants: Maintain Selection Variables

TXBHW - Original Tax Base Amount in Local Currency   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

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.

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.

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.

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.

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.

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.

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.

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.

Table TVARV is delivered empty.






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 3969 Date: 20240606 Time: 044533     sap01-206 ( 79 ms )