on 2021 Nov 29 2:07 PM
Hi,
Anyone here already tried to use the 0CURMEM_CALDAY in CMOD?
Or anyone here knows the FM of 0CURMEM_CALDAY?
I was able to search for this FM but not sure if this is the FM used by all the CURRENT MEMBER variables.
RRS_CURMEM_FROM_VREP_FILL
Anyone here knows how to use the above FM? Is it the CURRENT MEMBER variables FM?
What I wanted to achieve is to know the SUM of last 12 months based on the CURRENT CALMONTH in the row.
So if it is JAN 2020, will be the sum of JAN 2019 to DEC 2019.
If it is JUL 2020, will be the sum of JUL 2019 to JUN 2020.
Anyone here knows if this is possible without using 0CURMEM_CALMONTH or any CURRENT MEMBER function?
Thank you.
Loed
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could query your source object 12 times on Composite Provider level. For each instance you would need to add calculation for date to Add month (+1, +2...+11). Then for each instance, map this calculated date to your regular date field. Other columns should be mapped same way as the first instance. Then you can sum all the KF from each instance.
On query level I don't see any other option than using CURRENT MEMBER functionality
User | Count |
---|---|
61 | |
7 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.