Expand clustered Key Figures in filter panel (based on BW queries)
Dear colleagues,
in my BW query, I have created several key figures and have clustered them below Error Categorization 1 and 2.
In my Design Studio application I use a filter panel to select the key figures. The goal is to show the first level (error cateogization 1 and 2) at a first view with the option to expand these so that the detailed categories can be shown and selected.
Currently only the subcategories are shown in the filter panel in Design Studio.
Could you help here?
Thanks,
Katharina
Go to transaction RSRT, select your query, click on the properties tab and tick the selection box "Use Selection of Structure Elements". This is recommended practice where there are lots of key figures.
Similar Messages
-
List key figures in navigation panel of web report
Hi,
I have the standard navigation panel on the left side of my web report that shows a list of the characteristics in rows and a list of free characteristics. Under the heading columns I can see the point key figures.
Is there any possibility to list all the key figures that are included in the report so that I can use the drag and drop function for adding / removing key figures?Philipp,
Since Key figures is a structure, you cant see all the key figures under that area. What you can do is, you can restrict the keyfigures in the WAD report itself based upon your selection.
Hope it helps,
Assign Points
Thanks,
Gattu -
Dynamically select Key Figures before executing web-based query
Hi,
I want to select(through checkbox) the Key Figures to be presented in a query before executing the query. The query is web-based.
Has anybody an idea how to achieve this?
Kind regards,
Ton van VelzenYou will need 2 templates.
First one use the Checkbox item to list all the keyfigure structure elements, read the user selections using JavaScript, form the URL with the Filters for the key Figures and call the second template which will display the data.
See the attached for passing filter values to BW Web templates.
http://help.sap.com/saphelp_nw04/helpdata/en/59/edfe395dd76846e10000000a114084/content.htm -
Key figures in Cost elemnt based report
Dear All,
I have created a Cost Element based Report for the Project using report painter. In this same report, I want to pull a key figure(the key figure is 'remaining forecast planned costs") which is coming from cost forecasting report (Report 12CTC1 from transaction CJE0).
The issue is this 'key figure' is not available for report made in report group 6P3(report group for cost element based report). Is there anyway I can pull this particular key figure in my report.
Thanks in advance !
Regards,
Mahendra DigheAlso if you're using HR data, the employee data is time dependent, so that for each employee number there are any number of records. This may be causing the aggregate reporting condition that you mentioned. In BW it's important to recognize that the master data also can play a role in how many records are returned. The infoprovider is not the only source of additional records. For example:
Employee has three records in the time range.
Salary infoprovider has only one.
Results will contain THREE records, one for each employee record, all with the same salary record. On an aggregate basis, the salary results will be multiplied by three.
Time dependent master data can be a source of much confusion. For some HR reporting, I have created a 'most current' employee master data record that is not time dependent, and is loaded daily. I then use that for data models such as salary or other separate infoproviders. -
Key figures in cost element based report
Dear All,
I have created a Cost Element based Report for the Project using report painter. In this same report, I want to pull a key figure(the key figure is 'remaining forecast planned costs") which is coming from cost forecasting report (Report 12CTC1 from transaction CJE0).
The issue is this 'key figure' is not available for report made in report group 6P3(report group for cost element based report). Is there anyway I can pull this particular key figure in my report.
Thanks in advance !
Regards,
Mahendra DigheAlso if you're using HR data, the employee data is time dependent, so that for each employee number there are any number of records. This may be causing the aggregate reporting condition that you mentioned. In BW it's important to recognize that the master data also can play a role in how many records are returned. The infoprovider is not the only source of additional records. For example:
Employee has three records in the time range.
Salary infoprovider has only one.
Results will contain THREE records, one for each employee record, all with the same salary record. On an aggregate basis, the salary results will be multiplied by three.
Time dependent master data can be a source of much confusion. For some HR reporting, I have created a 'most current' employee master data record that is not time dependent, and is loaded daily. I then use that for data models such as salary or other separate infoproviders. -
Calculate key figures totals in report based in multiprovider doesn't work.
Hi dear Friends:
We have a requirement where the data are in 2 different cubes, the layout defined is
selections parameters :
Zsales_offices
0calweek
Columns.
0calweek KFCalc1..............................KFcalc2.....................etc.
In rows.
01.2007 Qty on demand X unit cost. sum of all qty's prods
02.2007
03.2007
04.2007
the structure in cube z1mis contain:
Zsales_offices,product,0calweeek,unit cost.
the Second cube structure zdemand contain:
Zsales_office, product,0calweek,qty on demand
Our problem is:
1. As you can see we need keep into KFcalc1 the product from multiply Qty on demand * unit cost but when the result is displaying the result is a wrong amount and the reason is because didn't´t exist a characteristic product in the layout, without this characteristic the amount for qty on demand and unit cost are summarized and multiplying with these amounts.
We are trying to find a solution vía restricted key figures, calculating before aggregation, but it's not woks.
I hope that you can give one suggestion.
Regards.
Eg@nHi,
putting product in the rows will slove the issues as the unit cost depends upon the prdoduct and therefore it will uniquely identify each of the material and then it will get multiplies with the qty and therefore you will get the correct result.
this kind of issue you will always face when you are going to multiply cost with the Qty and as the cost differ with the individual material.
Also putting material into the rows will cause the no. of rows to increase as all the materials will show up in the individual rows for the particular month.
Also you can make a claculated key fgure for the multiplication and use before aggregation.
But for that your both the key figures should be in the same cube i.e. in the same rows or the before aggregation will not work you will not even get an option of before aggregation in the CKF if the key figures belong to two different cubes.
Since your qty and cost are coming from two different cubes before aggreagtion will not work here.
And if you do before aggregation then you report will become quite slow as it will do all the multiplication anf then will bring the result.
So it depends on your requirement and your design how to proceed.
Hope it helps
Thanks -
Can we suppress the key figure from the filter values?
Hi,
I have one restricted key figure.
1) Is it possible to hide the key figure for calender year 2009 and display it for year 2010. I mean can we hide the column dynamically?
2) Can we grey out the key figure from filter criteia so that it cannot be checked for specific calender year?
eg if i have 3 key figures as One , Two , Three.
In filter , it will show One , two , three and the checkbox . Is it possible to grey out the checkbox so that user will not be able to check it or tick it?
Regards!Hi,
1) I don't think we can hide it dynamically.
2) I dont think we can give such a option in the query designer.can you explain what is ur exact requirement.
Regards,
Ravi -
Hi Gurus,
We are using BI 7.0. & MS excel 2003 & 2007 both.
I've designed a query with 10 Key figures.
After execution, based on Key figures I have Added Local Formula in query.
Now I want to change the order of Key Figures and bring Newly added Local Formula column at 3rd position.
I've tried using Select Filter... and changed the order of column as I want, but this doesn't work.
I can drag the column & drop it at desired position. It's working that way in office 2003.
But in office 2007, Drag and Drop not working at all. Even for characteristics also.
Is this problem with BEx Excel Patch? I've installed excel patch for both 2003 & 2007. But still not working properly.
Please suggest. If you know latest patch available for office 2003 & 2007, please suggest.
Thanks.HI,
I am on BI7, Excel 2007
Drag and Drop Functionality for both Char & KF is working fine including the placement of Local Formula.
seems you need to check with the Basis Team for proper installation of the BEx Excel patch
Regards
ReddY A -
Disaggregation of Key figure not in proportion at monthly bucket
Dear Expert,
Please find the below case.
Here Key figure 2 is disaggregated based on Key figure 1 (Calculation Type P) also we maintained Time based disaggregation K.
The issue is - if you check total, it is 13 for both key figures as shown in below screen shot.
But region wise (Detail level) if you checked, it is not in 1:1 proportion and it is causing problem for us.
For example Region 2 having value in KF1 as 2 for Week 11.2015 but after disaggregation it got nothing on KF2.
(The reason is Key figure 2 is having value in week 12 and week 13 and nothing in Week 11)
We tried 2 different approach to get 1:1 proportion in Monthly bucket, but it could solve our problem.
Approach 1-After Key figure2 calculated in Weekly bucket, Reset Key figure 2 at total level in Monthly data View and enter the Total of Key figure 2 at Total level in Monthly bucket.Check the result at detailed level.
But in this case it is calculated for week 10, 11, 12 and 13 as 0, 9, 3, 1. (We want Key figure2 as per original calculation i.e it should be 12 and 1 in week 12 and 13 respectively)
Approach2 -
Approach 2 - Add another New Key figure as Key figure 1 Total- which sum the Key figure1 at detailed unit at Month level and then disaggregation of Key figure2 based on this new KF.
Its working for this scenario but different scenario is not working.
For example- here region 3 and 4 affected.
If disaggregation at Month level is corrected, our issue will be resolve.
Waiting for your feed back.
Thank you
SachinHi,
In Planning Area u2013 Key Figure settings, did you try to use u2018N - No disaggregation in timeu2019 for KF2 key figure ?
This will mean that copying will occur in technical periods of the storage bucket profile and not the way it happens now.
Other option:
Now, you storage bucket profile and also the planning bucket proifile are in Days/Weeks/ .Months
Is it necessary for your user to view data in daily buckets ? Can the user view the data in weekly buckets only (and not in daily buckets) ?
Your planning bucket profile can be in Weeks/..Months .
This way your displayed data will be in weekly buckets.
Regards
Datta -
Key figure incorrect disaggregation
Hi All,
Please help me in resolving the issue regarding incorrect key figure disaggregation in the planning book. The key figure value which is disaggregated is based on another keyfigure. The calculation type and disaggregation type set up in the planning area for these two key figures are
Calculation type Based on KF Time based disaggregation
KF1 S P
KF2 P KF1 P
I am providing an example as below.
You select one SKU (50058801807) in the planning book. These three characteristic value combinations exist for the SKU: CVC1, CVC2, and CVC3. You enter 100 pieces as the actual impact of promotional events quantity (KF2) in the month of May (month five).
You save the data. The system first performs time-based disaggregation. In other words, it first disaggregates the 100 pieces of the SKU level into technical periods based on the number of workdays in each period. In this example, factory calendar has been defined in the planning area, so there are five workdays in each week. The month of May has 22 workdays (one day public holiday). No proportional factors exist.The calculation is as follows:
Level1: The system collects the rounding differences from all the periods.
Technical Number of DaysCalculation Result Brought Forward
Period in TP
5/1-5 5 100 * 5/22 = 22.727 23 -0.273
5/8-12 5 100 * 5/22= 22.727 23 -0.273
5/15-19 5 100 * 5/22 = 22.727 23 -0.273
5/22-26 5 100 * 5/22 = 22.727 23 -0.273
5/29-31 2 100 * 2/22 = 9.090 9 0.090
Total: 101 1
Level 2: Distribution of the difference -1
Technical Number of Days Calculation Result Brought Forward
Period in TP
5/1-5 5 -1 * 5/22 = -0.227 0 -0.227
5/8-12 5 -1 * 5/22 = -0.227 0 -0.454
5/15-19 5 -1 * 5/22 = -0.227 0 -0.681
5/22-26 5 -1 * 5/22 = -0.227 0 -0.908
5/29-31 2 -1 * 2/22 = -0.090 -1 0
Total: -1 0
The result:
Technical Result
Period
5/1-5 23
5/8-12 23
5/15-19 23
5/22-26 23
5/29-31 8
Total: 100
As an example, the 23 pieces, which are to be distributed in several technical periods (5/1-5, 5/8-12, 5/15-19, 5/22-26 and 5/29-31), are calculated below for the three characteristic value combinations:
CVC Calculation Result Remainder
CVC1 23 * 1/3 = 7.666 8 -0.334
CVC2 23 * 1/3 = 7.666 8 -0.334
CVC3 23 * 1/3 = 7.666 8 -0.334
Total: 24 -1.002
The remainder -1.002 is distributed to the three characteristic value combinations:
CVC Calculation Result Remainder
CVC1 -1.002 * 1/3 = -0.334 0 -0.334
CVC2 -1.002 * 1/3 = -0.334 0 -0.668
CVC3 -1.002 * 1/3 = -0.334 -1 0
Total: -1
The following table shows which of the seven characteristic combinations the system assigns how many pieces:
CVC Result
CVC1 8
CVC2 8
CVC3 7
Total: 23
Calculation for 8 pieces:
CVC Calculation Result Remainder
CVC1 8 * 1/3 = 2.666 3 -0.333
CVC2 8 * 1/3 = 2.666 3 -0.333
CVC3 8 * 1/3 = 2.666 3 -0.333
Total: 9 -0.999
The remainder 0.994 is distributed to the five characteristic value combinations:
CVC Calculation Result Remainder
CVC1 0.999 * 1/3 = -0.333 0 -0.333
CVC2 0.999 * 1/3 = -0.333 0 -0.666
CVC3 0.999 * 1/3 = -0.333 -1
Total: -1
The following table shows which of the seven characteristic combinations the system assigns how many pieces:
CVC Result
CVC1 3
CVC2 3
CVC3 2
Total: 8
This means that each characteristic combination is assigned the relevant proportion from the table for each technical period for which the system can distribute 8 pieces. In the period 5/29-31, eight pieces are distributed to the three characteristic combinations.
The results are displayed schematically in the following figure:
Technical periods in which data is saved:
5/1-5 5/8-12 5/15-19 5/22-26 5/29-31
23 23 23 23 8
Disaggregation in technical periods at SKU level:
For value 23
23
8 8 7
For value 8
8
3 3 2
Disaggregation in technical periods at detailed level:
Now according to the above calculation,
CVC 1 gets value 35
CVC 2 gets value -35
CVC 3 gets value-30
The planning book values are:
CVC 1 33.623
CVC 2 -50.276
CVC 3 -16.101
Please note: 3 decimal places set for the key figure in the planning area, but this calculation is based on one decimal place.
Even then the differences should not be this high.
Please provide me some examples on disaggregation of kf based on another kf with no proportional factors maintained.
Thank you in advance for your help and support.
Kind Regards,Hi
Your calculations seem to be in line with the <a href="http://help.sap.com/saphelp_scm50/helpdata/en/26/53f1f3758211d398490000e8a49608/content.htm">SAP help for rounding and disaggregation</a>
If there is no preexisting proportions in both KF1 and KF2 what you expected should be the values comng up. It is possible that there is any other proportions that are existing in the KF1 that dont appear in your selections but are causing this to aggregate in KF2. (if you have a remote cube you can LISTCUBE whats in the planning area and check all the CVCs)
it would be also a good idea to check both KF in a details( all) mode for the CVCs and also have the time buckets in technical periods and see if that matches your calculations
to see the planning book in technical periods, from the planning book ... go to the period structure settings and choose 9ASTORAGE. (you cant use this permanently in the planing books though) -
Problem with Non-cumulative key figure.
Hi all,
I am facing the problem with the Non-cumulative Key Figure (Quantity). I have created and loaded data to the non-cumulative InfoCube. <b>This cube is defined by me to test the non-cumulative key figure.</b>
<b>In BEx query the non-cumulative key figure and cumulative key figure (Value change) both display same values, i.e. non-cumulative key figure contains the same values which we have loaded for cumulative value change. Non-cumulative key figure is not calculated based on associated cumulative key figure.</b>
I have done the following while defining the non-cumulative InfoCube:
1. Created a non-cumulative key figure which is associated with a cumulative key figure (value change).
2. Loaded data to non-cumulative InfoCube from flat file.
3. Compressed data in non-cumulative InfoCube after the load.
Note:
1. Validity area is determined by the system based on the minimum and maximum date in data.
2. Validity determining characteristic, 0CALDAY is the default characteristic selected by the system.
Is there any other settings to be done?
Please help me in resolving this issue.
Thanks and regards
Pruthvi RBeing a non-cumulative KF, total stock is automatically takes care of that.
Try putting all the restrictions which you have included for total receipts and total issues, for eg, restrict Total Stock with the movement types used in Receipts as well as Issues.
Check and revert.
Regards
Gajendra -
Where are the key figures in standard 0PCA_C01 queries?
Hello BW experts
I am evaluating the standard BI content queries related to profit center accounting. I found all 0PCA_C01_q* queries don't have any key figures in their column. But when I execute the query It brings out the value. How is that possible? Is it something related to global structure? Where can I see the information?
Further more, I can not drag and drop any key figures from left panel to the column area. Why is that?
Your help is very much appreciated
Thanks
SubbuRoberto
I am looking at 0PCA_C01_Q0004, My question is about the columns. It has Plan, Actual, etc. But if I double click each of them, they are all characteristics (0version and 0vtype. Not key figures,. And I can not add any key figures (0credit, 0debit etc) from the left pannel. I made a copy from that query to another query the symptom is still the same. I am confused. I thought on the columns we need to have key figures not characters. But this query is strange.
Subbu -
How to Filter Key Figures in Columns Based on a Selection
Hello,
I am trying to get my columns to dynamically filter based on some selection and would like to know what is the easiest way to make this happen. My scenario involves displaying 12 months of data for an actual / budget view. So we may need 8 months of actuals and 4 months of plan, 9 months of actuals and 3 months of plan, 10 months of actuals and 2 months of plan, etc. The row is cost element and my columns are restricted key figures. I want the user to be able to easily select an 8/4 look and the dynamically remove the unnecessary columns. Same with a 9/3 or a 10/2. Besides these 12 months of Act / Bud, I have 12 months of plan, 12 months of actuals for other years, so I have lots of key figures. Just doing the basic filter can be too cumbersome.
Thanks,
CherieHi Cherie,
This is exactly the type of problem that I'm currently trying to figure out. I'm trying to following your solution but I'm not clear on how you actually achieved this in you last note. I want to dynamically select actuals/budget column fields based on what period I enter. I thought about creating 12 separate RKF fields for actuals and 12 separate RKF fields for the budget reforecast and outputting these all and then doing some VBA to hide the fields not required based on which period was selected... how is your variable ZFYAPER7 defined and calculated?
Cheers -
How to filter Key Figures - not using the GUIDs
An example How to filter Key Figures may look like this:
http://XXX.com:8000/sap/bw/BEx?sap-language=DE&bsplanguage=DE&CMD=LDOC&TEMPLATE_ID=XXX&FILTER_IOBJNM=41F68RV4ZB5VYSARODYU70CAQ&FILTER_VALUE=41F68SAI18DB01DO023IR49QA
The GUIDs consume the space in the URl. Is there a way to work with an alias.
To use the technical name of a Key Figure defined in the Query does not work.Hi Cherie,
This is exactly the type of problem that I'm currently trying to figure out. I'm trying to following your solution but I'm not clear on how you actually achieved this in you last note. I want to dynamically select actuals/budget column fields based on what period I enter. I thought about creating 12 separate RKF fields for actuals and 12 separate RKF fields for the budget reforecast and outputting these all and then doing some VBA to hide the fields not required based on which period was selected... how is your variable ZFYAPER7 defined and calculated?
Cheers -
How can I filter a query based on Key Figures? When I use conditions, the results totals don't change. I need the results to reflect the filtered data.
Angie,
There is no standard functionality to achieve this, but you can do it using formulas.
To check the problem:
E.g. You have
Material Qty Value
A 1 100
B 2 300
C 4 1000
Result 7 1400
You want to be able to filter out Materials with Qty less than 2 so you are left with just Materials B and C and the result shows Qty 6, Value 1300.
Create a formula, say 'QtyH'.
The formula detail should be: Qty > 1
This formula will display 1 for Materials B and C, Zero for Material A.
Create a second formula, say 'Qty Filtered'.
Formula detail needs to be QtyH * Qty.
Change Calculations tab to Calculate Results as Total.
This formula will display Zero for Material A, 2 for B and 4 for C.
Result row will show 6.
Repeat for the Value KF.
To simplify this you can actually combine the logic in 'QtyH' and 'Qty Filtered' into one Formula. See SAP Help under Defining New Queries; Defining Formulas, Boolean Operators
Also, if instead of QtyH being Qty > 1, you use a Formula Variable, you can give users the option to specify what filter level they want.
E.g. Qty > 'MyFormulaVariable' where the formula variable is created as Manual Input/Default Value.
Hope this helps!
Maybe you are looking for
-
Vendor master error - Postal code ??
Hi experts I have tried to creat import vendor , not able to create . Its throwing error like . "In Postal code a space must replace 5 Message no. AM207" Can anybody tel me how to rectify this , this vendor is for netherlands.?? Some body Tel me what
-
i am unable to start the UCM Idc server please provide for this problem. Failed to initialize the server. (internal) 07.18 15:34:54.383 main !csFailedToInitServer (!syFileUtilsUnableToCreateSpecifiedDir,Review install settings. . . Content Server Cor
-
OIM Application Replication Error
Hi , When I try to replicate the application that is integrated with OIM in same OIM instance by changing the xml's ,I am facing issue while doing the same of Process Defination .Did any body of you have done this before .Plz help me.... Regards, Kot
-
How do I get around this bug: can't open my site after latest update?
I installed the latest update three days ago and have been working on my site up until 11 hours ago. Just opened it to work again and get an "updating assets" message that never ends. Also since the update my businesscatalyst isn't working when I try
-
Talent Management - Personal Scorecard
Hi, Employee is setting objective setting and Finishing it. Now, the objectives transferred to direct manager for approval. At this time, Can the direct manager submit personal scorecards to Second Higher Manager (aprpover) by usiing workflow? Thanks