Key Figure in cube loaded zeros, Strange problem

Cube with three key figures
1)counter(for each record, CONSTANT 1)
2)Count with Exception aggregation (CONSTANT 1)
3)NO OF DAYS
NO OF DAYS is calculating and displaying correctly, where as   other two key figures in the cubes are zero (backend cube data as well as query).
Working fine in DEVELOPMENT AND NOT IN TEST.

Hi TR,
Pls do activate the update rules in test. Also check the  update rules display. I hope the reason for this problem is the 'update type' set to 'no update' for the keyfigure.
Hope this helps...Let me know
Regards,
R.Ravi

Similar Messages

  • Summing up key figure in Cube - data load from ODS

    Hello Gurus,
    I am doing a data load from ODS to cube.
    The records in ODS are at line-item level, and all needs to be summed up at header level. There is only one key-figure. ODS has header and line-item fields.
    I am loading only header field data ( and not the item-field data) from ODS to Cube.
    I am expecting only-one record in cube ( for all the item-level records) with all the key-figures summed up. But couldn't see that.
    Can anyone please explain how to achieve it.
    I promise to reward points.
    =====
    Example to elaborate my point.
    In ODS
    Header-field  item-field   quantity
    123                301          10
    123                302           20
    123                303           30
    Expected record in Cube
    Header-field       Quantity
       123                    60  
    ====================
    Regards,
    Pramod.

    Hello Oscar and Paolo.
    Thanks for the reply. I am using BW 7.0
    Paolo suggested:
    >>If you don't add item number to cube and put quantity as adition in update rules >>from ODS to cube it works.
    I did that still I get 3 records in cube.
    Oscar Suggested:
    >>What kind of aggregate do you have for your key figure in update rules (update >>or no change)?
    It is "summation". And it cannot be changed. (Or at least I do not know how to change it.)
    There are other dimensions in the cube - which corresponds to the field(s) in ODS.
    But, I just mentioned these two (i.e. header and item-level) for simplicity.
    Can you please help?
    Thank you.
    Pramod.

  • How to filter rows according to calculated key figures in cube?

    in my cube , i use V3 update for scheduleding lines of sales items.For example , in last delta update , valid row is last column ,other two rows make zero each other for key figures but i dont want to display first two rows in Bex.i want to get rid of these rows.because of not deleting previous data in cube, how to discard the rows , can i filter by calcuated key figures in query analyzer (like not display if sum of key figures zero)   
    Doc_No       Doc_Type   Reject_St          Item_No     Net_Price(Key_Fig)     Total_Pric(K_F)
    0002207615    TA           99               10        17,000             295.630,00
    0002207615    TA           99               10        17,000-            295.630,00-
    0002207615    TA           04               10        17,000             295.630,00

    if you do compression with <b>Zero Elimination</b> your problem will be sloved.
    or
    In the calculated Keyfigure, set to After Aggregation.
    Nagesh Ganisetti.

  • How to Selectively Delete ONE Key Figure from Cube....

    Hi:
    On a Daily basis (Via Process Chain), I need to do the following:
    1.  DELETE Single Key Figure from my planning cube.  When the "PYMNT DATE" is greater than System Date, then delete the
         key Figure.
    2.  Once Deleted, LOAD the same Single Key Figure from another cube when the PYMNT DATE is GT  System Date. 
    How can I do this in a Program.  What would be the code for this?  Need help with ABAP.
    Thanks in advance.....  PBSW

    Hi,
    See Article on Selective Deltaion in
    http://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    Using Selective Deletion in Process Chains
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/s-u/using%20selective%20deletion%20in%20process%20chains.pdf
    Thanks
    Reddy

  • Key figure correction in loaded data

    Experts,
    We had a bug in our datamart where in a particular key figure value was doubled throughout.
    It has been identified and addresses but before the new transports go in, how do we correct this so that the reporting is correct.
    Selective deletion will remove that entire record and then we ll have to wait for the fix to come in before we can load again.
    Is there any other way we can take care of this issue?

    If you are on BI7 than make use of remodeling toolbox
    refer:
    /people/mallikarjuna.reddy7/blog/2007/02/06/remodeling-in-nw-bi-2004s
    Another alternate solution refer:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f421c86c-0801-0010-e88c-a07ccdc69601

  • Storing Cummulated key figures in cube

    Hi,
    Can someone share on how to store cumulative key figure ? We have an Inbound and Staging layer that stores the inventory movements quantity. The staging layer contains material document and material item. At the reporting layer we need to be able to use the movement quantity and cummulate them by posting period. can someone share your thoughts on how this is coded with some performance considerations and delta. Is there an easy way to implement this in 3.X ?
    I.e.
    Material | Plant | Calendar Day | Quantity | Cummulated
    A | XYZ | 01.01.2011 | 10 | 10
    A | XYZ | 12.01.2011| 5 | 15
    B | XYZ | 12.01.2011| 40 | 40
    A | BBB | 13.01.2011 | 6 | 6

    if youre staging is a dso then you are in luck. you could create a transformaiton routine to read the active dso table, find the key and read all the quantity on it and then store the quanity in the new infoobject result..
    it should wok with delta.. unless somebody else comes up with a better idea..
    or you could do it in CMOD before you bring it in BW system, makes it run even faster..
    if your main object is a structure i could send u some code that help you figure it out..

  • Sum up key figures in cube

    Hi,
    I would like to include an ABAP code in a start routine.
    My infocube contains account numbers.  for each account there is an amount (0QUANTITY) and a 0CALMONTH.  Each line in the cube contains an account number and a 0CALMONTH.
    On every line of my infocube (for every account number with its 0CALMONTH) I would like to calculate in a new column the total amount for a duration of a roll back year.  Ex: Account Number 123, 0CALMONTH = 01/2009, 0QUANTITY = 10 -> In the new colomn I want the sum of 0QUANTITY for a roll back year (0QUANTITY 01/2009 + 0QUANTITY 12/2008 + 0QUANTITY 11/2008 + ... + 0QUANTITY 02/2008).
    Can someone give me an example of the ABAP code to perform this?
    Thanks a lot!

    When applying the solution you describe, beware of the modification on the different axis you use in your query.
    For instance, if the characteristic owner is linked to the characteristic Account, and if it can changed, you can encounter some difficulties to consolidate your data:
    On January :
      Account N° 123 Owner 001 -> 0CALMONTH 01/2009 -> Quantity 10
      Account N° 123 Owner 001-> 0CALMONTH 02/2009 -> Quantity 10
    On February :
      Account N° 123 Owner 002 -> 0CALMONTH 02/2009 -> Quantity 20
      Account N° 123 Owner 002-> 0CALMONTH 03/2009 -> Quantity 20
    Here, data on february are assigned to the owner 1 and 2 (for the same account), this is not what you necessarily want...
    The problem is that you assign values in the future (and here, you don't know which owner will be assigned to the account in this future)...
    Regards,
    Fred
    Edited by: FCI on Jun 18, 2009 4:22 PM

  • Help Required for Mapping Key figures from Cube to APO Planning area.

    Hello Experts,
    We have created cube in APO BW and now we want to map it to Planning area how we can map.
    Can any body explain how we can map keyfigures?
    What is the use of livechache how it will be updated?
    Regards
    Ram

    Hi,
    I am not very sure about the 9ARE aggregate (haven't used it in backups), but RTSCUBE is used to copy time Series (TS) KF data from cube to planning area (SNP or DP).
    Are you trying to restore some time series data from your backup cube to the planning area? If yes, then do a mapping of characteristic from cube to planning area in RTSCUBE, and also map the TS KF between cube and planning area.
    If your KF is not a time series KF, then you can't copy it from cube to planning area. You could get data to cube for some reporting, otherwise I am not sure what use the backup is for you. For SNP, most of the data would be received from R/3, so there's not much point in having a backup.
    Hope this helps.
    Thanks - Pawan

  • Calculations for Key Figure at CUBE Level or REPORTING Level

    Hi Folks,
    What are the conditions to decide whether we need to go for keyfigure calculations at infocube level or at reporting level.
    How to achieve them if done at cube level.
    Could anyone provide some KT with examples?
    Regards
    Kittu

    Hi,
    I got your point.
    Could you tell me how to use below mentioned formula at transformation time?
    In brief the formula calculates the number of policies using field  " s endorsement type".
    Formula is as below:
    SUM(CASE WHEN S Endorsementtype IN ('004','015') THEN -1 WHEN S Endorsementtype IS NULL  AND S Gross IS NOT NULL  THEN 1 ELSE 0 END)
    No of policies is a calculated keyfigure.I dont have this field in my datasource.
    could you tell me the steps ?
    Regards
    kittu

  • Problems with Key Figure and Drilldown

    Good day to you, experts. Several of our reports are required to include a key figure which shows a percentage value. The Query must show something similar to the following (please ignore the "-"):
    Total Products---Products Sold--
    Percentage sold
    Shop A / Jan--5020--
    40%
    Shop B / Jan--2828--
    100%
    Shop C / Jan--10030--
    30%
    TOTALS / Jan--17878--
    56.66%
    We can see this information for all months. As you can see, it shows the "Shop" Characteristic as well as the Calendar Month (or year, or year/month). The information is updated monthly. The percentage total is calculated as average.
    So far so good. The problem is that whenever I take away the Calendar Month characteristic (in order to see this information summarized and not detailed by month), the "Percentage Sold" Key Figure (which is loaded along with the rest of the information, not calculated in the Query) shows strange data, something like this:
    Total Products---Products Sold--
    Percentage sold
    Shop A--250140--
    220%
    Shop B--108100--
    454%
    Shop C--466180--
    150%
    TOTALS--824420--
    274.66%
    So as long as I keep the most detailed information on the table, it is displayed correctly, and as soon as I take away any of the details (it also happens with the Shop characteristic), the percentage sold displays wrong data. I have tried displaying individual values differently. I also tried using a formula to calculate the percentage sold, which appeared to solve this issue, but after testing it I found that the data on "TOTALS" was incorrect both with and without the monthly detail. This issue has become quite urgent as we are supposed to publish these reports very soon.
    Any ideas for solving this issue?

    Hi, thanks for the quick reply. I forgot to mention that. As I wrote before, this percentage is given to us directly in the file that is loaded on the system, but since there were problems when taking away a characteristic from the table, I created a formula which should give us the same data. The formula is Percentage = "Products Sold / Total Products" (I used the Percentage part operator, so it looks like this "Products Sold %A Total Products"). The TOTALS value is validated with the person in charge of giving us the file to load.
    A sample data record:
    DATE--SHOP_ID-DEPT-PRODUCTS-SOLD---PCT.
    20080101--125020--
    40
    Edited by: Pedro Olvera on Aug 1, 2008 12:21 PM

  • Problem with Restricted Key Figures Please Solve

    Dear All.
    i restrict the key figure on some GL's for Cumulative balance, this RKF show me the result base on the 0CALMONTH which is select in the variable screen.
    i created one more RKF with the same GL's but i restrict that RKF also with fix 0Calmonth say DEC2008.
    but the problem is when i run the report it shows me that data correct, but when i bring the 0CALMONTH on top of the Key Figure structure it only show me the data for selected month for the fix month RKF the result come empty.
    my requirement is that i have to select month range and i need to show every month value minus the Dec2008 value, this only works if i donot bring the 0CALMONTH on top of Key figure structure but i want to keep it on the top of KF structure so i can show each month value - dec2008 value.
    Please explain how can i control this.
    Kind regards,
    Edited by: Zeeshan haider on Nov 11, 2009 9:49 AM
    Edited by: Zeeshan haider on Nov 11, 2009 9:59 AM

    Dear Chandu.
    I am creating the RKF on Cummulative Balance KF by restricting it with some combinations of GL's, let say the name of RKF is TRADE_Accounts.
    My requirement is to give Calmonth selection from the variable in interval let say from 01.2009 - 05.2009
    i simply want to display TRADE_Account balance for each month in selection but by doing the minus the value of Trade_Account from the same RKF i.e. TRADE_Account_2 which i restrict on DEC2008.
    so i created Two RKF for KF cummulative balance one is restricted with 0CALMONTH value for DEC2008 only.
    then i create on CKF let TRADE_BALANCE = TRADE_Account2008 - TRADE_Account.
    and place the CKF in Key Figure Structure, it work fine but problem comes when i try to bring 0CALMonth on top of key figure structure so i can show the result for each selected month.
    when i do this it only shows the Balance for selected months but it did not minus it with the other RKF i.e. TRADE_Account2008.
    when for testing i also put the TRADE_Account2008 in Key figure structure it shows empty result when the 0CALMONTH is on top of the Key figure structure.
    Please explain how can i achieve this.
    Kind regards,

  • Can we filter the Key figure ( by not using Bex Conditions)

    Hello Friends,
    I have a requirement in which I am passing the result of one query "A" to another query "B" ( using replacement path). Also there is a requirement to filter the keyfigure of the query "A"
    Problems I face:
    1) If I use Conditions, it does'nt filter the actual rows from the info cube, but just the query result
    2) Hence when I pass the query result of "A" to query "B", it sends more records which I dont need.
    Question:
    Hence is it possible to filter the keyfigure values at the database level?
    Thanks... Hope some one will guide me.....................

    Hi,
    I've had a similar problem in the past, not specifically for a replacement path but because the number of rows returned by the query was too great to use conditions. In the end what I did was create a characteristic char version of the key figure that was loaded from the same source as the key figure. You then effectively have a key figure that can be filtered in the same way as a normal characteristic.
    Hope this helps.
    Gareth

  • Selecting Semantic Group Key Fields for Cube to Cube DTP

    Is it possible to use the semantic group key fields selection when performing a DTP between two infoCubes?  When I try to select the key field of 0CALWEEK, i am unable to as the selection screen is grayed out like I'm in display mode even though I'm in change mode for the DTP.
    Thanks,
    Matthew

    Hi,
    Have you initialized the planning area for the 11th key figure to be loaded. Make sure that the key figure which you want to load is initialized for the planning version for the respective planning area.
    Also check the loading period inside the variant is within the planning area initialized period for that key figure. And make sure that you have made the key figure assignment for the info cube and planning area inside the variant.
    thanks and regards
    Murugesan

  • Multicube with Cumulative and Non Cumulative Key Figures

    Is there any problems if I build a Multicube which consists of InfoProviders which have non-cumulative key figures (Inventory cube) and those which do not
    In the query I will be summing the key figure for example Stock Quantity across the InfoProviders? Thanks

    Hi,
    There is no problem if you do that only thing is when you assign key figures in the multiprovidesr you have to be careful in deciding the infoprovider from which the key figure comes.
    Hope this helps
    Assign points if useful
    Regards,
    venkat

  • Inventory Cube Loading - Questions....

    This is the process I intend to follow to load InfoCube 0IC_C03 and the questions therein. I have the "how to handle inventory scenarios" document, so please don't suggest I read that.
    1A) Delete Set-up tables for application 03
    1B) Lock Users
    1C) Flush LBWQ and delete entries in RSA7 related to application 03 (optional - only if needed)
    2A) Fill set up tables for 2LIS_03_BX. Do Full load into BW Inventory Cube with "generate initial status" in InfoPackage.
    2B) Compress request with a marker update
    3A) Fill set up table for 2LIS_03_BF with posting date 01/01/2006 to 12/31/2007 (Historical) and load to Inventory Cube with a full update
          QUESTION1: Does this need a marker update?
          QUESTION2: Is this a good strategy  - do movement documents that old get updated once posted?
          QUESTION3: Does the posting dates restriction depend on on how far back in history we want to go and look at stock values?
    3B) Fill set up table for 2LIS_03_BF with posting date 01/01/2008 to 9/9/999  (Current) and load to Inventory Cube with a delta init with data transfer.
    3C) Compress load in 3B without a marker update
    4A) Fill set up table for 2LIS_03_UM  and load to Inventory Cube with a delta init
    4B) Compress load in 4A without a marker update
          QUESTION4: How should we select the posting date criteria? Do I need to load from 01/01/2006 to 9/9/9999 since that's the range used for BF?
    5) Start V3 update jobs via Job Control
    6) Intiate subsequent delta loads from BF and UM and compress with marker update
    QUESTION 5: Is the sequence of loading BX first, then BF and UM fixed? or can I do BF and then BX, UM
    QUESTION 6: Any tips on minimizing downtime in this particular scenario? Please don't suggest generic steps. If you can suggest something specific to this situation, that'd be great.
    I hope you can help with the 6 questions I asked above.
    Regards,
    Anita S.

    Hi Anita,
    Please find my answers below. I have worked enough with this scenario and hence feel that these would be worth considering for your scenario.
    3A) Fill set up table for 2LIS_03_BF with posting date 01/01/2006 to 12/31/2007 (Historical) and load to Inventory Cube with a full update
    QUESTION1: Does this need a marker update?
    In this step we dont need marker update while compressing.
    QUESTION2: Is this a good strategy - do movement documents that old get updated once posted?
    I am able to get the question quite clearly.
    QUESTION3: Does the posting dates restriction depend on on how far back in history we want to go and look at stock values?
    Yes. We need to start from latest and then go back as backwards as we want to see the stock values. This holds true when we are using non cumulative key figures
    4B) Compress load in 4A without a marker update
    QUESTION4: How should we select the posting date criteria? Do I need to load from 01/01/2006 to 9/9/9999 since that's the range used for BF?
    No need to provide any selection criteria for UM while loading to BW, as this would fetch the same data filled in setup of revaluations.Unless you are looking for only some history other wise you can fill that for company code list and bring the whole data to BW  by a single full load, as the data wont be that huge as compared to BF
    6) Intiate subsequent delta loads from BF and UM and compress with marker update
    QUESTION 5: Is the sequence of loading BX first, then BF and UM fixed? or can I do BF and then BX, UM
    This is fixed in terms of compression with marker updates.
    QUESTION 6: Any tips on minimizing downtime in this particular scenario? Please don't suggest generic steps. If you can suggest something specific to this situation, that'd be great.
    *Yes. Most of time consuming activity is for filling BF history. Negligable for BX and UM comparitively.
    Either try having multiple BF selective setup filling based on posting date based on available background processes or filli open months setup during downtime and rest history once you unlock the system for postings. The reason for this being we dont expect any posting for history*
    Feel free to ask any further questions about this.
    Naveen.A

Maybe you are looking for

  • How can I back up my exchange contacts to icloud

    Good day Our company has just lost our ms exchange server information. I am tasked to restore what I can but the situation looks dire. My fear is that when the clients with iphones (all the managers and myself) sync with their mailboxes with an empty

  • HP Officejet Pro 8500 Cyan ink will not print. installed a new one, but no success

    HP Officejet Pro 8500   Cyan ink will not print. installed a new one, but no success

  • Database access in a MVC architecture

    Hi! I'm a bit confused with regards to where the database access code should be put in a MVC architecture. From reading various articles and posts on this forum, there seem to be a lot of different opinions. Some seem to put the database access code

  • Entry using connection AFW failed

    Hi, I am trying to read an external file and push it in to R/3 by calling RFC using XI. I configured everything. File and RFC adapters are working fine. After processing as per settings it is deleting the file  but it is not pushing in to R/3. In the

  • Help installing patch 10.1.2.2

    Hi all, I'm kind of new in installing and administering Oracle products (j2ee developer actually), so I need your help. We have installed the following AS (10.1.2.0) instances in one machine to test BI Discoverer: 1) ias_infra 2) ias_bi 3) ias_j2ee a