Problem saving queries with calculated key figures
Hello Experts,
I am analyzing this problem since many hours during the last weeks and I don't know, what else to do.
The problem is saving a key user query containing a calculated key figure in the production system (BW 3.5 SP SAPKW35015). The Error 'The query could not be saved due to a problem in transport' occures.
If I exclude the KF from the query, saving is possible, so the calculated KF must be the source of the problem.
The system is set to not changeable, but the 'Object Changeability' of 'Query Elements' in 'RSA1' --> 'Transport Connection' is set to 'Changeable Original'. If I set this option to 'Everything changeable', saving of the query works, but this is not possible in production, because transported standard queries would also be changeable.
For saving queries, die authorization object S_RS_COMP and S_RS_COMP1 is included completely with *, but this does not help.
I also transported the query and the KF again from development system ... no change, same problem.
I found the SAP note 533413, but what does this mean? "This problem can only be solved in the next BW release ..." I heard from colleagues, that BW 7.0 has the same problems.
Does anyone have an idea, how to solve this problem?
I would be very thankful for any reply...
Hannes
Edited by: Hannes Heidrich on Jun 23, 2008 12:07 PM
Thank you for your answer, but I have set the Object Changeability to Everything Changeable and restricted the user with S_RS_COMP. So only certain query names can be used and changed. Experiences from collegues said, that deleting and transporting again would not help.
Best Regards,
Hannes
Similar Messages
-
Problems in using a calculated key figure in the Clustering Model
We have a problem in using a calculated key figure in the clustering model. With the limitation of the standard, in the Field tab, each calculated key figure cannot be selected from the selection screen directly. According to the SAP help, we have to use a dummy infoobject for a calculated key figure.
Are there any other ways to use a calculated key figure without using a dummy infoojbect?Hi,
Make use of aggragation property of the keyfigure, for summing the values of that KF.
Regards,
Rajkandula -
Problems with Calculated Key Figure in Bex
One of our super users have copied a query and trying to do some changes in the new query. In the Query designer, the person was directly dragging a Calculated Key Figure from the left hand side panel into columns and trying to change its properties (Currency conversion key is changed from 'Nothing Defined' to 'Monthly average rate' with variable entry.
Then we get the error 'Abort system error in program and form SET_TCUR-02-' without even getting the variable popup window.
Also when we check the Query properties, we observed that one variable entry (which is displayed in the target currency field in the properties) is displayed twice and came to know that this is the reason for the error.
But why is that displaying twice there? Is there anything wrong in the way we had created the CKF? Do you have any document on how to use CKFs and RKFs?Check here:
http://help.sap.com/saphelp_nw04/helpdata/EN/13/e072abaddb574284d22361f0b824bf/content.htm
http://help.sap.com/saphelp_nw04/helpdata/EN/6f/56853c08c7aa11e10000000a11405a/content.htm
For Currency Translation "How to:, see here:
http://help.sap.com/saphelp_nw04/helpdata/EN/d2/02223c5f00612be10000000a11402f/content.htm
Thanks..
Shambhu -
Creating Query in Production with Calculated key figures
Hi BW Experts,
Can u pls let me know that in case of Production System when we are allowing users to create reports with Adhoc Web Query Designer and using CKF + RKF
(Calculated key Figure) which is already transported to Production in a specific Package, Is Production system will allow to save report?
Pls sugges how to solve this problem ..to give permission for users to create reports in production server with CKF RKF?
Thanks in advancersa1 -> transport conection -> object changeability button -> Set query elements as everything changeable.
If you want to refine this you have to do by authorizations. -
Using Explorer with Calculated Key Figures from BEx (BW 7.31 / BI 4.1)
I'm looking for suggestions on how to leverage data from calculated and restricted key figures in BEx (from a BW 7.31 system) with Business Objects Explorer (from a BI 4.1 system). Our current process involves some complicated workarounds and with the implementation of BI 4.1 and I'm hoping to streamline things a bit.
Here is what I had in mind...
An information space (indexed daily) sitting on a universe (hopefully UNX) that referred to a BEx query on a multiprovider in BW. My understanding was that universes would be able to consume BEx queries (including their restricted and calculated key figures) in 4.1. Based on a recent post (http://scn.sap.com/thread/3417905), it appears that the feature that I was hoping for may have not made it into the GA release. Obviously, I could move the calculations and restrictions into BW ETL or maybe into the universe, but since that work has already been done and lives in the queries, I'm hoping to use them! Also, we could use a different tool such as WebI, but at this point the user base is comfortable with Explorer and we would like to continue to use it.
Suggestions?
Thanks!
-SHi McDowell,
Regarding to the BEx connection in Explorer, SAP provide two solution
1. BWA connection
2. Unv on top of connection
For the UNV situation, you could use the calculated / restricted key figure in the system but please assgin the aggregation level for them (Database delegate is not supported if I am not wrong)
Also plese consider two points
1. Data size (UNV cannot support large data size)
2. Scheduling (Explorer does not support event trigger? correct me if I am wrong)
Best regards
Alex yang -
Problem with Calculated Key Figure and Acumulated
Dear Masters,
I am trying to use cumulated KF in a query. No problem with results. I just flag 'Cumulated'. However I need to use the value of each line in an operation. Let me illustrate it:
Cumulated KF KF1 FINALKF
2 2 2/2=1
3 (2+1) 1 1/1=1
5 (3+2) 4 4/2=2
6 (5+1) 2 2/5=0.4
As you can see above instead divide the KF1 by Cumulated value of a Line, the final result is always KF1/the value that would be the add value. The first line always is right because for the line 1 cumulated value has no accumulation value.
Any idea?
Regards,
GilsonTeixeiraAny idea?
-
Percentage with calculated Key figure in queru designer
Hi,
I have this problem with query designer.
I want to calculate a share over sub total in a query with 3 characteristic exploded: one in vertical (project)
and 2 in horizzontal (quarter and year). I am using query designer 7.0.
I have created a calculated KF with function CT% but, instead to have the percentege over subtotal, I have the percentege over total.
This is the example of what I would like to get:
quarter 1 2
year 2007 2008 2007 2008
Cost % cost Cost % cost Cost % cost Cost % cost
Project
Total 27365 100% 30155 100% 29300 100% 29875 100%
PRJ 1 820 2,99% 1100 3,65% 930 3.17% 860 2,88%
Could anyone help me ?
Thank you !
Bye.
ElenaHi,
create two restricted keyfigs:
KF1 restricted to one of your 0CALYEAR
KF2 restricted to the other year
Create a formula or CKF, KF3 = KF1 - KF2
Implement your TOP N condition on KF3
hope this helps...
Olivier. -
Calculated Key Figures based on Attributes
Hi
In one of our queries we need to create a calculated key figure based on an attribute. Any suggestions on the best way to do this?
I have looked at a Virtual Key Figure, but because our Cube name contains underscores (_) it shortdumps. Is there a way around this?
Thanks in advance.
Chami HerathHi,
what do you mean with calculated key figure based on an attribute? Is your attribute a characteristic in the cube or is it just a attribute of a characteristic? Let me know more details.
regards
Siggi -
Hi All,
I am having a problem with calculated key figure. The RKF is restricted by fiscal year period and amount characteristics. The FYR is further restricted by hard coded value less than and equal to 2007-11. This RKF is called Jan and similarly we have 11 more RKF's with respective months name on it.
The objective of this query is to carry forward the balance of each month into next month, now the problem is that it doesn't show the correct balance for following month correctly for one company code. I have checked all the data is loaded for the company code. If I restrict my query by just company code in question it gives me the correct figure.
Can any one identify any obvious reason for this?
Regards
SSHi Arun,
The report works ok, if I restrict it by company code in Query but doesn't work if I dont restrict by company code. There is no user enrty variable for company code.
regards
SS -
Problem in Calculated Key Figure in BEx 7.0
Hi All,
In Bex 7.0
We have a requirement where we need to display a key figure which is having unit price of an Article. In our InfoProvider we have Article, Store and Date and the report is based on Article. As we have to display only the latest price we have created a RKF by putting a restrcition of the latest date in the date range on the the unit price key figure. But still unit price is getting aggregated over stores.
For example if there are 10 stores and the unit price of an article is 5, then data displayed is 50 and not 5.
We tried to create a Calculated Key Figure using the above RKF and an exception aggregation Average of all detailed value that are not zero, null or error on reference characteristic 0PLANT. Its working fine when the query is restricted to one or two Articles. But for all the articles it gives the following error messages.
1. Error while reading data; navigation is possible.
2. Error occurred during parallel processing of query 17; RC3
3. Error executing physical plan: AttributeEngine: no 6952
4. Error reading the data of infoprovider ZXMSC01$X
5. Amount of data that is to be read from the BIA server is too large
6. The following error 6952 occurred in BIA server
7. Error executing physical plan: AttributeEngine: not enough memory;BwPopMerge pop1(setIsLastMerge(1)),in executor::Executor in cube: p03_zxmsc01
Can anyone tell me the solution for the above error. Or if there is a workaround to our requirement.
Regards,
SachinHi,
Could be a memory issue.
One of your cube in on BIA which is causing the Problem.
So executing the query in RSRT by selecting Do not use BIA index option.
If the query is executed with out any issue then take the cube out of BIA and push it back.
Hope it helps.
Regards,
Raghu
P.S : Also please let us know if this query is live and it is an issue that you are facing after executing it properly for few days.
Or this is a new query created and testing now and in the process got this error?
Edited by: Raghu tej harish reddy on Sep 24, 2009 5:53 AM -
Currency translation problem for calculated key figure
Hi All
I have a problem with the currency translation for a calculated key figure.
I have a requirement to show the MM consignment stock value in the specified currency from the selection screen.
For consignment stock, there is no value maintained in the system. So for this we need to calculate the value as below
Restricted key figure: RKFConsignment stock: Total stock with special stock indicator restriction "K"
Calculated keyfigure: Consignment stock value = Nodim( RKFConsignment stock) * (Standard cost / price unit).
Here, in the calculated keyfigure properties --> I have used a currency translation for the 0CALMONTH.
The query has selection on the 0calmonth.
But in the result the I am getting unexpected results.
Do we have any inconsistencies in the currency translation on the formulas?
Please help me on this.
Regards
S.RHi All
I have noticed something. I changed my query date selection to Calendar day - Keydate instead of calendar month.
And I have changed the currency variable to fixed exchange rate "CHF", it is working fine.
I think I have some problem with the currency translation variable.
Could anyone of you please send me the currency translation variable for Calendar month with the below parameters
exch rate type : M
Time reference : 0CALMONTH
End of month
Target currency for a variable : < var created on 0currency>
For my report, i need calendar month selection, currency selection.
Please help me with your ideas.
Thank you
Regards
S.R -
Query problem with accumulated key figures
Hi BI Gurus!
I have a report problem that I hope you can help me with!
In my report I have 2 key figures. One for accumulated revenue previous year (KF1) and one for accumulated revenue current year (KF2). Both key figures should be presented in a graph in monthly buckets.
January figures from both the key figures shoule be presented in the same bucket. Therfore I can't use 0CALYEAR since we have the "year" information in there. Instead I'm using 0CALMONTH2 which is only two digits, 01 for January. That way I can map figures from both previous year and current year in the same bucket.
I need the figures to be accumulated and this is what I have problem with. When I run the report today in February 2010 it looks like this:
Month KF1 KF2
01 10 15
02 10 20
03 15
04 10
05 20
06 10
07 10
08 15
09 15
10 20
11 20
12 10
This is how I would like the report to look like:
Month KF1 KF2
01 10 15
02 20 35
03 35
04 45
05 65
06 75
07 85
08 100
09 115
10 135
11 155
12 165
I have tried to use the setting "accumulated" for the key figures but then I get this result:
Month KF1 KF2
01 10 15
02 20 35
03 35 35
04 45 35
05 65 35
06 75 35
07 85 35
08 100 35
09 115 35
10 135 35
11 155 35
12 165 35
Since the KF2 is revenue for current year and I run the report in February I don't want any figures to be displayed in Mars...
I have tried to restrict the key figures by 0CALMONTH2 and 0CALYEAR. The KF1 is havein a restriction to only show values for 0CALYEAR - 1 and an interval for 0CALMONTH2 from JAN - DEC.
The KF2 is having a restriction to only show values in the interval "first month in year - current month" (in this example JAN - FEB) for 0CALMONTH2. And current year for 0CALYEAR.
Despite my restrictions for KF2 the numpers repeats itself for every month...
Any suggestion how I can resolve this?
Best regards
Anders FlorinHi Khaled and thank you for trying to help me!
I agree with you and think the users should accept the report as it is. But they are claiming that top management will not accept this and they would really want this to be fixed the whay that they want. I have tried to push back on this and said that I'm not sure that it can be resoleved and that it could cost them a lot of money if I try.
But I will try to resolve it for them if I have spare time in the end of the project. I have not promised them anything but it would really be nice if I could fix it.
So when you say I need to use a structure and a calculated key figure. How should the calculated key figure and the structure be configured?
If I use a structure in the rows I guess I can't use same object in calc.key.figure right? Like if I use 0CALMONTH2 in the structure I'm not able to restrict the key figure with the same object? If that is correct I also have a ZMONTH object, different story why I have that... , that I can use in the same way as 0CALMONTH2. Or is this only a problem when I use "local" formulas within the query and not using a "global" calculated key figure? Cause I have only used the "loacal" formula calculated key figure in this report....
Br
Anders -
Selection on Global Calculated Key Figure problem
Hi all,
I've got a Calculated key figure, made up of 2 key figures and 2 restricted key figures, saved to a homogenous multiprovider (Customer Sales). this works fine as is.
However, when you create a selection in BEx QD, that limits the CKF further by Distribution channel, and view the result, the result seems to be multiplied by a value to the effect of 2.8???
If you view the CKF by itself its fine (though not limited to what it needs to be).
As an example.
Say sales for a distribution channel was 1 million dollars. Sales overall was 2 million dollars. If i drag in my CKF (and have NO characteristics), it comes up with 2 million dollars.
If i limit it to 1 sales office, no issues, I get that sales office's value. However, if i limit it to a distribution channel, i get roughly 2.8 million dollars.
Any ideas? I can't see the logic in this. Perhaps someone knows of the issue/has seen a note or something regarding this, cos its got me scratchin my head?
CheersHi Pierre,
I appreciate the fast reply. This thing is driving me nuts!
Ok so when you refer to the CKF are you referring to the global CKF on the multiprovider or the CKF i have on the report that is restricted (basically a local RKF)?
I've had a look through there and have found the calculation tab, but can't really say i've found "Calculate according to current formula".
What i see are:
a dropdown list headed "calculate results as..." (nothing defined)
another dropdown list called "calculate Single Values as..." (nothing defined)
a tick box called cumulated (unticked)
another tickbox called "also apply to results" (unticked)
another dropdown listbox called "calculation direction" (default setting)
Underneath all that is a tickbox called "use precalculated value" (unticked).
is it something under all that that i need to change?
Do i change the global CKF or the local RKF?
Thanks for the assist. -
Problem with a key figure restriction
Hi,
I have a problem with one key figure in report: in infocube, this key figure is aggrigated for all the profit centers (summation). In infocube, there is a value '150' for each profit centers (100 pieces) and in the report it is counting 150*100=15000. However, it shouldn't count the sum of all entries in the infocube but show only one value in the report which would be '150'.
I think this should be possible to do but I just don't know how. Hope somebody is able to help me. Thanks in advance.Hi,
If the values are same for all profit center then change the Profit center infoobject property in the query design to show the maximum values for the 'calculation result as' parameter
Regards,
Vishwa,
Edited by: Vishwanath H.E on Sep 3, 2008 9:19 AM -
Calculated key figures with incorrect values
Hi experts,
i have a requirement whre i have multiple calculated key figures based on different restricted key figures.
say for eg:
RKF1-restricted to calmonth 01.2006
RKF2-restricted to calmoth 01.2007
ckf1-RKF1 %a RKF2
RKF3-restricted to calmonth 02.2006
RKF4-restricted to calmoth 02.2007
ckf2-RKF3 %a RKF4
and so on...
In my output of the report, ALL CKFs are show same result as CKF1!!
please suggest..
thank you all in advanceHi,
Indeed my cube is a copy of 0IC_C03.
Could you please explain more about the filtering.
I have the following key figures
0TOTALSTCK
0ISSTOTSTCK
0RECTOTSTCK
ZISSSTCK_VALUE
ZREC_VALUE
ZTOTSTKVALUE
ZTOTSTKVALUE is CKF with inflow and outflow of ZISSSTCK_VALUE
ZREC_VALUE
Whenever there is 0 it displays NO CALC possible. I would like to have it blank or 0s.
thanks
Maybe you are looking for
-
My iPhone has recently been crashing (or rather the apps) when I would try to access my text messages, contacts, phonebook, facebook, or email. I tried restarting my phone and lost all of my contacts. This has been happening more and more frequently.
-
Assignment field (ZUONR) in partial payment customer
Hello, We have an issue concerning the assignment field in the partial payment from a customer. In the assignment field (ZUONR) we normally have the invoice numbers from another application (via interface to SAP). When we receive a partial payment fr
-
I have a dynamic form that I created and I need to get it posted but am having some issues. 1. I need the fields to be optional and it tells me that the information entered is not what was expected 2. I have a button to click that will send the compl
-
Photoshop Elements 13 installion error Exit Code 7 on Windows 8
I just bought Photoshop Elements 13 for my laptop. I have Windows 8, which I purchase before I was told Windows 8 is terrible. Now when I try to install, it gives me an error that says Exit Code 7: "This installer does not support installation on a 6
-
I had to swap out my iPhone at the Apple Store and backed up before I brought it in. Got a new iPhone (same model - 32 GB 3GS) and when I go to restore from the backup it says restore complete but EVERYTHING is missing - contacts, email, settings, et