Aggregation Problem in DSO (Urgent)

Hello Experts,
                     I am loading data from PSA to a DSO where my Key is Activity type (e.g 2020, 2040, 2060, 2080). For each of the activity type I want to aggegate  the gender for male/female. In the key figure for Zmale I am using SUM as aggregation  type. For the activity type 2020, I have 4 male count in PSA (diffrent records). When i load to the DSO my Zmale I/o is showing only 1 instead of 4. Same thing is happening for other activity types as well. For a better explanation,
In PSA---
    <b>0Act_type</b> -
         <b>Zmale</b>   
       2020      -
                              1
                              1
                        1
                         1
    2040          -
                      1
                     1
                     1
After loading to DSO
          0Act_type  -
    Zmale
            2020       -
1
            2040       -
1
Here in the DSO, activity type 2020 should be cumulated to 4 (male) and 2040 should be cumulated to 2. But its not happening in the DSO level.
Please help me figure this out. Reward points are guranteed. Thanks in advance.
Akash

Check whether update mode for keyfigure is additive.
Jaya

Similar Messages

  • Data problem from DSO to cube

    hi
    i am facing data from problem from dso to cube
    i am getting daat into dso
    plant   material  doc_num  itemno  qty
    p1      m1           1              1         10
    p1      m1           1               2         20
    dso i am uisng key fields
    doc_no
    item_no
    doc_year
    data fields
    material
    plant
    qty
    while loading data into cube
    its showing only
    p1 m1 1 2 20
    item 1 is missing
    there is no iten num filed in my target field?
    ple let me know ur idea.

    Hi,
    The problem is in your ODS/DSO.
    In your ODS you have 'Doc_num' as key field.
    For both Items 1 & 2, you have same key field ( Doc_Num) Value.
    So, the first record will be over written by the second one. So from your ODS you will get only the latest record to the Cube.
    If you want to send both doc_nums to cube, you need to bring doc_num to the data fields area of ODS.
    Hope this helps.
    Cheers
    Praveen

  • I want to buy an in-app purchase but i don`t remember my security questions and i cant access my recovery email either, what can i do? i have 100$ on my account and cant use it because of that problem, please help URGENT

    I want to buy an in-app purchase but i don`t remember my security questions and i cant access my recovery email either, what can i do? i have 100$ on my account and cant use it because of that problem, please help URGENT

    If you have a rescue email address on your account then you can use that - follow steps 1 to 5 half-way down this page will give you a reset link on your account : http://support.apple.com/kb/HT5312
    If you don't have a rescue email address (you won't be able to add one until you can answer your questions) then you will need to contact Support in your country to get the questions reset : http://support.apple.com/kb/HT5699

  • A bizarrerie problem for DSO

    All:
        I have a problem that DSO was actived from new data to  actibve data,in new data,some data put in the row (eg A),after was actibved,I can not find any data in the row (A),but the data in other row is not miss,Why?
       At the transfer process,the row (A) was transfered in the way of read master data.
        thanks.
    Edited by: deng wang on Feb 13, 2009 2:16 AM

    Hi........
    Look .........When we laod data...........data will first come to the Activation queue.........ie the New table..........After activation...........records will move to Active and Change log table..........and records will be automatically get deleted from the Activation Queue....
    So row A should'nt be there...............but I don't know how come after activation also other records r still there......Hav u loaded the records after activation?
    Regards,
    Debjani.........

  • Triggers problem - please help - urgent !!

    To all experts, please help me with this problem - need answer
    urgently. Thanks in advance.
    Using Oracle 8 Rel 8.0.6
    I have 2 tables (table Y, table Z).
    In the 'after insert upd del on each row trigger' (lets call it
    AIUD trigger)on table Y, based on certain criteria, I insert a
    record in table Z.
    New requirement is that whenever a record is inserted in table Z
    (fyi, inserting any record in table Z is possible only when
    records are inserted in table Y as mentioned earlier thro the
    AIUD trigger - i.e. there is no frontend way to insert records
    in table Z), if certain (new) criteria is satisfied, I should
    insert 1 record in both, table Y and table Z.
    I tried to create meet the new requirement by adding code to
    existing AIUD trigger but ran into mutating tables error. So I
    dropped this idea.
    I have now created 'after insert on each row trigger' (lets call
    it NEW_TRIGGER) on table Z to meet the new requirement but have
    these 2 problems :
    1) the trigger always compiles with errors
    2) if I still go ahead and insert a record in table Y, I get the
    foll error msgs :
    ORA 4098 - NEW_TRIGGER is inv
    ORA 6512 at line xxx on AIUD
    ORA 4088 error during execution of trigger AIUD
    What is the best way to work on this requirement or what am I
    doing wrong ?
    Thanks again,
    AG.

    Your restatement of the problem merely confirms what the previous
    posting said. You cannot write a trigger on table Y that inserts
    a record into table Y: that's the mutating trigger problem
    (there's oodles of postings on the subject, not to mention
    online Oracle docs). You could write a trigger on table Z that
    inserts into table Y - but you need to be able to see the value
    I3 which (presumeable) you can't.
    One solution is to use code the trigger on table Y to submit a
    call to DBMS_JOB which initiates a procedure that inserts a
    record into table Y.
    You must remember that the new record in table Y must never
    include the value I3, otherwise you'll end up w/ an infinite
    loop.
    rgds, APC

  • Problem In creating link between info source to DSO(Urgent)

    Dear Experts,
    I am facing an problem in creating an link between info source and DSO.My problem is: I am actually loading data from R/3 into two data sources 2lis_01_s951 and 2lis_01_s952 there is a need for me to calcualte revenue % i.e diving revenue by qty from different data sources so i created one Info Source for 2 data sources,So i am facing a problem in creating an link from Info Source to DSO.Is there any other way to solve this problem.
    Points will be awarded.
    Regards,
    Shivu.

    Shivu,
    I’m suggesting either of the following 2 solutions.  Both of them require some abap programming.
    A. Permanently store calculation result in DSO :
    A1) You’ll need to decide which of the 2 DSOs you want to store the result of the % calculation, then add a new infoobject for that purpose;
    A2) Load ALL the data into the DSO that will NOT store the result of the % calculation; let’s call this DSO “DSO1”.  The data records in this DSO will be retrieved later on when loading the other DSO;
    A3) For the DSO that will store the result of the % calculation (let’s call this DSO “DSO2”),  create a transformation rule (i.e. update rule) that will SELECT the related data record from DSO1 and carry out the calculation before storing the data record in DSO2 ( this can also be done in the Start Routine to loop through all the data records of a packet.)
    B. Carry out the calculation at query time :
    B1) Create a multiprovider (i.e. multicube or infoset) to combine your infocubes or DSOs together.  Keep in mind that a multicube works as a union of the infoproviders, while an Infoset works as a join of the infoproviders.
    B2) Create a formula in your query to calculate the %.
    Hope this helps.

  • Help with Aggregation Summation into DSO

    Hi, I have a question about Key Figure Aggregation Summation in transformation rules into a DSO from 2LIS_11_VAITM.
    Currently had an old order for Order Qty of 600 pcs.  Recent request came in to change it to 400.  After Delta our Order Qty was -200.  The Rule is for Summation and I figure it should work like 600 + -600 +400 = 400, but that is not what happened.  It's almost like the rule considered the original order qty to be 0 and when the -600 and +400 delta came in they get summarized to get the -200.  Does it have anything to do with the change logs only having recent last 30 days available?
    Can anyone tell me what is wrong here?

    Kennet:
        Could you please provide more details? For example:
    - Is the problem (differences on the Key Figure values) at the DSO level or at the Cube level?
    - Does your DataSource version have DSO capability? (please refer to SAP Note 440416 - "BW OLTP: Correction report for change of delta process").
    - If your DataSource supports "ABR" extraction, Does the Data on the PSA looks ok? (After / Before and Reverse images).
    - Have you enhanced the DataSource to include Custom Fields? If so, Does the ABAP Routine uses the SORT command?
    - Do you update the DSO with the 2LIS_11_VAITM DataSource only? or Do you use another DataSource to send data to the same DSO?
    - Have you considered changing the Rules to "Overwrite" instead of "Summation"?
    - What fields are included as part your DSO Key?
    - Do you have the ROCANCEL field mapped to 0STORNO / 0RECORDMODE InfoObjects?
    Regards,
    Francisco Milán.
    Edited by: Francisco Milan on Jul 1, 2010 9:13 AM

  • Problem in DSO activation - Unicode characters

    Hi all,
    I am loading data to a DSO from a 02 extractor. I have the transformation in which i have a field routine for product description, which basically converts lower case to upper case, as the product description characteristic in the target accepts only upper case characters. When i loaded data in the production system, i was able to load data into the DSO, but was not able to activate it.
    The error i get is
    Value ' <Chinese characters>' (hex 'XXXX) of characteristic 0BBP_UCPROD not valid
    Error while assigning SID : Action VAL_SID_CONVERT
    I think the problem is with the conversion of these two byte characteristics. Can you please suggest a work around ?
    Regards
    snehith

    go to /nrskc and set the value to ALL_CAPITAL_PLUS_HEX
    and
    Infoobjects texts accept ANY CHARACTERS regardless of any settings..that include chinese..
    use literal data in infoobjects texts instead of characteristic values whenever possible and acceptable.
    Itu2019ll relieve you from many problems with data loading.
    Ref: Invalid characters in SAP BW 3.x: Myths and Reality. Part 1.
    Invalid characters in SAP BW 3.x: Myths and Reality. Part 2.

  • Aggregation problem in Qery design

    Hi folks,
    I have the following situation:
    - Characteristics as line items, shown as a hierarchie.
    - KFs and Formulars in columns
    I want the formulars to be calculated on the basis of a combination of two of the characteristics (the bottom two in the lines hierarchy) and then aggregated.
    Exception aggregation allows me to choose "total" based on one characteristic, but not a combination of two.
    One solution would be, of course, to create a new characteristic in the cube that is a combination of the two existing characteristics in question and then use this for exception aggregation. This would be a bit complicated though, as the two characteristics are in fact navigational attributes of characteristics that appear in the data source and the cube.
    Therefore, I'd prefer a solution that is in the scope of query designer rather than cube design.
    Any ideas?
    PS: The formulars show correct values on the level of the bottom most characteristic in the lines hierarchy if I choose that characteristic for exception aggregation. The results are not correct one level up from there as I can not get the system to sum the results up along the hierarchy. Instead, they are calculated for the aggregated values of the KFs used in the formular.
    Apparently the "show lines as hierarchy" function really only affects display of the lines, not calculations.

    Hi John,
    I understood your problem. Solution is easy:
    Make formula 1, exception aggregation as total , ref char as char 1
    Then make another formula 2 on formula 1, exception aggregation as total , ref char as char 2.
    And in the report show formula 2 and hide formula 1.
    Best Wishes,
    Mayank

  • Problem with spreads - urgent!

    My problem here is that when I want to print my 18-page document, InDesign have decided to make these 18 pages in to 10 spreads.
    The result of that is the printer printing 2 pages in one page, in stead of what I want; 1 page on 1 page, thank you!
    I have tried to make a new document with the same amount of pages and so on, but it still won't work.
    How do I turn it off? Please help me, it's for school and kind of urgent...

    I am having a similar problem.  I am using CS5 and am making a portfolio, for online submission.  I want the portfolio to be viewed online as spreads, but be printed out as 8.5 x 11's.  This is because I am not in charge of printing out the document, I have to give it over to someone else as a part of an application.  I have tried all the ways suggested in this thread, but have not been able to achieve my goals.  I feel like perhaps this is something that needs to happen at the level of the PDF in a program like Acrobat if it is possible?

  • CostCenter Group Aggregation problem. High Priority Issue.

    Hi Experts,
    I have very crital issue in the report, Help needed.
       I had some kind of requirement in one of the Overhead cost report, need to combine the COPA data and Costcenter(Over Head cost) data.  I have a problem with Costcenter Group aggregation on the report.
    I have Restricted 2-Keyfigures  want to derive the 3rd Keyfigure values. I given the below exmaple of the data. In my report I just want to display the KeyFigure(KF-A,B,C). I dont want to Display the Cost Center group/Costcenter Number in my report. My report ouput will be one line. But If I removed the costcenter Group I am seeing different values of the Keyfigure C, If I display the Costcenter comng with differnt Values. I am expecting the values in the column C is 1400 but it is coming like 3600.
    Please guide me how to design the Keyfigures if I want to get the value 1400 in theKeyFigre C with out Showing the Costcenter In the report.
    Cost-Center Group  R00048                         
                      Costcenter     KF-A     KF-B           KF-C
         10113     10     10          100
         10114     20     20          400
         10115     30     30          900
              60     60          1400(Insted of this its comming like 3600)
    Appreciate the response.
    Thanks,
    Venkata

    Hi,
    Check the display properties of key figure in Query Designer/Info object level.
    Set the property accordingly.
    I hope it will help.
    Thanks,
    S

  • Nested Aggregation Problem

    I am using OBI 11g.
    Nested aggregation is not supported in some forms in the BI Server (RPD), but appears to be possible by putting the second aggr rule in an Answers column formula or pivot view column. However, I cannot get this to work. Looks like can even be done in the RPD with aggregation based on dimensions, as long as there is a standard aggregation function on the outside of the expression.
    The biggest problem with any of the above techniques is the BI Server does not push the outer aggregation rule to the DB engine (the generated SQL).
    In my case, consider a Referral Fact with Customer Dim and Referral Dim. I need to get # of Referrals per customer, filter that with a case statement to "bin" 1 Referral and >1 Referral, and then get # of Customers in each bin. So the first measure aggregation looks like:
    Other: COUNT (DISTINCT "Referral Key")
    Customer: "SUM( CASE WHEN "Referral Key" = 1 THEN 1 ELSE 0 END )"
    Or the logical measure just has the COUNT DISTINCT aggregation rule and an Answers column has the CASE statement with a SUM aggregation rule. Or use CASE WHEN "Referral Key" = 1 THEN "Customer Key" END and use COUNT DISTINCT instead of SUM.
    All these appear to return correct results, but they all perform the outer aggregation in the BI Server or Pivot engine instead of pushing to the generated SQL (DB engine).
    I can't find any problem in the DB Features. We are using SQL Server 2010.
    Thanks in advance for help.

    Hi AL,
    here is my requirement what i have been asked to get this output result.
    i have keyfigures KF1, KF2 and total KF.
    three characteristics dist,inch,load.
    dist-inch-load--KF1-KF2-Total KF                         
      5---A--010-0-----10=10                         
      5---A--120-20----20+10=30                         
    10--B---050-0-----50                         
    12--C---160-60----60                         
    13--D---270-70----70                         
    14--E---080-0-----80                         
    15--E---120-20----20+80=100                         
    15--E---230-30----302080=130     
    KF1 is the initial volume coming from the file directily.based on this keyfigure i have to calculate KF2,Total KF.     
    In order to calcuate KF2 and Total KF i have some conditions.which are mentioned below;
    KF2---> if  load=0 then KF2=0 elseif load>0 then KF2=KF1 ;
    Total KF--->if load=0 then Total KF=KF2KF1 elseif load>0 then KF2=KF2KF1
    How to achieve this dynamic summation.Do i have to do nested exception aggregation based on the above three characteristics. what would be the open options.please do help me.

  • Problem 3G help urgent

    Hello good need help since my iphone does not work on 3G only remains in E, please i need urgent help

    My carrier says its not their problem so i'm stuck using a fix i found on another thread;
    Settings;
    Carrier;
    Automatic off, 5 sec;
    Automatic on, untill you get your carrier back;
    Automatic off, pick your carrier manually, then you should have 3G.
    Works almost every time, Crazy!!!

  • Problem in SLDCHECK - Urgent

    Hi,
    when i execute SLDCHECK transaction, i get the following error:
    <b>Calling function EXCHANGE_PROFILE_GET_PARAMETER
    Retrieving data from the XI Profile...
    Function call returned exception code     3
    Access to the XI Profile is currently disrupted.
    => Check whether you can access the XI Profile using a web browser!</b>
    what could be the problem. Its very urgent. Please help me. I read similar postings;but could not arrive at a solution
    Please help me...
    Thanks in advance,
    Rose

    Hi Chirag,
    Thanks for your reply. i checked that link. but i am not sure where the problem is.
    In sldapicust transaction, i have assigned PIAPPLUSER user and set the password. But i do not see this user in SU01 transaction. It says this user does not exist. Is that ok?
    Moreover, when i try to login to http://<host>:<port>/sld with PIAPPLUSER user, it says, I do not have permission to view the SLD. Minimum required: UME role with permission com.sap.lcr.LcrUser and J2EE role LcrUser.

  • SQL: Aggregating Problem

    Hello,
    i have following problem with aggregating values with one of our tables:
    For each day there is a row which contains the change to the previous day.We need now a view containing for each date of the year a subtotal from the beginning of the year . Is there any aggregating function with this functionality? Is it possible to solve this without using PL/SQL?
    Example:
    create table example (datum date, diff number);
    Rows in the table:
    insert into example (to_date('01-01-2005','dd-mm-yyyy'), -1);
    insert into example (to_date('02-01-2005','dd-mm-yyyy'),1);
    insert into example (to_date('03-01-2005','dd-mm-yyyy'),2);
    insert into example (to_date('04-01-2005','dd-mm-yyyy'), -1);
    We need following result:
    '01-01-2005', -1 --(sum from 01-01-2005 to 01-01-2005)
    '02-01-2005', 0 --(sum from 01-01-2005 to 02-01-2005)
    '03-01-2005', 2 --(sum from 01-01-2005 to 03-01-2005)
    '04-01-2005', 1 --(sum from 01-01-2005 to 04-01-2005)
    Thanks for your help
    Philipp
    Message was edited by:
    [email protected]

    The windowing clause may not be required, but depending on how the O/P feelas about multiple months, or years, something like this may be more accurate.
    DATUM             DIFF
    01-JAN-2005         -1
    02-JAN-2005          1
    03-JAN-2005          2
    04-JAN-2005         -1
    29-DEC-2004          1
    30-DEC-2004          2
    31-DEC-2004          3
    SQL> SELECT datum, SUM (diff) OVER (ORDER BY datum) diff
      2    FROM example;
    DATUM             DIFF
    29-DEC-2004          1
    30-DEC-2004          3
    31-DEC-2004          6
    01-JAN-2005          5
    02-JAN-2005          6
    03-JAN-2005          8
    04-JAN-2005          7
    SQL> SELECT datum, SUM (diff) OVER (PARTITION BY TRUNC(datum,'YEAR')
      2                                 ORDER BY datum) diff
      3  FROM example;
    DATUM             DIFF
    29-DEC-2004          1
    30-DEC-2004          3
    31-DEC-2004          6
    01-JAN-2005         -1
    02-JAN-2005          0
    03-JAN-2005          2
    04-JAN-2005          1John

Maybe you are looking for

  • Accounts being created with administrative group rights

    Hello, The server is a Windows 2003 R2 Enterprise fully patched used for Shared Hosting purposes.  It runs Hsphere control panel.  I am trying to identify how the following hack is happening.  1) There are users being created with Administrative grou

  • Issue in One step workflow activation for Confirmation in SRM 7.0

    Dear Experts, On working to EXtended Classic Scenario, I am configuring one step approval workflow for Confirmation (good receipt)  in SRM 7.0 I have standard customisation for Confirmation and activated below object for one-step approval : BUS2203 

  • "Top Songs" category, on an artist's cd, on Itunes?   What does it mean?

    When I look at a cd, on itunes, there is a "top songs" category, for the cd. I notice that the order of the songs changes, week to week, in the "top songs," categgory, for the artist's cd. What does it mean? For example, does the first song listed me

  • Text shrinks after several replies in email

    In iOS4 and 5 many users noticed the text would shrink down to 1 point text making it very hard to read after several replies to an email message using the native iOS email app.  Users would have to scroll to the right or blow up the screen to read t

  • Photoshop Element Tools

    I am using Photoshp elements 5.0 and have windows xp media addition service pack 3. For some reason I am unable to use any of the photoshop tools to crop images and so on. The hand is all that comes up when I try to work on a picture. have I turned s