‎2006 Apr 20 7:53 PM
Hi All,
We have a requirement to add a new variable to the TVARV Table
I am able to do it thru SM30.
This variable is used in a variant in a program that runs periodically.
the new variant shd be similar to 1001_CURR_MONTH_START_DATE
now the month and the year shd change based on the fiscal period we are in.
The option I have found is to write a program to update the TVARV table and run this program before running the actual FI program.
But there are other variables that seem to be getting updated and I did not find any programs updating them,
So is there some other way that I can update the date in the variable other than the program approach
Appreciate your help.
Thank you
Lalitha
‎2006 Apr 20 8:47 PM
Best option is through program update , but one thing you need to do is change the TVARV table technical settings. you need to switch off the buffer i.e. select buffering not allowed. Then write a FM or program to update the entry.
Ex:
update tvarv
set low = value " your value
where name = name " your variable name
and type = 'P' " or 'S'
and numb = 0.
I am using the same solution ..
Regards,
Sunil