Cube or Ods design datamodelling question

Hi gurus,
I have below data coming from 2 different source in 2 different ods---
ODS1
INo....Lookup No.....Material....
11.....a11..............mat1
12....a12...............mat1
13.....a13..............mat2
14....a14...............mat2
another datasource is bringing data in ods2 like below:::
INo....IdentifierParent...Unique--Identifier......Valid from................Valid to
11......777......................771.............................1/1/2010................12/1/2010
12......777......................772.............................1/1/2010................12/1/2010
13......778......................773.............................1/1/2010................12/1/2010
14......778......................774.............................1/1/2010................12/1/2010
Q1----now if i build ODS3 which has update rules of ODS1 & ODS2, with Key = INo.
How will the data look like ?????
Q2----If i build Infocube with update rules from ODS1 & ODS2 (no ods in between) how will the data look like
Q3----also is there need of Key in Update rules from Ods to Infocube ??
just tryinng to understand the data storage techniques in cubes vs ods
and advantages of infocubes

Hi,
Here are the answers for your queries.
Ans 1: If your ODS 3 is having Key a IN0 then this will be the data in ODS3 after completing loadind data from 2 ODSes
INo....Lookup No.....Material...IdentifierParent...Unique--Identifier......Valid from................Valid to
11.....a11..............mat1..........777......................771.............................1/1/2010................12/1/2010
12....a12...............mat1.........777......................772.............................1/1/2010................12/1/2010
13.....a13..............mat2........778......................773.............................1/1/2010................12/1/2010
14....a14...............mat2.........778......................774.............................1/1/2010................12/1/2010
Ans 2:
If you do loading to Cube then all the records from the two ODSes will be added depending upon the sequence of the laod as shwon below
INo....Lookup No.....Material...IdentifierParent...Unique--Identifier......Valid from................Valid to
11.....a11..............mat1..........                       ...                           .......                  ..............          
12....a12...............mat1..........                       ...                           .......                  ..............          
13.....a13..............mat2..........                       ...                           .......                  ..............          
14....a14...............mat2..........                       ...                           .......                  ..............          
11...        .............      .......  777......................771.............................1/1/2010................12/1/2010
12....        ...............     ........777......................772.............................1/1/2010................12/1/2010
13.....        ..............     ........778......................773.............................1/1/2010................12/1/2010
14....                            .........778......................774.............................1/1/2010................12/1/2010
You need to goo for some lookup routines if you want to fill cube in similar manner the ODS 3 has data in it..
Hope it helps you...

Similar Messages

  • Designer datamodel questions

    I've got a couple of questions about how to do a few tasks in Designer.  First, a little background:<br />I've got a dataconnection called "report_data" that's derived from and xml schema.  The structure of the schema is somehing like this: <br /><report><br />    <job_description><br />       <name/><br />       <start_date/><br />       <end_date/><br />    </job_description> <br />    <task><br />       <name/><br />       <description/><br />       <resource> <br />            <name/><br />            <cost/><br />       </resource><br />       <subtask><br />          <name/><br />          <description/><br />            <resource> <br />               <name/><br />               <cost/><br />           </resource><br />       </subtask><br />    <task><br /></report><br /><br />a report has a single jobdescription, and multiple tasks.  Each task has a name and decription, multiple resources, and multiple subtasks.  Each subtask has a name and description, and multiple resources.<br /><br />I've designed a report entry form, with multiple subforms for job_description, tasks, resources, and subtasks.  I've then bound these subforms to the datamodel.  This is all good and works.  The problems start occuring when I want this form to be dynamic.  The Task subform has a button "add_new_task", which adds a new task to the report.  It does this by calling a function "add_new_task()" in a script object.  The function is as follows:<br />function add_new_task(){<br />    var t_node = xfa.datasets.dataDescription.report.task.clone(1);<br />    t_node.resolveNode("name").value = "task " + (xfa.record.resolveNodes("task[*]").length + 1).toString();<br />    xfa.record.nodes.append(t_node);<br />    xfa.form.remerge();<br />}<br />This function appears to work, new instances of the task subform are appended to the document. <br /><br />The task subform also contains subtask subforms.  They are added with a button "add_new_subtask", that calls a function "add_new_subtask(task)".  the function is as follows:<br />function add_new_subtask(task){<br />    var st_node = xfa.datasets.dataDescription.report.task.subtask.clone(1);<br />    st_node.resolveNode("name").value = "subtask " + (xfa.record.resolveNodes("subtask[*]").length + 1).toString();<br />    task.nodes.append(s_node);<br />    xfa.form.remerge();<br />}<br /><br />The button click function is:<br />scripts.add_new_subtask(xfa.record.task);<br /><br />Resources work in a similar way.<br /><br />The problem is now that when I try to create subtasks, they are appended to the initial task, not the task associated with the current record.  Same thing for Resources.<br /><br />Doesn't xfa.record refer to the current record?  If not, how to I determine the current record?  xfa.dataWindow.currentRecordNumber is always returning 0.  I'm assuming that's because there is only 1 instance of the report.  How do I determine the record associated with a given subform?  Is there a better way than using the index of the subform and getting the record with the same index?

    To determine the instance of the record associated with a given subform, you can get the subform's
    index property value. Since new instances are created with the same name as siblings of one another, they end-up getting index numbers in order to make them unique.
    For example, if you create a new instance of the Task subform, you'll have "Task[0]" and "Task[1]" where
    this.index will be 0 or 1. If it's an object parented to the Task subform which needs to know the instance of the Task subform/record in which it occurs, you can use the
    parent property to drill up to the Task subform which contains the object in question and then get its index property value.
    Creating bookmarks is a little more complicated. Unfortunately, XFA doesn't support bookmarks so you have two options:
    Use the xfa.host.setFocus("field name") method to set focus, when the user clicks a button, to a field somewhere on the form to have Acrobat automatically scroll the field in view and set focus to it (see post #6 of the
    Links Within PDF thread for an example); or
    Use the
    target property of the event object you get in an XFA event script to access the Acrobat Document object and then programmatically add bookmarks to the form (but
    this will only work if the form is viewed using Acrobat):
    event.target.bookmarkRoot.createChild("Next Page", "this.pageNum++");
    I'm not familiar enough with creating bookmarks in Acrobat to elaborate further on the subject but you can read more about it in the
    Acrobat JavaScript Scripting Reference.
    I hope this helps!
    Stefan
    Adobe Systems

  • Three questions about the creation of secondary indexes in ODS design mode

    1. When we right click the Indexes folder in ODS design to select Create to create the Index folder 010, a small window pops up with a check box called "Unique", do we have to check this checkbox to create folder 010?
    2. If we would like to include 3 InfoObjects into the secondary indexes, then how many folders we need to create? Need to create 3 folders like 010, 020, and 030 and place the 3 InfoObj. into the 3 folder respectively or create only one folder 010 and place all the 3 InfoObj. into this one folder 010?
    3. In SAP documentation titled "BW Performance Tuning" about the Indices, it says "If the (uncompressed) F fact table is small, it is usually faster to drop the secondary (bitmap) indices before the load and build them up after the load"
    Someone here says secondary index is only for ODS other than for cubes, but from the above statement, F fact table is related to cubes, then how to explain it? Also the above statement is talking above the variant in process chain that when you bring in a variant to load data to cube, then the drop index and generate index variants will be automatically created, does it refer to this? And what's bitmap index?
    Thanks in advance and we will continue to give you reward points!

    Hi Kevin,
    Cube has Secondary index's. The index's that we find in the Manage of the Cube are the Secondary Index's. Please check the following link for more information.
    http://help.sap.com/saphelp_erp2004/helpdata/en/80/1a6473e07211d2acb80000e829fbfe/frameset.htm
    Also, to know about Unique indexes, use the following link
    http://help.sap.com/saphelp_erp2004/helpdata/en/9b/c743f5b40711d194f900a0c929b3c3/frameset.htm
    "The indexes displayed are the secondary indexes of the F and E fact tables for the InfoCube. The primary indexes and those defined by the user are not displayed. " (SAP help).
    This should answer your questions.
    Regards,
    Praveen.

  • Looking for a specific data in all the cubes and ods

    Hi Gurus
    "i am looking for all the cubes/ods that contain a specific Controlling area(lets say 0123) and a specific 0plant (lets say plant 4567), now i can go down to every cube and ods and search for it in its contents but i have like hundereds of cubes it will take days, is there a simple way to look for some particular data in all the cubes/ods, and it tells me which cube/ods contains these plants and controlling area."
    <b>now based on this above post i got a reply that abaping can help.</b>
    "you could write an ABAP where you call for every InfoProvider function RSDRI_INFOPROV_READ_RFC like
    loop at <infoprov-table> assigning <wa>.
    call function 'RSDRI_INFOPROV_READ_RFC'
    exporting
    i_infoprov = <wa>
    tables
    i_t_sfc = i_t_rsdri_t_sfc
    i_t_range = l_t_rsdri_t_range
    e_t_rfcdata = l_t_rsdri_t_rfcdata
    exceptions
    illegal_input = 1
    illegal_input_sfc = 2
    illegal_input_sfk = 3
    illegal_input_range = 4
    illegal_input_tablesel = 5
    no_authorization = 6
    generation_error = 7
    illegal_download = 8
    illegal_tablename = 9
    illegal_resulttype = 10
    x_message = 11
    data_overflow = 12
    others = 13.
    endloop.
    i_t_sfc should contain 0PLANT and i_t_range the restriction on you plant value.
    with a describe table statement on l_t_rsdri_t_rfcdata you can get the hits.
    check test program RSDRI_INFOPROV_READ_DEMO for details
    best regards clemens "
    <b>now my question is how do  i use this code to check each and every cube in bw, it seems like it is meant to be for only one cube at a time. and what does he  mean by  "for every infoprovider function"</b>
    thanks

    THANKS

  • Can I use one infosource to update data to CUBE and ODS???

    Hi all,
    Can anyone tell me if I can load data to OSD and Cube from one the same InfoSource? As I know, I have to have "0recordmode"(update mode) in communication structure for ODS not for Cube.  So how can ODS and Cube use the same Infosucre to update data?
    Thank you

    John,
    Depending on the volume of data and the type of infosource, sometime one update to ODS first and then subsequently update to the Cube or update both cube and ODS in parallel.
    For example, if you use AR or AP line item datasources, since you are extracting from both open line and closed line items tables, there could be multiple records for the same thing coming through.  First when it appears as an open line item, and when it is paid, it appears again as a paid line item so if you update directly to the cube, you can have multiples of the real value.  Thus in this instance you update from infosource to ODS then subsequently use delta update from ODS to cube.   CCA and C0-PA on delta mode are example where there are no overlapping, thus you can update both ODS and Cube at the same time.
    Hope this helps,
    Mary

  • How can we know what r the reports done on a particular cube or ods

    Hi Fnds ,
         I just want to know what r the reports done on my CUBE or ODS.
             is there ant specfic table or t-code for that.

    Hi Ravi,
    Double-click on your DSO/ Cube, go to the 'where-used list' option on the top right-hand side. When you drop-down, you can see all the objects where the DSO/Cube is used. If it is being used in a query, the same would be displayed
    Rgds,
    Sonal

  • How to find number of records in a cube and ODS....

    Hi,
    How do we find total number of records in a cube and ODS?
    Is there any Tcode for this ?
    From the content it is difficult to get the number of records, if it is more in number.
    Thanks,
    Jeetu

    Hello ,
              Please check the following thread,
    Number of records in a infocube
    hope it helps,
    assign points if helpful.

  • After upgrade to BI NW4.0S issue in loading cube from ODS

    Hi,
      I have an SAP delivered ODS(0CRM_OPPT_H) which I was loading for some time. The cube 0CRM_C04 was loaded from the ODS a couple of times. I have now deleted all the data from the cube and want to load the data from the cube to ODS, In between our BW was upgrade frpm 3.5 to BI NW0S..
      I have done all prerequisite , replicated the 80 datsource , deleted and re activated the update rule and transfer rule again.. and then tried to load the Cube from ODS.. however everytime I am getting the following error
    DataSource 80CRM_OPPI does not have the same status as the source system in the Business Information Warehouse.
    The time stamp in the source system is 12/23/2005 10:09:36.
    The time stamp in the BW system is 11/09/2005 13:02:29.
    Is it due to the upgrade?? I have done everything so that this dosen't happen, still could not resolve..
    Thanks

    Are you sure you've replicated the DataSource 80CRM_OPPI? Try replicating it individually again. If that doesn't help, have you tried reactivating the ODS Object itself?
    Regards, Klaus

  • How to to go for cube or ODS

    HI
    Data source has given to us now how to identify whether i need to load data to the ODS than cube or directly to the cube
    thanks in the advance

    Kiran,
    There are reasons why data has to be loaded to cube or ODS.
    1. If the data source supports only full load (help.sap.com you can find out), and if the selection condition remains the same then before each load you may have to delete the old request and load a new request. This can be avaoided if you load data via ODS. data SOurces such as 0CO_OM_WBS_1 etc.
    2. If the data source supports delta and if it gives you only after images status while extracting them to find the difference you would have to load the data only thru ODS. example 0FI_GL_4, 0FI_AP_4, 0FI_AR_4. Though these data sets supports delta, it is all after image data source. so it has to be loaded via ODS.
    These are the simple reasons to load via ODS. You can load directly in to a cube, but the best practice is always to maintain data ware house layer or application layer before loading to the cubes.
    Hope this helps.
    Assign points if it helps.
    Alex (Arthur Samson)

  • Number of records in cube from Query Designer

    I don't have access to the cube in BW(listschema). I only have access to pull reports from cube from Query Designer. How can I tell the total number of records in a cube?
    Thanks.

    Hi
    you can use the tech content in the query designer to display the count for no of records or you can do the same via creating a new CKF
    or see the below link to display the count
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/009819ab-c96e-2910-bbb2-c85f7bdec04a

  • How often cube or ods is loaded

    Hi all,
    Can you plz help to find the easy way to find out how often a cube or ods or any object is loaded say daily or weekly . how to find it easily when i have many objects.

    Hi Bhavani,
    if your cube is getting loaded from ODS then copy the technical name of the update rules of ODS go to infosource tree and then find that particular technical name there. You will find the infosource associated with the ODS then find the infopackage which is associated with the process chain. Double click on every infopackage, the moment you ll double click it then it will display the msg saying  "infopkg already in process chain". click ok and go ahead.
    You will find yourself under schedule tab there you can find your process chain name just click on the icon which is in the other side of start button.
    Copy the technical name of the process chain and go to RSPC and find this pc. Open the pc and right click the start process-> change selection->Periodic job button. There you can find the schedule frequency .
    Hope this helps
    Edited by: Anup Chaudhari on Nov 19, 2008 5:56 AM

  • Can we add new cubes and ODS after creating the multiprovider?

    Hi all,
    i created a multiprovider on a cube and ODS. Now i needed one more charactersitic from other cube.then i did change multiprovider and then add that new cube and did the identification, and adjusted the query, when i ran the query it is showing chracteristic as #  and not assigned. I even tried bringing in 0infoprovider object to see whether data is coming from third infoprovider, it is not showing up any data from third one. i tried logging out of bex and logging back in.....but still no use..............i am wondering now, once a multiprovider is created can new infoprovider be added to it ?
    i am even able to see the new key figures and chracteristic in my query.but data  is not getting populated...i also checked and found that the data is available in the infoproviders....
    plz help me out..
    points will be assigned for inputs

    Hi Bhanu,
    nice to see your answer, I saw a lot of helpful posts on SDN by you.
    I did the RSRT with debug multiprovider, it said,
    0FISCPER: General restriction for InfoProvider ZSD_C12 not possible
    Access to ZSD_C12 was excluded
    now i corrected it, it is populating the key figure now but not the chracteristic still.....the chracteristic is still getting value only from one of the info providers
    importantly, when i bring infoprovider above the keyfigures space on query, it still only shows two info providers for each key figure and  not the third one ,the key figure coming the third one is only shown in overall result. how can i solve this?
    i tried  rsr_gen_direct_all_queries as told by krian, but still cant get the data in the report. i did list cube on mulitiprovider and i see the data for that chracteristic there....
    are there any other options in RSRT to find possible setting faults....
    thanks in advance
    points will be assigned for inputs

  • Chara to cube or ods

    Hi,
               Is it possible to trasnfer data from chara bearing master data to cube or ods...if possible how? What happens when we create export data source for chara????

    It will prefix the 8 before ur technical name.
    You can load it to ODS not to cube. To load into ODS take the main characteristic in KEy fields in the ODS, and the attributes in the data fields. Please let us know if u have any compounding attributes in ur master data object.
    Khaja

  • Cube and ODS update types

    Hi all. Please tell me in brief about update types for ODS and InfoCube. I know there is something Addition,No update,overwrite. But I do not know how they work.
    regards
    rajesh

    Hi Rajesh,
      No Update means - no data is updated into the target (Cube or ODS).
      Overwite - Only for ODS, not possible for Cube. this iwll overwrite the exisiting enrty in the ODS with the new values.
       Aditive - The records would be summed up ... Cube can only work either in Additive or No Update mode.
    Hope this helps.
    best regards,
    Kazmi

  • Update Problem in CUBE from ODS.

    Hi Experts,
         I have problem in Updating data from ODS to CUBE and ODS to INFO-OBJECT.
    In brief, ODS has the Up-to date data ( Means till today - 28/07/10 ) . But the cube has Data till 22/07/2010. If I am trying to activate the ODS , Its is showing NO REQUEST TO ACTIVATE. And the DATAMART status is also not available . But the thing is , I checked in ODS till 22/07/2010 also DATAMART status is not available. And Its a Delta .  
    Please help me out, How can I update the data In CUBE and to an Info object.
    Thanks,
    Sethi.

    Hi ,
    I got the point , I am showing how the request are there  in date wise.
    In ODS   : 
                                                               CRM Sales Contract Item:Delta     29.07.2010
                                                               CRM Sales Contract Item:Delta                     28.07.2010
                                                               CRM Sales Contract Item:Delta      27.07.2010
                                                               CRM Sales Contract Item:Delta     26.07.2010
                                                               CRM Sales Contract Item:Delta     25.07.2010
                                                               CRM Sales Contract Item:Delta     21.07.2010
                                                               CRM Sales Contract Item:Delta     20.07.2010
                                                               CRM Sales Contract Item:Delta     19.07.2010
    It's Showins , there is missing REQ after 21.07.2010 .
    In INFO-CUBE
                                                                Delta Package for Update                         22.07.2010
                                                                Delta Package for Update                              21.07.2010
                                                                Delta Package for Update                             20.07.2010
                                                                Delta Package for Update               19.07.2010
                                                                Delta Package for Update                             18.07.2010
    It's showing , there is no data in INFO CUBE after 22.07.2010 and    in ODS the same Date Request is Missing. So my DELTA go Inactivated. After Updating the REQ on 22.07.2010 to CUBE , Unfortunately DELETED without maiking that RED.    My mistake was that.
    Please guide me ... What should I do ? Should I delete the Data in both CUBE and ODS. And Reload .
    Thanks,  
    Sethi.
    Edited by: ukumar on Jul 29, 2010 4:19 PM

Maybe you are looking for

  • IPhoto app and library install - which first???

    I had to replace my MacBook. I just picked up a MacBook Air. I was able to install the iPhoto app from the app store. I have not yet run iPhoto. I am in the process of restoring my iPhoto library from CrashPlan (I know - should have a local back up -

  • PR not generated when multiple lines added to work order

    Hello Guys, I am facing issues when I tried to add multiple non stock components to generate PR. I have added around 20 non stock components with "N" as item category along with text description only ( Component field was blank). When I save the WO,

  • Adobe Reader 11.2.1 still crashing

    We are still having crash issues with Adobe 11.2.1. We are using Android 4.3 operating system. We have been using the same fillable forms since before the last two Adobe Reader updates in April 2014. These forms were not causing the program to crash

  • Upgrade Lightroom with a different language

    I've got Lightroom vers 4.4 64-bit in Italian. Can I update to vers 5 in English?

  • Warranty question please help

    my creative zen has completely died. the blue light will turn on but that's about it. i cant do anything. i already got a RMA number and i want to know what to do next. i've had it for ten month and i want to get a replacement. does the warranty cove