Dynamic Variant Using The Table TVARV
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.