Print report in Apex

Hi!
How to print complex financial report in Apex ?
For example, there are many reports such as Quick Report, Fast Report and so on ...

Hi,
As I understand APEX Listener currently support only PDF. You need continue use BI Publisher if you wish have Excel and Word.
Regards,
Jari

Similar Messages

  • Error when print report from apex using apex listener 2

    Hi
    Apex 4.2
    I want print report to pdf from apex using apex listener 2.
    The print server 'Oracle APEX listener' has been defined at the instance-level.
    ACL has been configured.
    I attempt to download a report in PDF mode, it appears that it downloads,
    but when I go to open it up I get an error that the file is of the wrong type or possibly corrupt.
    Upon opening the file in Text editor, there is an error as below
    %PDF-1.4
    1 瀛楄妭鐨?UTF-8 搴忓垪鐨勫瓧鑺?1 鏃犳晥銆?

    If you use Windows the user that runs the reports server is usually LocalSystem. Check this in the Windows Services panel.
    LocalSystem has no printer access. To be able to print, you have to use a real domain user that has access to the printer. So, change the Log on properties in the Services panel.

  • Html region print report in APEX 3.0

    Hi all!
    I have some HTML regions on some pages of my application.
    Do you know how to receive print reports of this regions in some formats e.g. PDF, EXCEL, HTML, rtf ?
    Is't any idea or any link ?
    Regards,
    Roman

    Hi all!
    I have some HTML regions on some pages of my application.
    Do you know how to receive print reports of this regions in some formats e.g. PDF, EXCEL, HTML, rtf ?
    Is't any idea or any link ?
    Regards,
    Roman

  • Can BI Publisher comes with EBize be used to print pdf report from APEX?

    Hi,
    We have EBiz suit (11.5.10) with APEX 3.2. Both are working fine. I want to enable APEX to develop PDF reports. I would like to know whether I can use BI Publisher comes with EBiz to print PDF from APEX.
    If yes where can I get instructions on how to setup APEX with BI Publisher with EBiz.
    TIA
    DineshS

    I'm not aware of the BIP/XMLP Web Services being available in the embedded EBS version (XML Publisher 5.6.3). But you might be able to create your own wrapper to the XMLP APIs in EBS.
    Regards,
    Gareth

  • APEX 3.0 print report error (empty file).

    I installed BI 10.1.3.2.0 successfully.
    I tested my convert servlet (which comes with BI Publisher)
    by trying to go there directly in browser:
    http://roman:80/xmlpserver/convert
    I get the message in Firefox:
    "500 Internal Server Error
    Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details".
    The application.log contents:
    "07/04/09 16:42:38.928 xmlpserver: Servlet error
    javax.servlet.ServletException: XML data or RTF template is null.
         at oracle.apps.xdo.servlet.Converter.doPost(Converter.java:99)
         at oracle.apps.xdo.servlet.Converter.doGet(Converter.java:50)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g
    (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)".
    It's mean that servlet is up and running.
    I specify the following attributes:
    Oracle BI Publisher: Advanced Support
    Print Server Protocol: HTTP
    Print Server Host Address: roman (the name of my computer)
    Print Server Port: the port 80
    Print Server Script: /xmlpserver/convert
    When i click on link "Print report" in my application i receive the empty pdf file
    (file size is zero).
    Is it any idea ?
    Regards,
    Roman

    Hi Marc!
    I uninstalled BI EE. Then I installed Bi EE again. I selected the Basic setup and BI Publisher only. BI Publisher has been successfully installed on my computer.
    The number of port is 9704. (My previous mistake was the port number - 80!!!).
    Then I start oc4j.
    I tried Application Builder home page built-in report. It's work fine!
    But i received some problems with print report in my own application.
    If i selected "Use Generic Column Names (parse query at runtime only)" in source settings of my region i received an empty PDF file (0 bytes).
    When i selected "English (United-States) en-us in Globalization settings and also
    selected "Use Query-Specific Column Names and Validate Query" in source settings of my region i received the fine report.
    I am using the "Default report Layout".
    But I want to receive the report based on "Query-Specific Column Names and Validate Query". And also I want to have "Russian (ru) Globalization settings in my application.
    Do your have any advice ?
    Regards,
    Roman.

  • Is it possible to use an XML Data Template to create a report in APEX?

    Hi,
    I have created an XML Data Template in BI Publisher passing one parameter and running two queries, then created an RTF Document Template to present the data.
    I can create a nice report in BI Publisher using the two elements. I have used RTF Document Templates to publish reports in APEX but the data comes from a Report region running a single query.
    I would like to run a report based in this kind of XML Data Template, in order to use several children queries related to a parent query. Is it possible to do it in APEX, or you have to use BI Publisher?
    Francisco
    ===========================
    Below is a simple data template definition:
    <dataTemplate name="cotizacion_template" description="Prueba de data template para cotizaciones" dataSourceRef="dbxprts">
         <parameters>
              <parameter name="p_id_cotizacion" dataType="character" defaultValue="1009" include_in_output="true"/>
         </parameters>
         <dataQuery>
              <sqlStatement name="header_query">
                   <![CDATA[select id_cotizacion, fecha_cotizacion, id_clipro from f_cotizaciones where id_cotizacion = :p_id_cotizacion]]>
              </sqlStatement>
              <sqlStatement name="detail_query">
                   <![CDATA[select id_cotizacion as id_cot_child, id_detalle_cotizacion, partida, cantidad, id_producto from f_detalle_cotizaciones where id_cotizacion = :id_cotizacion]]>
              </sqlStatement>
         </dataQuery>
         <dataStructure>
              <group name="F_COTIZACIONES" source="header_query">
                   <element name="ID_COTIZACION" value="ID_COTIZACION"/>
                   <element name="ID_CLIPRO" value="ID_CLIPRO"/>
                   <element name="SUMA_CANTIDAD" value="F_DETALLE_COTIZACIONES.CANTIDAD" function="SUM()"/>
                   <group name="F_DETALLE_COTIZACIONES" source="detail_query">
                        <element name="PARTIDA" value="PARTIDA"/>
                        <element name="CANTIDAD" value="CANTIDAD"/>
                        <element name="ID_PRODUCTO" value="ID_PRODUCTO"/>
                   </group>
              </group>
         </dataStructure>
    </dataTemplate>

    Hi,
    I have the similar question. I used data templates in BI Publisher but now I want to use the same data template in Apex to print some reports.
    I tried to some examples but these were only using report queries. I also tried with the Web Service but this didn't work for me either maybe because I didn't
    used it in the right way. When I used the WS I received the binary of the report so the WS worked it was just the how and where to use it that didn't work for me.
    Now this older entry is BUMPED maybe we find a solution for our problem this way.
    regards,
    Steven

  • Cannot print PDF using Apex Listener

    Hey folks,
    We're having some issues trying to print reports as PDF's using the latest version of Apex Listener. For some reason, every PDF that is created that we try to open gives an error, saying that it's either not a PDF file or that it's corrupted somehow. We're using Apex 4.2 and for the time being, just the default table layout that Apex provides when printing. I believe our instance of Apex Listener is at the very least connected properly because we can print Excel or RTF without any issues. We've double and triple checked all of our options so I'm very confused as to what is happening. If anyone has any input, I'd be very grateful.

    Have had same problem with error message "Unable to convert postscript file". No response from Adobe. Even tried their technical support which said they offered no support for free products.  Have found a couple go arounds but no fixes.

  • Cancelled POs not appearing in isupplier PO Print Report

    Hi All,
    I am using oracle apps 11.5.10 version.My problem is that PO print report is not printing all the cancelled Purchase Orders.Its printing only the last Purchase Order which is cancelled.
    Steps to reproduce-
    1. create a multi line req in iproc..submit and on approval PO gets created.
    2.from isupplier run Printed PO report.You will see all the lines.
    3. Cancel 1st line in iproc-let it revision.run report from isupplier.You'll see all the lines along with one line that is cancelled.
    4.Cancel 2nd lines in iproc.let it revision.run report from isupplier.You will see all the lines and the new cancelled line as well.But the Cancelled line1 will not be seen.
    5.Again cancel 3rd line.When you print PO in isupplier.You will see all lines+3rd cancelled line.But the above two cancelled Lines 1 and 2 will b missing.
    Note- we have modifed the xslfo and po_lines_xml for some other changes.I have reverted the changes made in po_lines_xml but still facing the same issue.
    Please help.

    Hi,
    Please check in transaction  SXMB_MONI can found related information why it not transfer to SRM.
    Also check the purchasing data of the PO.
    Thanks,
    prasad.s

  • Report Generation Toolkit V9.0.0 : Print Report.vi doesnt print

    Hi,
    i have migrated my Labview 8.5 Project with Report Generation Toolkit V1.1.2 to a Labview 2009 System with Report Generation Toolkit V9.0.0.
    In this Project I use the Report Generation Toolkit for printing out a Standard Report with e few Tables and Graphs.
    Now the VI Print Report.vi delivers the Error -41002 with the Text "Invalide Printer Name". I have, of course installed the propper Printer on the machine.
    I don´t connect a string to the "Printer name" input of the VI, because i want to use the default printer.
    In my oppinion, there´s  a bug in the Print Report.vi: if you don´t wire the "Printer name" input, the vi should use the default printer, but in this case the vi connects the empty input string to the input of the method node it calls.
    I fixed this bug, but the method node still returns the same error.
    any ideas?
    Thanks!
    Solved!
    Go to Solution.

    Thank you for the link!
    For some reasons i can´t find this specific article in the knowledge base (my browser is always rerouted to the german version of ni.com, because i am in Austria). I tried to search with the exact title of this article, and the error message string, but no results...
    I have also installed Labview 8.5 and the "old" Toolkits on my new computer in addition to Labview 2009 and the "new" Toolkits and tested my program in 8.5. Here i got an error mentioning the margins and i had to change the margin settings for printing out, then in worked.
    After reading the article, i have applied the same changes for the margins in the 2009-version of my program and it works too!
    Problem solved!
    Thank you very much!
    PS:
    I first wrote, that there´s maybe a bug in the new version of the Print Report.vi, but i´ve compared it with the old version and it seems to be no bug, sorry!
    After all I decided to stay with Labview 8.5 for now, because of another problem:
    it´s not possible to "save for previous version" from LV2009 to LV8.5 directly.
    Laview crashes, when a VI contains an event structure as i found out by searching through the "known issues", and i have a lot of VIs with event structures!
    I have to have the possibility to save my Labview projects for 8.0 and 8.5. The only way is to save for 8.6 and then save from 8.6 to 8.5.
    That´s nasty and time-consuming!
    Maybe a future update will solve this problem (without producing new ones)

  • Printing report that has a parameter with multiple values crashes jvm

    I am using BOE XI 4.0 as an unmanaged RAS.
    I am able to preview a report that has a string discrete parameter that can have multiple values.  If I give it a single value.  It previews fine.  If I give it an empty string it prints all values which is fine.  If I give it two discrete values, it displays just those two.
    However, if I try printing the report to a printer:
    1 parameter value - prints fine.
    2 parameter values - crashes jvm
    empty string parameter value - crashes jvm
    I would appreciate some direction on how to do this.  It works in crystal reports for eclipse.
    The test jsp I am using is based off of the samples.  The print test jsp is the same as the preview test with the exception of the following code differences.:
    preview report.jsp code
    // Create a Viewer object
    CrystalReportViewer viewer = new CrystalReportViewer();
    // Set the report source for the  viewer to the ReportClientDocument's report source
    viewer.setReportSource(clientDoc.getReportSource());
    // Process the http request to view the report
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), out);
    // Dispose of the viewer object
    viewer.dispose();
    print report jsp code
      PrintReportOptions printOptions = new PrintReportOptions();
      printOptions.setPrinterName("DELL");
      try {
          clientDoc.getPrintOutputController().printReport(printOptions);
      } catch (ReportSDKException ex1) {
          System.out.println("Message - " + ex1.getLocalizedMessage());
      } catch (Exception ex2) {
          System.out.println("Message - " + ex2.getLocalizedMessage());
      clientDoc.close();

    I am using BOE XI 4.0 as an unmanaged RAS.
    I am able to preview a report that has a string discrete parameter that can have multiple values.  If I give it a single value.  It previews fine.  If I give it an empty string it prints all values which is fine.  If I give it two discrete values, it displays just those two.
    However, if I try printing the report to a printer:
    1 parameter value - prints fine.
    2 parameter values - crashes jvm
    empty string parameter value - crashes jvm
    I would appreciate some direction on how to do this.  It works in crystal reports for eclipse.
    The test jsp I am using is based off of the samples.  The print test jsp is the same as the preview test with the exception of the following code differences.:
    preview report.jsp code
    // Create a Viewer object
    CrystalReportViewer viewer = new CrystalReportViewer();
    // Set the report source for the  viewer to the ReportClientDocument's report source
    viewer.setReportSource(clientDoc.getReportSource());
    // Process the http request to view the report
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), out);
    // Dispose of the viewer object
    viewer.dispose();
    print report jsp code
      PrintReportOptions printOptions = new PrintReportOptions();
      printOptions.setPrinterName("DELL");
      try {
          clientDoc.getPrintOutputController().printReport(printOptions);
      } catch (ReportSDKException ex1) {
          System.out.println("Message - " + ex1.getLocalizedMessage());
      } catch (Exception ex2) {
          System.out.println("Message - " + ex2.getLocalizedMessage());
      clientDoc.close();

  • VS2005 Crystal Report Print Report Button is not working on Windows 7 x64

    Hi There,
    My application is written in VS2005 C# on x86 machine. It runs smoothly on XP pro and Vista x86 machine.
    I deployed the same to windows 7 x64 machine with CRRedist2005_x64.msi and found that the Print Report button is not working.
    So, I re-compiled my application to x64 target platform, and reinstall the application to the same machine. But nothing changed. I have surf for answer over the web but nothing found.
    Please help urgently. Any helps is much appreciated. Thks in advance.
    Edited by: chanpyvivian on Mar 26, 2010 11:14 AM

    I follow your instruction as below:
    1) download the sample app vbnet_win_printtoprinter.zip to dev computer and compile it to .NET 2005.
    - Run from my dev computer
    - Click "Print Report" button
    - Error message display - please see below
        The error was due to the default printer name hard coded in the program was not found. I have edited to my printer name and it can be printed out with no error.
    2) Use a "saved data" report so that you do not have to worry about database logon.
    can't find the "saved data", please elaborate
    3) Then copy the exe to the 64 bit box and try to print using this sample app.
    -do you mean copy the exe to the 64 bit computer for testing ?
    ERROR Message
    CrystalDecisions.CrystalReports.Engine.InvalidArgumentException:
    Invalid printer specified. ---> System.Runtime.InteropServices.COMException (0x80000201):
    Invalid printer specified.
       at CrystalDecisions.ReportAppServer.Controllers.PrintOutputControllerClass.ModifyPrinterName(String newVal)
       at CrystalDecisions.CrystalReports.Engine.PrintOptions.set_PrinterName(String value)
       at CrystalDecisions.CrystalReports.Engine.PrintOptions.Copy(PrintOptions src)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
       --- End of inner exception stack trace ---
       at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportClass.Load(String reportName, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.get_FormatEngine()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.PrintToPrinter(Int32 nCopies, Boolean collated, Int32 startPageN, Int32 endPageN)
       at PrintToPrinter.Form1.Button1_Click(Object sender, EventArgs e) in C:\Crystal\CRNET\vbnet_win_printtoprinter\vbnet_win_printtoprinter\Form1.vb:line 91
    OK  
    Edited by: chanpyvivian on Mar 30, 2010 6:18 PM

  • AP Cheque Printing Report

    Hi All,
    Can anybody help me out to do the AP cheque printing report using XML Publisher.
    Followings are the steps I did.
    1. Create rdf and register in APPS.
    Executable is defined in Customization AP application
    Concurrent Program is in Payables application.
    2. Create Data Definition and Template in XML Publisher administrator in Payables.
    3. Attached the Concurrent program in AP Format set up.
    4. Make the Payment, The report is calling and showing completed normal but the output is not coming.
    5. Then I run the XML report Publisher and pass the request id then the output is coming as PDF.
    But the requirement is when we make the payment , The output should come and it will go to the printer for printing..
    Please help me where I made the mistake.
    or please guide me what approach I should follow.
    Thanks in Advance.
    Pradipta

    Here is my code:
    function AfterReport return boolean is
    vrequest_id number;
    v_success BOOLEAN;
    v_printer fnd_concurrent_requests.printer%TYPE;
    v_print_style fnd_concurrent_requests.print_style%TYPE;
    begin
    -- Set up printer for the following reports
    -- Get the printer and style for this report for use with the following reports select printer, print_style
    into v_printer, v_print_style
    from fnd_concurrent_requests
    where request_id = :P_CONC_REQUEST_ID;
    srw.message(999, 'Print options: ' || v_printer || '/' || v_print_style);
    v_success := fnd_request.set_print_options (v_printer
    ,v_print_style
    ,1
    ,TRUE
    ,'N'
    ,'SKIP'); IF NOT v_success THEN
    srw.message(999, 'Failure to set print options'); ELSE
    srw.message(999, 'Print options set'); end if;
    -- Submit the XML Report Publisher request to complete the printed Dunning Letters
    vrequest_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
    'XDOREPPB',
    NULL,
    NULL,
    FALSE,
    :P_CONC_REQUEST_ID,
    222, -- Receivables
    'XX_ARDLPPRT_RPT',
    'en', 'N', 'RTF', 'PDF', NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
    -- commit to submit request
    commit;
    IF vrequest_id = 0 THEN -- if request id
    srw.message(999, 'Failure to submit Concurrent Request to Print Dunning Letters');
    ELSE
    srw.message(999, 'request id ' || to_char(vrequest_id) || ' submitted');
    end if;
    -- Original Afterreport trigger stuff
    SRW.DO_SQL('alter session set sql_trace false');
    return (TRUE);
    end;

  • Purchase Order Print Report Compilation Error

    Hi,
    While compiling the report in Reports Builder Purchase Order Print Report , we get the following error:
    identifier GET_PRECISION must be declared.
    Where as this is a seeded function inbuild in the Program Units.
    Also while compiling on server we get the error.
    Cannot convert rdf to rep.
    Thanks,
    Angelica.

    Couldn't find how to copy the PO layout over using copy express.
    I did compare the RDOC fields for POR20002 in both databases and they are Identical. 
    In Crystal Reports, I did a formula search for N_Decimal_Places and it found nothing.  Then I did a search for 'length' in all formulas and it finds length in N_Decimal_Places.  When I double click on N_Decimal_Places it clears the screen and never shows the formula. This happens in both layouts for my test database and SBODemoUS.
    Again, SBODemoUS works correctly and AAA_TEST give the error.

  • Calling Oracle Discoverer Report from Apex

    How to call Oracle Discoverer Report from apex application?
    Thanks!

    The report is on a different data base ... need to create a process to get the data into the view behind the report and then materialized view in Apex etc .Then recreate the same report in Apex. But I am trying use the disc report url to invoke the report directly from apex.
    Any suggestions or thoughts are greatly aprreciated.

  • Printing report to direct print 9i

    Hi,
    I am able to direct print the reports on web using normal parameters...i.e. desname, destype and desformat.
    When it prints successfully, it gives us a message in a separate browser window "The report has been successfully printed out"
    And we don't want this message. Can anybody tell me to suppress this window and message ?
    Command:
    WEB.SHOW_DOCUMENT('/reports/rwservlet?
    report=REPORT.rdf&userid=scott/tiger@ora&
    P_DEPTNO='||:EMP.DEPTNO||'&
    desformat=htmlcss&destype=printer', '_blank');
    Thanks,
    Martonio.

    Martonio,
    if you use RUN_REPORT_OBJECT() built-in in Forms to print Reports then you don't have this problem.
    If you request the Report directly from a Web browser, not using Forms at all, please ask the same question on teh reports forum here on OTN.
    Frank

Maybe you are looking for

  • Last Result from Fulltext SQL Query Search Not Showing

    I am creating a custom search results page for MOSS 2007 (using inline .aspx code - don't ask) that uses Fulltext SQL Queries.  I get the results in a ResultTable (see code below) and then use a DataTable to write code to display it (I could have use

  • Can't get Universal Wireless keybaord to lynk

    I can't get my universal wireless keyboard to link up to my Vista computer to upload to Palm T/X I put in my CD with no luck - any ideas to get it going? J. Wagner Post relates to: Palm TX

  • Oracle 8i DATE column returned wrong with 9i thin driver

    I have an Oracle 8i database with a column named "timestamp" with the following column metadata: DATA_TYPE=93 TYPE_NAME=DATE I execute the following statement: select "timestamp" from oracle_data_log When I look at the result set metadata using the O

  • Usefull Transactioncodes for BI-SRM integration

    Hello, I recently got an assignment to integrate SRM with BI. Can you guys please let me know the usefull trasnaction codes in SRM side to extract the data to BI. Additionally, as far as I know we can enhance the datasource as in conventioanl way usi

  • How To insert the mobile company chip

    How to insert a mobile company chip into i phone