Restricted key figure with operater symbol depending on characteristic v

We have a operating income report that shows actual, forecast and budget amounts, the variance and %variance in its columns and revenue and expense items (Hierarchy nodes, expandable) in its rows.
The %variance key figure for revenue and expenses is calculated the same way, except if it's a expense node it has to be multiplied by -1. We would like to show that key figure in one column only. What would be the easiest way to achieve that?
Thanks a lot,
Fabian

How do you identify the account as revenue or expense...if my understanding of your issue is correct....you must be having a GL Hierarchy (example) in the rows and you are tring to show the actual, plan by value type. To overcome with your issue, the best and definite solution that works (we did have the same approach) is to reverse the sign at the hierarchy level in rsh1 itself than worrying about it in the query.

Similar Messages

  • Create restricted key figure with navigation attributes

    Hi,
    I need to create a restricted key figure using attributes of 0BP_COMPET.
    On my report is :
    Competitors (0BP_COMPET)
    Quantity
    Active Competitors = Expiry Date of Minority Status greater than or equal to system date
    Inactive Competitors = Expiry Date of Minority Status less than to system date
    Note : Expiry Date of Minority Status is a navigation attribute of 0BP_COMPET and system date is generate by variable 0DAT - Current Calendar Day (SAP Exit).
    How can i apply the formula?
    Thanks

    Here's a good How to Document that explains what you are trying to do ....
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/72f4a790-0201-0010-5b89-a42a32223ffc
    It is called How to.... Calculate with Attributes.
    Brian

  • Restricted Key Figure with interval variable

    Hi,
    I've a restricted key figure for KF 0AMOUNT restricted by 0FISCPER. There is a variable restriction on 0FISCPER which determines the period interval in customer exit.
    e.g. 001.2008 to 009.2008
    The problem is, in query this RKF is returning only the values for period 009.2008. It should return the total for all the periods.
    Can you tell me what could be missing?
    Regards,
    Amit

    Hi Amit,
    please check the cutomer exit, as the range might not be properly defined in the exit.
    Firstly check if the variable is defined as range or single value, and if defined as range please check the below mentioned lines in the exit:
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'BT'.
    as they stand for:
    SIGN     (I)ncluding [ ] or (E)xcluding ] [
    OPT     Operators: EQ =, BT [ ], LE <=, LT <, GE >=, GT >, CP, and so on.
    hope it helps
    Regards,
    Umesh

  • "new selection", restricted key figure and basic key figure

    Hi,
    I have a test report and i have a basic keyfigure "ZRevenue" and "restricted key figure"(its defined over "ZRevenue") and
    a "new selection"(its defined over "ZRevenue").
    Now that i have "material number" and "material color" and "request id" in the rows. ("Material color" is a navigational attribute of material number).
    In the column level i have a basic key figure  "ZRevenue" and "restricted key figure"(its defined over "ZRevenue")  and
    a "new selection"(its defined over "ZRevenue") .
    In a "restricted key figure" or "new selection", we can include a basic key figure or new formula or calculated key figure or an already restricted key figure into it, then we restrict it, with one or more characteristic values. In the report output we get KF values only for those characteristic values, with which it has been restricted. Please correct me if my understanding is wrong.
    Initially i restricted the "new selection" (with material number 1 to 3) and "restricted key figure" (with material number 1 to 4).
    In the cube i have material numbers 1 to 11. Now all the values were displayed from 1 to 11, but for the
    "new selection" (with material number 1 to 3) and "restricted key figure" (with material number 1 to 4) i got values only for 1 to 3 and values for 1 to 4 respectively. This is as expected and is working fine.
    Now i tried to restrict the basic keyfigure  "ZRevenue" with material number 1, the output was only until the material number 4 (this is the greatest value of the material number defined over the "restricted key figure").
    Then i tried to restrict the "new selection" (with material number 1 to 9) , then the output was from 1 to 9 material numbers.
    If i remove the restriction over the basic keyfigure  "ZRevenue" , then i get all the material numbers from 1 to 11, for "new selection" i get values for the material number 1 to 9 and for "restricted key figure" i get values for the material numbers 1 to 4.
    Can some one explain me why this behavior?
    Edited by: sapbi enthusiastic on Jan 31, 2012 11:48 AM

    Hi,
    This is where set theory comes in handy
    So what you have is a basic KF (BKF), a selection (SEL), and an RKF.
    When producing an output, BEx seems to be looking for the union of all the restrictions you place on these. So when your BKF is not restricted, the union comes out to everything in the underlying DSO. When you restrict the BKF for material number 1, this is how the restrictions might have been processed internally
    BKF: Restriction on material 1
    RKF: Restriction on material 1-4
    SEL: Restriction on 1-3
    Union of these three: 1-4
    When you remove the BKF restriction and make SEL restricted to 9, this is how it plays out
    BKF: NO Restriction on material
    SEL: Restriction on material 1-9
    RKF: Restriction on 1-4
    Union of these three: everything.
    As the union ends up giving you everything, you get 11 records. However, as SEL is restricted for 1-9, the SEL will have values for the materials 1-9. Likewise for RKF, you'll get values only for materials 1-4. Hope this clears things up!
    Regards,
    Suhas

  • Restricted Key Figure (Maximum Selection)

    HI ,
    I need to populate a field  to compute by order group.
    I have created a restricted key figure with Value and Order ( Constant Selection).
    Apart from Order, i need to drag drop many other characteristic fields from BEX-Row into this RKF and define it as Constant Selection. This will help me to compute the value by order group.
    Max charateristic that i can drag drop within a RKF is abt 15.
    Is there a limit to this?
    Appreciate input from anyone who is familiar with this.
    Thank you.
    Regards,
    Maili

    HI Maili,
    I dont think there is restriction on the number of Char that can be included for restriction while creating a Restricted KF ,
    Please do let know if there is any problem
    Regards,
    Sathya

  • How to use Restricted or Calculated Key figure with Characteristics?

    Hi,
    Query has characteristics 'Indicator' which has values  'X' and 'Y' depending this value, the Key figure Quantity(which is always +ve) has to be shown on the report either as -ve or +ve.
    Do I use Restricted Key figure if so, how? Or can I manage with a Calculated Key figure?
    Thanks,
    Kamala

    Hi Kamala,
    You can create 2 RFKs each in which you are restricting the KF with char value X and Y. For the one that needs to be -ve, create a CKF with this RKF and multiply it by -1 in the formula. Then you can create a new CKF that will add this CKF and the other RKF.
    Hope this helps...

  • Text elements and key figures with multiple restrictions

    Hi,
    I'd like to display text elements in my query according to the restricted key figures in it. There is a restricted key figure used multiple times with different base of restriction. (For exmple Sales in the past week and yesterday.)
    KF restricted by <i>actual calendar week</i>,  and
    KF restricted by <i>actual calendar day</i>
    When displaying text elements, only calendar week appears, however, if KF restricted by calendar week is removed from the query, calendar day is being displayed. (I suppose that both time characteristics are taken as filter values.)
    Is that possible to display both filter values at once? Or at least calendar day meanwhile still having the week-based restriction in the query?
    Thanx in advance,
    Gabor

    One option would be to not use the *MVAL keyword and load the amount and quantity in separate Data Manager package imports wherby you can easily assign the NA to the appropriate dimension.  When you import amount -- assign NA to P_UNIT and when you import quantity -- assign NA to P_CURRENCY.
    However I suppose you would prefer to have one import process. Unfortunately I think you will have to find an ABAP custom solution by calling the END_Routine BADI from the transformation file to deal with the currency and unit dimensions.
    Best regards,
    [Jeffrey Holdeman|http://wiki.sdn.sap.com/wiki/display/profile/Jeffrey+Holdeman]
    SAP Labs, LLC
    BusinessObjects Division
    Americas Applications Regional Implementation Group (RIG)

  • Can we do caculated keyfigure with in a restricted key figure

    can we do caculated keyfigure with in a restricted key figure

    [Hello ,|http://chandranonline.blogspot.com]
    Yes, an RKF can have CKF,keyfigure and an RKF as well in the restriction.
    [Thanks|http://chandranonline.blogspot.com]
    [Chandran|http://chandranonline.blogspot.com]

  • Can we do caluculated keyfigure with in a restricted key figure

    can we do caluculated keyfigure with in a restricted key figure give details

    Hi,
    Calculated key figures consist of formula definitions containing basic key figures, restricted key figures or precalculated key figures.
    The key figures that are restricted by one or more characteristic selections can be basic key figures, calculated key figures or key figures that are already restricted.
    For more help go to these links,
    http://help.sap.com/saphelp_nw04s/helpdata/en/61/d0b143aa26b849b4e79a859ea1d7d1/content.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/13/e072abaddb574284d22361f0b824bf/content.htm
    assign points if it helps
    Thanks & Regards,
    santo

  • Problem with restricted key figures

    Hi all,
    I have four restricted key figures in my structure each one is restricted  Fiscal period with user entry variable but when i execute the report and check one of the restricted keyfigure is actually not restricting the values.
    suppose user entered 10.2006 in the selection for fiscal period then one of the column Goods receipts QTY which is restricted with Fiscal period display values other than that of 10.2006
    Did anyone faced such problem earlier?
    Please let me know if anyone had a clue.
    Thanks in advance
    Regards
    Ajay

    Hi gopi,
    Thanks for all of the restricted keyfigures it is "include value".
    Regards
    Ajay

  • Problem with Restricted Key figure!

    Hello BW Gurus,
    Currently I am having problem with a report that is using a restricted key figure in the formula. When I filter down this restricted key figure, it is working fine but when I use this restricted key figure in formula that calculate greater than value, its giving me wrong figure and when I calculate less then value, its giving me zero total result. I am drilling down this restricted KF on a hierarchy. Did I miss any setting or do I need to do anything extra for this?
    Please let me know and thanks in Advance,
    Vaghar.

    In that case create two calculated keyfigures CKF1 and CKF2 such that
    CKF1 = ((Count >100)*1 + 0)
    CKF2 = (Count<100)*1 + 0)
    and then define Greater Count as a formula such that
    Greater Count = <b><i>Count</i></b> (CKF1)
    and similarly Lesser Count = <b><i>Count</i></b> (CKF2).
    where <b><i>Count</i></b> is a data function which gives a value of 1 when the operand <>0 and returns a 0 when the operand = 0.
          Hope this helps.

  • [sapsem] BI-IP: Documents with restricted key figures in WAD

    Hello,
    we use documents for characteristics in WAD (BI IP) suscessfully.
    We would like to use documents also for restricted key figures.
    Example:
    0Version has "document property" defined in RSA1
    We have a restricted keyfigure ED_K10 with the restriction 0VERSION = 10
    We are not able to use it, because document functionality can be used
    for characteristics only.
    Does anyone have an idea what to customise to be able to use documents
    also for restricted keyfigures?
    regards and thanks in advance for any feedback
    Eckhard Lewin

    Hi Eckhard,
    I think 0version needs "document property" , too !
    regards
    Paul

  • Key figure with pre-calculated aggregation

    Hello,
    I have to model a key figure with a pre-calculated aggregation, that is, soruce flat files contain explicit values for months, quarters, halfyears and years. The key figure is a percentage (service quality) and the corresponding company department provides me with results for all aggregation levels.
    I think that this case can be modeled with one InfoCube for each aggregation level and a Multicube but I have to create a high number of InfoCubes (aprox. 180).
    I can get the formula that department uses, but it's possible on BW to change standard aggregation (SUM, MAX, MIN)?
    Thanks in advance and regards,
    Alberto Garcia.

    Hi Alberto,
    One of the ways of doing it could be -
    add another field (char) to your cube called at "value Type" & assign different values to it depending upon the time value.
    say Monthly  - value type 1
        Querter  - value type 2
    & so on ...
    keep filling the same key figure.
    at the time of reporting restrict your key figure accordingly with the value type. ( say need only montly key figure value restrict value type to "1")
    hope it helps.
    VC

  • Displaying Restricted Key Figure Based on Fiscal Year

    I'll try and explain my problem.
    We have created a query using the CCA cube. We created 3 restricted key figures each with a different budget plan version. They are called 'AB' ,'PB' and 'RB'. When the user runs the query it will show planned values out for 5 years. So for example right now we are in Fiscal year 2006.
    The problem is that 'AB' is only valid for year 2006, 'RB' may only me valid for 2007 and 'RB' may only be valid for 2008 - 2010. They use a different plan version for different years, If I place all three columns on the report I get zeros when the plans are not valid. Here is what I would like: When the fiscal year changes somehow select the correct restricted key figure to show and also adjust the text to reflect the fiscal year.
    Its like my variables are dependent on the fiscal year displayed.
    Any help would be great.
    Rick

    Hi Richard,
    Have you tried out the Suppressing Zeros options in query properties...if the whole column is blank for a particular year, you should be able to suppress it. Click here for more info:
    http://help.sap.com/saphelp_nw04/helpdata/en/1e/99ea3bd7896f58e10000000a11402f/content.htm
    You can use text variables in the RKF description to reflect the year for which the data is being displayed.
    Hope this helps...

  • Customer Ext Variable is NOT working correctly in the Restricted Key Figure

    Hi all,
       I have created a variable ZVCBLMTH (Period from 01/1996 to Last Month) with reference to
        0CALMONTH  and it will be populated through  Customer Exit and it works fine.
        In the selection for 0CALMONTH, I gave the range as '05/2008' to '08/2008' and this new
        variable  passed the value of  range as '01/1996' to '04/2008' in RSRT.
        The properties of the variable are:
              Type of Variable -  Characteristic, Processing by - Customer Exit, Variable Represents - Interval
              and Variable is - Optional.
              No change in the result after changing the 'Variable is' from Optional to 'Mandatory'.
      This variable is used in Restricted Key Figure to calculate the number of matching records between
       01/1996 & 04/2008 and somehow it is not recognizing this variable and NOT passing the results correctly.
       But, there are records with 0CALMONTH between 01/1996 & 04/2008.   
       How could I test that which value is passed into the Restricted Key Figure for this variable, PLEASE ?
       Thanks in advance.
    Regards,
    Venkat.

    Hi Clemens Li
    I agreed on your point. When we define the Internal table the type for element EQUNR & QUMNR , we are referring the SAP data element for EQUNR, QMNUM field.
    Our doubt is even though we refer the standard data element, in the ALV display, it shows with leading zeros and also it creates problems in the filtering and in the filter window all values instead of unique nos.
    Hi Abhii
    I have given below the fieldcat coding.
    Friends, can you kindly clarify the above said problems. Since we use SAP ECC 6.0 any notes or patches apply is required. ( this is the basic functionality in ALV, that is my doubt).
        wls_fieldcat-col_pos   = wpv_pos.
        wls_fieldcat-fieldname = wpv_champ.
        wls_fieldcat-tabname   = wlc_tabname.
      wls_fieldcat-seltext_s = wls_fieldcat-seltext_m
        wls_fieldcat-seltext_l = wpv_libelle.
        wls_fieldcat-ddictxt   = 'L'.
        wls_fieldcat-no_out    = wv_no_out.
        APPEND wls_fieldcat TO gt_fieldcat.
    Kind regards,
    Jegathees P.

Maybe you are looking for

  • Is it possible to load Final Cut X and Final Cut 7 on the same macbook pro?

    I already have Final Cut X on my MacBook Pro and I tried to load Final Cut 7 on there and after it said install complete I checked and it was not in my applications but the peripheral applications were. Is it possible to load them both on the same ma

  • Closed Captioning on 52HM84

    All of a sudden my closed captioning has become whacked.  It seems to add garbled letters,  makes the black box bigger at times,   sometimes a third of my screen.   It is not happening on other tvs in the house so has to have an issue on this one.  

  • No Asha apps in Nokia store?

    For some reason I cannot select my Asha 501 as "my device" in the Nokia store. How do you look up your apps for the Asha on your computer?

  • Bad Time to buy Lightroom?

    Question:  I am using Lightroom 1.4 and want to upgrade (finally).  However, Lightroom 2.0 has been out awhile now and I wonder if I should wait until maybe the next version comes out.  Of course, when that is is anyone's guess.  But it has to come o

  • Printing from the ipad mini

    How do I set my ipad mini to print through my  network without having to download extra apps?