Mapping between tables or table to dimension OWB 11G

Hi,
I want to know the difference between mapping to a dimension and mapping to a table.
My company already has mappings created...
They map from a table to a dimension. Not as a SCD.
When I run the mapping it only updates the target dimension table, no new rows are added.
I see when I create a mapping between to tables, I can choose loading type.
I was wonder why you would load to a dimension if only updates rows. How can I load to a dimension and have my inserts running as well.
Thank you for any help offered

The loading type on a table can insert/update/merge/delete - it's up to you what you do, what happens in a load is dependent on the loading type and the data (if there is no new data, then no new rows will be added). The dimension operator has loading behavior consistent with type 1,2,3 SCDs - in the end it boils down to insert/update/merge also.
Cheers
David

Similar Messages

  • Error while running code template mapping between two oracle tables

    Hello All
    Iam getting the following error while running code template mapping between two oracle tables. Using OWB 11gR2 and oracle 11gR2 DB.
    java.sql.SQLException: ORA-20001: The active workspace is not valid as a target for this mapping
    c: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1065
    ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1087
    ORA-06512: at "SOURCE.FILENET_EX_UNIT_3", line 555
    ORA-06512: at line 4                                        
    Job 51 error: java.sql.SQLException: ORA-20001: The active workspace is not valid as a target for this mapping
    ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1065
    ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1087
    ORA-06512: at "SOURCE.FILENET_EX_UNIT_3", line 555
    ORA-06512: at line 4
    Quick help is highly appreciated.

    Dera Dallan
    its only a target user for the workspace where you are deploying the mapping from.
    I have two repositories for two different projects. each repositary has its own workspace.
    ex:-
    Project 1
    Work space bpms_rep_owner
    Repositary owner bpms_rep_owner
    Repositary user bpms_rep_user
    Project 2
    Work space dem_rep_owner
    Repositary owner dem_rep_owner
    Repositary user dem_rep_user
    Reg
    S.Gyazuddin

  • A table mapping between ISO country code and ISO currency code

    Hi experts,
    I want to know whether there is a table mapping between ISO country code and ISO currency code.I have searched T005(Countries) and TCURC(Currency Codes).why the filed of WAERS(Country currency) hasn't maintained in talbe T005?Whether ISO country code and ISO currency code hasn't direct relation?
    Regards,
    Kelvin

    Kelvin,
    If you know the table which is having ISO Country Code or ISO Currency code,then go to that table and clik on GRAPHIC(ctrlShiftf11) which will give the foreign key relationships.I guess checking all those table displayed in the graphic will give you some lead.
    K.Kiran.

  • A table mapping between country code and currency code

    Hi experts,
    I want to know whether there is a table mapping between country code and currency code.I have found the table T005(Countries).But I don't why the filed of WAERS(Country currency) hasn't maintained in talbe T005?Whether country code and currency code hasn't direct relation?
    Regards,
    Kelvin

    Dear Kelvin
    The said field (WAERS) can be fetched from many tables.  To name a few, below are some of the tables in which, you can see the field for currency.
    1)  BKKI4
    2)  BKKI5
    3)  BWPOS
    4)  KNKA
    5)  KNVV
    6)  MSEG
    thanks
    G. Lakshmipathi

  • How to copy FDM setting (import format, dimension mapping, control table)

    Dear All,
    How to copy FDM setting (import format, dimension mapping, control table) from application to another application.
    I found that only dimension mapping can be imported. Is there any way to copy FDM application quickly?
    Thanks your help

    If you get a chance try the following script, it's so simple and easy to extract all the map data to XML and will help in to import back through Import script.
    Sub MapExtractor()
    'UpStream WebLink Custom Script:
    'Created By:      SatyaK
    'Date Created:      12/08/09
    'Purpose: This Script will produce a Account Map File for
    '                         the current location.
    'Execute the export
    strFilePath = API.IntBlockMgr.InterfaceMgr.fExportMapToXML("File Path", PPOVPeriod)
    End Sub
    -------------

  • Mapping or relation between tables

    Hello
    I have a application, that I installed on top of Oracle 11G. this database has more than 200 tables all linked based on keys. Sorry my terminology may not be so good since am not a dba.
    I would like to study the relationships between tables to better understand the application.
    Is there a tool that allows me to view the relationship between the tables or provides me a mapping between the tables, very similar to UML mapping that shows relationships between classes.
    Thanks;

    column contacts.contact should only contain values which exist in persons.id or companys.id.
    if i put two foreign key constraints on table contacts witch reference persons.id and companys.id i get a error when inserting any value into contacts.
    example:
    table persons:
    id | name
    99 | john
    insert into contacts
    values(1,2,99);
    here i get the error.
    i think its because the second fk-constraint does not accept this value.

  • Generate table with dimensions of BPC etc in BW

    Hi All,
    Is it possible to generate a big table in BW which contains all dimensions and the dimension members of the different dimensions and have this table per application set in BPC.
    I am looking for a table with column headers like this:
    AppSet - Application - Dimension - Dimension Member
    Note: When I look in the backend of BPC 7.5 NW we are using over here; so when I look in BW I can see there are different tables...tables for the applications per AppSet, tables containing the dimension for the different applications and tables for the dimension members. What I'd like to do is combine all these in a big file. Is it possible to generate a master data list in BW?
    Thank you in advance for you attention.

    Hi,
    Thats the beauty of [StarSchema|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/4c/89dc37c7f2d67ae10000009b38f889/content.htm].
    The star schema is the simplest data warehouse schema. It is called a star schema because its diagram resembles a star: the center (one or more fact tables) is directly joined to its points - the dimension tables.
    A star schema is characterized by one or more very large fact tables that contain the primary information in the data warehouse and a number of much smaller dimension tables (or lookup tables), each of which contains information about the entries for a particular attribute in the fact table.
    A star query is a join between a fact table and a number of lookup tables. Each lookup table is joined to the fact table using a primary-key to foreign-key join, but the lookup tables are not joined to each other.
    A typical fact table contains keys and measures. For example, a simple fact table might contain the measure Sales, and keys Time, Product, and Market. In this case, there would be corresponding dimension tables for Time, Product, and Market. The Product dimension table, for example, would typically contain information about each product entry that appears in the fact table. A measure is typically a numeric or character column, and can be taken from a specified column from the fact table or calculated from two or more columns in one or a few fact tables.
    A star join is a primary-key to foreign-key join between a fact table and dimension tables. The fact table normally has a primary-key composed of a few columns.
    The main advantages of star schemas are that they:
    u2022Provide a direct and intuitive mapping between business entities analyzed by end users and the schema design.
    u2022Provide highly optimized performance for typical data warehouse queries.
    hope you understand the concept behind storing data in different table instead in a single table.
    Thanks,
    Raju

  • DBAdapter Creating Relations between tables not having PF-FK relationship

    I am writing a process which has to pull data from three tables.
    SELLER_HEADER (inv_Num is Primary Key)
    SELLER_LINE_ITEMS ( no PK but has inv_num and line_number which together are unique)
    BUYER_LINE_ITEMS (no PK but has cust_num, cust_PO_num and line_num that are unique)
    I want to create a DB Adapter which would take in an invoice number, customerNumber and customerPONumber
    and fetch me data whose XSD is roughly in this structure
    One Node of Type Header
    ---- Column 1 of the Header Table
    ---- Column 2 of the Header Table
    ---- Column 3 of the Header Table
    ... and so on
    Multiple Nodes of
    ---- Column 1 of the Seller Table
    ---- Column 2 of the Seller Table
    ---- Column 3 of the Seller Table
    and
    ---- Column 1 of the Buyer Table
    ---- Column 2 of the Buyer Table
    ---- Column 3 of the Buyer Table
    I tried some combinations and found that if you have a 1:M mapping for Header - Seller Line Item
    and a 1:1 mapping between Seller Line Item and Buyer Line Item then i get the desired XSD
    So, I created a 1:M relation between header and Seller lineItems. However i cannot create a one to one mapping between Seller Line Items and Buyer line items. Nor can i create a 1 :M mapping between Seller Header and Buyer Line Items. That is why the generated XSD shows
    <SomeCollectionName>
    <SellerHeader>
    <BuyerLineItems>
    <SellerLineItems>
    </SomeCollectionName>
    Any pointers for this? How do i make a relation based on the input values to the DBAdapter

    Does the CORE_BUSINESS schema have REFERENCES and SELECT privileges on the table you are trying to reference with the foreign key constraint?

  • Fact Table and Dimension Tables

    Hi Experts, I'm creating custom InfoCubes for data coming from non-SAP source systems. I have two InfoCubes. Tha data is coming from like 10 tables. I have 10 DataSources created fo this and the data will be consolidated in Standard DSO before it will flow into 2 InfoCubes.
    Now client wants to know before how much data will be there in InfoCubes in Fact table nad Dimension tables in both the InfoCubes. I have the total size of all the 10 tables from the sources given to me by the DBA. I wan not sure how I can convert that info for Fact table and Dimension table as I have not yet created these Infocubes.
    Please help me with this on how I should address this.

    hi,
    The exact data will be hard to give however you can reach at a round figure in your case.
    You are consolidating the data from the tables that means that there is relation between the tables. Arrive at a rough figure based on the relation and the activity you are performing while consolidating the data of the tables.
    For example, let us say we want to combine data for sales order and deliveries in a DSO.
    Let Sales order has 1000 records and Delivery has 2000 records. Both the tables have a common link (Sales Order).In DSO you are combining the data that means the data will be at the most granular level consist of Delivery data, so the maximum no of records which the consolidated DSO can have is 2000.
    regards,
    Arvind.

  • Reg: Fact table and Dimension table in Data Warehousing -

    Hi Experts,
    I'm not exactly getting the difference between the criteria which decide how to create a Fact table and Dimension table.
    This link http://stackoverflow.com/questions/9362854/database-fact-table-and-dimension-table states :
    Fact table contains data that can be aggregate.
    Measures are aggregated data expressions (e. Sum of costs, Count of calls, ...)
    Dimension contains data that is use to generate groups and filters.
    This's fine but how does one decide which columns to consider for Fact table and which columns for Dimension table?
    Any help is much appreciated.
    Pardon me if this's not the correct place for this question. My first question in the new forum.
    Thanks and Regards,
    Ranit Biswas

    ranitB wrote:
    But my main doubt was - what is the criteria to differentiate between columns for Fact tables and Dimension tables? How can one decide upon the design?
    Columns of a fact table will often be 'scalar' attributes of the 'fact' data item. A dimension table will often be 'compound' attributes of a 'fact'.
    Consider employee information. The EMPLOYEE table can be a fact table. It might have scalar attribute columns such as: DATE_HIRED, STATUS, EMPLOYEE_ID, and so on.
    Other related information that can't be specified as a single attribute value would often be stored in a 'dimension' table: ADDRESS, PHONE_NUMBER.
    Each address requires several columns to define it: ADDRESS1, ADDRESS2, CITY, STATE, ZIP, COUNTRY. And an employee might have several addresses: WORK_ADDRESS, HOME_ADDRESS. That address info would be stored in a 'dimension' table and only the primary key value of the address record would be stored in the EMPLOYEE 'fact' table.
    Same with PHONE_NUMBER. Several columns are required to define a phone number and each employee might have several of them. The dimension tables are used to help 'normalize' the data in the employee 'fact' table.
    And that EMPLOYEE table might also be a DIMENSION table for other FACT tables. A DEVELOPER table might have an EMPLOYEE_ID column with a value that points to a 'dimension' row in the EMPLOYEE dimension table.

  • Missing most detailed table for dimension tables

    Hi ,
    I am getting this following error
    Business Model Core:
    [nQSError: 15003] Missing most detailed table for dimension tables: [Dim - Customer,Dim - Account Hierarchy,Dim - Account Region Hierarchy,Fact - Fins - Period Days Count].
    [nQSError: 15001] Could not load navigation space for subject area Core.
    I got this error when I tried to configure # of Elapsed Days and # of Cumulative Elapsed Days by following way-
    1. Using the Administration Tool, open OracleBIAnalyticsApps.rpd.
    Configuration Steps for Controlling Your Data Set
    Configuring Oracle Financial Analytics 5-51
    The OracleBIAnalyticsApps.rpd file is located at:
    ORACLE_INSTANCE\bifoundation\OracleBIServerComponent\coreapplication_
    obisn\repository
    2. In the Business Model and Mapping layer, go the logical table Fact - Fins - Period
    Days Count.
    3. Under Sources, select the Fact_W_DAY_D_PSFT logical table source.
    4. Clear the Disabled option in the General tab and click OK.
    5. Open the other two logical table sources, Fact_W_DAY_D_ORA and Fact_W_
    DAY_D_PSFT, and select the Disabled option.
    6. Add the "Fact - Fins - Period Days Count" and "Dim - Company" logical tables to
    the Business Model Diagram. To do so, right-click the objects and select Business
    Model Diagram, Selected Tables Only.
    7. In the Business Model Diagram, create a new logical join from "Dim - Company"
    to "Fact - Fins - Period Days Count." The direction of the foreign key should be
    from the "Dim - Company" logical table to the "Fact - Fins - Period Days Count"
    table. For example, on a (0,1):N cardinality join, "Dim - Company" will be on the
    (0/1) side and "Fact - Fins - Period Days Count" will be on the N side.
    8. Under the Fact - Fins - Period Days Count logical table, open the "# of Elapsed
    Days" and "# of Cumulative Elapsed Days" metrics, one at a time.
    9. Go to the Levels tab. For the Company dimension, the Logical Level is set to All.
    Click the X button to remove it. Repeat until the Company dimension does not
    have a Logical Level setting.
    10. Make sure to check Global Consistency to ensure there are no errors, and then
    save the RPD file.
    Please help me to resolve.
    Thanks,
    Soumitro

    Could you let me know how you resolved this. I am facing the same.

  • Changing link properties between tables

    Hello,
    Is it possible to change somehow properties for the links between tables?
    We have about 2000 reports and we should change most of the links, it would be very convenient to write short program to do this instead of destroying couple mouses and wrists etc...
    Currently we are using VB6 and RDC to work with reports but we are open for all ideas to solve this problem we have.
    Thanks in advance for any help!
    Timo

    Hi Timo,
    Unless you know exactly how all are going to change exactly it may be easier to hire a student to this for you.
    Here's a bit of code that should get you going, it's old but should work for you also. You'll need to know what fields are mapped etc... It actually adds the tables at runtime and what you'll want to do is get your existing tables and links and save the info in an array.
    Dim db As Database
    Set db = rep.Database
    Dim tables As ICRDatabaseTables
    Set tables = db.tables
    Dim desTable As ICRDatabaseTable
    Dim path As String
    Dim srcTable As ICRDatabaseTable
    Dim subloc As String
    ' Add a table.
    subloc = "Orders"
    Set srcTable = tables.Add(subloc, CRDTRecurringFile, "crdb_ODBC.DLL", "MS SQL Tsvanfps01", "nwind", "vantech", "vantech", subloc)
    ' Add a table.
    subloc = "Employees"
    Set desTable = tables.Add(subloc, CRDTRecurringFile, "crdb_ODBC.DLL", "MS SQL Tsvanfps01", "nwind", "vantech", "vantech", subloc)
    Dim links As ICRDatabaseLinks
    Set links = db.links
    Dim count As Long
    count = links.count
    Dim joinType As CRJoinType
    Dim lookType As CRLookUpType
    Dim pm As Boolean
    Dim indexInUse As Integer
    joinType = 5    ' set to Left Outer Join
    lookType = 2
    pm = False      ' used for Access tables
    indexInUse = 0  ' used for Access tables
    Dim vas As Variant
    Dim vbs As Variant
    vas = Array(2)  ' pointer to the field position in the source Table
    vbs = Array(0)  ' pointer to the field position in the destination Table
    Dim newdblink As ICRDatabaseLink
    Set newdblink = links.Add(srcTable, desTable, vas, vbs, joinType, lookType, pm, indexInUse)
    Have fun
    Don

  • How can I see in what maps some table is used?

    Hi,
    Anyone can tell me how can I see in what maps some table is used, without open all of then?
    Thanks,
    Gustavo.

    Good morning Gustavo,
    OWB has some public views defined which can provide you with this information. Check Appendix D (Warehouse Builder Public Views) of the OWB User Guide for all info.
    Log in as the owner of the design time repository, if you run the following query you'll have a basic overview of whic table is used in which mapping:SELECT MAP_NAME         MAPPING_NAME
    ,      DATA_ENTITY_NAME TABLE_NAME
    ,      BUSINESS_NAME    TABLE_OPERATOR_ALIAS
    ,      DESCRIPTION      TABLE_OPERATOR_DESCRIPTION
    FROM   ALL_IV_XFORM_MAP_COMPONENTS
    WHERE  DATA_ENTITY_TYPE = 'TABLE'Good luck, Patrick

  • Mapping of tables

    Dear Experts,
    I am doing mapping between lips, vbap, vbak and vbkd tables.
    here in lips table 2 records coming in debugging.But in vbap,vbak and vbkd there are no records am getting.My code:
    SELECT  vgbel
                vbeln
                posnr FROM lips INTO TABLE it_lips
                FOR ALL ENTRIES IN it_vbrp
                WHERE vbeln = it_vbrp-vgbel.
        IF sy-subrc EQ 0.
          READ TABLE it_lips INTO wa_lips  INDEX 1 .
          DELETE ADJACENT DUPLICATES FROM it_lips COMPARING vgbel vbeln.
          LOOP AT it_lips INTO wa_lips.
          ENDLOOP.
          IF sy-subrc EQ 0.
      SELECT single  vbeln posnr FROM vbap INTO wa_vbap
                               FOR ALL ENTRIES IN it_lips
                               WHERE vbeln = it_lips-vbeln
                               AND   posnr = it_lips-posnr.
                                 WHERE posnr = wa_lips-vgpos
                                  and  vbeln = wa_lips-vgbel.
         IF sy-subrc EQ 0.
        SORT it_vbap BY posnr.
        DELETE ADJACENT DUPLICATES FROM it_vbrp COMPARING posnr.
        IF sy-subrc EQ 0.
        LOOP AT it_vbap INTO wa_vbap.
        ENDLOOP.
      ENDIF.
      endif.
      SELECT SINGLE vbeln
                    netwr
                    vkorg
                    knumv FROM vbak
                    INTO wa_vbak
                    WHERE vbeln = wa_vbap-vbeln.
      IF sy-subrc EQ 0.
        MOVE :wa_vbak-netwr  TO wa_header-total_inv.
        LOOP AT  it_vbak INTO wa_vbak.
        ENDLOOP.
      ENDIF.
      SELECT SINGLE vbeln
                    bstkd
                    bstdk
                    posnr FROM vbkd INTO wa_vbkd WHERE posnr = wa_vbap-posnr
                                                 AND   vbeln = wa_vbap-vbeln.
    Plz help me.
    Regards
    chitty.

    Change your VBAP select as below:
    SELECT single vbeln posnr FROM vbap INTO wa_vbap
    FOR ALL ENTRIES IN it_lips
    WHERE vbeln = it_lips-vgbel
    AND posnr = it_lips-vgpos.

  • Sub-tables/Flow dimension - NETVAR

    Hi all
    Does anybody know what it means if a particular value in the  the Sub-tables/Flow dimension has a FLOW_TYPE of  NETVAR ?
    Regards
    Byron

    Hi pmyahoo,
    According to your description, you want to use T-SQL to create a relational view contains fact table with dimension tables. Right?
    In Analysis Services, a data source view (DSV) is an abstraction of a relational data source that becomes the basis of the cubes and dimensions you create in a multidimensional project. It contains the logical model of the schema used by Analysis Services
    multidimensional database objects—namely cubes, dimensions, and mining structures. It is the metadata definition, stored in an XML format, of these schema elements used by the Unified Dimensional Model (UDM) and by the mining structures. So it's a virtual
    table like the View we create via T-SQL. Please refer to links below:
    Data Source Views (Analysis Services - Multidimensional Data) 
    Defining a Data Source View (Analysis Services)
    When designing data source views, to determine if using a bridge table depends on the relation ship between dimension table and fact table. If it's a many-to-many relationship, it's better to use a bridge. Please refer to an article below:
    SSAS/KIMBALL: modeling a N:M relation between dimensions (part I)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
    TechNet Community Support

Maybe you are looking for

  • Query Report:To Retrieve Data from A/R Invoice and A/P Invoice

    Hii Experts,       I am a new Sap B1 Trainee.I am facing a problem when retrieving data from A/R Invoice and A/P Invoice in order to track Expenditure and Revenue according to a Bussiness partner, I am using union to retrieve the information,but it i

  • How many e-mails can i send through Bex Broadcaster?

    Dear Experts I would like to know to how many e-mail address i can send a query through "broadcast e-mail" function with BEx Broadcaster. In other words, what's the maximum number allowed of recipients? I'm using BI version 7.0. Thank you in advance

  • Error message when syncing iPhone to iTunes

    I've tried three times now to sync my iPhone with iTunes. The software is the most updated version, but each time I get an error message: "The iPhone cannot be synced. An unknown error occurred (-50)." Too vague for me to figure anything out. Is this

  • Canvas drawing combined arc s bug?

    Hello, I'm working on a HTML5 canvas game, where some areas should be drawn connceted in some kind of "blob" of circles. The code im using to draw looks like this, and an example can be found on github: https://github.com/jrie/Connect The error is vi

  • Jdbc 9.2 work with RAC database

    Dear Sirs, I notice that jdbc 9.2 support the use of service name in the connection string, i.e : host:port_no:service_name, prior to 9.2, sid must be used to make the connection. Question 1. After using jdbc 9.2 with service name, can it be benefit