Creating Table Variables in Table TVARV
There are two ways of assigning TVARV entries to a selection variant. You can either select existing entries, or create new entries in the table.
Procedure
On the variant maintenance initial screen, enter the required variant.
Select the Attributes option.
Choose Change.
The
attributes screen appears.
On the attributes screen, select the Selection variable column.
Choose Selection variables.
The selection variables screen appears. You can now assign an entry from table TVARV to the selection variant that you have chosen.
Choose the possible entries help next to the Variable name field. A list appears, from which you can select an entry. If you do this, jump to step 11 of the procedure.
To display the values of a variable in the list, select the variable and chose Values. The system displays the corresponding values from table TVARV.
To create a new variable, enter a name and choose Create.
The Maintain Table TVARV screen appears.
Enter the name of the variable and choose Create.
A dialog box appears, in which you can enter the values for the variant.
Enter the parameter value or the value for selection criteria.
Choose Save.
You return to the Maintain Table TVARV screen.
Go back to the selection variable screen.
The system automatically enters the name of the variable in the right field.
Choose Save.
You return to the attributes screen.
Save the attributes.
Result
In this procedure, you have created a new variable in the table TVARV, maintained its values, and assigned the variable to a selection variant. The new variable appears when you next call the F4 help.