ODS vs Cube Average Balance Scenario

Hi experts,
This is the scenario, Im going to extract the table FAGLFLEXA from R3 to obtain the daily movements of FI accounts, I have all that data on a ODS with the same fields, then I need to calculate the daily Balance and the Average Balance (Daily Balance / Day of month).
Im planning to have a InfoCube for reporting with dimensions(0Calday, 0Gl_Account, Segmentg...) and ratio (0Debit, 0Credit, 0Balance, ZAvgBalance).
Is it possible to create an ABAP routine to calculate the daily Balance and AvgBalance and insert that information on the InfoCube? or is only posible using ODs?
Thanks in advance.

If your Balance and Average Daily Balance Key Figures are non-cumulative, then you should be able to create a routine in the Transformation from the DSO to InfoCube that calculates those two and overwrites whatever values are there for the previous day. However, if these are cumulative Key Figures, then you won't be able to do it at this level because it will sum the data instead of overwrite and therefore provide incorrect/inconsistent results. In the case of cumulative Key Figures, you're going to have to calculate it into the DSO and let the delta DTP, reading the change log, post the differences to these values in the InfoCube to maintain correctness.

Similar Messages

  • Delta load from ODS to cube failed - Data mismatch

    Hi all
    We have a scenario where the data flow is like
    R/3 table - >dataSrc -- > pSA - >InfoSrc -> ODS ->Cube.
    The cube has an additional field called "monthly version"
    and since it is a history cube , it is supposed to hold data
    snapshots of the all data in current cube for each month .
    We are facing the problem that the Data for the current month
    is there in the history ODS but not in the cube . In the ODS ->Manage->requests
    tab i can see only 1 red request that too with 0 recs.
    However ,In the cube -> manage-> reconstruction tab , i can see 2 Red request
    with the current month date. Could these red requests be the reason for
    data mismatch in ODS and cube .
    Please guide as to how can i solve this problem .
    thanks all
    annie

    Hi
    Thanks for the reply.
    Load to Cube is Delta and goes daily .
    Load to ODS is a full on daily basis .
    Can you help me how to sort this issue . I have to work directly in production env . so has to be safe and full proof .
    Thanks
    annie

  • How to store as single record data coming from different ods to cube

    Hi All,
            we have the scenario like .
    Same contract values are uploaded from 3 ods to cube.In the cube this information is stored as 3 different records.
    Is there any option having same contract no and same fiscal period values should be stored as single record in cube.
    Thanks in advance.
    Regards,
    Shradda.

    Hi Shradda,
    On Performance Side .....consider below points
    1. Indexes on Cube ( That delete indexes before load and create them after Load ).
    2. Aggregate Design ( Decision on Base Aggregates, roll up Hierarchy , BW Statistics etc ).
    3. Partition of InfoCube ( Basically decision on No. of Partition )
    4. Data Package Size ( Always try to have larger Data Package so that preaggreation will reduce the no. of Data Records ).
    Best is Service.sap.com on BI page u will find material for performance . THat will help you .
    To assign points on the left of screen u will get radio buttons for assigning points for each person who has responded .
    Regards,
    Vijay

  • ODS to CUBE

    Why do we go for ODS to CUBE and CUBE to CUBE?

    Hi Krish,
    ODS to Cube : for Aggregated data. ODS may have line item data which next level can be aggregated on material sold to party ship to party vendor customer etc etc.
    Cube to Cube : Depending on business scenario.
    Hope that helps.
    Regards
    Mr Kapadia
    Assigning points is the way to say thanks in SDN.

  • ODS and Cube

    Hi Epxerts,
       When  we say the difference between ODS and Cube : we Say cube is summerization data and ODS is Detailed data .What exactly this meaning.
    Plz explain with example.

    Hi,
    Consider a scenario where gives detailed description:
    There are three main steps to the entire data process:
    <b>step1:</b>
    <b>Loading the data into BW and storing it in the PSA</b>
    The data requested by BW is stored initially in the PSA. The PSA is a transparent database table, in which data is saved, per request, in the format of the transfer structure. A PSA is created for each DataSource and each source system. The PSA is the storage location for incoming data in BW. Requested data is saved, unchanged, to the source system.
    <b>Processing and storing the data in ODS Objects</b>.
    In the <b>second step</b>, the ODS Objects are used on two different levels.
    In level 1, the data from an InfoSource from several source systems is stored in ODS objects. This allows data to be saved in a consolidated way in the technical format of BW. The transfer rules cleanse the data from the source system-dependent data format of the PSA. In level 1, the data is stored at document level (for example, orders and deliveries) and constitutes the consolidated database for further processing in BW. Reporting is therefore not usually carried out on the ODS objects at this level.
    In level 2, transfer rules subsequently combine the data from several ODS objects into a single ODS object in accordance with business-related criteria. The data is very detailed, for example, information such as the delivery quantity, the delivery delay in days, and the order status, are calculated and stored per order item. Level 2 is used specifically for operative reporting issues, for example, which orders are still open from the last week. Unlike OLAP reporting, where very large quantities of data are selected, here data is displayed and analyzed selectively.
    <b>Storing data in the InfoCube</b>
    In the <b>final step</b>, the data is aggregated from the ODS object on level 2 into an InfoCube, meaning in this scenario, that the InfoCube does not contain the order number, but saves the data on a customer, product, and month level. OLAP reporting using the BEx Query is also run on this data. You can still display the detailed document data from the ODS object whenever you need to. Use the Report/Report Interface from a BEx query. In this way, you are able to analyze the aggregated data from the InfoCube, and target the specific level of detail you want to access in the data
    reward helpful answers..
    shylaja.

  • Can I do Parallel Full loads from ODS to Cube.

    Hai,
       Usually I will do one a full update load from OD'S to Cube. to speed up the process can I do parallel Full update loads from ods to Cube?
    Please advise.
    Thanks, Vijay,

    Assuming that the only connection we are talking about is between a single ODS and a single Cube.
    I think the only time you could speed anything up is in full drop an reload scenario. You could create multiple InfoPackages based on selection and execute them simultaneously.
    If the update is a delta there is really no way to do it.
    How many records are we talking about? Is there logic in the update rule?

  • Data in ODS, Info cube ans Multiprovider(List cube) are in Sync.

    Hi,
    My query is built on multiprovider. The data flow is data source u2013 ODS then ODS u2013 Info cube and multiprovider contains  Info cube only.
    Data in ODS, Info cube ans Multiprovider(List cube) are in Sync.
    The query results are not tie up ODS, Info cube ans Multiprovider(List cube).
    Any one let me know why this is happening and how do I resolve it.
    Regards,
    Sharma.

    HI;
    thanks for help.
    I resolved the issue in my own.
    Regards,
    Sharma.

  • New fields addition to BW 3.5 version ODS and Cube and transport to PRD.

    Hi,
    We have a scenarion on 3.5 wherein there is a enhancement to ODS and Cube(few new fileds are added), this New ODS also feeds data to Cube.  Since we do not had data on Quality system, we had no problem in adding fields to ODS and cube, but now we need transport these changes to Production, In production ODS and Cube has large data. we have few doubts.
    1. Shall we need to delete data from ODS and Cube then Transport request to Production server.
    2. Is it ok to move transport request without deleting data in ODS and Subsequent Cube in production system
    Guys and Gals,
    what is your suggestion on this one. WE are in BW 3.5 only. No BI7.
    Please revert back.

    Hi
    you can directly transport that to production.
    the image will over write with the existing one and for the new object add , a new table space will be created.
    it will not affect the Old data
    But in the Cube even if the data is there there is a concept called remodeling
    http://help.sap.com/saphelp_nw70/helpdata/en/58/85e5414f070640e10000000a1550b0/content.htm
    hope this helps
    santosh

  • Data loading from ODS to CUBE

    Hi All,
    I have loaded data from ODS to CUBE. now i have requirement to add some fields in the standard cube. so, for testing purpose i have created copy of the original and created transformation . now when i try to load data from ODS it shows me no more data available . while data is already there in ODS.
    now what should i do ? i don't want to delete data from original cube. is there any other way to load data through transformation ?
    Regards,
    Komik Shah

    Hi,
    Check the DTP of old cube n see whether its Delta. If yes then check whether any one of the foll is check:
    1) get delta only once
    2) get data by request.
    If 1 is checked then delta wont come for the second cube as it says to get delta once and delta is already in one of the cube.
    Generally both should be unchecked but can vary as per requirements.
    Now for your new DTP, i dont think it will aloow you to change to FULL.
    If its allowing you to select FULL, then select it and select from acive table.
    try to load and see.
    regds,
    Shashank

  • How to calculate Average balance for an account

    Hi,
    How to calculate average balance for an account for a particular period say for JAN-12 period and after the end of that period for another two days 01-feb-12 and 01-feb-12 ?
    I'm using the following query :
    SELECT cc.segment1||'-'||cc.segment2||'-'||cc.segment3||'-'||cc.segment4||'-'||cc.segment5||'-'||cc.segment6 "Account_XX",
    nvl(sum(l.accounted_dr - l.accounted_cr),0) "Balance"
    FROM gl_code_combinations cc,
    gl_je_lines l
    WHERE cc.code_combination_id = l.code_combination_id
    AND l.set_of_books_id ='XX'
    and code_combination_id = replace it with code combination_id for account_xx
    AND l.effective_date <= '31-Jan-12' (january period end ??)
    GROUP BY cc.segment1||'-'||cc.segment2||'-'||cc.segment3||'-'||cc.segment4||'-'||cc.segment5||'-'||cc.segment6
    There are some discrepancies in "average balance" after end of month (Jan-12)?
    How to calculate average balances for a particular account (Account_XX above)from end of month of Jan to first two days of february?
    Thanks,
    Kiran

    Kiran,
    Please let me know first, is Average Balancing feature enabled in your GL Ledger?
    Regards
    Muhammad Ayaz

  • How to load data from a ODS to CUBE Request ID - by - Request ID?

    <i>How to load data from a ODS to CUBE Request ID - by - Request ID?</i>
    The problem is that... some requests had been eliminated of the cube and the delta control between the ODS and CUBE was lost. The flag "<b>data mart status of request</b>" of all the requests of the ODS had been blank.
    Now it is necessary to load some requests from the ODS for the cube.
    Notes:
    - it is not possible to make a complete load selecting the data to be loaded;
    - the PSA is not being used;
    - considering the data volume it is impracticable to reload the cube completely.
    Thanks in advance,
    Wesley.

    Dear R B,
    Considering the following:
    -> the delta control was lost;
    -> the data already are active in the ODS;
    -> part of the data of the ODS already is in the cube.
    The indicated procedure it only guarantees the load of the data that are in the ODS and that are not in the cube.
    Tks,
    Wesley.

  • Error in updating data from ODS to CUBE.

    Hi,
    I am tryin to load data manually from ODS to CUBE in NW2004s.
    This is a flat file load from the datasource to the ODS and then from the ODS to the CUBE.
    In the CUBE, I am trying to populate fields by using the ODS fields.
    For eg.
    In the ODS, a CHAR Infoobject has the data in the timestamp format(i.e. mm/dd/yyyy hh:mm ). I need to split this data and assign them to the two individual DATE and TIME Infoobject in the CUBE.
    For this, I have done the coding in the Transfer Structure in the Rule Group.
    The time field is gettin populated , but the date field is not getting populated.
    I get an error as Eg:
    <b>Value '04052007' for CHAR 0DATE is not plausible</b>
    Due to this, the corresponding records is not getting displayed
    Also, the records where the time id displayed, the date is not getting displayed inspite of the date being correct.
    Please help me with a solution for this.
    <b><u><i>REMOVED</i></u></b>
    Thanks In Advance.
    Hitesh Shetty

    Hello Hitesh
    SAP accepts the date format in YYYYMMDD, so in the routine where you have concatenate the day month year...just do it in reverse order.....
    Thanks
    Tripple k

  • Error while loading data from write optimized ODS to cube

    Hi All,
    I am loading data from a write optimized ODS to cube
    I have done Generate Export Datasource
    schedulled the info packge with 1 selection for full load
    then it gave me following error in Transfer IDOCs & TRFC
    Info IDOC 1: IDOC with errors added
    Info IDOC 2: IDOC with errors added
    Info IDOC 3: IDOC with errors added
    Info IDOC 4: IDOC with errors added
    Data packege 1 arrived in BW Processing : selected number does not agree with transferred number
    Processing below is green
    shows update of  4 new records to Datapackage 1.
    Please provide inputs for the resolution
    Thanks & Regards,
    Rashmi.

    please let me know, What more details you need?
    If I click F1 for error details i get following message
    Messages from source system
    see also Processing Steps Request
    These messages are sent by IDoc from the source system. Both the extractor itself as well as the service API can send messages. When errors occur, several messages are usually sent together.
    From the source system, there are several types of messages that can be differentiated by the so-called Info-IDoc-Status. The IDoc with status 2 plays a particular role here; it describes the number of records that have been extracted in a source system and sent to BI. The number of the records received in BI is checked against this information.
    Thanks & Regards,
    Rashmi.

  • Error while uploading data from ODS to Cube

    Hi All,
    Will you please help out this issue.As this is a priority high issue,please reply if you know the answers.
    I am facing an error while loading the data from ODS to CUBE,the error
    is
    <b>1.Name is not in the namespace for generated BW Metaobjects
    2.Error 18 in the update</b>
    And this error is occuring only in quality server.
    Thanks,
    Ram.

    HI RAM SIVA,
    make sure that the Data source is replicated and tranfer rules r active.
    And also check whether the all transport requests r imported properly.
    hope it helps
    bhaskar

  • Error while loading data from ODS to CUBE.

    Hi friends,
    When l am loading data from ODS to Cube with help of data mart, I am getting error in QA system , IN  DM system ,every thing went well.IF i see the detail tab in monitor under Processing .
    Its is showing like this .
    Transfer Rules : Missing Massage.
    Update PSA : missing massage.
    Processing end : missing message.
    I have checked the coding in update rules, everything is ok.
    Plz any inputs.
    hari
    Message was edited by:
            hari reddy

    Might means that IDocs flow is not defined properly in your QA system for myself-SourceSystem.
    Regards,
    Vitaliy

Maybe you are looking for