Dynamic Variant using the table TVARV

By Joyjit Ghosh, IBM India

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.

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image