Creating report from 2 separate database

All,
Is there a way to create a report using the "Crystal Reports" plugin for Eclipse to select data from 2 separate databases.  I've joined the 2 tables on the data tab and added some of the fields to the layout tab.  Below is the SQL that has been generated thus far:
jdbc:db2://localhost:50000/PS2Tx
SELECT "BC_INFO"."BC_STATUS", "BC_INFO"."BC_START_TS", "BC_INFO"."BC_END_TS", "BC_INFO"."BC_ID" FROM   "PAYMENT"."BC_INFO" "BC_INFO"
EXTERNAL JOIN BC_INFO.BC_ID={?jdbc:db2://localhost:50000/BPRQx: TRANSACTION.BATCHCLOSE_ID}
jdbc:db2://localhost:50000/BPRQx
SELECT "TRANSACTION"."TRANS_TIMESTAMP", "TRANSACTION"."BATCHCLOSE_ID" FROM   "FAWLS"."TRANSACTION" "TRANSACTION" WHERE  ("TRANSACTION"."TRANS_TIMESTAMP">="BC_INFO"."BC_START_TS" AND "TRANSACTION"."TRANS_TIMESTAMP"<="BC_INFO"."BC_END_TS")
The values from the PS2Tx database will be displayed as the first page of the report, which will then allow drilldowns to the details which will come from the BPRQx database.  If I preview the report as it currently is I receive the following error:
JDBC Error: DB2 SQL error: SQLCODE: -206, SQLSTATE: 42703, SQLERRMC: BC_INFO.BC_START_TS
I'd really appreciate any help or guidance anyone could provide?
Thanks,
Todd

All,
We've made changes to the report and I've gotten around this issue by using a subreport linked to the main report.
Thanks,
Todd

Similar Messages

  • Create report from 2 databases where one DB is a subset of the other

    I am pulling data from two databases (DB1 and DB2). 
    DB1 contains all records and DB2 contains only a subset.  The databases hold different information but each has a common primary key to link them.
    I want to create a report that shows all records.  It should show all data from DB1 and if a record is in DB2, it should also show that data.  If the record isn't in DB2, then only its DB1 information will be displayed.  (DB2 fields will be blank.)
    When I create the report, it only shows records that are common to BOTH databases.  Is there a way to report on all records and show data from both databases?

    Hi Shannyn
    Instead of creating the reports using the tables directly, create a command object using the Union All and check it.
    Hope this helps!
    Thanks

  • How to run report from other database

    hi,
    i have an application running on oracle 10g forms (many forms & reports),i want to run a report from other database using a form,it should be run on this application & same report server. so if it is possible so tell me how can i do this ?
    thxs

    If you have another Oracle database you can use the following command to create a link to it from the one you are currently logged into
    CREATE PUBLIC DATABASE LINK my_db_link
    CONNECT TO other_oracledb_usernane IDENTIFIED BY other_oracledb_password
    USING 'remote_oracledb_name';
    When you issue this command the 'remote_oracledb_name' must exist in your TNSNAMES.ORA file so that the remote database can be 'found'
    If this is still not enough info I would suggest that you talk to someone on your DBA team to help set up the link.
    Mark

  • Create reports from jsp

    hello!
    I want to create reports from JSP; It works fine, I program every report/JSP.
    The problem is that the customers wants to create customer templates, templates which should be able to retrieve custom data from database, acording to user wish. Is there any possibility to create customer report templates with JSP, created complitely in browser?
    Is there already any tool like this?
    What other reporting JSP tools already exist?
    THANK YOU!

    please, nobody has not any idea?

  • I wish to generate reports from the database an out put it but i need to enter a date from and to ina  html input box

    i wish to generate reports from the database an out put it
    but i need to enter a date from and to ina html input box
    in the input box a data of range will be input from a start
    to latest
    latest being the default as today's date.
    any help tips snipplets, concepts , turot=rails.
    thanks

    easycfm.com has tutorials for people who are brand new.
    If you don't know much about sql, I have heard good things
    about the book, Teach Yourself SQL in 10 Minutes by Ben
    Forta.

  • Is it possible to create report with two databases in Web Analysis Studio

    Hi,
    I am new to Hyperion Web Analysis, Could anyone help me out, whether its possible to create report with two databases for eg: OLAP(ESSBASE) and relational.
    Thanks & Regards,
    Prashanthi.

    Hi Mohit,
    Thanks for the reply, could you throw out some scenario so that i can try it out.As I am just trying my hands wet on this would like to know in detail & even i have gone through WA user guide but dint get any clue. Please throw some light.
    thanks
    prasanthi

  • How to create report from report painter??

    Hi,
    how to create report from report painter?? from transaction code GRR1

    Select the library that you want report to create.  GRR1
    You select what to list in coulumns and what to lisr in rows. You could select characteristics or key figures.
    You can use variable both in defininig row and coulmn or in general selection.
    You can also use sets as variable or as constant. These sets can be your master data groups or sets in GS02.
    You can use formulas.

  • Sccm 2012 create report from recently installed software on clients

    As stated in this thread for 2007. Has anyone had any luck with this type of report in 2012?
    http://social.technet.microsoft.com/Forums/en-US/fecbe492-6d9d-4a8e-8d6d-ac12b3364b32/sccm-2007-create-report-from-recently-installed-software-on-clients?forum=configmgrreporting

    As stated in this thread for 2007. Has anyone had any luck with this type of report in 2012?
    http://social.technet.microsoft.com/Forums/en-US/fecbe492-6d9d-4a8e-8d6d-ac12b3364b32/sccm-2007-create-report-from-recently-installed-software-on-clients?forum=configmgrreporting
    It worked perfectly in CM12. What is the problem?
    http://www.enhansoft.com/

  • CREATE REPORT FROM JOB LIBRARY

    Hi Everyone,
    I have created the job and saved in job library, and just want to create report from that job, am not able to find any option in that report.
    In breif,
    Created job - host command ( for ex : ls -tr)
    saved to job Library
    After that i just want to take report and send to everybody to the ouput...
    Please let me know is there any choice...
    Regards
    K

    So, you now have a report in your job library. To run it, you will need to schedule it..
    Edit the report, go to Schedule tab,
    - check the "Schedule Report" checkbox
    - specify when you want to run the report (now, later etc..)
    - check the "Email report each time scheduled report completes" checkbox
    - specify email addresses under Email report.

  • Trouble creating forms from remote database

    Hi,
    We are having problems with connecting to remote databases with portal. We can create reports fine from the remote databases but when we try to create forms, it gives the error:
    'This Table does not exist or you do not have the required privileges (WWV-13020)'.
    We've created a link to the remote db, and synonyms for each of the tables. I don't understand because it seems we can build reports and other components...just not forms.
    If anyone has any ideas as to what the problem could be, any assistance you may provide is greatly appreciated!
    Thanks!

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Dmitry Nonkin([email protected]):
    Sarah,
    It could be dull, but anyway - make sure that you granted all the required grants (INSERT,UPDATE,DELETE) in addition to SELECT to the application schema.
    Also, at which step of the wizard you recieve this error?
    Thanks,
    Dmitry<HR></BLOCKQUOTE>
    Dmitry - we're having the same problems...
    I've had our DBA team grant us every possible privilage we can find - but I still can't create a form from within the portal to a remote database. The wizard lets me put in the table name, ex. asset.wban_trans@drsrch, and does come up with the proper columns on the layout page of the wizard, but when I click the "Finish" button I get the following errors: Line/Column Error
    733/21 PLS-00454: with a returning into clause, the table expression cannot be remote or a subquery
    733/9 PL/SQL: SQL Statement ignored
    841/16 PLS-00454: with a returning into clause, the table expression cannot be remote or a subquery
    841/9 PL/SQL: SQL Statement ignored
    The form is then listed in my applications list, but if I try and run it I get the following error:
    Error: An unexpected error occurred: ORA-04063: has errors
    ORA-04063: package body "PORTAL.FORM_0305092506" has errors
    ORA-06508: PL/SQL: could not find program unit being called (WWV-16016)
    Thanks for any help....
    Christina
    null

  • Error while creating report from BW SAP Query

    Hi
    While creating a report from BW SAP Query, I get the following error.
    "An error occured while creating a report template.No error"
    On opening the same query in BEx Analyser, i can see the fields and output.
    Help me on this issue.
    Thanks
    Eswari.

    Hello Garett,
    I've the same problem and have tried now to get the data with MDX-Query. The error message below appears:
    'No RFC-authorization for function group  /Crystal/MDX for User ...'
    So it seems to be a authorization problem. Which special authorization must be assigned to Crystal users in SAP BI?
    Thank you for your help.
    best regards
    Oliver

  • Getting error while creating table from one database to other.

    Hi,
    We are getting below error while creating the table from one database to other.
    SQL> create table fnd_lobs parallel compress as select * from [email protected];
    create table fnd_lobs parallel compress as select * from [email protected]
    ERROR at line 1:
    ORA-01555: snapshot too old: rollback segment number 28 with name "_SYSSMU28$"
    too small
    ORA-02063: preceding line from EEXIT2TEST
    ORA-01555: snapshot too old: rollback segment number 28 with name "_SYSSMU28$"
    too small
    ORA-02063: preceding line from EEXIT2TEST
    ORA-01555: snapshot too old: rollback segment number 28 with name "_SYSSMU28$"
    too small
    ORA-02063: preceding line from EEXIT2TEST
    ORA-01555: snapshot too old: rollback segment number 28 with name "_SYSSMU28$"
    too small
    Regards,
    Bhatia

    hi
    what are the apps version local and remote database???
    Snapshot too old errors occur because Oracle can 't reconstruct a consistent
    image of a block for the purposes of a consistent read.
    I feel at remote database, you are using UNDO, it will be rather easy to iincrease the undo retention time or increase the undo tablespace size.. if you are dealing with roll back segments, you may have rollback segments whose optimal values are too small...
    increase roll back segments size and select again then
    the following metalink notes might be helpful
    ORA-01555 "Snapshot too old" - Detailed Explanation Doc ID: 40689.1
    How To Avoid ORA-01555: Snapshot Too Old When Running PAAPIMP Doc ID: 603259.1
    OERR: ORA 1555 "snapshot too old (rollback segment too small)" Doc ID: 18954.1

  • Create Report from HFM Data Grid

    Hi All,
    I need to create a report out of the Data Grid created in HFM and then publish that as a PDF. I found the Reporting feature in Manage Documents that uses system reports.
    And if I want a report from a data grid the Data Explorer option has to be selected for Report Type.But in this case I guess I need to create a Report Definition File and then upload it which seems to be complex.
    But am not able to figure out how I can directly take a HFM Data Grid as the source and generate a PDF Report out of it.
    Can this be done using BI Publisher? If so can anyone please provide the steps?
    Or, can it be done using the Financial Reporting Studio ?
    I sincerely appreciate any help!
    Thanks in advance!
    Chella

    select
    decode( abs((sysdate - end_time)-1), (sysdate - end_time)-1, 'TOO LONG AGO', '-' ) "Check" ,
    b.database_name , t.type_qualifier1 , b.host ,
    to_char(b.end_time, 'YYYYMMDD-HH24:MI:SS') , b.time_taken_display , b.output_bytes_display
    from mgmt$ha_backup b, mgmt$target t
    where b.target_guid = t.target_guid
    order by type_qualifier1, end_time;

  • Calling an Oracle Report from a database trigger

    At the moment I have an Oracle form with a timer checking a table for new orders. when
    the form finds new orders an oracle report is run from the form (sending it to the printer directly) with the run_product procedure with parameters being passed also.
    Is there a way to run the report directly from a database/table trigger (also passing parameters)? or failing that how about a batch file or something.
    Info:
    I am using forms/reports 6.
    I believe the database is 7.x
    Cheers,
    Simon
    null

    hello,
    assuming you are using the oracle reports server, you can use UTIL_HTTP to submit a job to the server using http.
    with oracle9i reports we will introduce a feature called event-based reporting API. a plsql package that allows you not only to submit jobs but also check their status.
    oracle9i reports will be part of iAS Release 2.
    regards,
    the oracle reports

  • Crystal reports - Create Report from SAP Bex Query

    I have installed the Crystal reports 2008 for a trial period and the sap integration kit. I have created a new report from a sap query and I am trying to format the report. I would like the columns headings be similar to Bex query - Current Month Jan 2009 which includes the selection parameter of month. I have tried with no sucess. Any help will be appreciated

    Ingo
    in crystal reports the variables are available in the field explorer. However when I drag the date selection to the report (in design mode) i get the foloowing ?[0I_CALMO], but when I execute the report I don't get any values. I also tried to create a formula but could not access the parameter for month year. Is there documentation on how to do this?
    Thanks for your help.

Maybe you are looking for