How to call a report from a web application

Hi,
I have a web server in wich is installed Reports 6i. My question is how can I call reports 6i to generate a pdf using a .rep file from my web application (built with java)?

Hi,
The below link will be very useful for one who need idea on calling Oracle Report from Java Application,
http://www.oracle.com/technology/products/reports/htdocs/getstart/examples/reportswebservice/index.html
Thanks & Rgds,
M T

Similar Messages

  • How to call Oracle Reports via Java Web Application ?

    Dear All,
    I have developed a web reports using Oracle Reports 11g and would like to display these reports via Java Web App that will call them.
    Kindly help me in this matter.
    Regards,
    Irfan

    i will go as John suggested.........Construct a URL with required parameters and call it using goLink component
    make a configuration in Report server and
    http://myServer:myport/reports/rwservlet?config=myconfig&destype=cache&desformat=PDF&report=myreport.jsp&myparameter=myvalue

  • How to call BI report  from web dynpro

    Hi ,
    How to call  BI report from webdynpro application  and what are the prerequisites for that .
    Please provide an example to work with BI application frame UI element
    Thanks

    Hi Rajpal,
    Please go through this..
    calling BI report
    Cheers,
    Kris.

  • How to call crystal report from plsql

    How to call crystal report from plsql?

    http://asktom.oracle.com/pls/ask/f?p=4950:8:14685899341865976974::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:952229840241,

  • How to call oracle reports from ADF application.

    Hi
    I am migrating oracle 11g application to ADF. I would like to call oracle reports from ADF application.

    There is nothing similar to forms-reports integration, but you can invoke rwservlet url.
    Here is sample and utility class: Sameh Nassar: Call Oracle Reports From Your ADF Application
    Dario

  • Calling Reports from bc4j Web Application

    Hello:
    I want to call a report from my bc4j web application, basically I want the user to hit a button that
    will process a report, any examples of how this can be done or if it can be done.

    Hi Sheena,
    This really depends on what you want to do. Submitting a report to the Reports Server is simply running a url in some variant of the following format:
    http://<server>:<port>/reports/rwservlet?report=<reportName>&destype=cache&desformat=pdf
    (Take a look at the Reports documentation for all the options).
    The above will run the report and return the result to the browser in PDF format. If you just want to mail the output the URL would change to something like:
    http://<server>:<port>/reports/rwservlet?report=<reportName>&destype=mail&desformat=pdf&desname=<[email protected]>
    Robin.

  • **How to call a report from a form by passing a specfic value?????

    Hi Expert,
    I want to call a report from a form.My problem scenario like, a user is login to his account and there is a option called ADMIT CARD(Push Button).Now when he pressed the button a report will generate.I want that when he pressed the button the user id of the user will passed to the report and the report will generate corresponding to his details which was stored in the database.This scenario is like any online admit card.
    Suppose I want a details report of employee whose employee_id=100.How could I pass this value(employee id) to report which will generate a report details.
    Thanks,
    TAPAN
    Message was edited by:
    user630863

    Thanks for replying.
    Actually I am a beginner.I think that I have to use RUN_REPORT_OBJECT built-in.But I cannot understand the parameterlist.Can u plz give me any example or code then I am very thankful.
    Suppose I want a details report of employee whose employee_id=100.How could I pass this value(employee id) to report which will generate a report details.
    Thanks,
    TAPAN

  • How to call a report from a menu ?

    I am converting 6i client/server forms to 9i.
    I have a menu that has an option on it to run a report for each menu item selected using RUN_PRODUCT.
    9i is making this obsolete, so how can I call a report from a menu (not a form) now then ?
    In a form it is fine cos I just use the Report Object - a menu does not have this facility.
    Thanks in advance.

    Hi,
    so here is how this should be done:
    1. Create a Reports node in the Forms module that uses the menu (you don't have to create one Reports Object for each report that you want to run)
    2. From the menu, before calling Run_Report_Object() use Set_Report_Object_Property() to set the phsical file name of the Reports that should be executed. This is kind of best practice and does not have a performance hit.
    There is a bug filed against Forms to extend the menu files with a reports Object node. This could require a change to teh file structure which is why we looking for Forms 10i to implement this. (If it turns out that we can have it without recompiling the menu modules then it may go into a patch set - however this seems unlikely from my point of view)
    Fran

  • Calling a report from a web form & specifying PDF format

    Has anyone been able to call a report from Oracle Forms (6i or 9i) in a web browser (i.e. by pressing a button or any other link)? We are having problems generating the report in PDF format when we web deployed our forms. In client server mode it works fine with the report deferring to PDF. But in the web browser it reverts to a messy HTML format with the columns being distorted. Running a standalone report from the web is no problem but when it is linked with a form it goes back to HTML. In the old forms (5.0) we used a function like run_product but I am not sure what the problem is in the new environment.
    T.J.

    Hello,
    According to the way the reports is launched, the format of the reports output depends on the
    variables : FORMS60_REPFORMAT (for Forms 6.0 and 6i)
    Two others variables are used : FORMS60_OUTPUT and FORMS60_MAPPING.
    Can you check the variable FORMS60_REPFORMAT ?
    regards Dennis:
    Thanks for the info. Your suggestion of changing the windows registry setting FORMS60_REPFORMAT to 'PDF' worked! I did not have to make any other changes to the form. I left the run_product format as is in the form and it worked like a charm. When we eventually migrate to Oracle Reports/Forms 9i we will look into using run_report_object. But for now we will stick with Oracle Forms6i. There was no need to alter the other registry settings FORMS60_MAPPING and FORMS60_OUTPUT since I followed the instructions of setting the virtual directories (symbolic links) when I installed the forms and reports services.
    Thanks again for your help!
    T.J.

  • How to Call Crystal Reports from Swing Application

    Hi All,
    I have a requirement for calling Crystal Report from Swing Application. Please let me know how can I do that, and also provide the Source code for calling the crystal report.
    Thanks in advance.
    Chandra

    hi
    this is the code that i am using in my application which is similar to urs. but i am working with CR XI so make all the neccessary changes.
        import java.awt.*;
        import javax.swing.*;
        import com.crystaldecisions.ReportViewer.*;
        import com.crystaldecisions.reports.sdk.*;
        import com.crystaldecisions.sdk.occa.report.reportsource.*;
       public class HelloSwing
            public static void createAndShowGUI()
                try
                    //Make sure we have nice window decorations.
                    JFrame.setDefaultLookAndFeelDecorated(true);
                    //Create and set up the window.
                    JFrame frame = new JFrame("HelloWorldSwing");
                    frame.setTitle( "Testing Reports");
                    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                   ReportViewerBean viewer = new ReportViewerBean();
                    viewer.init( new String[0], null, null, null);
                  ReportClientDocument rpt = new ReportClientDocument();
                    rpt.open( "report path", 1 );
                    IReportSource rptSource = rpt.getReportSource();
                    viewer.setReportSource( rptSource );
                    frame.getContentPane().add( viewer, BorderLayout.CENTER );
                    frame.setSize( 700, 500 );
                    frame.setVisible(true);
                    viewer.start();
                catch ( Exception exception )
                    System.out.println( exception.toString() );
            public static void main(String[] args)
                javax.swing.SwingUtilities.invokeLater(new Runnable()
                    public void run()
                        createAndShowGUI();
       there are 23 jar files that u need to import into ur package. but remember that ReportViewerBean should be the first jar file in the list & it should be followed by jrcerom.jar
    specify the key in the CRConfig.xml file (which also has to be imported in the package)
    u can find these jar files in the common objects folder in your program files.
    hope it helps. best of luck

  • How to Run Oracle Reports from the web.

    How can we run Oracle Reports from the web - for example from a portal such as "Gateway"
    This is a univeristy that implements Banner - so can we run them from within Banner?

    Yes, of course. And for running the reports-server you need an OAS. Maybe here is a good starting point http://www.oracle.com/technology/documentation/reports.html

  • Regarding tutorial of how to call Oracle Reports from APEX

    Hi,
    I'm trying to call Oracle Reports from APEX using this tutorial.
    http://www.oracle.com/technology/products/database/application_express/howtos/howto_integrate_oracle_reports.html
    But in the step of 'Create the Oracle HTML DB Application', 'OE' doesn't appear in the LOV of Existing Schema, even though the sample schema exists in the schema and they are unlocked. And when I type 'OE' directly without using LOV, and press Next, the message 'Schema is reserved or restricted' appears.
    How can I create the workspace based on OE schema?

    Hello Shohei,
    I know your following the tutorial, but if you want to call oracle reports from apex it is quite easy though if your working with oracle reports 9i or higher. Just create an html region and put in the source the html code for referencing an url like to_report
    Or reference the same url from a button placed on the HTML region
    (you can create a package that would create the whole URL and returns it as a string, easier for scalability)
    Hope this can help you to (tutorial is good but try and learn from scratch is also good ;-) )
    Erwin

  • How to call Oracle Reports from APEX

    Dear All,
    I am new to APEX. My first job assignment is "calling oracle reports from apex".
    Can any one help me on this? Is there any online examples / tutorials from OTN site?
    TIA.

    Hi Joe,
    the how-to is still valid for APEX 3.0. Calling an Oracle Report from APEX is still the same, it's basically the URL you build for the report call and Oracle Reports hasn't changed that format.
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • Call BW query from a Web application

    Hi,
    I am trying to call a BW query from a Web application. Could you please let me know how to pass the parameters to the query.
    Thanks,
    Rekha

    I don't know about db2 APIS, but you can use JDBC to connect to DB2 physical files/tables with the DB2 driver. You would need the jar file with the driver info though. I've done this with the webshpere appserver.
    import com.ibm.db2.jdbc.app.DB2Driver;
    Class.forName("com.ibm.db2.jdbc.app.DB2Driver");
    connectionVar = DriverManager.getConnection("jdbc:db2://SERVERNAME/LIBRARY", "user", "passwd");
    That's the basic info that will get you connected and then you can access any files or tables that are in that library with SQL. You would have to use the Java API though - statements, resulsets etc. Hope it helps.

  • How to call a report from form in developer suite 10g

    i want to call report from a form that is developed in Builder 10g. Reprot is also built in Reports Builder 10g. I now want to run report through form.Please give me any solution.

    I am finding that this document is unhelpful also with respect to running a form which calls the report in the testing environment of Oracle Developer Suite. I have Googled for forms integration with reporting and most refer to this document, but it does not help.
    I have download and used the "run_report_object_doc" procedure they provided, along with a supporting function. And used that.
    This document indicates that if the sever is not specified then it will use the in-process server. This does not happen. When I do not specify the server I get the notorious "FRM-41211: Integration error: SSL failure running another product." I suspected that the in-process server is not getting called.
    When I look through the rwservlet.properties file I find that the servlet is configured with in=process "yes". I have since changed this file so that a server is actually named. I called it "local".
    This time a local.conf file is created, not a rep_local.conf file as indicated in the documentation. Anyhow when I try the form again I get the same FRM-41211 message.
    Alternatively, I have change the report invocation parameters to supply a server name "local". This time I no longer get the FRM-41211 message. I get the error FRM-41214: Unable to run report.
    When I use the servlet to get information, I get (can anyone see any setting that is a problem?):
    http://localhost:8889/reports/rwservlet/showenv?server=local
    OracleAS Reports Services - Servlet Environment Variables Return to Top
    KeyMapFile C:\DevSuiteHome_1\reports\conf\cgicmd.dat
    DBAUTH C:\DevSuiteHome_1\reports\templates\rwdbauth.htm
    SYSAUTH C:\DevSuiteHome_1\reports\templates\rwsysauth.htm
    server local
    DIAGNOSTIC yes
    traceopts undefined
    ERRORTEMPLATE C:\DevSuiteHome_1\reports\templates\rwerror.htm
    SERVER_IN_PROCESS yes
    COOKIEEXPIRE 30
    ENCRYPTIONKEY reports9i
    DIAGHEADTAGS undefined
    DIAGBODYTAGS undefined
    HELPURL undefined
    RELOAD_KEYMAP NO
    IMAGEURL http://localhost:8889/reports/rwservlet
    SINGLESIGNON yes
    OracleAS Reports Services - Server and Engine Environment Variables Return to Top
    PATH C:\DevSuiteHome_1\jdk\jre\bin\client;C:\DevSuiteHome_1\jlib;C:\DevSuiteHome_1\bin;C:\DevSuiteHome_1\jre\1.4.2\bin\client;C:\DevSuiteHome_1\jre\1.4.2\bin;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\oracle\product\10.2.0\client_1\bin;C:\Program Files\CA\Dcs\DMScripting\;C:\Program Files\CA\DCS\CAWIN\;C:\CAisd\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\nls;C:\WINDOWS\system32\nls\ENGLISH;C:\Program Files\ZipGenius 6\;c:\Program Files\CA\SharedComponents\ScanEngine;C:\PROGRA~1\CA\ETRUST~2;C:\Program Files\CA\Unicenter Software Delivery\BIN;C:\PROGRA~1\CA\SHARED~1\CAM\bin;C:\Program Files\CA\SharedComponents\ScanEngine;C:\Program Files\CA\SharedComponents\CAUpdate\;C:\Program Files\CA\SharedComponents\ThirdParty\;C:\Program Files\CA\SharedComponents\SubscriptionLicense\;C:\Program Files\CA\eTrustITM;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\Program Files\Microsoft Office\Office10;C:\Program Files\CA\DSM\bin;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\DevSuiteHome_1\jdk\jre\bin
    DISPLAY
    LD_LIBRARY_PATH
    ORACLE_HOME C:\DevSuiteHome_1
    TNS_ADMIN
    NLS_LANG AMERICAN_AMERICA.WE8MSWIN1252
    USER_NLS_LANG
    RW C:\DevSuiteHome_1\reports
    REPORTS_PATH C:\DevSuiteHome_1\repadm61\srw;C:\DevSuiteHome_1\cgenr61\admin\crretc;C:\DevSuiteHome_1\cgenr61\admin;C:\DevSuiteHome_1\reports\templates;C:\DevSuiteHome_1\reports\samples\demo;C:\DevSuiteHome_1\reports\integ;C:\DevSuiteHome_1\reports\printers;
    REPORTS_TMP C:\Temp
    REPORTS_TAGLIB_URI /WEB-INF/lib/reports_tld.jar
    java.class.path C:\DevSuiteHome_1\j2ee\home\lib\ojsp.jar;C:\DevSuiteHome_1\reports\jlib\rwrun.jar;C:\DevSuiteHome_1\jlib\zrclient.jar
    sourceDir
    tempDir
    useDataCache
    ignoreDataParameter

Maybe you are looking for

  • Macbook Pro Retina and a 45w MagSafe 1 Adaptor

    hello all. i am considering upgrading from a Macbook Air to the new MacBook Pro with Retina Display. However, i would first like to know what happens if you plug the new MacBook Pro with Retina Display into the older Air's 45w MagSafe 1 adaptor? The

  • Process flow?????

    helo ,    Im new to Financial area..and currently im learning finance...    I have got some theoretical knowledge about financial accounting.    so Im in need of the process flow of finance.    I also want the flow with some Practical scenario or Exa

  • Need to download Acrobat 9 Professional

    I have purchased in the past a download license for Adobe Acrobat Professional 9.  I had to wipe the computer that this was installed on and now I need to reinstall it.  Where can I get a download for Acrobat 9 Professional for Windows? thanks James

  • Rule around text boxes?

    How do we remove the rule around text boxes?

  • I have download the Adobe XI, but dont know what to do next

    I dont know what to do next because installation is not processing.