How  to  Match / Lookup  in  ODS and Cube

Hi  Friends
I need to Match a field " Status "  in   an "ODS"  and  " Infocube "  ,
If this match found ( from ODS and Infocube )  I need to Create a New Cube with the matched data.
Pls give me some idea how to do this Match /lookup to get  Matched Status field Values to New Cube
Thanks
Sree

Hi Sree,
You can do this.
Create a transformation from ODS to new cube.
In the transformation write a start routine.
Here read data from the cube by using function module "RSDRI_INFOCUBE_READ" into internal table.
You can pass the filter and fields which you want to read from the cube to this function module.
By looping on the soruce package and the internal table which contains the cube data, check if the data is matching or not. If a record is not matching then delete it from the source package.
This way, after the start routine source_package will have only those records where status is matching.if status is not matching for any record , then 0 records will be loaded to new cube.
THis will surely help.
- JAimin

Similar Messages

  • ODS and cube data

    Hi All,
    Please let me know the difference between ODS and Cube practically with a simple example.  I red and know diferences but I did't get the concept.
    1. What detail level reporting. How ODS supports this and not in Cube?
    2 .When we go for ODS(daily/latest info)  and Cube(monthly/ aggreated info )?
    3.Where can we see the diff. I know overwrite & addition?
    Please explain me with example.Surely I will assign points.
    Thanks in advance.
    Cheers,
    Sri.

    HI ALL,
    Thanks for your immediate replies.
    I did a file upload with full load to ODS:
    1st load
    ======
    CID PRICE QTY
    C01 10 1000
    C02 20 2000
    C01 20 2000
    In Active table & change logs:
    ======================
    CID PRICE QTY
    C01 20 2000
    C02 20 2000
    2nd load
    ======
    CID PRICE QTY
    C01 35 1500
    C02 40 2200
    C03   5  100
    2nd load Active table
    =================
    CID PRICE QTY
    C01 35 1500
    C02 40 2200
    C03   5  100
    In Change table
    ======================
    CID PRICE QTY
    C01 20 2000 N
    C02 20 2000 N
    C01 35 1500 
    C01 20- 2000- X
    C02 40 2200
    C02 20- 2000- X
    C03   5  100   N
    I generate report on ODS,  but we I can't see any details. It shows only latest info , what we have in Active table.
    We can do the same detailed in info cube also, if we check DB aggregation.
    I have a doubt:
    customer orders in a day :
    CID PRICE QTY DAY
    C01  5         15   2007.05.03
    C01  5         25   2007.05.03
    C01  5         35   2007.05.03
    C01  5         45   2007.05.03
    we load this 4 times and overwrites evry time and see the latest record.
    In ods : we can see :this only : latest :
    C01  5         45   2007.05.03
    In Cube: we can see
    CID PRICE QTY DAY
    C01  5         15   2007.05.03
    C01  5         25   2007.05.03
    C01  5         35   2007.05.03
    C01  5         45   2007.05.03
    and <b>if we check DB aggregation.</b> we can see
    C01  5         120   2007.05.03 (summed all)
    With my know knowlege we can see detail BW report on cube . all 4 records we can see , but in ODS we ca see  this rec
    C01  5         45   2007.05.03 only
    Please explain , how ODS support detail record and cube supports summarized.
    Thanks in advance.
    Cheers,
    Sri.

  • 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

  • Selection TAB in ODS and Cube

    Hi Friends,
                       I see Selection TAB in the manage TAB of ODS and Cube, what is the difference of this TAB in cube and ODS??
    Is this selection criteria we give in the Data Selection TAB of Infopackage for that particular data target??
    Thanks in advance,

    This is to be used when you have to selectively delete data from the ODS. For example lets say you've realized that the data is being loaded incorrectly into the ODS from some time (past 3 months). But not all the data is incorrect but only for a few customer numbers (as an example). In this case, you use this selective deletion and give the customer numbers which have incorrect data and delete these records. After deletion and fixing the root cause, you can reload to the ODS using the same selections in the infopackage (mark the request as full repair if you have deltas going into the ODS at the same time). Hope this helps.

  • Delete request in ODS and Cube from process chain

    Hi Experts,
    I have the next situation:  I have a process that each month need to extract data with a selection criteria of fiscalperiod and fiscalyear, only I can maintain a data request with this selection. For this, I need a delete the old request when I am extracting new data with the same selection criteria, in ODS and Cube.
    Is it possible?
    Thank you very much for your collaboration.
    Regards,
    Jeysi

    Hi Jeysi,
    DSO works on 'Overwrite' principle.
    You need to check your data source.(The images your data source sends).
    Even if your updating the key figures using addition method, the data source will send you the correct images and correct delta to keep your DSO as a reflection of the latest image of your source system.
    Hence you would not require to delete a request with the same selection in the DSO.
    Moreover, if you have a cube at the downstream of the DSO, loading deltas from the DSO to cube would alone be sufficient and you would not need to use delete overlapping request.
    However, if you are loading full request to the cube from the data source with the selections of fiscal year and fiscal period , then yes you do require delete overlapping selections.
    In 3.x data flow, this was configured in infopackage in data target tab there is one column for automatic deletions, here you could set the conditions on which the overlapping request in the data target(cube) in this case should be deleted.
    In process chain, you can use , delete overlapping request from the process chain.under application node, load process and post processing.(This can be configured for both infopackages and DTP's)
    Hope this helps,
    Regards,
    Sunmit.

  • OFI_AP_4  Delete all data and REINIT the load to FIAP ODS and Cube

    Hi bw GURUS I need a quick help, I have requirement to Delete all data and REINIT the load to FIAP ODS and Cube  i have data source ofi_ap_4, please tell me what should i do as i know LO extraction but whats is the transaction code to run the set job for FIAP like for Purchasing I have OLI3BW now tell me what will be the steps to reinit the load to fiap ods and cube.
    i know this much as below
    Delete the data from cube and ODS
    Delete the Init in Cube AND ods NOW reinit i mean load the init, but now problem is before doing that i need to run the set up job or tell me what are the steps please
    its very important since i am doing in production
    thanks
    Soniya

    You are right by your approach to update from PSA to ODS as u have wrritten before. Just got to PSA tree select the PSA request and choose update Immediatly or scedule for update.
    (and if u have 0FI_GL_4 but u r not using it ..it is fine. I  was telling that in case u have that and you are trying to use somethin with 0FI_AP_4)

  • 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.

  • How to ensure data from ods to cube are correct or not

    hi all,
    i am just trying to get data from ods to cube. how to make ensure that the records that i fetched from ods to the respective cube are correct and number of records are the same.
    thanxs in advance
    regds
    hari

    Dear Hari,
    There are two ways of confirming correct loads:
    1. Level by Level Analysis
    2. Comparision with Virtual InfoProvider
    First method is by analysing data at each level. First at Database Table (if loading from R/3) or Excel (if loading from flatfile), then at extraction level (See data at RSA 3, not possible with flatfile). After this load data to BW through PSA and check the content of PSA. After that load it to Infoprovider and varify there.
    Second method is to create a Virtual Infocube on the datasource (extract exact data through FM). And create a multiprovider by combining this Virtual cube and original Cube. Then create a Query with calculated key figures as difference of each key figures from two cubes. This way you can say that which value is not matching.
    I suggest you the first method, but the standard way would be second one at highly critical loads where you cannot match huge ammount of data.
    Hope it helps...
    Regards,

  • GL data ODS and Cube

    Dear Friends,
    Why we are loading 0FI_GL_4 data into first ODS and than Cube.
    Both are daily delta uploads.
    Is there any special reason?
    Regards
    ramu

    From a business perspective you can change a GL document therefore you need the DSO to resolve the duplicates for an after image extractor
    However for CCA - you cannot change the source documents therefore in CCA even though it is an after image extractor you do not need a DSO to resolve this

  • DATA_PACKAGE between ODS and Cube

    Hi SDNs,
    I try to do  the simulated update from ODS to Cube in the monitor of cube.there are two data packages under processing item.The first one ( A1 ) contains 39393 records, and the second one( A2 ) contains 32872 records.
    Then I search the infosource generated by ODS( 8 * ), I find there are 4 data packages ( B1 19391,B2 20002,B3 19595,B4 13277) under the same request number, so it seems that one data package in the monitor contains two ones under the infosource(8*).
    My issue is that when I dubugging the data package under monitor, I can only find B1 in A1 and B3 in A2, the B2 and B4 are disappeared...
    Why?
    Thanks a lot
    Sam

    Probably because you did not use the PSA to upload the data.
    Best regards
    Dirk

  • Loading to Inventory Management Snapshot ODS and Cube

    I am trying to develop an Inventory data model and have already created and loaded to the Inventory Management (0IC_C03) cube.
    I have now created a Snap Shot ODS and Snap Shot cube, is there a way that I can load to these objects without having to do a re-init? Thanks

    Hello Niten,
    There is no need to do re-init, you can load the data into non-cumulative and snapshot targets in parallel. Through sam infopackage with which you are loading to 0IC_C03, load to snapshot targets also.
    Regards,
    Praveen

  • How to import SH Sample Dimensions and Cubes with OWB Client

    Hi, is there a functionality to import the Dimensions and Cubes from the sample to reuse and manipulate them within the OWB Client?
    I can add Dimensions in the Enterprise Manager but mapping should be difficult- right?
    Specs: DB 10g rel2, OWB 10.1.0.4

    dimension - either define a table on your own, or use the data modeler and physically define a new dimension.
    Cube - same as above.
    as for levels and hierarchies, this can also be done in the data modeler. You can specify keys, levels, attributes, measures...all that stuff for dims and facts. There many tabs on the lower half of the dimension modeler screen that control this.
    Check out the oracle by examples for easy tutorials.

  • MDX Testeditor - How to bring in the Catalog and Cube values??

    Hello Experts,
           Is there a way to create new 'Catalog' and new 'Cube' where in I can add the Multiprovider name in the Catalog section and 5 queries in the multiprovider under Cube section.
           I have a problem bringing in the new queries under the Cube list and therefore not able to create any MDX statements.
           Please let me know.
    Nikki

    Hello Prakash,
             I did release it for OLEDB OLAP but still when I select that particular query from the Multiprovider it doesn't show up in the system, it still says 'no query_cube selected'.
    Let me know what I am missing,
    Called you twice, will call you tomm.
    Thanks,
    Sree

  • How to match contents of iPad and library?

    I find that my iPad and hd library contents do not agree. When trying to sync am asked to delete my iPad library

    Neither. I have transferred from my SSD c: drive which is running out of space.
    Transfered  iTunes folder ok then deleted old folder on c; drive.
    Thinking all well I downloaded more books from Gutenberg only to find that I somehow seem to have my iPad out of sync with my hd folder and am asked to delete its contents. Would prefer to delete , if necessary, my hd folder as has less content.

  • How to do reconcilization of ODS data and CUBE data

    Hi All,
    How to do reconciliation of ODS data and CUBE data,I know how to do reconciliation of R/3  data and BW data.
    Regards.
    hari

    Hi,
    create a multicube based on your ODS and cube, identify commen characteristics and perform the key figure selections; create then a query showing both information from the cube and ODS with perhaps some formula showing differences between key figures.
    hope this helps...
    Olivier.

Maybe you are looking for

  • How to format an external HD with Mountain Lion ?

    I am trying to format a brand new 3TB extrnal drive to Mac OS Extended using Disk Utility under Mountain Lion, so I can hook up my Stardom Safe Capsule to my Time Capsule and increase its storage capacity. I am getting the same error every time: "Wip

  • LDAP Dynamic Groups

    Hi, I have been trying to do some coding around - fetching members of dynamic ldap groups. In both these code snippets.. I get the same exception: java.lang.ClassCastException: com.sun.jndi.ldap.LdapCtx no matter whatever i tried. Can anyone please -

  • DTW Error when Importing A/R Quotation - document total value must be zero

    Hey all, I am facing the error document total value must be zero or greater than zero when trying to import the Sales Quotation in Item type. This is my sample source file: 1. Document DocNum     DocType          DocDate     CardCode     DocCurrency 

  • Application Manager Completely FU'd

    Update Mananager downloaded and installed a new version of Adobe Application Manager.  Just for grins, after it downloaded and put an icon on my desktop, I opened it to see what it was.  It presented a list of 16 Adobe applications, some of which it

  • Reference table and  field for Quantity

    what is the reference table and field for quantity ??