Unit in Key Figure Definition

Hi,
This is very basic question.
While defining the key-figure, we heve fields, 'Fixed Unit of Meas.' and 'Unit/Currency' in the 'Type/Unit' tab. Could any one can tell me that what is the difference between these two fields and its significance. Generally in 'Unit/Currency' we give '0BASE_UOM' which itself is a Unit Info-object. And in the definition of '0BASE_UOM', reference Info-object is '0UNIT'. So why hierarchy is like that?
Thanks in advance.

Hi Nitin,
If you define some UoM in the Fixed Unit of Measure then for that keyfigure the UoM is "fixed". Normally keyfigures can be used on multiple planning areas and or infocubes and you do not want to have the UoM fixed. You define the UoM in the Planning Area so that the keyfigure stores data based on the Planning Area UoM in that case. In case of usage of keyfigure in an Infocube the UoM is maintained in a separate characteristic like 0BASE_UOM or 0UNIT.
Since the same infoobject can have usage in multiple cases it is not advisable to put in a Fixed UoM during definition.
Hope this helps.
Thanks,
somnath

Similar Messages

  • Key figure definition in BEx gives "Error loading template 0QUERY_TEMPLATE"

    Hi,
    On a BI 7.0 system I try to run a query in the BEx Analyzer and after I have the result in Excel. I wants to see the key figure definition by right clicking in a data cell.
    Then I get this error message after the browser has started up.
    Error loading template 0QUERY_TEMPLATE
    Notification Number BRAIN 276  
    Any ideas how this can be?
    Kind regards, Bjarne

    hi,
    Please check the below path in BI and set the template "0ANALYSIS_PATTERN" there:
    SPRO ->SAP Netweaver -> BI ->Settings for reporting and analysis ->BEX Web -> Set Standard Web Templates -> Ad-hoc analysis -> set the above template and save it.
    check wether it works afterwords or not.
    This is the standard web template called every time when we execute our query's.
    Thanks
    Dipika

  • Key Figure Definition - Context Menu of Querys

    Hi experts,
    After an upgrade from 3.x to 7.0, we´re having some problems to access the option "key figure definition" in the query context menu. When we access this context menu option, the filters are not passed between windows and some errors appears.
    Have you ever seen something similar? how can I solve it? I looked for some similar issues in the forum, but I didn't find anything.
    Thanks.
    Edited by: Julian Holgado on Nov 2, 2010 3:35 AM

    Hi Neeta,
    Is it possible for a query to be affected by patchs of BEx frontend? I mean, when we're running a query and we try to access the context menu->key figure definition option, we're not watching the key figure restrictions and we get an error in the popup. Can we get the error because of a BEx frontend patch?
    Thanks for you reply. Best regards,
    Julian

  • Multi provider objects and restricted key figure definition

    I have the following scenario:
    1. I have a multi provider which is used as a template to build a second multiprovider the difference being one of the part provider cubes is replaced by a new cube
    2. There is a query built off the original multi provider which consists of a restricted key figure.  The definition of the restricted key figure is as follows
        Characteristic 1 - restricted to records with value 'A'
        Characteristic 2 - restricted to records with value 'Blue'
        Key Figure - Total Amount
    3. If I go to the original multiprovider and look at how the characteristics are identified and the key figure assigned the details are as follows
         Characteristic 1 - identified from all part providers including the part provider to be replaced
        Characteristic 2 - identified from all part providers including the part provider to be replaced
        Total Amount - assigned from two part providers (which are also involved in the identification of   Characteristic 1 and 2)  not including the part provider to be replaced
    4. In the new multi provider the details are as follows
    Characteristic 1 - identified from all part providers excluding the replacement part provider
        Characteristic 2 - identified from all part providers excluding the replacement part provider
        Total Amount - assigned from two part providers (which are also involved in the identification of   Characteristic 1 and 2)  not including the part provider to be replaced
    My thoughts are that it does not matter that Characteristic 1 and 2 cannot be identified from the new part provider since as long as the two part providers which are used to assign Total Amount are available in the new multi provider the values shown from the restricted key figure will be the same.  Is this correct? Thanks

    Hi,
    Yes this is correct. As long as you are reporting on Total Amount, the replacement cube will not make a difference because you never identified total amount from it. Did you face any issues?

  • Calculated key figure definition dropping off

    I have a query with lots of calculated key figures (ckf). As I create more ckfs, the underlying definition of some ckf as old as 2 years old are removed. When I run the report, it throws error. What I have done is to put pack these calculations and it works. What can I do to stop the definitions from dropping?

    Hi,
    Can you please provide us the error message you are getting?
    Thanks & Regards,
    Vipin

  • Statistic Report - Key Figures Definition - Infoprovider 0TCT_MC01

    Hi Colleagues,
    What is the meaning of the KF 0TCTQUCOUNT ? Count for BI ApplObj ?
    It count the number of acces to a query by a user ? the number of navigational step in the query ?
    Thanks

    Its Counter for BI Application Objects
    check the following link:
    http://help.sap.com/saphelp_nw70/helpdata/en/10/e6332bef6e443e8e775043c1b0edf7/frameset.htm

  • Key figure units in fact tables of InfoCube are blank

    I run RSRV - Key figure units in fact tables for my cube and found the following error message. I found one SAP note 941895 - RSRV test fails with unknown error, but our system status is SAPKW70020, so this note is not useful to our case. Pls advise!
    System message:
    The test Unit of key figures in fact tables for InfoCube XXX initial had to be terminated due to an unknown error (RSRV320).
    Many thanks!
    rajatina.

    Hi Raja,
    Check that in your transformation you have mapped Unit from source system to this key figure. If not then you will have to do the mapping and reload the data. If you are not able to get unit from source system then atleast you will have to assign some constant Unit if possible.
    Regards,
    Durgesh.

  • 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,
    Sachin

    Hi,
    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

  • NON CUMULATIVE KEY FIGURE 0NUMWDAY

    Hi Gurus,
                 I am having a problem I can't solve with key figure 0NUMWDAY.
                 I have to calculate 0numwdays for each 0calmonth. 0numwday is not an attribute of 0calmonth, (in fact 0calmonth has no attributes) which is OK, because working days vary for companies, factory calendar and country holidays.
                We have the routine ti get the exact number of days and working days for 0calmonth, and they go as a key figure for my Purchase Order Cube.
                Now, when I create the query for amount of purchase order for a certain month, I need the working days to calculate the average.
              But I get the working days summarized, when I need in fact only the working days NOT SUMMARIZED. I have tried different things, but haven't worked.
                I need working days by ocalmonth, purchase doc type, position, record condition (- or +). When I define an infoobject as reference, I can only add ONE, when I need to add more!
               Waiting for your help,
              Kind regards!

    Hi María,
    I think you can solve the problem by defining an exception aggregation to the key figure 0NUMWDAY.
    You can do it at key figure definition or at query level. 
    For more information, you can check this links:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/d2/e0173f5ff48443e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/80/1a62f8e07211d2acb80000e829fbfe/content.htm
    Hope this helps.
    King regards,
    Maximiliano

  • Key Figures With Hide can be shown showing wrong values when displayed in a query

    Hi Experts,
    I have a qiery with two structures in the column(cell Definition) three key figures are displayed and the rest are all hide can be displayed. However whenever i display one of the hidden key figures along with one displayed key figures it initially shoes incorrect values. Once i add another key figure (which has status always show) the hidden jey figure value gets corrected. Is it a problem with the structure? Kindly assist.For example  when i display the actuals(always show) and actuals rate(hide can be shown) the values for actuals rate are wrong , however when i add the plan rate(always ahow) the values for actual rate gets corrected. Screenshots for structures below.

    Hi Sayanto,
    For this I would recommend you to check the Key figure definition in all 3 situations.
    1. original display
    2. display of hidden KF
    3. Display of existing KF
    I suspect that cell references may have some effect on the calculation as you are adding the hidden KF in analyzer directly. You can prove this only by checking  Key figure definition.
    Please let me know if you are facing any issue in getting the Key figure definition itself.
    Also, as Cornelia suggested check if you have any constant selection applied to any of your KFs.
    Hope this helps.
    -Swati.

  • Calculating Key Figure on Fly in BPS Layout ??

    Hello there,
    Here is my requirement. I need to create a BPS Layout (Read Only) which Displays, Sales Quantity, Cost of Sales and Unit Cost. I have Key Figures for Sales Quantity and Cost of Sales. I want to Calculate Unit Cost on BPS Layout.
    Unit Cost = Cost of Sales / Sales Quantity.
    Can some body tell me ho to calculate Unit Cost on BPS Layout?
    Ps: I don’t have Unit Cost Key Figure because I ma not using it anywhere else, It is just to display in the layout.
    Thanks in Advance.
    Edited by: BPSNEW on Feb 15, 2008 3:49 AM

    Hi,
    In the third screen of your layout, goto Tools -> macro -> SAPAfterDataPut -> Edit.
    This will take you to VB editor where you can write the below macro.
    Dim Data_row As Integer, UnitCost As Integer, CostOfSales As Integer, SalesQty As Integer
    Data_row = 3 (say your data starts from 3rd row.)
    UnitCost = 6 (Unit Cost Column number)
    CostOfSales = 4(CostOfSales Column Number)
    SalesQty = 5 (Sales quantity column number)
    DoWhile IsEmpty(Cells(Data_Row,1).Value) = False
    Cells(data_row,UnitCost).value = Cells(data_row,CostOfSales).Value / Cells(data_row,SalesQty).value
    Data_row = Data_row + 1
    Loop
    After writing this macro, in the excel sheet, you can see one icon which says MS Excel Settings. There tick the VBA macro SAPAfterDatePut so that this macro runs automatically whenever you execute the layout.
    Hope this is clear.
    Regards,
    Bindu

  • Key Figure units in Fact Table - Error

    All -
    When a run a report off of a cube, some row display 0 when there are corresponding values in my cube.  The report doesn't agree with LISTCUBE.  I have ran transaction RSRV on my cube and tested the "Key figure units in fact tables of Infocube" and I get an error saying that 1380 units are missing from fact table.
    <b>Diagnosis
    In the fact table /BIC/FEU_FRCTS records have been found that contain values other than zero for key figures that have units, but that have no value for the unit of the key figure. Since the value of the unit has to correspond to the value of the key figure, this inidicates an error when the data was loaded. The values of the units have not been loaded into BW correctly. Choose Details to display the incorrect records.</b>
    Does anyone know what this error means? How do I solve this problem?
    Thanks,
    Nyrvole

    hi Nyrvole,
    as the message said, you have keyfigures with unit but the unit value not filled, click 'detail' as suggested to check which keyfigure(s) involved, that go to rsd2 type in that keyfigure and see which infoobject unit is used, then check transfer/update rules how this unit infoobject mapped, try correct the values and upload again.
    there is option 'repair' in rsrv but think in this case it can't fix the error, just try.
    hope this helps.

  • APO key figures - units of measure

    I am using APO V5.1.
    Via RSA1 I have created a key figure of data type Quantity and unit = 0UNIT.
    I have assigned this key figure to my planning area and planning book.
    The planning area has unit of measure = CAS, and this is the unit of measure shown for my new key figure in interactive planning.
    How can I change the unit of measure for my new key figure to D(ays)?
    Thanks for any advice...

    Datta,
    Thanks for this reply.
    I have followed your advice...
    I have a key figure with data type 'Number'.
    In interactive planning, this key figure is appearing with a blank uom.
    In the planning book design, on the 'key figure attributes' tab, I cannot however make any changes to the key figure attributes including uom, as they are greyed out.
    Any ideas on this?
    Thanks...

  • How to add unit to calculated key figures in BEx

    How to add unit to BEx calculated key figures in SAP BW BEx?
    I would like to add a unit to a calculated key figure in SAP BW BEx, so that it gets visible on the end user level. Currently the unit field is empty. I calculated the value from various key figures with different units and removed the units with the NODIM()-function. Is there an inverse function to NODIM() with which you can add a specific unit (like EUR or TAG).
    The "How tou2026 Report Data in Alternate Units of Measure" does not seem to cover the point.
    "Quantity Conversion Guide for SAP Business Intelligence" refers to the "Conversion" tab.
    I suppose you have to add a conversion routine, which is 1:1 and sets the target unit defined in BEx.
    Has anyone tried this? Is there a more simple solution?
    OLAP-Quantity Conversion:
    http://help.sap.com/saphelp_nw70/helpdata/EN/27/b65c42b4e05542e10000000a1550b0/frameset.htm

    Hi,
    if your CKF will have always same unit and you have one KF in you inforpovider with this unit, you can try to do this trick
    create a new hidden CKF as new CKF = KF / KF (with this equale new CKF = 1 unit)
    change your old CKF as old CKF = old CKF * new CKF
    let me know if it works.

  • Add unit to a key figure

    Hi group!!!
    I need to add a unit of measure( i have it as char) to a calculated key figure in the report.  I have done it several times when it is key figure by adding the unit when editing. I do not find the way when it is a "calculated key figure" Does any one know how it can be done?
    Thank in advance for your help!!!!

    Hi Karthik,
    This can be done with percentage functions available at Caluated keyfigure and new selection.
    change CKF Margin % to (margin (ckf) Percentage Variance (%) gross sales (CKF))
    Result will display like this 20.01%.
    [http://help.sap.com/saphelp_nw70/helpdata/EN/e2/16f13a2f160f28e10000000a114084/content.htm]
    Hope this helps.
    Hi David, i am using this thread to answer Karthik's post.
    best Regards

Maybe you are looking for

  • Unable to upgrade SQL Server 2008 R2 to SQL Server 2012 SP1

    I'm encountering error after error, after successfully installing the upgrade advisor (which took some doing) and running it with essentially no warnings/errors (the one warning was on the connection strings, as I recall -- and all of the warnings ha

  • Lightroom import issues

    so i went to upload some photos into lightroom (4.4 which I just updated) and they "imported" it's just not showing my images! It's all grey! Please help I just photographed a baby and need to edit these ASAP!

  • Pages resizing my doc

    Pages is resizing my document when I try to print or convert to PDF.  It is CLEARLY an 8.5 x 11 document but tries to print like a tabloid.  I have already chosen US Letter as my paper size.  This is the ONLY document that is doing this.  It is 70 pa

  • Lightroom 4 and XP users

    I've purchased Lightroom since Version 1 but I guess version 3.6 will be the last.  I'm running XP and have NO plans to convert to Windows 7 or especially VISTA because of older devices that still run OK and software I've downloaded with no CD as a b

  • Map Serial No to External Id

    Hi All, How can we map the Serial no coming from R/3 to External Ids of Ibase in CRM while loading.In BADI  CRM_EQUI_LOAD. Thanks. Ashish