on 06-01-2011 8:56 PM
Experts,
I have to show sales for last 5 months ( in 5 diff. Columns )
So, i have written CMOD code, where i am converting System date in to Fiscal Year / Period using FM DATE_TO_PERIOD_CONVERT.
every thing works good, i do get result. but the problem is the Offset for Variable function doesnt support that.
I was hoping that, Now i can do Offset -1, -2 , -3...till -5 and i will have all 5 Periods.
But looks like its not working out.
What other logic i can use.
!!!!!!!!!!My Variable is Not ready for Input !!!!!!!!!!! So the only way i found is to convert system date to current Period and then off setting it till last 5 months. And i do need to so last 5 months starting current Period -1, -2, -3, -4 and -5
is there any other way to get current Period ( i guess only from system date ).
I think in my logic, when i do offset, its not offsetting the Period, but its off setting system date.
Please help
Hi,
I hope you have created a Formula var Char Value Variable for obtaining current period (For which you have written the code in CMOD)? If yes what have you selected in Currency/Unit Tab of the variable ? Make it date Type if not and then try, it shall work.
Regards
Raj
Edited by: Raj Rai on Jun 2, 2011 7:29 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Honar,
I am pretty sure offset should work, in your customer exit, calculate the current period as using the system date, once you get that, create a variable with the same name as you defined in the customer exit and use that variable in five different restricted key figures with each with (Variable, Variable -1, Variable -2, Variable - 3 and Variable - 4). If you have done so and not working, what are you getting in each of the variables, there might be some notes which could address that issue.
thanks.
Wond
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.