Hi Friends,
I am using TMVL function in FOX formula with negative offset for on Timecharactistic 0CALQUART1. In my requirement in the calculations i need to read previous quarter data for each Quarter. So i am using syntax below
DATA CQTR TYPE 0CALQUART1.
DATA CQTR1 TYPE 0CALQUART1.
CQTR1 = TMVL(CQTR,-1).
i am getting short dump with error message: String _LENGTH_Too_Large (Invalid access to string).
It looks like 0CALQURAT1 length is 1, and with negative offset(-1) it is taking as two cahracters and it is throwing short dump. It is working for positive offset since possiite offset we don need any +sign but for negative sign(-1) it is giving short dump. can anybody has similar experience how to use negative offset with 0CALQUART1. Negative offset is working for other time characteristics calendar month . Do we have any other alternative to get simillar functionlity bw ip. Please share your ideas on this.
I would appreciate for your help.
Thanks in advance.
Best regards
SG