Problem in using characteristics as key figure

Hi,
I have a situation where I need to display booked site and closed site sales value and number of sites created in a particular period.
There is a job id under which multiple SO's can generated. First SO created for a particular job id is indicated by 1 in an indicator (say, ind-1) (which is a keyfigure) and other all SO for that job id are marked as 0 in that indicator. Not booked site can be identified by summing up the indicator values job id wise. Say I have 5 job ids, then my sum will be 5. No problem in that.
Now the invoice generated for the last SO will be marked as 1 and other all as 0. But the indicator (say, ind-2) used here is characteristic of type numc. So I have created a formula variable using replacement path as processing type and reference characteristics as ind-2 which can be used as a key figure. But the result I am getting is in two rows for each job id, i.e., 0 and 1. How to resolve these into single row for each job id and get the result as 1.
Regards,
Sumit

Hi Sumit,
Until this point you have just done nice. Now at this point you can create a selection; include ind-1 kyf in the selection and ind-2 characteristic as cosntant selection. Then add a condition on mark to show values greater than 0. Then you can get a result with one row each 1.
Regards
Yasemin...

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

  • Problem in using formula when key figure is commulative

    Hi all ,
    I am problem in generating the report when we use the  of cummulative key figure to the formula..
    consider the following senerio..
    Date      KF1 KF2 KF1(C) Kf2(C) Formula (KF1(C) - KF2(C)
    5.10.2005 1   2   1       2      -1 (wrong result)
    6.10.2005 3   4   4(1+3)  6      -1
    7.10.2005 5   6   9(4+5)  12     -1
    System is taking the actual KF1data is subtracted with KF2 data it not taking cummulative data, Actually my requirement i want to subract the cummulative data between two key figure (ie KF1(c)-KF2(c))
    My Required Output:
    Date      KF1 KF2 KF1(C) Kf2(C) Formula (KF1(C) - KF2(C)
    5.10.2005 1   2   1       2            -1 (Correct)
    6.10.2005 3   4   4(1+3)  6            -2 (4-6)
    7.10.2005 5   6   9(4+5)  12           -3 (9-12)
    pls let through the lights on the above issues.
    with Regards,
    Hari

    Hi Murali..
    Thanks a lot, now i got a proper output and working fine..
    what i did yesterday was i have creted a two key figure as a cummulative key figure ..
    and when i try to subtract two cummulative key figure system is subtracting with actual key figure and hence i got wrong result.
    Today i did same thing, only diffence is i made the third formula key figure as cummulative ..
    With regarsds,
    Hari

  • Using Non cumulative key figure in Real time cube

    Hi gurus,
    I have used non cumulative key figure in a real time cube and when i tried to enter some data using RSINPUT ,it is giving an error and the data is not getting saved.
    Can anyone please tell me how to use the Non cumulative key figure in the Real time cube .
    Thanks in advance
    Regards,
    Ravikanth

    Hi Ravi,
          Please make sure that when you use a non cumulative key figure iun your real time info cube, then choose a time reference characteristic for that key figure.
    Then, this time reference characteristic applies for all the non-cumulative values of the InfoCube and must be the u201Csmallestu201D of the time characteristics present in the InfoCube.
    For more detaisl, refer to the [http://help.sap.com/saphelp_nw70/helpdata/en/39/100c38e15711d4b2d90050da4c74dc/frameset.htm|http://help.sap.com/saphelp_nw70/helpdata/en/39/100c38e15711d4b2d90050da4c74dc/frameset.htm]
    Thanks & Regards,
    Balajee.

  • The use of restricted key figures in real time scenario

    Hi all,
    Please let me know the use of restricted key figures in real-time business scenarios....plz someone explain it with <b><u>example</u></b>...
    Also, can restricted keys be defined globally with same infoprovider...???????????
    Your response is thankfully acknowledged,
    thanks and regards,
    shalini.

    Hi,
    You can restrict the key figures of an InfoProvider for reuse by selecting one of more characteristics. 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. Which means you can define and use them globally in reporting for a particular infoprovider.
    Example:
    You have to show the sales for different product typessay 1, 2, 3, 4, 5, 6, for a company code.
    now you can define a RKF with company code and sales keyfigure.
    In the report, in columns, you use this RKF in new selection and restrict it with product type in 6 diff columns.
    New Selection.
    Restrict it with RKF
    Restrict it with product type 1.
    similarly for others..
    Hope this helps you....

  • How  use non cumulative key figure and noncumulative key figure screenshot

    how  use non cumulative key figure and noncumulative key figure screenshot

    Hello,
    Please see this docs for Non-Cumulative and Snapshot scenario,
    [How to Handle Inventory Management Scenarios in BW (NW2004)|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328]
    [Non-Cumulative Values / Stock Handling|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0b8dfe6-fe1c-2a10-e8bd-c7acc921f366]
    Thanks
    Chandran

  • Max no. of Characteristics and key figures stored in infocube

    Hi All,
       What is the maximum number of characteristics and key figures that can be stored in the infocube?
    Best Regards,
    Chandan Dubey

    Alright,
        Now what I know about that is max 255 chars and 255 key figures can be stored. Here I am talking about the individual planning levels (like product, product group, customer, location and so on) and not the "DATA".  I know data storage can not be defined in numbers and no significance too.
    I hope my question is clearer now !!
    Best Regards,
    Chandan Dubey

  • Available characteristics and key figures in drilldown reports

    Hi,
    I'm wondering which table /structure defines what characteristics and key figures are available for drilldown reports (eg. G/L), and if it is possible to add new chars/key figs.
    I reckon there must be a structure resembling Report Painter libraries, where you can select fields from a reporting table. I just can't find that structure anywhere.
    Any help is appreciated.
    Best regards,
    Jarkko Kuusisto

    For GL the menu path is Financial accounting-general ledger accounting-G/L accounts-Line items-line item display.
    Here you select the way the line item display is set up. Also you can select the fields you want and additional fields as well. Some tcodes range from O7F1 and O7FE.
    This varies by module but is generally in the line item or information systems section in configuration.
    Go to GR21 and drop down the tables and you can see all the tables availble for report painter.
    You can add tables to report painter in sm30 in table T804A. That makes it availble for report painter.
    please assign points. It is appreciated.

  • How to choose the characteristics and key figures for a cube

    Hi Gurus,
    To create a CO-PA cube, based on a DataSource, what chars and kfs should I select from std objects? I have the list of fields from the datasource, but how to interpret what infoobject/s are relevant for each io?

    To create a CO-PA cube, based on a DataSource, what chars and kfs should I select from std objects? I have the list of fields from the datasource, but how to interpret what infoobject/s are relevant for each io?
    Hi,
    For CO-PA since it is a generated DataSource, except for the common characteristics ( E.g. Company Code, Controlling Area ) where you get standard InfoObjects for all other Characteristics and Key Figures you end up creating custom or Z characteristics and key figures. This is unavoidable.
    Assigning points is the only way of saying thanks in SDN
    Thanks,
    Shan.

  • Maximum  number of characteristics and  Key figures used in a Query

    Hi Experts,
                Any Thought on the maximum number of Characterstics and key figures that can used in a Query. I know  it impacts performance query and runs for very long time.
    Thanks,
    Kumar.

    Hi Kumar,
    Welcome to SDN.
    I really did not think about it till now, sharing my thoughts on this -
    1. You can use all the characteristics & Key Figure ( & more)in Query what you have in you Cube.
    2. Query is suppose to serve a purpose, to deliver you analytics based on some KPI etc & it will have maximum no of char / key figures which human mind could make some sense of.
    3. Performance of query actually is divided into three areas -
    a. database time
    b. OLAP time
    c. Front End time
    and if you query on not performing well first look at which area is taking maximum time & the optimize that first & there are various ways to optimize each area.
    Hope it helps.
    VC

  • 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

  • Error when Using a Calculated Key Figure

    Hi,
    I am having a problem using calculated key figures (CKF's). I am not getting any errors
    when i am creating them but when i pull the same into the report it is giving an error
    SUB FORMULA not available. Can you please advise how to fix this issue.
    Thanks
    Rashmi.

    Hello Rashmi,
    thius is a known issue. The procedure from note 1238872 can be useful:
    Download the BI 7.0 front-end add-on for SAP GUI 7.10, Support Package
    700 from the SAP Service Marketplace.
    Then save the calculated key figures in the InfoProvider (left-hand side
    in the Query Designer):
        o  Select the calculated key figures in the InfoProvider.
        o  Save the calculated key figures using the context menu
        o  or in the properties of the calculated key figures (right-hand
           side in the Query Designer).
        o  If other calculated key figures are used in a calculated key
           figure, save them as described above.
        o  For safety reasons, also save the query definition.
    If the calculated key figure was saved correctly, the system does not
    issue any error messages when you check the query definition (by
    choosing "Menu -> Query -> Check").
    Cheers,
    Ricardo

  • Table fields used for basic key figures in report writer/report painter

    Does anyone know how I can find which <u>table field</u> is actually being used for SAP defined <b>basic key figures</b> in report writer report? For example, <b>HSL</b> is a basic key figure for income statement, library 0F1, report 0F-GUVV. It only shows data is coming from table GLFUNCT. How does the report writer program knows which fields to select? What is the logic behind the basic key figures?
    Any advice is appreciated!!
    Minami

    I have now resolved this issue.
    I had to manually update TablesT804B and T804F. 
    I've added entries to T804A in the past without the need to update T804B or T804F manually so it appears that the way these tables work together has changed following an upgrade or application of support packs.
    Regards
    Mel

  • Long text problem in BW query and Key figure name

    Hello
    We're using SAP BO 4.0 (IDT) and SAP BW as a datasource. Maybe someone knows:
    1. How to change the name of keyfigure, which now appears as Formula 1, Formula 2 etc. In BW every single key figure has it's own name Sales, Purchases etc. What I'm missing here?
    2.As you well might know every single char infoobject has it's own Long\Short\medium which now appears as an attribute. When I choose multiple Long definitions then the execution of a BEx query fails with 'Inconsistent answers'. In Universe Designer we can change the objects name, but how to proceed here. Do I need to change something on a Bex query level?
    I'm well familiar with SAP BO, but due to lack of experience in SAP I'' ve hit astumbling block with these 2 things> Any assistance would be more than welcome
    Thanks in advace

    Hi,
    for (1)  - that doesn't sound right...   i think your KF are calculated KF (CKF)  possibly with a formulae variable .. or something, which is supposed to populate the name, based on a user response ? 
    Or maybe you've got non-unique KF descriptions, and this is some system imposed nomenclature?
    for (2)  i'm not so sure, but you may have to change the infoobject text setting, globally, in RSA1.   webi won't like non-unique labels if the keys are different.. How does it look with the default 'key and text' (medium) setting?
    yes you can change the characteristic display properties in Bex query designer, but i have a funny feeling that it doesn't get consumed by webi over that API.  (it's native OLAP stuff for BEx really...)
    Good luck
    H

  • Characteristic used as a key figure

    Hi,
    I have a characteristic (TRANSACTIONID) with many attributes. The NARATIVE is one of its navigation attribute (is a characteristic char(30) ). For some transaction the NARATIVE may contain a description, but for others it can contain a TAX value.
    In my reports I have to use this characteristic as a Key figure and also to use currency translation to show this key figure in other currency.
    I tried with replacement path but it didn't work.
    Is it possible somehow?
    Thanks a lot in advance,
    Dragos

    Thanks a lot for your answers,
    I tried in Query Design but I cannot make this possible.
    I have added a new key figure in the cube and made a transformation between that characteristic and this key figure.

Maybe you are looking for

  • Can not install windows 7 pro using boot camp as mouse and keyboard will not work Help please

    I have a new iMac and trying to install Windows 7 Pro using boot camp. I have reached the stage of starting to load windows from the DVD then discovered the mouse and the keyboards not working so I could not interact with windows installation.

  • Text Shift Uncontrollably Inside Accordion Widget

    Guys hi! I've been crashing my head for two days with this. Hope you will provide some help! I have an Accordion Widget with a very long text block inside one of the boxes (a list with over 80 lines). On the background to each second line I put a gre

  • Setting-up Problem in Acrobat Pro XI - It says "Scanner Driver is not installed"  How do I fix?

    Each time I try to Create a PDF from my newly installed Acrobat Pro XI  I receive an error message  "Scanner Driver is not installed or scanner is not connected"  How do I fix, as my Brother MFC printer/scanner is connected, as I can print OK.  Plus

  • Creating radio buttons and text box in the screen

    Hi Guys, Need help asap. I am writing a report and I have to create text box for user to input GL account numbers for two types of customer. I have to make these fields required and take the data back from the screen and write it in a file. The secon

  • Authorization checks

    Hi all My requirement is As we have 7 company and particular user are authorized for particular one. Means all are in group MGH. Employee                                               company Rahul