‎2006 Dec 29 5:41 AM
Hi,
Could anybody tel me that which database table is used by SAP to store variant data?
I want to change the variant details of a particular variant each time I run the program. I do not want to change the variant rather I want to change the data of the variant. So I need to know, which database should I try to modify to change my saved data in Variant.
Thanks & regards,
Surya
‎2006 Dec 29 5:44 AM
‎2006 Dec 29 5:50 AM
Eswar, VARID stores information about variant itself and does not stores data saved by user while creating variant. Could you please help me finding the exact table where the data is getting stored.
Regards,
Surya
‎2006 Dec 29 5:48 AM
Hi,
you can try
VARI
VARID
VARIT
VARICON
VARICONCI
VARIDESC
Regards,
pankaj singh
mark all helpful answers
‎2006 Dec 29 5:51 AM
Hi Surya,
The variant information is stored in the table VARID(Variant directory).
But the variant detials can be changed by you everytime you run the program by just modifying the values on the selection screen itself. You don't need to modify the variant table for the same.
Regards,
Chetan.
PS:Reward points if this helps.
‎2006 Dec 29 6:00 AM
I didn't tell what exactly I want to do.
I want to run a t-code with a fixed variant name. Now the program requirement is to get the time and date when the t-code/program was last run. I have taken parameters for both time and date on selection screen. I will save variant specifying some initial value for this date and time. Now each time the program runs, I will update the data in database to change the date and time so that I can find out the last date and time the program/t-code was run.
This is the best way i think to know the last date and time a program was run. My intension is to avoids creating a Z table to store this information.
I hope you can understand the intension for finding out the table name where the data is getting stored for a particular variant. I you have some idea, where can this data would be, please help me.
Thanks & Regards,
Surya
‎2006 Dec 29 6:02 AM
Hi Surya
Please try using FM: <b>RS_VARIANT_VALUES_TECH_DATA</b>. I guess this should help you.
Just checked your reply, a combination of above FM and <b>RS_CHANGE_CREATED_VARIANT</b> should do the task. Please check.
Kind Regards
Eswar
‎2006 Dec 29 5:20 PM
You can also use FM RS_VARIANT_SCREEN to create, change and delete the values in a variant.
Thanks,
Santosh