How GET Output to Excel with Oracle9i Report using OC4J

how GET Output to Excel with Oracle9i Report using OC4J.
I FINISHED THE SETPS CONCIDERING THE JSP CODE NEEDED TO GET THE EXCEL OUTPUT ON LOCAL MACHINE.
I NEED TO PUBLISH THIS REPORT THROUGH APPLICATION SERVER.
THE QUESTION IS:
1- HOW TO START AN OC4J INSTANCE FROM ORACLE 9I DS FOR THIS REPORT?
2- WHERE (PATH) TO PUBLISH THE REPORT ON THE APPLICATION SERVER?
3- WHAT IS THE DEFAULT URL TO RUN THIS REPORT AND WHERE TO PUT IT?
4- HOW TO MAKE MAPPING FOR DIRECOTRY PATH TO TRANSLATED AS URL FOR THIS REPORT?
5- IF ANY ONE CAN GIVE ME THE FULL CODE TO RUN AND CALL SIMPLE JSP REPORT TO BE VIED IN INTERNET EXPLORER.
THANK YOU

Hi,
I can't answer to all your questions, however I can tell you that:
2) The directory where to put the report file is specifiend in a file named
<serverName>.conf
in the sourceDire property
<property name="sourceDir" value="/directory/dove/mettere/i/report"/>
that you can find under ORACLE_HOME/reports/conf
3) The URL is
http://<server IAS address>:<port number>/<jsp file path>/<repName>.jsp?server=<report server name>&userid=<user>/<pwd>@<DB conn string>[&<param>=<valore>[&...]]
5) In IE you have only to set the previous URL in the address bar.
Hope this helps you
Bye
Raffy

Similar Messages

  • Output to Excel with Oracle9i Report -- DEMO DOWN

    The Viewlet "Output to Excel with Oracle9i Report" (as well as the others) at
    http://otn.oracle.com/products/reports/htdocs/getstart/demonstrations/index.html
    Does not work. I keep getting a 'Incorrect skin. Stoppting' Error.
    Please update the viewlet or make it available to email or download.
    Thanks

    Actually you don't need to see that viewlet. Just follow the easy follow-by steps in Metalink Note 240819.1 "How to Generate Excel output in browser using Reports9i JSP". This is faster done than watching the viewlet! You can use it for 9i and as well for 10g.
    Please note the reference to note 271590.1 in the end of the document. Without that it won't work on 10g.
    Regards,
    Martin Malmstrom
    ORACLE Consulting

  • How to open a excel with VBA button using I_OI_DOCUMENT_PROXY

    same this image:
    http://www.ImageThe.net/show-image.php?id=d367faef6ed7333acc2edd0290481fc8
    how to use OPEN_ACTIVEX_DOCUMENT?
      CALL METHOD DOCUMENT->OPEN_ACTIVEX_DOCUMENT
        EXPORTING
          DOCUMENT_URL = ITEM_URL
        IMPORTING
          ERROR        = ERRORS.

    Look at the below excel, it has macro, like sum. It will help you..
    <%@page language="abap"%>
    <html>
      <head>
      </head>
      <body>
        <object id="msx" style="width:100%;height:300px;margin-top:50px"
                classid="clsid:0002E510-0000-0000-C000-000000000046">
          <param name="DisplayTitleBar" value="false"/>
                <param name="HTMLData"  value=""/>
        </object>
        <script type="text/javascript">
          layout_sheet = document.all("msx");
          layout_sheet.Cells(1,5) = 'Test mit einzelner Zelle';
          msx.range('F1').value = 'F1';
          range  = layout_sheet.Range(layout_sheet.Cells(1,1),layout_sheet.Cells(1,4));
          record = "Jahr;Januar;Februar;März";
          range.ParseText(record, ';');
          range  = layout_sheet.Range(layout_sheet.Cells(2,1),layout_sheet.Cells(2,4));
          range.value = [ 2006, '15', '17', '19' ];
          msx.range('a3:d3').value = [ 2007, 33, 15, 13 ];
          msx.range('a4:d4').value = [ 'Summen', '=SUM(B2:B3)', '=SUM(C2:C3)', '=SUM(D2:D3)' ];
          msx.range('b2').NumberFormat = '####.00';
          msx.range('b2').Interior.Color = 'red';
          msx.range('c1:d1').Font.Name = 'Courier';
          msx.range('c1:d1').Font.Color = 'blue';
          msx.range('c1:d1').Font.Size = 12;
          msx.range('c1:d1').Font.Bold = 1;
          layout_sheet.Cells.AutoFitColumns();
        </script>
      </body>
    </html>
    *Reward each useful answer
    Raja T

  • Problem getting output in Excel

    Hi!
    I'm having problems with getting output in excel.
    I generated report that gives me xml and it was ok.
    Then I started concurrent to merge template and this xml and chosed Excel as output.
    When I try to open it in IE all I'm getting is
    End tag 'p' does not match the start tag 'a'. Error processing resource 'http://testserver.hlutrija.hr:8001/OA_CGI/FNDWRR.e...
    <td class="c2"><p class="c8"><a name="Text35" id="Text35"><a name="Text34" id="Text34"><span cla...
    When I try to view output from Firefox(it's more forgiving for incorrect xml then IE) it opened the whole document as a text (no xml, no excel but text - I saw that on a page info).
    Anyway I realized that indeed generated xml wasn't correct since one <a tag wasn't closed.
    But I tried to copy/paste to text editor and save as .xls file and it opened it OK.
    But this certainly isn't the solution you would wan't to offer to a client.
    On this instance XML is 5.0.
    I tried bunch of things to make it open directly in Excel (I believe that then it wouldn't have any problems - ie when I used preview on defining template it offered me to open or save in Excel and I got what I wanted).
    I tried to define Viewer Options (added applications/vnd.ms-excel for XML, HTML, Text Desc: Microsoft Excel), set the profile Viewer:Application for HTML/XML/Text to Microsoft Excel). But that didn't help either.
    I even tried defining new Profile -> Viewer:Application for Excel based on similar Profiles. But this also didn't help.
    Every time the result is the same both in IE(stops because of bad xml) and Firefox (I get bad xml recognized as text).
    On another instance I have xmlp v 5.6.2
    There I have some sample report and sample template.
    When I there try to open output in Firefox once again I get xml recognized as text.
    When I try to open in IE(7.0) I get a page that looks like html in browser.On the Page file menu I have option to edit in Excel. When I choose that it opens Excel but instead of this same page I only get: Authentication failed.
    When I try to save this page it offers me only web formats (whole web page...). But nevertheless I tell it to save like test.xls. It saves ok. But when I try to open it. Excel starts but again all I get is: Authentication failed.
    When I open this in text editor it has only:
    From: <Saved by Windows Internet Explorer 7>
    Subject:
    Date: Thu, 30 Aug 2007 14:28:37 +0200
    MIME-Version: 1.0
    Content-Type: text/html;
         charset="iso-8859-2"
    Content-Transfer-Encoding: 7bit
    X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
    Content-Location: http://server.client.hr:8002/OA_CGI/FNDWRR.exe?temp_id=3132885517
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=Content-Type content="text/html; charset=iso-8859-2">
    <META content="MSHTML 6.00.6000.16525" name=GENERATOR></HEAD>
    <BODY><PRE>Authentication failed.
    </PRE></BODY></HTML>
    I really don't have any more ideas.
    I've searched this forum, metalink, web, but nothing yet helped.
    Can anyone help?

    Is your xml file being generated correctly?
    For the request that you submitted, click the 'View Details' button. If the 'View XML' button is enabled, click that and it will open your XML in a new browser.
    If it's not enabled, the request needs to be changed so its output is XML.
    Not sure if this will help, but at least it will eliminate that there is anything wrong with the file or data.
    Janel

  • Getting output in excel sheet from jsp file

    Hi,
    I am a new programmer. I am trying to get output in excel sheet by clicking a link on page. I have used that 2 statements
    response.setContentType("application/x-download");
    response.setContentType("application/Octet-Stream");
    response.setHeader("Content- disposition","inline;filename=refdsxresults.xls");
    But it is giving an empty excel sheet. I don't know how to put the data in that sheet which is retrieved by using the query below.
    "select p.port_no,p.block_no,p.slot_no,p.channel_no,p.ref_no,"+
    "p.rr,c.card_type,c.work_or_protect,p.port_status_code,p.tr_id,"+
    "p.dest_rr,p.dest_shelf,p.dest_jack,p.mux,"+
    "sid.work_order_number,sid.pon_a,sid.pon_z,"+
    "sid.circuit_id,sid.account_name,sid.account_no,sid.order_no,sid.item_no,"+
    "sid.a_city_code,sid.z_city_code,p.parent_port_no "+
    "from eon_port p,eon_card c,sonet_item_detail sid "+
    "where p.logical_flag='N' and p.card_no*=c.card_no and "+
    "p.current_path_no*=sid.path_no and sid.action!='DISC' and sid.item_status!='CN' "+
    "and p.equip_no="+equipNumber+
    " order by p.ref_no";
    and also can I use the HTML to get this result in the browser. Could you please give an example. I need it urgently.
    Thanks in advance

    In an earlier post, somebody was saying that you can use regular HTML tables to output an XLS file. I've never tried it, so I don't know it to be true, but give it a look:
    http://forum.java.sun.com/thread.jsp?forum=45&thread=407280&tstart=0&trange=15
    If that doesn't work, you can always return a CSV file (comma seperated values).

  • How can I edit excel with my iPad?  Doesn't let me see pivot tables or drill downs...

    How can I edit excel with my iPad?  Doesn't let me see pivot tables or drill downs...

    Read https://discussions.apple.com/thread/4956673?start=0&tstart=0
    Allan

  • How get output generated as csv file  by reading  by buffered reader and wr

    how get output generated as csv file by reading by buffered reader and writer

    String file_location = "C\temp\csv.txt");
    try {
         URL fileURL = getClass().getResource(file_location);
         if (fileURL != null){
              BufferedReader br = new BufferedReader(new InputStreamReader(fileURL.openStream()));
              String s = br.readLine();
              while (s != null)  {
                   if (!s.equals ("")) {
                        System.out.println(s);
                   s = br.readLine();
              br.close();
         else {
              // error
    catch (IOException ex){ex.printStackTrace();}rykk
    Message was edited by: a dummy
    rykk.

  • Performance Issue with Crosstab Reports Using Disco Viewer 10.1.2.48.18

    We're experiencing Performance Issue (retrieving 40000 rows) with Crosstab Reports Using Disco Viewer 10.1.2.48.18 ( > 01 Minute , executing "Building Page Axis" or executing a Refresh).
    Are there parameters to tun (in pref.txt file) , in order to reduce "Building Page Axis" execution ?
    Note : We've got the same performance problem , using Discoverer Desktop 10.1.2.48.18.
    Thank's in advance for your Help.

    Hi
    Well if the same issue occurs in both Desktop and Viewer then you have your answer. It's not the way that Discoverer is running the workbook its the way the workbook has been constructed.
    For a start, 40000 rows for a Crosstab is way over the top and WILL cause performance issues. This is because Discoverer has to create a bucket for every data point for every combination of items on the page, side and top axes. The more rows, page items and column headings that you have, the more buckets you have and therefore the longer it will take for Discoverer to work out the contents of every bucket.
    Also, whenever you use page items or crosstabs, Discoverer has to retrieve all of the rows for the entire query, not just the first x rows as with a table. This is because it cannot possibly know how many buckets to create until it has all the rows.
    You therefore to:
    a) apply sufficient filters to reduce the amount of data being returned to something manageable
    b) reduce the number of page items, if used
    c) reduce the number of items on the side or top axis of a crosstab
    d) reduce the number of complex calculations, especially calculations that would generate a new bucket
    If you have a lot of complex calculations, you should consider the use of a materialized view / summary folder to pre-calculate the values.
    Does this help?
    Best wishes
    Michael Armstrong-Smith
    URL: http://learndiscoverer.com
    Blog: http://learndiscoverer.blogspot.com

  • TS3274 My iPad gets very hot even with short term use. Is this normal?

    My iPad gets very hot even with short term use. Is this normal?

    I assume that you mean your new iPad - the 3rd generation model. No - that is not normal. Some users have reported this issue and it may be that you have a faulty device.
    It may get a little warmer than the previous models of iPads but it should not get "very hot" under any circumstances. Return it - take it to an Apple Store and let a Genius have a look - contact Apple however you need to do so - and let them know about it - but that is NOT normal.

  • How do i share music with 2 iphones using the same apple id?

    how do i share music with 2 iphones using the same apple id?

    Sync them both to the same iTunes music library.  You can also automatically download purchased music to both by going to Settings>iTunes & App Stores and turning Music to On under Automatic Downloads.  If you music is in multiple computers, you can enable Home sharing to share your music library across multiple devices (see http://support.apple.com/kb/HT3819).

  • How can I work lsmw with table control using mm01 appl?

    Hi
    How can I work lsmw with table control using mm01 appl?
    Is it difefrent the way we handle table control in BDC?
    Thank You

    Hi
    How can I work lsmw with table control using mm01 appl?
    Is it difefrent the way we handle table control in BDC?
    Thank You

  • How do I send email with pictures attached, using PSE 9 and Windows 7 ?

    How do I send email with pictures attached, using PSE 9 and Windows 7 ?

    Try email attachment workflow in Organizer. http://tv.adobe.com/watch/learn-photoshop-elements-9/sharing-your-images-via-email/
    Thanks
    Andaleeb

  • How to connect iphone 5 with ipad 2 using Bluetooth? When  I activate Bluetooth both devices search but not listing each other to pair or connect.

    How to connect iphone 5 with ipad 2 using Bluetooth? When  I activate Bluetooth both devices search but not listing each other to pair or connect.

    You can use Photo Transfer App to transfer photos from iPhone to iPad or vice versa using Bluetooth or WiFi
    http://i1224.photobucket.com/albums/ee374/Diavonex/Album%205/3dd129795daebebc4b8 741b057f5f70d.jpg
    http://i1224.photobucket.com/albums/ee374/Diavonex/Album%205/3af5c541040e15e3f6b 3356e4c55cbfc.jpg

  • How to generate a report in Excel with multiple sheets using oracle10g

    Hi,
    I need a small help...
    we are using Oracle 10g...
    How to generate a report in Excel with multiple sheets.
    Thanks in advance.
    Regards,
    Ram

    Thanks Denis.
    I am using Oraclereports 10g version, i know desformat=spreadsheet will create single worksheet with out pagination, but my requirment is like the output should be generated in .xls file, and each worksheet will have both data and graphs.
    rdf paperlayout format will not workout for generating multiple worksheets.
    Is it possible to create multiple worksheets by using .jsp weblayout(web source) in oracle reports10g. If possible please provide me some examples
    Regards,
    Ram

  • How to download output into Excel with Header?

    Dear Friends,
        I want to download a my list output into excel format with <b>Column heading</b>. How will I do this?
        Another question is i want name of database table in Which SAP stores <b>DDIC object name and its property</b>, so that i can write Select * from ' ' where .... For example i have table ZABC with three fields so i need In which table it stores ZABC as table and a table in which it stores Its field name.

    Hi,
    Look at the sample code for Download into Excel.
    data: begin of excel_sum_it occurs 0,
          bukrs(80),
          belnr(80),
          gjahr(80),
          blart(80),
          budat like bkpf-budat,
          monat(80),
          cpudt like bkpf-cpudt,
          cputm like bkpf-cputm,
          usnam(80),
          tcode(80),
          xblnr(80),
          waers(80),
          dwrbtr(25),
          cwrbtr(25),
          end of excel_sum_it.
    data: begin of titles_it occurs 10,
          title(80),
    end of titles_it.
    at user-command.
      case sy-ucomm.
        when 'SUMMARY'.
          perform summary_download.
        when 'DETAIL'.
          perform detail_download.
        when others.
      endcase.
    ******Create one PF-STATUS for one push button for download.
    Before this FM you need to move your date to Execl_sum_it Internal table.
    For example here I used this table for down load.
    *&      Form  summary_download
          text
    -->  p1        text
    <--  p2        text
    form summary_download.
      data: fname like rlgrap-filename value 'Summary_Details.xls'.
      perform fill_titles.
      check not excel_sum_it[] is initial.
      call function 'DOWNLOAD'
           exporting
                filename                = fname
                filetype                = 'DAT'
           tables
                data_tab                = excel_sum_it
                fieldnames              = titles_it
           exceptions
                invalid_filesize        = 1
                invalid_table_width     = 2
                invalid_type            = 3
                no_batch                = 4
                unknown_error           = 5
                gui_refuse_filetransfer = 6
                customer_error          = 7
                others                  = 8.
      if sy-subrc ne 0.
        message e000 with text-e07.
      endif.
    endform.                    " summary_download
    *&      Form  fill_titles
          text
    -->  p1        text
    <--  p2        text
    form fill_titles.
      refresh titles_it.
      concatenate text-h06 text-h16 into titles_it-title
                                          separated by space.
      append titles_it.
      concatenate text-h07 text-h17 into titles_it-title
                                          separated by space.
      append titles_it.
      concatenate text-h08 text-h18 into titles_it-title
                                          separated by space.
      append titles_it.
      concatenate text-h07 text-h19 into titles_it-title
                                          separated by space.
      append titles_it.
      concatenate text-h09 text-h20 into titles_it-title
                                          separated by space.
      append titles_it.
      concatenate text-h08 text-h21 into titles_it-title
                                          separated by space.
      append titles_it.
      concatenate text-h11 text-h22 into titles_it-title
                                          separated by space.
      append titles_it.
      concatenate text-h11 text-h23 into titles_it-title
                                          separated by space.
      append titles_it.
      concatenate text-h12 text-h24  into titles_it-title
                                          separated by space.
      append titles_it.
      concatenate text-h13 text-h25 into titles_it-title
                                          separated by space.
      append titles_it.
      concatenate text-h07 text-h26 into titles_it-title
                                          separated by space.
      append titles_it.
      concatenate text-h13 text-h28  into titles_it-title
                                          separated by space.
      append titles_it.
      concatenate text-h14 text-h27 into titles_it-title
                                          separated by space.
      append titles_it.
      concatenate text-h15 text-h27 into titles_it-title
                                          separated by space.
      append titles_it.
    endform.                    " fill_titles
    ***Here in the FILL_TITLES you give you own HEADER .
    Thanks.
    If this helps you reward with points.

Maybe you are looking for

  • I book the app has disappeared off my screen.  How do I reinstall it?

    i book the app has disappeared off my screen.  How do I reinstall it?

  • HT204380 Apple ID Issue

    I am unable to use facetime on my itouch with this apple id because it keeps saying that my password is incorrect. I chose to reset through email but no email has been sent. Help!

  • DOWN LOAD ERROR 101

    I CAN NOT GET TRIAL VERSION OF PHOTO ELEMENTS 12 TO DOWNLOAD, I GET ERROR (101)??

  • Gradient mesh dying, CS 6 gradient stroke gonna take over?

    Hi just wondering, I had a look at the CS6 sneak peek video and thought to myself will there be any use for a gradient mesh now since you can use  a gradient stroke to fill in colors to the contours of a shape? Anyone played around with it enough to

  • Update Killed my Keyboard?

    I just performed the most recent Security Update on my iMac G5. Everything seemed okay, but then I realized I couldn't type an "m", or an "i", or any letter on the right half of the keyboard. I couldn't type my password to try and reinstall the updat