on 05-18-2009 7:42 AM
Hello all,
I have designed a plan query for inserting data at 0calmonth.
I want that while saving to cube the data should be saved also at the 0calweek.
How to do this...?
Regards,
Pratighya
Hi Pratighya,
The only solution to do this is to build a conversion table in which you put the percentage of the month for each week. Something like this:
Week month %
1 ____ 1____ 4.8%
2 ____ 1____ 23.8%
3 ____ 1____ 23.8%
4 ____ 1____ 23.8%
5 ____ 1____ 23.8%
6 ____ 2____ 25%
7 ____ 2____ 25%
8 ____ 2____ 25%
9 ____ 2____ 25%
10____ 3____ 22.7%
....
14____ 3____ 9.1%
14____ 4____ 13.6%
etc.
The percentage is depending on whether you use working days or all calenders days in a month.
The amount for a specifice month must be divided over the weeks.
Success,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can build this in BI, just creating an infoobject ZCALWEEK (YYYYWW) compounding 0CALMONTH.
and adding an infoobject Percentage.(ZPERC or something like that)
The table can be filled manually.(maintain masterdata).
Then you have to build an ABAP routine in your transformation which looks up in a loop all ZCALWEEKs belonging to a month and writes a record for every ZCALWEEK with the calculated amount.
I am not an ABAP programmer, so I cannot help you with that, but it should not be to hard to accomplish.
Success,
Udo
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.