Data Modeler can't generate a FK?

I have a table with 3 FK constraints. Import if from the DB into data modeler and one FK constraint is gone.
Trying to generate it in the model (using it only for documentation anyway) and "New FK Relation" button doesn't do a thing but annoy me with a message: "Incomplete FK definition". However, it doesn't tell me what exactly is incomplete and I suppose clicking on one table and the other should provide enough information to process FK generation, especially since the first table has a PK and the second table has non-PK column with the same data type as first table's PK.
Is this a bug or is there some sense behind the erratic behavior?

First - are the PK column and the target FK column the same size? Having the same datatype is not enough for SDDM, they must be the same size as well. Once you draw the FK line between the source and target tables you should be seeing a FK properties dialog. In that there is a set of options on the left pane that includes a link for selecting the columns in the FK. Once you see that there is a drop down list for to select the target FK column. If your column is not in that list, there is something off in the column definition such that it does not match the source PK. In that case you will need to modify the target column definition before the tool will let you use it in the FK.

Similar Messages

  • Custom Reports Data Model - can't report on custom dictionaries

    Custom Reports Data Model - can't report on custom dictionaries
    In QA and Prod I see custom dictionaries in the Custom Reports Data Model, in Test there are none.
    Dictionaries and Sevices marked Reportable are not showing up under Dictionaries and Services Dimensions.
    I rerun the ETL and the scheduled tasks, but no luck. any suggestions?

    Do you see any error when you run the ETL, i.e. the Java ETL embedded with the app server? 

  • Data Modeler - can't create a spatial indexes

    Good day, colleagues!
    I have a 584 release of Dala Modeler.
    Here is the cite from Oracle SQL Developer Data Modeler Guide:
    "3.82 Spatial Definition Properties
    Coordinate System ID: Oracle Spatial SRID value. ...
    +Create Spatial Index: Controls whether a spatial index is created.+
    Spatial Index Name: Name for the spatial index.
    I have a SDO_GEOMETRY column in my table and want to create spatial index.
    The problem is that there is no "Create Spatial Index" option in my Spatial Definition Properties window. There is only "Spatial Index Name" option. When I'm trying to create spatial index manually, I can't, because "Spatial" option for creating index is inactive. I've checked "Register as Spatial Table" table option, but it also didn't help.
    So, I have no way to create a spatial index. How can I do it?

    Hello usamytch,
    creation of spatial index is confusing. We'll improve it in next releases. Here are the steps:
    1) create index - no need to add columns
    2) create spatial column definition ("Spatial properties" in table dialog)
    3) In spatial column definition you can select your spatial column, coordinate system ID, dimensions and you can select one of existing indexes to be used as spatial one.
    4) after that index appear as spatial and you can set spatial related properties in index dialog
    5) you have to check "Register as Spatial Table" in order to get spatial meta-data generated in DDL
    There are additional spatial properties you can set in physical model.
    Philip

  • If I have PowerPivot Connection with 8 tables in the data model, can I extract the Command Text for each with VBA?

    I have a data model with a single PowerPivot connection to an Oracle database. This model had eight tables in it which all use the same "Existing Connection".  I can get the Query from the first Table connection using Command Text, however,
    I do not know how to get the CommandText of each of the additional tables associated with the same connection. 
    With wsConnList
    .Cells(lngRow, 1).Value = wbTarget.Connections("Conn").Name
    .Cells(lngRow, 2).Value = wbTarget.Connections("Conn").OLEDBConnection.CommandText
    End With
    Thanks, Barbara

    Any suggestions for the amazing Barbara on this topic?
    Barbara, you can also ask the BI Advisors if we're not having luck here.
    Thanks!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • SQL Data Modeler: Can you create data models with UML?

    This is a bit of a moot point since I am using Enterprise Architect for data modeling (great tool and quite cheap), but does Data Modeler support UML? Or is it limited to Barker notation ERD and other ERD variants? I'm a bit new to UML, but love its expressiveness.
    Where has Oracle Corp positioned itself with regard to UML for data modeling? Noticed Oracle Press published a book on UML at Oracle 8i release, but I haven't seen anything UML-related since.
    Not trying to start a holy war. Just curious.

    You can look at JDeveloper.
    Philip

  • SQL Developer Data Modeler: Can you adjust the layout of FK relationships?

    First day using the tool and I can't seem to figure how to do this or if it is even possible. I've looked in model properties and constraint properties. The only way I can get them to move is by moving the associated tables. I really just want to clean up the layout of the model. Thanks in advance!
    r/e

    I answered my own question. In case anyone doesn't already know. Easy enought...
    right click on the diagram
    -> unselect "Auto Route"

  • Can I add more tables into existing Data Modeler

    My Data Modeler has been generated by SQL Developer, it contains 68 tables. Later I would like to add more tables into my current model. Is there any way I can add more tables into my current model without creating a new one from the scratch? Thanks for your help.
    Kevin

    Hi Kevin,
    you can add new tables using File>Import functionality - you can import from database or DDL scripts.
    Working in SQL Developer you can drag tables from SQL Dev browser and drop them on relational diagram. If Ctrl key is pressed while dropping then subordinate tables also will be added to the model.
    Here you can find tutorials http://apex.oracle.com/pls/apex/f?p=44785:2:0:FORCE_QUERY::2,RIR,CIR:P2_TAGS:Data%20Modeler
    Philip

  • Can SPM 2.1 or 3.0 BI standard  data model read the data form existing BI P

    Hi,
    I am curious to find out, can SPM 2.1 or 3.0 BI standard  data model read the data form existing BI Procurement  (Cubes and DSO's) with no customization mapping?
    i know SPM 2.0 do not have that flexibility (Standard data model can read from BI), we would have to map transformation.
    I would appreciate your response..
    Rgds,
    Mahesh

    Hi Mahesh,
    What you can do in SPM30 is create an export datasource for existing BI objects and use them as direct datasource in SPM using template mapping.
    Direct transformations from BI object to SPM objects is not provided.
    Regards,
    Divyesh

  • Unable to see columns of Data Model in Template Builder for Word.

    Experts,
    My customer has defined Data Model,
    and when Ct is trying to insert fields into their documents,
    the columns in the Data Model can't been seen in Template Builder for Word.
    (in tool bar; Oracle BI Publisher > Insert > Field)
    The details is as follow;
    (Data Model)
    Name : TEST
    Type : SQL Query
    SQL Query : select case_id,case_name from TEST where case_id = :p_case_id and serious_flag = 'Y';
    'p_case_id' is taken from LOV.
    (sample data in TEST table)
    CASE_ID CASE_NAME SERIOUS_FLAG
    1 case1
    2 case2 N
    3 case3 Y
    In this case, CASE_ID and CASE_NAME can't be seen in Template Builder.
    But we can see the columns when the sample data is as follow;
    CASE_ID CASE_NAME SERIOUS_FLAG
    1 case1 Y <-(*)
    2 case2 N
    3 case3 Y
    I mean, the data of the first row (in this case, case_id=1) is hit by the SQL query,
    we can see the columns in Template Builder.
    I'd like to know whether it is an intended behavior.
    Regards.

    Hi,
    I reformed the sample data in TEST table.
    In this case,the columns in the Data Model can't been seen in Template Builder for Word.
    CASE_ID CASE_NAME SERIOUS_FLAG
    1     case1
    2     case2     N
    3     case3     Y
    But we can see the columns when the sample data is as follow;
    CASE_ID CASE_NAME SERIOUS_FLAG
    1     case1     Y     &lt;=(*)
    2     case2     N
    3     case3     Y
    In fact, when the data of the first row (in this case, case_id=1) is hit by the SQL query,
    we can see the columns in Template Builder.
    Any information would be appreciated.
    Thanks in advance.

  • How to create Spatial index in SQL Developer Data Modeler 4

    Hi,
    What is the procedure to create a Spatial index in SDDM v4 ? I ended up in a deadlock due to the following issues :
    1) Reverse engineering missed the spatial index, so I need to add them manually.
    2) Adding an index does not allow me to check the 'spatial index' checkbox, nor does it allow me to add the sdo_geometry column in the index definition.
    3) When registering Spatial properties for a table, I cannot choose the Spatial Index name.
    I came across an old post (Data Modeler - can't create a spatial indexes), yet this post is no longer valid since SDDM V4 does not allow me to create an index without columns (incomplete index definition).
    Help is appreciated,
    Kind regards,
    Richard.

    Hi,
    One more thing : When doing a compare with the database (from which I reverse engineered) there was only 1 difference (apart from the storage details, which could be ignored by setting a parameter).
    This is the Spatial Table property. This was set in the Model, but what would be the corresponding setting in the database ?
    The Spatial Table property is set on import from the database if the "Spatial Properties" option is set for the import, and there is an entry for the Table and its owning Schema in the metadata view ALL_SDO_GEOM_METADATA.
    ALL_SDO_GEOM_METADATA is similar to USER_SDO_GEOM_METADATA, but has an additional OWNER column identifying the schema that owns the table (as described in section 2.8 of the Oracle Spatial and Graph Developer's Guide: http://st-doc.us.oracle.com/database/121/SPATL/sdo_objrelschema.htm#SPATL545).
    The fact that your table is not being treated as a spatial table suggests that either the import cannot access the view ALL_SDO_GEOM_METADATA or it cannot find an entry for the table and its owning schema in that view.
    Are any errors being logged to your log file when you do your import?  (You can see the log by selecting External Log from Data Modeler's View menu.)
    David
    Added note: I've added a further comment - it's on page 2 of this thread.

  • Data model in Interactive Reporting

    Hi,
    Could any one clarify me on What is Data model in Interactive report and how we can use exactly.

    A data model is the physical representation of your tables joined together.
    In SQL terms it the FROM and WHERE (JOIN) clauses.
    an IR Query section depends on a Data Model. That Data Model can be a Master Data Model (Shared with many Query Sections) or a regular Data Model.
    Master Data Models cannot be changed within the Query Section - Their Background is Grey and will indicate so in the upper left corner of the screen...
    Locked Data Model: {data model section name}
    Master Data Models are useful in that you only design it once and then it and its connection are shared with many Query Sections. And modifications to the Data Model are then applied in the Data Model Section and each dependent Query Section has those changes.
    For a more comple defintion open Interactive Reporting and go to HELP. In the Search type "Data Modeling"
    You will have plenty to read.
    Wayne Van Sluys
    TopDown Consulting

  • BI THread : Data modelling

    Hi Experts,
    I have been doing Data modelling since one month, I would like to know more about it. I would like know to what are the Does and Dont's for Data modelling in BI. what are the key points that should be remebered while doing the data modelling in BI & also how more effectively the data modelling can be done and are there any new approaches for doing data modelling in BI 7.0.
    kindly advise.
    thanks & regards,
    M.S

    Hi M.S,
    First to do effective modelling first you need to concentrate two things.
    1. Load Performance
    2. Query Performnce.
    Load Performnce :
    It will be based your Design DSO , Cube ETC............
          Ex : You to thing how many DSO or cubes  that needs to be developed?
    Query Performace :
    How much time time is taking for executing the Queries.
    To increase the performnce you need to think about the facilities provided by SAP.
    Ex : Multi Provides,BW Statatics, Info sets  etc.............
    Some More Info :
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2f5aa43f-0c01-0010-a990-9641d3d4eef7
    Do's & Don't :
    http://en.sap.info/dos-and-don%E2%80%99ts-of-bi-usage/3692
    Regards
    Ram.

  • Transporting Data models in SAP HANA

    Hi All,
    I was trying to understand how data models can be transported in SAP HANA and came across the different options in the Export option of hana Studio like exporting with Delivery unit, Developer mode, etc.. Can someone please elaborate on the differences between each and the scenrio when each should be used?
    Thanks,
    Sam

    No Justin, haven't used in any "production" environments till now since the client am working for is still to be upgraded to SP7. At internal system we are doing some R&D in those lines and developing artifacts from "Development" perspective.
    Here i shared this link for reference itself.
    Also i think using Development perspective for modelling is what is being suggested going forward in blogs like this
    6 Golden Rules for New SAP HANA Developers
    May be John Appleby and his team are already using "Development" perspective consistently
    Regards,
    Krishna Tangudu

  • BIP Trial 11.1.1..6: Error while generating XML data in Data Model

    Hello,
    I have created a Data Model with a single query. After saving the DM and clicking on the XML icon to generate sample data, I get the following error:
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    End tag 'span' does not match the start tag 'img'. Error processing resource 'http://localhost:7001/xmlpserver/servlet/xdo'...
    *<table style='background=color: #d9e5ef; margin-top: 10px;' width='100%' cellspacing='0' cellpadding='0' border='0' summa...*
    I have verified that the SQL runs without errors in SQL Developer using the same connection parameters as whats used in the DM.
    There are no html tags/key-words etc being used in the sql our it's output.
    Is there a a way to debug this? This is extremely frustrating. Especially since the same sql works without any issues in Oracle Reports.
    Thanks,
    Manish

    ya i can understand we wont do the sql logic at the data model part as some time performance issue may come when comparaed to sql run in package and sql running in data model . so i have mostly done using package and i will just do select * from table in the data set of data model so i didn't face any issue's like this .
    once check this tutorial may be you already
    i use to create parameters like this i didn't face any issue
    SELECT * from TEST where ID=:p_id
    http://st-curriculum.oracle.com/obe/fmw/bi/bip/bip11g/gettingstarted/gettingstarted.htm

  • How to generate the java code of a table's data model by parsing it's FXML?

    I have know how to create FXML file that describes a table. Meanwhile, according to [Oracle Tutorial|http://docs.oracle.com/javafx/2/fxml_get_started/fxml_tutorial_intermediate.htm#CACFEHBI], it is a best practice to implement a class that defines the data model and provides methods and fields to further work with the table.
    However, It's rather cumbersome and time consuming to typing the code. So, is there any tools that can generate the java code of a table's data model by parsing it's FXML describe file?
    Regards, Qinn
    Edited by: 854675 on Oct 7, 2012 11:02 PM

    I have know how to create FXML file that describes a table. Meanwhile, according to [Oracle Tutorial|http://docs.oracle.com/javafx/2/fxml_get_started/fxml_tutorial_intermediate.htm#CACFEHBI], it is a best practice to implement a class that defines the data model and provides methods and fields to further work with the table.
    However, It's rather cumbersome and time consuming to typing the code. So, is there any tools that can generate the java code of a table's data model by parsing it's FXML describe file?
    Regards, Qinn
    Edited by: 854675 on Oct 7, 2012 11:02 PM

Maybe you are looking for

  • Work Order to cost center settlement with line item detail

    Iu2019m having difficulty finding a method to settle from a work order to a cost center with line item detail.  When an order is settled with KO88 or KO8G the total value for that work order/cost element combination is combined and posted to the cost

  • Vimeo or YouTube embedded videos not showing CC on iPhone

    Hello, I am building my first site and I am trying to add a short video I created. I have it on both Vimeo and Youtube, with CC in various languages. After publishing the site, to preview it on my iPhone 5' Chrome and Safari, I can play the video fin

  • Workflow with images,file names and full captions.

    I am working on my mother's memoirs, which will include a block of photo pages.  Those pages will be laid out by a friend.  I would like to use a contct sheet of some kind as a reference to what is to be included with what caption but am discovering

  • Essbase Migration 11.1.1.3 to 11.1.2

    Hi all, I have local environment in which Essbase 11.1.1.3 and Essbase 11.1.2 both are exist in different systems. Now i want to migrate Essbase 11.1.1.3 Application to Essbase 11.1.2 through LCM utility. Is it possible to do so if yes then how?

  • Problem sending messages

    Hi, I have just started nit being able to send messages. It says they are queueing? In my data section it looks like the messaging app is full? How do I correct this please Thanks.