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 r

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/15 21:11:00

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 r
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

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 r
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 variant you might loose processing of few days data. TVARV is correct. You will have last run date stored in TVARV and your next run of the program picks up the data from the last run date.snoopyaui, use the TVARV and some code to ur program accordinglysaper 查看原帖>>