Reports with jdeveloper

how should i pass parameters from jdeveloper's swing form to oracle reports builder to build a report

Do a search in this forum for messages with "Jasper" in them you'll find many that will help you. Re: JasperReport with Jdeveloper

Similar Messages

  • Integrate reports with Jdeveloper

    Hi,
    Can anyone please tell me how to integrate Jasper reports with Jdeveloper.I need to create reports and Graphs in my application.
    Thanks

    Do a search in this forum for messages with "Jasper" in them you'll find many that will help you. Re: JasperReport with Jdeveloper

  • Build report with Jdeveloper

    Hi all
    I'm using Jdeveloper 10.1.2 and I would like to build reports .
    Is there any way to do with ADF. Otherwise can you advise me how to do ?
    thanks

    It all depends on how you define a report and what are your specific needs.
    You can look at Oracle Reports at - http://otn.oracle.com/products/reports for a full blown reporting engine and development tool.
    You can also integrate the open-source Jasper Reports with JDeveloper (search the forum for previous posts that will show you how).
    And there is also the XML Publisher here:
    http://www.oracle.com/technology/products/applications/publishing/index.html

  • Use Oracle Reports with Jdeveloper 11

    Hi,
    My next question. How to use Oracle Reports with jdeveloper 11. I have more oracle reports (used with a existing forms application) and i need to migrate this application to web-adf application. I think that is very powerful to use this oracle definition reports but i not know ho to do it.
    thanks,
    Jordi

    Read the publishing reports manual of Oracle reports to see how to Web enabled your Oracle reports. You can then invoke them from an ADF application either by calling a URL or using a Web service interface.

  • Print reports + Oracle JDeveloper 10g

    Can anybody tell me, how can I compose good looking reports with JDeveloper 10g , if I'm working on the jsp-application and need to print them from this application? Is there any demo or tutorial?
    Thanks a lot

    Well JSP is just HTML with dynamic data in it - so you'll need to work your HTML charms to make it look nice.
    If you are interested there are specialized reporting tools that let you layout the report in an easier way - one example is Oracle Reports - http://otn.oracle.com/products/reports

  • Developing Large Projects with JDeveloper

    i have 2 questins :
    1 - i don't know is it possible to develop large project such as a total system
    with about 20 subsystems and 1000 forms and reports with jdeveloper?
    2 - we have planed to build a webapp for each subsystem that it contains MODEL and VIEWCONTROLLER project.with this idea we cann't link from one VIEWCONTROLLER to anather in anather project, for example user can not go to another page from anather project without logon again.
    now my very immportant problem is comunication between pages in different projectsand maintain different objects such as USER object between pages.
    do you think that building such project with only one application with one MODEL and one VIEWCONTROLLER is correct or building it in differt project is better?
    could you please tell me that what is your idea to develop large project with jdeveloper?

    dear jan,
    I want my users to authenticate once, and have access to the subsystems they are authorized for.
    but there is a problem in development and that is with this type of large projects you will have in Model Proj. a lot of AM , EO , VO and in View Proj. a lot of JSPX and XML file. and if i make only one App with one Project for Model and One Project for View, during development for example i want work on one subsystem and others on other susystem. and when i change 1 jspx file i should deploy TOTAL SYSTEM with 20 subsystems completely and i think this is'nt strategy for development.
    i think it's good to develop any subsystem in one app with Model and View and finally deploy any subsystem separately.
    thanks for your reply

  • How to call PDF Report with parameters in jdeveloper 10.1.3

    Hi all,
    how to call PDF Report with parameters in jdeveloper 10.1.3
    for example I have Report name is repdept.pdf with parameter as deptno
    and I want call this Report from JSP page ?
    thanks
    frank

    Hi all,
    how to call PDF Report with parameters in jdeveloper 10.1.3
    for example I have Report name is repdept.pdf with parameter as deptno
    and I want call this Report from JSP page ?
    thanks
    frank

  • Can't see demo 'Using Oracle Reports with Oracle JDeveloper'

    Hi,
    I can't see this demo :
    http://www.oracle.com/technology/products/reports/htdocs/getstart/demonstrations/JDEV1/index.html
    I have this java error :
    viewletUrl_: http://www.oracle.com/technology/products/reports/htdocs/getstart/demonstrations/JDEV1/rep9i_jdev9i_part1.viewlet
    java.lang.NegativeArraySizeException
         at leelou.viewlet.a.a(Unknown Source)
         at leelou.viewlet.QViewApplet.readViewlet(QViewApplet.java:125)
         at leelou.viewlet.QViewApplet.<init>(QViewApplet.java:107)
         at leelou.viewlet.vcr.QVCRApplet.init(QVCRApplet.java:213)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    I have to create a custom destination for Reports in JDeveloper, but I don't find starter doc (for JDeveloper).

    Hi,
    Unfortunately this demo is one of those old demos which have technical problems with new IE + JDK versions, so we had to take it off. The link to this demo is no longer available on OTN:
    http://www.oracle.com/technology/products/reports/htdocs/search.html?cat=INT&col=DEM&submit=Search
    You may have bookmarked it. If it is available on any OTN page, pl let me know.
    For Oracle Reports integration with JDev, pl see the tool / utility available at this page:
    http://www.oracle.com/technology/products/reports/htdocs/search.html?cat=INT&col=UTI&submit=Search
    This tool/utility is currently available with 10g (9.0.4), and has not yet been tested with 10g R2 (10.1.2).
    But if your objective is only to use to use JDev to develop a pluggable destination, you may want to see the pluggable destination API documentation available here, which can be developed with any tool including JDeveloper:
    http://www.oracle.com/technology/products/reports/apis/plugDestination/index.html
    Some plugin destinations and their source code is available here for reference. As you can see, its pretty straightforward - most of these samples have just a few lines of custom code:
    http://www.oracle.com/technology/products/reports/pluginxchange/index.html
    Of course JDev-specific starter tutorials are available here:
    http://www.oracle.com/technology/products/jdev/index.html
    Navneet.

  • How to integrate Crystal Report  with oracle JDeveloper 11g

    Hi,
    How to integrate Crystal Report  with oracle JDeveloper 11g
    Regards ,
    Amol

    I dont think that you can integrate Crystal Reports with JDevelpoer but you can use runtime libraries to your project to get crystal report functionality
    To know more please go through supported platforms
    [Supported Platforms|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/504d0204-681e-2b10-2381-853d88974cfc]
    Regards,
    Tej

  • Call Xml Publisher report from Jdeveloper

    Hi,
    I am first time integrating XML publisher with Jdevloper.
    I need to call xml publisher report from Jdeveloper.
    I followed all steps from anilpassi link for sample
    its showing error while tring to open pdf file
    Error:
    Adobe Reader could not find 'EmpReport[1].pdf' because it is either not a supported file type or because the file has been damaged.
    Please help ,i m stuvk because of this error.
    below is the code
    EmpCO :
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModuleImpl am =
    (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
    am.invokeMethod("initEmpVO");
    // am.invokeMethod("getEmpDataXML");
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModuleImpl am =
    (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
    if ("GenerateReport".equals(pageContext.getParameter(EVENT_PARAM)))
    System.out.println("event fired");
    // Get the HttpServletResponse object from the PageContext. The report output is written to HttpServletResponse.
    DataObject sessionDictionary =
    (DataObject)pageContext.getNamedDataObject("_SessionParameters");
    HttpServletResponse response =
    (HttpServletResponse)sessionDictionary.selectValue(null,
    "HttpServletResponse");
    try
    System.out.println("inside try");
    ServletOutputStream os = response.getOutputStream();
    // Set the Output Report File Name and Content Type
    String contentDisposition = "attachment;filename=EmpReport.pdf";
    response.setHeader("Content-Disposition", contentDisposition);
    response.setContentType("application/pdf");
    // Get the Data XML File as the XMLNode
    XMLNode xmlNode = (XMLNode)am.invokeMethod("getEmpDataXML");
    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
    xmlNode.print(outputStream);
    ByteArrayInputStream inputStream =
    new ByteArrayInputStream(outputStream.toByteArray());
    ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();
    //Generate the PDF Report.
    TemplateHelper.processTemplate(((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getAppsContext(),
    APP_NAME, TEMPLATE_CODE,
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage(),
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getCountry(),
    inputStream,
    TemplateHelper.OUTPUT_TYPE_PDF, null,
    pdfFile);
    // Write the PDF Report to the HttpServletResponse object and flush.
    byte[] b = pdfFile.toByteArray();
    response.setContentLength(b.length);
    os.write(b, 0, b.length);
    os.flush();
    os.close();
    catch (IOException e) {
    System.out.println("Exception1"+e);
    } catch (SQLException e) {
    System.out.println("Exception2"+e);
    } catch (XDOException e) {
    System.out.println("Exception3"+e);
    pageContext.setDocumentRendered(false);
    EmpAMImpl:
    public void initEmpVO() {
    EmpVOImpl vo = getEmpVO1();
    if (vo == null) {
    MessageToken errTokens[] =
    { new MessageToken("OBJECT_NAME", "EmpVO1") };
    throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", errTokens);
    } else {
    vo.executeQuery();
    public XMLNode getEmpDataXML() {
    OAViewObject vo = (OAViewObject)findViewObject("EmpVO1");
    XMLNode xmlNode =
    (XMLNode)vo.writeXML(4, XMLInterface.XML_OPT_ALL_ROWS);
    return xmlNode;
    Please help !!

    Hi,
    I tried the way suggested by Anil in the above link as well today, but still am getting the same error while openning the pdf .
    Dont know why it shows error that either the file is not a supported file type or because the file is damaged.
    Please suggest way to solve this error or some other way of calling xml report from OAF page.
    Edited by: user13573749 on Apr 10, 2011 9:59 PM

  • FOD schema installation with tutorial Database Development with JDeveloper

    I followed the instruction online at http://www.oracle.com/technetwork/developer-tools/jdev/index-095536.html to install FOD schema. Errors displayed when call "run ant target -> buildall" were below:
    populateImages:
    [java] 2010-9-26 14:56:01 oracle.as.jmx.framework.LoggerHelper log
    [java] SEVERE: Error initializing the JMX FRamework SPI "oracle.as.jmx.framework.standardmbeans.spi.JMXFrameworkProviderImpl"
    [java] java.lang.reflect.InvocationTargetException
    [java]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [java]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [java]      at java.lang.reflect.Method.invoke(Method.java:597)
    [java]      at oracle.as.jmx.framework.PortableMBeanFactory.initializeSPI(PortableMBeanFactory.java:1895)
    [java]      at oracle.as.jmx.framework.PortableMBeanFactory.initializePlatformSPI(PortableMBeanFactory.java:1851)
    [java]      at oracle.as.jmx.framework.PortableMBeanFactory.init(PortableMBeanFactory.java:1831)
    [java]      at oracle.as.jmx.framework.PortableMBeanFactory.<init>(PortableMBeanFactory.java:207)
    [java]      at oracle.as.jmx.framework.PortableMBeanFactory.<init>(PortableMBeanFactory.java:215)
    [java]      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    [java]      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    [java]      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    [java]      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    [java]      at java.lang.Class.newInstance0(Class.java:355)
    [java]      at java.lang.Class.newInstance(Class.java:308)
    [java]      at oracle.mds.core.MDSInstance.lookupMBeanServer(MDSInstance.java:2061)
    [java]      at oracle.mds.core.MDSInstance.checkMDSDeployStatus(MDSInstance.java:950)
    [java]      at oracle.mds.core.MDSInstance.<init>(MDSInstance.java:1692)
    [java]      at oracle.mds.core.MDSInstance.<init>(MDSInstance.java:1666)
    [java]      at oracle.mds.core.MDSInstance.findAndStoreMDSInstance(MDSInstance.java:1962)
    [java]      at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:507)
    [java]      at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:470)
    [java]      at oracle.adf.share.config.ADFMDSConfig.getDefaultMDSInstance(ADFMDSConfig.java:436)
    [java]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    But still got message - "BUILD SUCCESSFUL" at the end. Does anyone know how to solve this problem?
    My intention of performing FOD schema installation was to follow the tutorial "Database Development with JDeveloper" at http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/databasedevelopment/obe_%20databasedevmt.htm. But I stopped at the last topic "Creating and Debugging PL/SQL Objects in the Database" ->"Running a SQL Script to Create an Object Type" when trying to create a object using script on the page.
    This is the script:
    ------------------------------------------------start
    REM
    REM Create object ORDER_ITEMS_REC
    REM
    CREATE or REPLACE type ORDER_ITEMS_REC as object
    ORDER_ID NUMBER(15),
    LINE_ITEM_ID NUMBER(3),
    PRODUCT_ID NUMBER(15),
    QUANTITY NUMBER(6),
    UNIT_PRICE NUMBER(8,2),
    CREATED_BY VARCHAR2(60),
    CREATION_DATE DATE,
    LAST_UPDATED_BY VARCHAR2(60),
    LAST_UPDATE_DATE DATE,
    OBJECT_VERSION_ID NUMBER(15)
    show errors;
    --------------------------------------------------end
    and the error message I got was
    ------------------------------------------------start
    Error report:
    ORA-01031: insufficient privileges
    01031. 00000 - "insufficient privileges"
    ------------------------------------------------end
    I was wandering whether the error of FOD installation could cause the error of the tutorial?
    Any response will be appreciated.

    1. you dont have to insall Oracle database at the BO machine side, you just need any database to hold the BO repository.
    2. you cant connect directly using BO, only Crystal reports can connect directly to R3 database, you need to have a BW in between.
    extract your data into the BW, and let BO connect to BW using the BO integration kit for SAP solutions.
    3. no you dont have to have 3 different machines, using one BO machine you connect to them all, but you may need build a  BO environment, (Development, Production servers)
    good luck

  • Using dynamic ViewLinks with JDeveloper 10g

    Hello.
    I'm displaing a list of data from tab1 with a sublist of data from tab2, which has a n:m cardinality relationship.
    Attributes:
    k1 - primary key of tab1
    k2 - primary key of tab2
    fk1 - foreign key of tab1 in rel
    fk2 - foreign key of tab2 in rel
    Before data iteration I create dynamic link using createViewLinkBetweenViewObjects(...) method of my ApplicationModule. I use assocClause parameter to define the way of the data association, e.g.:
    select <attrs> from tab2 where k2 in (select fk2 from rel where fk1=:1)Parameter :1 is replaced with k1 from tab1.
    This works fine, but whern I use parameter :1 more times in query, the JBO-27122 (SQL error during statement preparation. Statement: ...) is reported. I have used it with JDeveloper 9i and it worked properly.
    Thanks for any help

    Did you read my reply here:
    Jdeveloper with PVCS

  • XML Publisher 5.6.2 with JDeveloper 10.1.3

    Hi,
    I put one example of the users guide working, that transforms the xml and the xsl in a pdf report:
    FOProcessor processor = new FOProcessor();
    processor.setData("d:\\ORACLE\\DOCUMENTOS\\XML Publisher\\Exemplos\\sales-report.xml"); // set XML input file
    processor.setTemplate("d:\\ORACLE\\DOCUMENTOS\\XML Publisher\\Exemplos\\sales-report.xsl"); // set XSL input file
    processor.setOutput("d:\\ORACLE\\DOCUMENTOS\\XML Publisher\\Exemplos\\sales-report.pdf"); //set output file
    processor.setOutputFormat(FOProcessor.FORMAT_PDF);
    // Start processing
    try {
    processor.generate();
    } catch (XDOException e) {
    e.printStackTrace();
    System.exit(1);
    System.exit(0);
    Now, I want to use ADF to create a "print report" from a table (business components from tables), directly.
    I'm trying with the HR schema, table of departments (database 10gR2).
    There are any way to do this interactively??
    I realy need always the xml file and the xsl file to create a report from JDeveloper?
    Any idea?
    Thank you in advance,
    Rgs,
    CD

    http://www.oracle.com/technology/pub/articles/vohra-jdev-xmlpub.html

  • How to use Crystal Report in JDeveloper

    Hi all,
    I'm a JDeveloper fresher. To day, i want to use Crystal Report 2008 in JDeveloper.
    Please support to me: how to setup, config Crystal Report to use with JDeveloper.
    share to me your demo if you have.
    Thanks!

    No, I don't have example (I usually work with Crystal Reports inside MS Visual Studio and C#)
    But some very basic example would be:
    1. Create rpt file in Crystal Report Designer
    2. Download CR Java Runtime files from here: SAP Crystal Reports, version for Eclipse - Down... | SCN
    3. Add necessary jar files from previous step to your jdev project
    4. Create new java servlet and map to some url (for example: /reports)
    5. Add button/link to invoke this servlet, for example <a href="reports" target="_blank">click here</a>
    6. Inside your servlet add code similar to this:
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        ReportClientDocument reportClientDoc = new ReportClientDocument();
        try {
            reportClientDoc.open("Path to your report file", 0);
    // for example, to output pdf file
    response.setContentType("application/pdf");
            reportClientDoc.getPrintOutputController().export(ReportExportFormat.PDF, response.getOutputStream());
        } catch (Exception e) {
            e.printStackTrace();
    If you want to use Crystal Reports JSF Viewer then you need to copy "crystalreportviewers" folder from downloaded CR Java Runtime to public_html location inside your app
    and adjust code in servlet:
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        ReportClientDocument reportClientDoc = new ReportClientDocument();
        try {
            reportClientDoc.open("Path to your report file", 0);
            Object reportSource = reportClientDoc.getReportSource();
            CrystalReportViewer viewer = new CrystalReportViewer();
            viewer.setOwnPage(true);
            viewer.setReportSource(reportSource);
            viewer.setPrintMode(CrPrintMode.PDF);
            viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), response.getWriter());
        } catch (Exception e) {
            e.printStackTrace();
    Of course, you can embed this viewer in existing page(instead of opening in new page/tab)
    Dario

  • Calling Oracle Developer Report from JDeveloper

    I am using Orale JDeveloper 10.1.2. I can't seem to find a way of producing reports. I read that Oracle Reports developer can be integrated with Jdeveloper. How can I do this? I want to be able to generate reports from Jdeveloper.
    Thanks.
    Lucas

    If you want the Reports integration inside JDeveloper - you need to install the Oracle Developer Suite - the JDeveloper version that comes there has the reports integration.
    For more questions on this try the Reports discussion forum:
    http://forums.oracle.com/forums/index.jsp?cat=19

Maybe you are looking for

  • Servlet cannot find helper class

    Hello Under WEB-INF/classes I put ServletExample and SingletonExample. Compiling ServletExample, that makes use of SingletonExample, works. In the directory WEB-INF/classes I also have another direcotry, test. And in WEB-INF/classes/test I put again

  • Synchronisation error 0x809909B0

    I have a Data Protection Manager 2012 r2 server (rollup 3) trying to back up a client server. I get the error below. The protection agent on <backed up server> was temporarily unable to respond because it was in an unexpected state. (ID 60 Details: I

  • Internal Pricing Error in VKM3

    When i am trying to release a Sales Order for Credit Block in VKM3, I am getting the Error " Internal Pricing Error" and the msg is The program link between tables KOMT1 and XKOMV using the XKOMV-IX_KOMT1 field no longer works in the pricing program

  • Fatal Error When Running Sysprep on Server 2008 R2

    its the registry keys that needs to change. once an image has been sysprepped once, if you try and reuse this image - alter the software for example - then sysprep again, 99 times out of 100 it will give you this grief I cant remember which registry

  • SAP GUI 7.20 exit unexpectedly with Internet Explorer 9 RC

    The SAPGUI 7.20 patch level 4 exits unexpectedly without reporting errors since I installed Internet Explorer 9 RC. This seems to happen in forms with ALV lists? For example, using the transaction SM04 Tested on two computers both with windows 7 64bi