Hi Experts,
I have an Urgent Bex Report requirement.
Every period end we are taking Snap shot loads in to Cube.
Info cube having fields 1. Snap shot period
2. Doc period.
3. Quantity.
Report out put :-
When User is execute the report , report should display last 12 snap shot periods along with new fields. For last 12 Snap shots we written customer exit (its working fine) . we need to create 2 new fields (1 month old qty and 2 month old qty)in Bex . Please see the below Example.
Example:-
Example: Cube having 2 snap shot periods’ data (Period 08 & Period 07).
Snapshot | Doc Period | Qty | Snapshot | Doc Period | Qty |
P07/2015 | P01/2015 | 10 | P08/2015 | P02/2015 | 6 |
P07/2015 | P02/2015 | 20 | P08/2015 | P03/2015 | 7 |
P07/2015 | P03/2015 | 30 | P08/2015 | P04/2015 | 8 |
P07/2015 | P04/2015 | 40 | P08/2015 | P05/2015 | 10 |
P07/2015 | P05/2015 | 50 | P08/2015 | P06/2015 | 15 |
P07/2015 | P06/2015 | 60 | P08/2015 | P06/2015 | 18 |
P07/2015 | P06/2015 | 70 | P08/2015 | P06/2015 | 25 |
P07/2015 | P06/2015 | 80 | P08/2015 | P07/2015 | 91 |
P07/2015 | P07/2015 | 90 | P08/2015 | P07/2015 | 101 |
P07/2015 | P07/2015 | 100 | P08/2015 | P08/2015 | 111 |
For snap shot P07/2015.
- 1 Month old = document period LE P06/2015 (Snapshot -1)(10+20+30+40+50+60+70+80 = 360).
- 3 Month old = document period LE P03/2015 (Snapshot -3) (10+20+30 = 60).
For snap shot P08/2015.
- 1 Month old = document period LE P07/2015(Snapshot -1) (6+7+8+10+15+18+25+91+101 = 281).
- 3 Month old = document period LE P04/2015 (Snapshot -3) (6+7+8 = 21).
Report Output like:-
Snapshot | 008/2015 |
|
| 007/2015 |
|
|
| Qty | > 1 Month old | >3Month old | Qty | >1 Month old | >3Month old |
sales org |
|
|
|
|
|
|
America | 392 | 281 | 21 | 550 | 360 | 60 |
Questions:
1) Like this Report out put having last 12 snap shot periods. ( 008/2015, 007/2015, 006/2015............009/2014)
1) How to create these 2 key figures (1 month old and 3 month old) in Bex.
2) How can we calculate snap shot with doc period in every snap shot period dynamically?
Ie
in 008/2015 Snap shot:-
1 month old = snap shot –1 = 007/2015 (i.e. in Doc period LE 007/2015 Qty values) = (6+7+8+10+15+18+25+91+101 = 281).
in 007/2015 Snap shot:-
1 month old = snap shot –1 = 006/2015 (i.e. in Doc period LE 006/2015 Qty values) = (10+20+30+40+50+60+70+80 = 360).
These 2 Key figures are calculating according to the Snap shots Dynamically.
Please Advise how to Create these 2 key figures in Bex. Its an Urgent Requirement.
best Regards,
Ramesh.