Prob in joining Query1 and Query2 in Data Model

Hi,
I m facing a prob. in joining Multiple queries
Under data model I've created 2-3 queries which I've to join internally and in my Query1 only 1 bind variable is there, for which i've created a parameter
but for Query2 and Query3 I m going to user one column value of Query1 as parameter.
When i m doing this the Xml formed returns only Query1 value and Query2 and Query3 comes as blank.
Eg.
Query1 : select deptno,dname from dept where deptno=:p_deptno <:p_deptno is a parameter created in parameter list>
Query2 : select empno,ename,mgr from emp where deptno=:deptno <where :deptno, i m expecting to come from Query1>
but it not happening
whereas my Xml comes as display below:
<DATA>
<Q2>
<Q2_ROW>
<DEPTNO>10</DEPTNO>
<DNAME>ACCOUNTING</DNAME>
</Q2_ROW>
</Q2>
<Q1 />
</DATA>
tanks in advance for replying
Regards/goutam

Personally, I have had a hard time doing what you are asking for using netui tags. I have had the same case, and asked the person in my team to just return a collection of value objects and then iterate through it without the repeater tag. To use the checkbox, I have had to use a String[].
          Kunal

Similar Messages

  • Servlet and 64-bit data model

    I have a program which have to be executed with 64bit data model in order to execute probably.
    (for example ... the program is ABC.java)
    java -d64 ABC
    If I am going to create an instance of the class ABC and execute its methods within a servlet program, will there be any problem ?
    Is there any configuration required for the Tomcat in order to access servlet like this ?

    I have a program which have to be executed with 64bit
    data model in order to execute probably.
    (for example ... the program is ABC.java)
    java -d64 ABC
    If I am going to create an instance of the class ABC
    and execute its methods within a servlet program,
    will there be any problem ?i was thinking you meant you'd be calling a servlet from a 64-bit program, and in that case I'd think no prob. but if you're talking the other way around, you've got issues. firstly, you cannot call another app from your servlet unless you're doing RMI or something. i think you should clarify EXACTLY what you want to do and we can evaluate better

  • Where to find logical and/or technical data model?

    Hi all,
    I am new to SAP and trying to figure out where I can best find information on the logical/technical datamodel, including entity/table and field definitions. I also am looking forminfo on primary keys, foreign keys, relationships between entities/tables, data model overviews/graphs. What places should I go to get this information?
    So I am NOT looking for a specific table, I would like to get a general overview of the logical/technical data structure.
    Thanks, Paul

    Hi Paul,
    SAP has several thousands of tables (not including structures, views, etc.) So, an overview look on the whole database would be rather problematic. You can search the http://help.sap.com for the functional info. For the technical one, you can go to SE84 and find the requested info there. I suggest you to explore the technical info concentrating on specific issue, otherwise you will sink in the sea of SAP objects.
    Regards,
    Eli

  • Typical report and it's data model!

    Hi,
    i have a data source which has only three fields, namely user name, date, availability of the user ( it is character string of length 1 just displays A if he is availbale and displays N if he is not availbale on a given date).
    now when i want to create cube , it should have at least one key figure, where as in my case no key figures are present in the available three info objects.
    is der any chance for me to design this ?
    Many thanks in advance.
    Thanks,
    Ravi

    Roberto,
    Thanks again!
    yes,i was talking about that KF only.we have data source (made by FM and ES) which is perfectly working for the three fields which all are characteristics as i told u before!
    But since we cannot make any infocube with out KF , i wish to have KF for only making cube!since u suggested to go for any counter which would be acted as appending records for each user in the result set!
    now if i want to load this field in the data source, i need to change the logic of FM, which i am not so comfortable and quite lengthy too.
    My question to u is whether i can go ahead by simply creating KF and  in Transfer rules or update rules include a simple logic of giving numbers for each record rather than changing the code in FM in R/3 ( which i feel is more complex )?
    Thanks,
    Ravi

  • Issue while creating Data Model in BI Publisher and logging into xmlpserver

    Hi All,
    We are facing an issue in OBIEE 11.1.1.5.
    If we are logging with Non Admin Id (other than weblogic) and select New Data Model, a blank screen is coming. Where as, if we use Admin Id, we are getting screen as usual for creating data model. There were some blogs mentioning to change Priviledges for  SOAP access, but that approach is also not working.
    Further, we are also not able to open xmlpserver with Non Admin Id.
    Any help or pointers would be great.
    Regards,

    how about pasting the content of your data template here, so that forum members can see what could be the problem.

  • How to do outer join in data model view?

    Hi,
    I have 2 queries are needed to be joined in Oracle Report 6i Data Model View. What I want to do is below:
    where table1.receipt_no(+)=table2.receipt_no
    How do I use the 'Data Link' to do this in Data Model view?
    Thanks.
    Jun

    Hi
    You need to use data links. Refer data link section in BUilding Reports manual at http://otn.oracle.com/products/reports/htdocs/getstart/docs/B10310_01/orbr_concepts1.htm#1013156.
    Thanks
    Rohit

  • Many pages and complex data model in JHS app

    I am using JHS to create an application containing data that is structured something like:
    - Country
    - Company
    - Department
    - Employee
    - Payments Details
    I have created entity and view objects corresponding to each of these and the appropriate accessors/view links. We need the user to be able to search, work on data and 'drill down' from any level (not always starting with company). In order to make this possible my JHS application has 5 'top level' tabs corresponding to each of the above entities. From each of these top level pages users can drill down to the children.
    This works but we end up with many pages and a large data model with lots of replication and nesting.
    Country - 5 pages
    Company - 4 pages
    Department - 3 pages
    Employee - 2 pages
    Payments - 1 page
    total 15
    You can picture how the data model is structured. Obviously this is a very simple example but I hope it illustrates my concerns. We have so many pages that post-generation changes are going to be difficult to manage. I'm also worried about the size and complexity of the data model. In this case views are almost all entity based so I guess the data is only cached once but supposing they were not?
    Are we using JHS in the best way ? perhaps I'm overcompilcating it ?
    I have started to rewrite the JHS generated application so that it (almost) always reuses the same top level generated pages (with some modifications). When the user wants to navigate to a child I modify the whereClause of the target ViewOjbect appropriately, reexecute it and forward to the corresponding 'top level' page. This approach seems to work well, cuts down the number of pages enormously and simplifies the data model (and has enabled me to put breadCrumbs in).
    In doing this though, am I creating work for myself that JSH could have done if we had used it differently in the fist place?

    This sounds like a valid approach in your situation. We have been playing with the idea of having something like 'Group Links' where you can generate navigation items from one group to the other. Then, you would need to have one, 5 level deep nested group, and 4 other top level groups to provide the search&select on each of the nested groups, but they themselves would not need to have nested groups, but a navigation link to the nested groups in the 5-level deep group.
    Although nice and simple in theory, the details are a bit tricky to work out with all the possible layout- and samePage settings, so we have not implemented this yet. So your approach seems a valid one. If you have any suggestions on a way to generate what you are now doing manually, we'll be interested.
    Kind regards,
    Peter Ebell
    JHeadstart Team

  • Including table and column comment in the Data Modeler

    Hi all,
    I used Oracle's SQL Developer Data Modeler (Version 3.0.0.665) and created a data model for my project. I e-mailed a PDF format of the data model to our Systems Analyst. She asked if I could re-create the data model and include table and column comments. Is this a possibility and if so how is this done?
    Thank you for your input,
    Seyed

    Hi Kent,
    Using the information you provided and Oracle’s Working with SQL Developer Modeler Reporting I did the following:
    1) Created a Reporting Schema User
    1.1) Using my Oracle 10g Personal Edition, I created a new user and gave him DBA administrative privileges
    2) Exported Relational Design to Reporting Schema
    2.1) Opened the Relational Design
    2.2) Exported it to the Reporting Schema. Note, I never got a message ‘Design has been exported successfully’.
    3) Reviewed the Report Results
    I think exporting the relational design was not successful, and didn’t get any error messages. Had step 2 completed successfully, I would have reviewed the Report Results in SQL Developer. By the way, I know I have marked this topic as closed, but would like to learn your method too.
    Thank you for your help,
    Seyed

  • MDG - Material and Financial Data Models

    Hi,
    Can anyone help me to get standard business content as per latest version for MDG-Material and MDG-Financial Data Models.
    Thanks,
    Narendra

    Please go through the below link it talks about all the latest updates.
    Configuration and Enhancement of SAP Master Data Governance

  • Data Modeler - Compare Models and DDL file

    I have been generating DDL files by data dictionary import. In the Compare Models window, the orange triangles with exclamation marks show the tables that are somehow different in database and in my data model.
    That would be very helpful feature, if it didn't notice the kind of information that never goes to database. For example I have used the Notes-field and Table Types and the compare functionality shows that those information are missing in database. In other words, it shows the exclamation marks in every table even if I had changed one table in my model.
    Is there some reason for it to work like this? Or is this going to be fixed in the future?

    Ok, that's good to hear!
    Now I have another thing about DDL that I noticed. I have a sequence in my database that has cache size of 20. I removed the cache size from Data Modeler and made the DDL file with import from data dictionary. The DDL file was empty, so Data Modeler didn't notice that the sequence had changed.

  • How to load data and design data model

    Hi,
    We have data in excel(size is appx. 60 MB) of 24 month, excel has column like Year, Month, Region, Affiliate KPI and their value.
    How can we load excel data into dashboard and design the data model?
    Please find the attached file for reference.
    Any help will be appreciated.
    Thanks,
    Ram Krishna

    File is corrupted, you can import the excel into dashboard using import button.
    Design you need to come up with your navigation first and what you need to display in dashboard. If possible explain that we can help you better on this.

  • Data Model best Practices for Large Data Models

    We are currently rolling out Hyperion IR 11.1.x and are trying to establish best practces for BQYs and how to display these models to our end users.
    So far, we have created an OCE file that limits the selectable tables to only those that are within the model.
    Then, we created a BQY that brings in the tables to a data model, created metatopics for the main tables and integrated the descriptions via lookups in the meta topics.
    This seems to be ok, however, anytime I try to add items to a query, as soon as i add columns from different tables, the app freezes up, hogs a bunch of memory and then closes itself.
    Obviously, this isnt' acceptable to be given to our end users like this, so i'm asking for suggestions.
    Are there settings I can change to get around this memory sucking issue? Do I need to use a smaller model?
    and in general, how are you all deploying this tool to your users? Our users are accustomed to a pre built data model so they can just click and add the fields they want and hit submit. How do I get close to that ideal with this tool?
    thanks for any help/advice.

    I answered my own question. in the case of the large data model, the tool by default was attempting to calculate every possible join path to get from Table A to Table B (even though there is a direct join between them).
    in the data model options, I changed the join setting to use the join path with the least number of topics. This skipped the extraneous steps and allowed me to proceed as normal.
    hope this helps anyone else who may bump into this issue.

  • SQL Data Modeler reporting repository data model

    SQL Data Modeler (SDM) reporting repository data model
    I exported several models to reporting schema and reviewed the reports. So far so good. The reports I need are not included so I'm creating my own. I imported the reporting schema to SDM to explore the model and see how to join the tables. Has anyone already done this exercise and produced a data model for the reporting schema with primary keys, foreign keys and relationships? It would save me a pile of work if I could download the model and import it to SDM?
    Gerhardt

    Thank you Philip,
    We are doing reports in TOAD and Cognos 8.
    So far so good. One of the pieces of information I need out of the Oracle Data Modeler reporting schema is the columns in foreign keys. Foreign keys are not usually enforced in datamarts but data analysts must know what the foreign keys are to join tables.
    There is a notation in Relational Model Elements.pdf "Foreign keys of DMR_CONSTR_INDEX_COLUMNS table are not valid since one column is used to refer to objects in two different tables"
    This begs the question: Is there a valid foreign key in DMRS_CONSTR_INDEX_COLUMNS to join it to DMRS_FOREIGNKEYS or is the model documented incorrectly?
    The repository adds tremendous value to Data Modeler.
    Gerhardt

  • SQL Developer Data Modeler  "Reports"  Duplicate Columns in Index- Bug

    I am using SQL Data Modeler of SQL Developer - 3.2.20.09
    Problem Description:
    In the "Indexes" section of report generated for a table, column appear twice.
    Steps to Reproduce:
    1. Create an Entity in Modeler: COMPANY, Add attributes COMP_ID and COMP_DESC to it, mark COMP_ID as PK
    2. Engineer it to Relational Model
    3. Go to 'File->Data Modeler->Reports'
    4. Select 'Available reports' = 'Table' and press 'Generate Report'
    5. View the report.
    Indexes shown for the table contains duplicate columns for COMP_ID
    Regards,

    Hi
    I've just tested with SQL Developer 3.2.20.09 and built in Data Modeler 3.1.4.710 with Data Modeler reports 11.2.0.09.87
    There is no duplicate columns for COMP_ID in the report.
    What are your versions? You can check them from Tools->Preferences->Extensions

  • Import / Export MySQL database in SQL Developer Data Modeler

    Hello,
    I have version 3.1.2.704 of SQL Developer Data Modeler and version 3.2.09 of SQL Developer installed.
    When I´m adding a new connection in SQL Developer, I can choose the MySQL tab an create a connection to a MySQL database.
    The connection test was successful and I can see all tables.
    I use the same JDBC driver for SQL Developer and SQL Developer Data Modeler (mysql-connector-java-5.0.4-bin.jar).
    But there are two problems.
    1. First there is an problem when I want to import from a MySQL database (SQL Developer -> File -> DataModeler -> Import -> DataDictionary).
    After choosing the MySQL connection and pressing the next button an error occurs: CONNECTION_TYPE
    What is the reason?
    2. In SQL Developer Data Modeler I have not the CONNECTION_TYPE problem. But when I want to export DDL, there is no MySQL type selectable, although there is working connection to the MySQL Database. It´s the same in SQL Developer.
    What is the reason?

    Hi,
    Data Modeler does not explicitly support import from MySQL databases, although you can use a JDBC connection to do this.
    Philip described how to set this up in forum message How to connect mySQL for reverve engineering
    There is no MySQL tab in Data Modeler - you should use "JDBC-ODBC Bridge" - "other third party Driver".
    Set URL like : jdbc:mysql://localhost:3306/database_name
    driver Class: com.mysql.jdbc.DriverAlso Data Modeler does not support generation of DDL for MySQL.
    David

Maybe you are looking for