0% found this document useful (0 votes)
79 views3 pages

Dynamic Variant Using The Table TVARV

Dynamic variants allow selection options to be populated dynamically from a table variable. To create one: 1) Maintain a variable with values in table TVARV. 2) Create the variant, selecting the "Selection variable" radio button and linking to the table variable. 3) The variant will now populate selection options dynamically from the linked table when selected.

Uploaded by

SOUMEN DAS
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
79 views3 pages

Dynamic Variant Using The Table TVARV

Dynamic variants allow selection options to be populated dynamically from a table variable. To create one: 1) Maintain a variable with values in table TVARV. 2) Create the variant, selecting the "Selection variable" radio button and linking to the table variable. 3) The variant will now populate selection options dynamically from the linked table when selected.

Uploaded by

SOUMEN DAS
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

Dynamic Variant using the table TVARV

Let us say for the given selection screen we need to create a dynamic variant.

 
Step 1. First maintain a variable with values in table TVARV. This can be done from transaction STVARV. Later this
variable needs to be assigned to the variant.

Step 2. Next create the dynamic variant by pressing the SAVE button on the selection screen.

 
In the next screen (ABAP: Save as Variant) enter Variant name, description, set the ‘Selection variable’ (L) radio
button and press ‘Selection variable’ push button.

 
In the next screen check that green traffic light is on under column T (T: Table variable from TVARV). Then click on
the button.
 
Now from the popup select the variable name created in Step1 and save the variant.

Step 3. Select the variant from Variant catalog.


 
It will populate ‘Airline’ select-option with the values maintained in TVARV table against variable ZAIRLINE_CODE.

You might also like