Use TVARV date calculation for date range?
Use TVARV date calculation for date range?
Hello,all.I haven't used TVARV for R/3 but had once in R/2 for one date parameter and we had a nightly job that updates the entries.Now,I'm thinking whether to create a new TVARV variable to use for my date range select-option or just calculate the dates within the program at S-O-S.What are the pros and cons of these two ways?Is using a TVARV variable more accurate?I plan to schedule a batch job that will execute at the start of every next quarter.I want to have the date range with low value of start of previous quarter and high value of end of previous quarter.Example:Code:Select allsy-datum (also run date) = 20030701 (start of next qtr.) date-low = 20030401 (start of prev.qtr.) date-high = 20030630 (end of prev.qtr.) Which would you recommend for me to use?It looks like if I go the TVARV approach,I would need a separate logic/abap to update my TVARV variable?Experts,I need your advise!Thanks.Aui
KeithS ,your first answer is correct but not the second one. The problem withthe dynamic variant if your process did not work for few days in betweenand your program is scheduled based on the dynamic ...