Restricted KFs , Formulas and Summations

Dear Experts,
I'd like your help on the following issue :
I have 2 Restricted KFs defined in a query , eg R1 and R2. I have a formula which does a simple multiplication, eg. F1 = R1 *R2.  The query is drilldowned by Material Group1, MaterialGroup2 and Material. The result is correct on the material level. On the two higher levels, the result is
FMatGrp1 = SumofR1 * SumofR2. I want to be FMatGrp = SumF1.
That is :
                                                 R1      R2         F1
                     MaterialA              100     2           200
                     MaterialB               100     3           300
Query Result MaterialGroup1 :      200      5         1000   - Instead of 500
I have searched a lot in the forum, I have seen a lot of similar questions, but most of them are not answered. I have tried almost every possible solutions from calculated kfs to aggregation levels.
I'm not sure if there is any answer in this problem. I'm using BW 3.5
Thank you a lot in advance.
Dina

Hi Dina,
Have u tried making the 'calculate result as' in the properties for F1 as 'total' or 'summation'?
That should help here.
Thanks & Regards,
Rathy

Similar Messages

  • Error opening a Manage Report template with Formulas and Summation

    Hi Expert,
    My j2ee web application is setup is such a way that when there is NO connectivity to the Crystal Report Server XI, it will use the Crystal Report for Eclipse functionality and opening report templates located in the relative path - This works fine.
    But when there is a connectivity to the CMS Server, I have this error when opening a manage report in Crystal Report Server XI that contains formulas and summations. But for other reports like chart and listings no problem.
    This code triggers the error:
    ReportClientDocument clientDoc = reportAppFactory.openDocument(infoObject,0, java.util.Locale.US);
    I found out there's a conflict between CR libraries  for Eclipse and libraries for RAS Enterprise Server XI.
    How can I solve this issue so that I can support the two scenarios - with or without CMS connectivity, I can still view reports.
    Error Stack Trace:
    com.crystaldecisions.sdk.occa.managedreports.ras.internal.a: Cannot open report document. - Unable to connect to the server: gdcextrp.RAS.rptappserver. cause:com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Unable to connect to the server: gdcextrp.RAS.rptappserver.-- Error code:-2147467259 Error code name:failed detail:Cannot open report document. - Unable to connect to the server: gdcextrp.RAS.rptappserver. The exception originally thrown was com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Unable to connect to the server: gdcextrp.RAS.rptappserver.-- Error code:-2147467259 Error code name:failed at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source) at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source) at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.openDocument(Unknown Source) at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.openDocument(Unknown Source)
    Hoping for your answers.
    Regards,
    Rulix Batistil

    You must isolate the CR4E and RAS SDK jars using separate classloaders - simplest is have separate apps, if rolling your own class loaders is out of project scope.
    They do not work together.
    Sincerely,
    Ted Ueda

  • List of Calculated KFs and Restricted KFs created by end users

    Hi all,
    Is there one way that I can run a list of all Calcuated KFs and Restricted KFs created by end users in Production. We would like to DELETE all CKFs and RKFs created by end users that are not following the naming convention. So we are looking for a tool to list all CKFs and RKFs created by end users. Can you help?
    Thank you
    J.

    Hi
    Table RSZELTDIR will give you the CKF and RKF but will not tell who has created. The user entry you will find in table RSZCOMPDIR.
    So first go to second table display result by restricting to user name for which you want to delete the CKF and RKF. Select all the component ID and Put in first table and restrict the selection to CKF and RKF .
    thanks
    Tripple k

  • Can we restrict a formula with other characteristics?

    Hello all,
    I am using a structure in rows in my query designer. I have a formula in that structure now I a want to restrict that formula with particular fund ranges.
    Also one option that I am thinking is can I create the same formula in the key figures section ( but the formula has characteristics in it and i tried but it does not let me) has anyone done that.
    Can we do any of that or is there any other way of doing it.
    Thanks in advance,
    Raj

    Bhanu, Stefen,
    This what my query looks like ...i have a KYF structure in cloumns which has 4-5 restricted key figures.
    Then i have manually created a new structure in rows, because the client requirement is very very specific, most of the lines in my rows structure are like nodes of hierarchy and sometimes that node is restricted more by some char. now when i get at the bottom 5 lines i need to create a formula (revnuesexpensetrasnfers) and restrict that by fund ranges. and this object should be added to another selection (hierarchy node) which evetually will get what client wants.
    So how can I do it can you tell
    Thanks,Raj

  • How to restrict S_ALR_87003642 - Open and Close Posting Periods entry/updat

    How to restrict S_ALR_87003642 - Open and Close Posting Periods entry/update for certain group of users
    eg. for Subsidiaries to openr/close periods of their own company only.
    Refer to my screen, Company 1010 and 1060 is for Head Office while 1210 is for our Malaysia Company. How to restrict my Malaysia Company user to open and close only for 1210 and cannot perform any change to other Company.

    Hi,
    I guess you can use company code itself. Talk to your basis guy or else if you have some expertise & Authorization try out PFCG.
    Regards
    Santosh Hegde

  • ASO MDX member formula and performance

    Hi,
    I am doing some testing about MDX formulas and performance. I found a performance issue but I can not understand why is taking so long time a report.
    The situation is:
    I create a report or a MDX query with:
    6 dimensions in row and 1 dimension in column
    rows:
    Period - Filtered using a member
    Year - Filtered using a member
    Relationship Manager - Filtered using a member
    Report Type - Filtered using a member
    Local Relationship Manager - 4400 members level 0
    Global Relationship Manager - 10400 members level 0
    Column:
    Account dimension, only a member
    The member selected for Report Type (RM.Local) has a formula
    My Report Type dimension has 10 members, there is one member where I store data called : RM.Input
    My first test was
    RM.Local his formula is [RM.Input] , the report is run in 1 second
    RM.Local his formula is ([RM.Input],[MTD]) where MTD is a member level 0 store in my view dimension. The report run in 20 minutes. I was not expecting so bad performance when I only pointing at [RM.Input],[MTD]
    Do you consider this time is reasonable when I am using this formula?
    The mdx report is:
    With
    set [_Local Relationship Manager3] as 'Descendants([All Local Relationship Managers], 2)' = level 0 members
    set [_Global Relationship Manager4] as '[Global Relationship Manager].Generations(4).members' = level 0 members
    set [_Period0] as '{[Period].[Oct]}'
    set [_Relationship Manager4] as '{[Relationship Manager].[Dummy1)]}'
    set [_Report Type0] as '{[Report Type].[RM.Local]}'
    set [_Year2] as '{[Year].[FY-2013]}'
    select
    { [Account].[Expenses]
    } on columns,
    NON EMPTY {crossjoin({[_Local Relationship Manager3]},crossjoin({[_Global Relationship Manager4]},crossjoin({[_Period0]},crossjoin({[_Relationship Manager4]},crossjoin({[_Report Type0]},{[_Year2]})))))} properties MEMBER_NAME, GEN_NUMBER, [Global Relationship Manager].[MEMBER_UNIQUE_NAME], [Global Relationship Manager].[Memnor], [Local Relationship Manager].[MEMBER_UNIQUE_NAME], [Local Relationship Manager].[Memnor], [Relationship Manager].[MEMBER_UNIQUE_NAME], [Relationship Manager].[Memnor], [Period].[Default], [Report Type].[Default], [Year].[MEMBER_UNIQUE_NAME], [Year].[Memnor] on rows
    from [DICISRM.DICISRM]

    Ok Try this one
    But here you have to change the MDX formula every month.
    Year
    --FY2009
    --FY2010
    --FY2011
    --FY2012
    Period
    --TotalYear
    ----Qtr1
    -------Jan
    -------Feb
    -------Mar
    Let say if you're CurrentYear  is FY2011 and you're Current Month is March then you're MDX will be
    case when contains([Year].CurrentMember,MemberRange([FY2009],[FY2010])) and contains([Period].CurrentMember,MemberRange([Jan],[Feb]))
    Then
    B
    else
    C
    end
    For the Next month you just have to make a change in the MemberRange I.e.,(Replace Feb with Mar)
    *case when contains([Year].CurrentMember,MemberRange([FY2009],[FY2010])) and contains([Period].CurrentMember,MemberRange([Jan],[Mar]))*
    Then
    B
    else
    C
    end
    I tested it and Its working fine.
    I think this will solve you're problem but there might be a more elegant solution out there.
    Regards,
    RSG

  • How to restrict sales group and sales office in va01?

    in transaction "va01" ,I want to restrict "sales group" and "sales office", but there is no
    relative authorization object. I create a role named "z1000test001" with va01 , there are only "division","sales organization"
    and "distribution channel" which could be restricted.
    the authorization object with va01 is : V_VBAK_VKO.
    and I find another authorization:V_VBKA_VKO ,which contains:"sales group" and "sales office",
    but this one seems have no relationship with va01.
    Is there any method to restrict "sales group" and "sales office" in va01?
    Could anybody help me?

    Hello,
    This has been discussed before and there's a solution available.
    Have a look at this thread: Authorization for Sales Office and Sales Group
    Cheers
    Jurjen

  • Difference between New Formula and Formula Variable

    Can any body explain what is the difference between  New Formula and Formula Variable.
    Thanks

    Hi,
    Formula:http://help.sap.com/saphelp_nw04/helpdata/en/d3/8057f830a911d4b2be0050dadfb23f/frameset.htm
    Formula Variable:If you want use variables in the formulas of a form, you need to use formula variables. You can use formula variables only in form reports, and must define them in the form itself. They can be replaced in the same ways as text variables when you execute the report.
    http://help.sap.com/saphelp_nw04/helpdata/en/5c/8db0b1555411d189660000e829fbbd/frameset.htm
    Bye
    Dinesh

  • Userexit to Restrict the VIEW and MODIFY of the Sales Order

    Hello Everybody,
    I need to do the following task.
    I want to restrict to VIEW and MODIFY the sales order for particular sales office or sales group.
    I need  user exit for that.
    Please help me by providing brief information.
    Thanks
    M Rahman

    Hi Rahman
    Instead of changing the DISPLAY and CHANGE status of Sales Order,
    i think it would be better if u make a check at the time of SAVE.
    When the SO is being saved in VA02,check the sales office or sales group
    and then give a error message to the user, saying that he is not authorised to make changes to the
    SO for this particular sales office or sales group.
    For this you can use the inckude MV45AFZZ,and USER EXIT userexit_save_document.
    Sample Code:
    IF SALES_OFFICE EQ 'XYZ'.
    MESSAGE 'Change not possible for this Sales Office' type 'E'.
    ENDIF.
    Regards
    Hareesh Menon

  • Creating a formula and the editor does not pop up

    Trying to create a simple formula. Have entered cells in by typing but it will just show the formula and not what the forumla has been designated to do

    If you want to see the formula, double click the cel:
    l AND/OR look at the bottom of the window to the right of "Formula":

  • [svn:fx-4.x] 15186: In RichEditableText handlePasteOperation() if there are no constraints (maxChars, restrict or displayAsPassword) and multiline text is allowed we can do an immediate return before the text is extracted from the text flow .

    Revision: 15186
    Revision: 15186
    Author:   [email protected]
    Date:     2010-03-31 16:42:19 -0700 (Wed, 31 Mar 2010)
    Log Message:
    In RichEditableText handlePasteOperation() if there are no constraints (maxChars, restrict or displayAsPassword) and multiline text is allowed we can do an immediate return before the text is extracted from the text flow.  This should be the typically case when pasting large amounts of text.
    QE notes:
    Doc notes: None
    Bugs: partial fix for SDK-25793
    Reviewed By: Gordon
    Tests run: checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-25793
    Modified Paths:
        flex/sdk/branches/4.x/frameworks/projects/spark/src/spark/components/RichEditableText.as

    Step by step, how did you arrive at seeing this agreement?

  • Formulas and Variables in Universe

    I have been trying to find out how to create formulas and variables on universe Level.  I know how to accomplish this in Webi.  I'd appreciate if someone can point me to any documentation on this issue.
    Thanks.

    Hi,
    which version of BOBJ are you using? What kind of data sources do you have?
    Here are some documents you can start with:
    Formulas in WebI for XI 3.1
    [http://help.sap.com/businessobject/product_guides/boexir31/en/xi3_web_intelligence_formulas_functions_calculations_en.pdf]
    Formulas in WebI for XI 3.1 SP2
    [http://help.sap.com/businessobject/product_guides/boexir31SP2/en/xi31_sp2_webi_ffc_en.pdf]
    Universe Designer user's guide XI 3.1
    [http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_designer_en.pdf]
    Universe Designer user's guide XI 3.1 SP 2
    [http://help.sap.com/businessobject/product_guides/boexir31SP2/en/xi31_sp2_designer_en.pdf]
    You can find more documentation here
    [http://help.sap.com]
    Regards,
    Stratos

  • I cannot remember my restriction pass code, and I don't know how to retrieve it. Can someone help me, I'm new to this stuff!!

    I set a restriction pass code, and when I tried to use it, it says it's wrong. But I had to put it in 2x so it can't be wrong. And I just set it this morning, so I didn't forget. It just won't let me in.

    iOS: Forgotten passcode or device disabled after entering wrong passcode - http://support.apple.com/kb/ht1212 - Learn what to do if you have forgotten or can't remember your passcode, or if your device displays a message saying it is disabled.
    If you cannot connect it to the computer to which the device was last connected (or the device was never connected to a computer) you will have to use recovery mode to completely reset the device, losing all data:
    iOS: Unable to update or restore - http://support.apple.com/kb/HT1808 - recovery mode (e.g., cannot connect to computer last used to sync device, iTunes still asks for a password)

  • Issues while building formulas and expressions

    Hi,
    I have a couple of questions regarding the formulas and expressions in MDM. It would be a great help if someone could us on these:
    <b>1</b>.While creating a Syndication map in MDM Syndicator, we need to do some calculation on some of the attributes/fields and need to store results in new Custom fields.  The problem is when we create a new Custom Item and use Formula to create a formula like <MM Number:mm number> * 12, it is showing us result in Destination Preview as 100*12 rather than computing the value as 1200. The same is the case is for UOM conversion where we want to convert inches into feet. Can we do such such asthmatic calculations in syndicator? Is there any other way to get the same result?
    <b>2</b> Calculated Filed Expression Builder screen for any table field in Console has Attribute List option always disabled. Only the Fields list is available on this screen. The same is the case for Validation and Assignment builders in Data Manager. Is it possible to select Attributes as well while creating “Calculated field Expressions” (Console) Validation and Assignment Expressions (Data Manager)?
    We are using MDM 5,5 SP4 Patch01 on Windows XP Professional.
    Thanks for your help.
    Regards,
    -Irfan

    Hi Irfan,
    1) If you want to use formula like 100*12 and want to get result than syndicator is not for this.This kind of formula should be used in Data manager. Custom field in syndicator is not for this purpose. When you want to add and custom field in your output file which is not present in your current display than with the help of Custom field, you can see that field in Destination Preview.
    Follow below link for more clarification
    <a href="http://help.sap.com/saphelp_mdmgds55/helpdata/EN/28/52a8a6076d4979b08c27c7ca3aab8d/frameset.htm">Custom Fileld in Syndicator</a>
    Hope this helps,
    Regards,
    Ron
    Reward point for helpful answer
    Message was edited by:
            Ron

  • Record Selection Formula and Parameters

    We've currently upgraded from Crystal Reports 9 to Crystal Reports 2008 (SP3).  In our legacy reports, we use the "record selection formula editor" to filter the results of our report.  This is an example of one of our formulas:
    {DOVREP_TIME_AND_EXPENSE.ITEM_DATE} >= {?FROMDATE} and {DOVREP_TIME_AND_EXPENSE.ITEM_DATE} <= {?TODATE}
    In this formula, we pass in the FROMDATE and TODATE from our .NET applicaiton to filter on dates.  After upgrading to Crystal Reports 2008 (SP3) this no longer works.  I get an error "Error in formula Record_Selection".  It looks as if it was having issues parsing the formula.  If I replace my parameters (?FROMDATE/?TODATE) with hard coded dates it works fine (It also worked fine in Crystal Reports 9) so from what I can tell adding the parameters causes parsing errors. Also in the error it shows the formula and it's defintily messed up:
    ((( NOT {DOVREP_TIME_AND_EXPENSE.ITEM_DATE} >= {?FROMDATE}) AND ( NOT {DOVREP_TIME_AND_EXPENSE.ITEM_DATE} <= {?TODATE})))
    I'm not sure why it is adding the NOT to the formula or the extra brackets...
    Any suggestions?
    Regards,
    Mike

    David,
    First off, the way I determined it was the beta dlls was that I installed CR 2008 SP3 runtimes fresh and ran my report.  I didn't experience any issues.  I then took the beta dlls and replaced the originals, rebooted and ran my report again.  The report failed to execute as I described above.  I then took my backup of the SP3 dlls and replaced the beta dlls, rebooted and tested again.  I worked fine with the original dlls. 
    The formula that I was passing into that report was a bit more complex than I first described.  I had a few other conditions in the formula that checked for a project ID.  I tested it with just the dates and there wasn't any issues (as in your example), as soon as I added additional parameters that's when the "NOT"'s were included.  Could you try your test again with a few additional parameters?  Here is an example of what I was passing into the report:
    ((({DOVREP_TIME_AND_EXPENSE.ITEM_DATE} >= {?FROMDATE}  )   AND   ( {DOVREP_TIME_AND_EXPENSE.ITEM_DATE} <= {?TODATE})))  AND (({%PROJECT_ID}=99 OR {%PROJECT_ID}=113 OR {%PROJECT_ID}=112 OR {%PROJECT_ID}=103 OR {%PROJECT_ID}=107 OR {%PROJECT_ID}=111)))
    Mike

Maybe you are looking for

  • Locked out of Drives

    I am in big trouble. It all started when OS X started to slow, so I did an archive reinstall. An odd thing happened when I logged back in, my password wouldn't work. No prob. I logged into another Admin account I keep on the system and reset the pass

  • How to use IT_special_groups in ALV Grid ?

    Hi Abapers, Am new to ALv's am passing almost all parameters to ALV_GRID FM..! i dont no how to use of options Groups , Filters and I_sel_hide . event i find an Demo example related to Groups .. but while displaying the out put i didnt find any Chang

  • Ipad mini replacement terms and conditions..

    I have this problem on my ipad mini that it always restarts or automatically. And sometimes it appears in the screen a blue color and a stripe one.. And an html somethinf like that. So under the warrAnty ivsurrender the unit to the store. I have read

  • Tomcat with Apache

    Hi, I have followed the tutorial on this website to configure tomcat to connect with Apache. I am on a CENTOS 5 system. Apache was already installed and serving three web sites without problems. I wanted to add the ability to work with .jsp files and

  • How do i edit numbered lists?

    I often use the numbered list option from the toolbar when composing an email. How do I 1. edit size and font of numbers inserted when using this function? 2. create a line spacing between numbered items? Thank you gom