Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

TVARV Table Variable Update

Former Member
0 Likes
458

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

1 REPLY 1
Read only

Former Member
0 Likes
334

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