‎2007 Oct 12 7:59 PM
Hi Experts:
What is the Tcode to maintain Variant Variables in R/3.
Thanks
Aaon
‎2007 Oct 12 8:43 PM
Hi:
The resaon I need it is because whenever the program is executed weekly or monthly, I would like the lower limit to remain fixed (that is no problem), and the upper limit to be the current date.
Thanks for your input
Aaon
‎2007 Oct 12 8:01 PM
Hi,
Please try transaction SM30 with table TVARV.
Regards,
Ferry Lianto
‎2007 Oct 12 8:01 PM
I think it is STVARV..
If not check for tvarv in SE93 , you will find it.
Thanks,
Srihari
‎2007 Oct 12 8:19 PM
Thanks a lot for the quick response; I used SM30, table TVARVC.
In the Selection Options, I am trying to have the upper limit to be the present date or sy-date
Thanks again
‎2007 Oct 12 8:28 PM
Hey Aaon,
Good to know you were able create the variant parameter successfully.
Please close the thread by marking it 'Question answered'.
Regards,
Srihari
‎2007 Oct 12 8:33 PM
Hi:
In the Selection Options, I am trying to have the upper limit to be the present date or sy-date, is there a way to do this?
Thanks again
Aaon
‎2007 Oct 12 8:40 PM
I am not too sure if you can do that.
But if you do need current date, why do we need a variant parameter ?
Just create a parameter in TVARVC table (for the lower limit), you can use that value and convert it into a range in your program.
‎2007 Oct 12 8:43 PM
Hi:
The resaon I need it is because whenever the program is executed weekly or monthly, I would like the lower limit to remain fixed (that is no problem), and the upper limit to be the current date.
Thanks for your input
Aaon
‎2007 Oct 12 8:52 PM
How about doing this :
DATA : r_date type range of sy-datum.
r_date-sign = 'I'.
r_date-option = 'BT'
r_date-low = <lower limit date value> (either from TVARVC or anywhere else)
r_date-high = sy-datum.
Append r_date.
Now use this range r_date wherever you need it.