How to generate an Excel Work BOOK not worksheet?

I am comfortably able to generate Excel worksheet with the data in the JSP with the help of database. Now I have a case where I need to execute different SQLs in database and show the generated results in different worksheets of a single WORKBOOK. How I can accomplish this task with a JSP?
Any suggestions are most welcome.
Thanks.
Nagesh.

Look at the POI projeck under Jakarta. You can generate worksheets or workbooks using pure Java.

Similar Messages

  • How to generate XML data from Lotus Notes to migrate to SharePoint by passing XML to SharePoint.?

    How to generate XML data from Lotus Notes to migrate to SharePoint by passing XML to SharePoint.?
    Ramesh S

    You could use XMLQuery to return the data from your tables as XML, that would give you a CLOB.
    An example using the SCOTT schema might be like this:
    SELECT XMLQuery(
             'for $i in ora:view("DEPT")/ROW
              return <Department dname="{$i/DNAME}">
                     <Employee>
                       {for $j in ora:view("EMP")/ROW
                        where $j/DEPTNO eq $i/DEPTNO
                        return ($j/ENAME, $j/JOB, $j/SAL)}
                     </Employee>
                     </Department>'
             RETURNING CONTENT) FROM DUAL;In the docs you can find more information about its use:
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10492/xdb_xquery.htm

  • How to generate an excel spreadsheet from an Oracle Application forms runni

    I need URGENT generate an Excel spreadsheet with rows and columns populated from a forms that is running on Oracle Application R11.5 and open this worksheet for the User save.
    I want to include a PL*SQL code on a button and this button to run the spreadsheet open save for the User.
    Sorry my poor English, thanks for the comprehension

    909356 wrote:
    I need URGENT generate an Excel spreadsheet with rows and columns populated from a forms that is running on Oracle Application R11.5 and open this worksheet for the User save.
    I want to include a PL*SQL code on a button and this button to run the spreadsheet open save for the User. This functionality is already available in the application (File > Export) and you do not need to write a code to do that.
    How To Export Form Data To a CSV Format File [ID 779079.1]
    How To Setup Action Export Functionality in Release 11i [ID 136074.1]
    Thanks,
    Hussein

  • How To display Graphs in work book

    Hi Xpertz
    Could any one explain me how can i display graps in work books i mean i want the data disply in sheet one and graph display in the sheet two.say row in x axis and columns in Y axis..
    Ny suggestion..
    Thanx in Advance.
    With regards
    RMK
    **No need to say right answers will get full pointz**

    Hi,
    Slect the only Result area (including headers of rows and columns) and click 'chart Wizard' on excel tool bar..then foloow the steps to finish the graph..depending on selection in chart wizard,you can arrange data..Preview shows how your chart looks like...
    in the chartwizard,you have the option to display Graph in different sheet(you can select the sheet from dropdown box..),arranging rows and columns as required...etc
    regards
    Message was edited by: Murali

  • How can i Modify my Work book

    hi
    I have work book and i have to modify that work book (just like that i have to add a field it is not available in that work book how can i add)

    HI,
        If you want to add something change the workbook into design mode (in the toolbar first icon) and insert wht ever u require. If you want to replicate the changes of query in Work book , refresh the workbook if still still didnot reflect please rebrowse the query.
    Can you please tell  what you want to change in workbook.
    Let me know if you have any questions.
    Regards
    Suvarna

  • How to import attachment into Address Book "Notes" field

    Is it possible to import an attachment into the Address Book "Notes" field? Jpg, PDF, pages doc, whatever...? Don't really care if the file is "visible" (IE if photo, can actually SEE photo)... a clickable icon would be fine.
    Thanks
    Ian

    Hi and Welcome to the Forums!
    I'm not aware of any direct connector provided by RIM for this purpose. They do supply an ASCII/CSV import capability...see this KB:
    KB11194 How to import contacts from an CSV file to the BlackBerry device
    You'd have to find out from AOL how to get your contacts exported to an ASCII or CSV file.
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How to inser queries in work book in BI7

    Hi Experts,
    Can you please explain the steps to insert queries in different worksheets in BI7 Bex Analyser?
    Thanks,
    DV

    Hi,
    Follow the below steps to insert multiple queries in one work book.
    1. First run one query in analyzer, once you get the output just click on Design mode.
    2. Place the cursor where ever you want to insert new query and click on Analysis Grid.
    3. Once Analysis Grid inserted in desired cell, By double clicking on analysis grid goto properties-->Create Data provider from General tab.
    4.To Assign query to this analysis grid click on Assign Query / Query View
    5.Select new query from the new dialog box and click on Open
    7. Click again OK on the properties screen.
    6.To refresh workbook on open select "Refresh Workbook on Open" option from workbook settings.
    Hope is helps...
    regards,
    Raju

  • How to check any URL working or not through Java Code

    Hi,
    Is there any way by which i can check whether any particular URL is working or not using JAVA..
    Thanks in advance......
    AJ09

    Especially for POSTs, I would use HTTPClient: [http://hc.apache.org/httpclient-3.x/]
    For simple GETs, you could just create the URL and then see if openStream works.

  • How to generate an excel sheet for Quality Assurance- Audits via netweaver

    hi,
    i am trying to generate an audi report via NWDI (sp19). Here when i generate audit using context menu->Quality Assurance->Audits I see the errors and warnings. Now my problem is that I want to save this report in the excel format . By default I only see the html format.
    So how do I generate the report in excel format . Is there any plugin for the same ?
    Any help is greatly appreciated..
    Regards,
    Vishal.

    You'll probably get more help posting this in the SQL*Loader forum.. Export/Import/SQL Loader & External Tables
    Hope it helps,
    Greg

  • How to generate an EXCEL file using module parameter??

    Hi,
    I ha ve a file to file scenario, where the output file format will be EXCEL. I know this is possible using Module Parameters. But I can't find a helpful blog.
    So please help me. Its urgent.
    Thanks in advance,
    Dwaipayan De

    Hi,
    Now excel file is generating. But the file is containing only the header part. I have used the following XSLT code :-
    <?xml version="1.0" encoding="utf-8"?>
    <?mso-application progid="Excel.Sheet"?>
    <xsl:stylesheet version="1.0"
    xmlns:html="http://www.w3.org/TR/REC-html40"
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
        xmlns="urn:schemas-microsoft-com:office:spreadsheet"
        xmlns:o="urn:schemas-microsoft-com:office:office"
        xmlns:x="urn:schemas-microsoft-com:office:excel"
        xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
        <xsl:template match="/">
            <Workbook>
                <Styles>
                    <Style ss:ID="Default" ss:Name="Normal">
                        <Alignment ss:Vertical="Bottom" />
                        <Borders />
                        <Font />
                        <Interior />
                        <NumberFormat />
                        <Protection />
                    </Style>
                    <Style ss:ID="s21">
                        <Font ss:Size="22" ss:Bold="1" />
                    </Style>
                    <Style ss:ID="s22">
                        <Font ss:Size="14" ss:Bold="1" />
                    </Style>
                    <Style ss:ID="s23">
                        <Font ss:Size="12" ss:Bold="1" />
                    </Style>
                    <Style ss:ID="s24">
                        <Font ss:Size="10" ss:Bold="1" />
                    </Style>
                </Styles>
                <Worksheet ss:Name="Page1">
                    <Table>
                        <xsl:call-template name="XMLToXSL" />
                    </Table>
                </Worksheet>
            </Workbook>
        </xsl:template>
        <xsl:template name="XMLToXSL">
            <Row>
                            <Cell>
                                <Data ss:Type="String">SupplyOfficeCode</Data>
                            </Cell>
                            <Cell>
                                <Data ss:Type="String">WorkOrderNo</Data>
                            </Cell>
       <Cell>
                                <Data ss:Type="String">ApplicationNo</Data>
                            </Cell>
       <Cell>
                                <Data ss:Type="String">ApplicationType</Data>
                            </Cell>
                            <Cell>
                                <Data ss:Type="String">ApplicantName</Data>
                            </Cell>
                            <Cell>
                                <Data ss:Type="String">DateOfIssueOfWO</Data>
                            </Cell>
                            <Cell>
                                <Data ss:Type="String">ApplCreationDate</Data>
                            </Cell>
                            <Cell>
                                <Data ss:Type="String">WorkOrderStatus</Data>
                            </Cell>
                            <Cell>
                                <Data ss:Type="String">DateOfCanOfWO</Data>
                            </Cell>
            </Row>
            <xsl:for-each
                select="//Record">
                <Row>
                    <Cell>
                        <Data ss:Type="String">
                            <xsl:value-of select="SupplyOfficeCode" />
                        </Data>
                    </Cell>
                    <Cell>
                        <Data ss:Type="String">
                            <xsl:value-of select="WorkOrderNo" />
                        </Data>
                    </Cell>
      <Cell>
                        <Data ss:Type="String">
                            <xsl:value-of select="ApplicationNo" />
                        </Data>
                    </Cell>
      <Cell>
                        <Data ss:Type="String">
                            <xsl:value-of select="ApplicationType" />
                        </Data>
                    </Cell>
      <Cell>
                        <Data ss:Type="String">
                            <xsl:value-of select="ApplicantName" />
                        </Data>
                    </Cell>
      <Cell>
                        <Data ss:Type="String">
                            <xsl:value-of select="DateOfIssueOfWO" />
                        </Data>
                    </Cell>
      <Cell>
                        <Data ss:Type="String">
                            <xsl:value-of select="ApplCreationDate" />
                        </Data>
                    </Cell>
      <Cell>
                        <Data ss:Type="String">
                            <xsl:value-of select="WorkOrderStatus" />
                        </Data>
                    </Cell>
      <Cell>
                        <Data ss:Type="String">
                            <xsl:value-of select="DateOfCanOfWO" />
                        </Data>
                    </Cell>
                </Row>
            </xsl:for-each>
        </xsl:template>
    <xsl:template match="GetWorkOrderDetailsinEXCEL">
    </xsl:template>
    </xsl:stylesheet>
    In the communication channel, full message is passing(including header and body part). But when the excel file is generating, it is containing only the header part. No message body is present there.
    Please help me to solve this proble.
    Thanks and Regards,
    Dwaipayan De

  • How to check / internet is working or not?

    i need to execute a line of code in java console application only and only when internet is working ie i can access the google page
    to check the internet connection , i try below code,,
    try
            URL url = new URL("http://google.com/");
               URLConnection connection = url.openConnection();
               connection.connect();
            catch( Exception ex)
                // connection can not be established
            }but here, when internet is working, try block successfully execute . when internet is down , it throw an exception on Connection.connect() ,
    connect() is void type , it is not returning anything, that's why i can not handle it.... is there any other way , where i get true or false or any number , when internet is ok, ie www.google.com is responseing..

    rohit pathak wrote:
    iwhen internet is down , it throw an exception on Connection.connect() ,
    connect() is void type , it is not returning anything, that's why i can not handle itWhen an exception is thrown, you have two choices:
    1) Catch it and actually handle it. This means whatever failed, you have to make it work. Maybe by trying again, maybe be providing a default value.
    2) If you cannot to #1, then you should not catch the exception in the first place. Or, if you do catch it, wrap it and rethrow it.
    So, for example, in your case, if your code is:
    Establish connection.
    Use connection.If the "establish" part fails, you obviously can't do the "use" part, and this overall task has failed. That happens sometimes.

  • Activation of BW Production Objects and Transport of Queries and Work books

    Hi,
    I have successfully transported 0FIGL_1 InfoCube (only in Data Flow Before) from BW DEV to BW Production...
    But In BW Production This Cube and InfoSources and Update rules and InfoObects are all in inactive...
    What to do?..
    Please tell me step by step procedure.....
    and also suggest me on how to transport Queries and work books related to My 0FIGL_1 Cube...
    Please tell me all step by step procedure...
    Help will be greatly appreciated..
    This is very urgent
    Thanks in advance...

    Hi,
    May be you are telling is correct but i am unable to follow..
    Please correct if my understanding is wrong....
    1. I have Created one BEx Truck Request...it is not Released so far..So, it is there in SE09 of BW DEV
    2. Selected Queried and work books --- Grouping --- Only necessary objects -- Collection mode -- automatic...(Default all queries and workbooks selected as check box)
    3. Click Transport truck (Which is beside of Grouping Option)..
    4. Created one request and then released... But not imported into BW Production..
    5. Now I have modified all the queried (Change text)
    6. RSA1 -- Transport connection -- Selected modified queried...
    7. Grouping only necessary objects and collected mode --automatic...
    8. Selected modified queries and dragged into right side...
    My question here is they are not checked check box under transport?...shall i check it?
    Shall i release Old BEx Request? and then before transporting these new modified queries Create another BEx Request?
    or else..
    Create new request for modified Queries? and then transport?
    Now the situation is i have already created transport request for modified queries..What to do? shall i release them also?...
    Pls suggest me....

  • How to save an Excel file to the desk top

    How can I save an Excel file to the desk top?

    Hi Tim!
    There's a whole bunch of entries that come up when I open terminal and key in the command you gave; here's what is shown:
    Davids-Mac-Pro:Desktop pdf3$ ls -ale ~
    total 38384
    drwxrwxrwx+  41 pdf3  admin      1394 Nov  2 09:12 .
    0: group:everyone deny delete
    drwxr-xr-x    6 root  admin       204 Sep 19 14:58 ..
    -rw-rw-rw-    1 pdf3  admin         3 Jan 24  2012 .CFUserTextEncoding
    -rw-rw-rw-@   1 pdf3  admin     39940 Nov  3 10:48 .DS_Store
    drwx------    2 pdf3  admin        68 Nov  6 09:02 .Trash
    drwxrwxrwx    3 pdf3  admin       102 Feb  1  2012 .adobe
    -rw-rw-rw-    1 pdf3  admin       302 Nov  6 09:20 .bash_history
    drwxrwxrwx    6 pdf3  admin       204 Dec 31  2013 .blurb
    drwxrwxrwx    3 pdf3  admin       102 Oct 21  2012 .config
    drwxrwxrwx    3 pdf3  admin       102 Jan 27  2012 .cups
    drwx------    7 pdf3  admin       238 Jul 26 20:36 .dropbox
    drwxr-xr-x    4 pdf3  admin       136 Dec  7  2013 .fontconfig
    drwxrwxrwx    3 pdf3  admin       102 Mar 17  2012 .nchsoftware
    -rw-rw-rw-@   1 pdf3  admin        17 Oct 21  2012 .vbftpxmn
    -rw-r--r--@   1 pdf3  admin   1315548 Sep  3  2013 2014 Bellevue SW Collection Contract 04 15 2013 draft for RFP.pdf
    drwxrwxrwx    2 pdf3  admin        68 Sep 21 11:04 Applications
    -rw-r--r--@   1 pdf3  admin    326665 Aug 30  2013 Bellevue Reliability Report 2012 042613 Final-1.pdf
    -rw-r--r--    1 pdf3  admin      6737 Sep 25  2013 Bellevue Reliability Report 2012 042613 Final.txt
    -rw-r--r--@   1 pdf3  admin     35892 Oct 30 22:15 Bellevue Utility Bills, 2015-16.xlsx
    drwxrwxrwx@   3 pdf3  admin       102 Aug 16 14:52 Burn Folder.fpbf
    -rw-rw-rw-@   1 pdf3  admin     25989 Jun 18  2012 Concerns Expressed to City of Bellevue Regarding Approval of.pdf
    -rw-r--r--@   1 pdf3  admin    165592 Sep  5  2013 David's Autobiography copy.pdf
    -rw-r--r--@   1 pdf3  staff     34836 Jul 26 21:21 Deck Repair, 2014.xlsx
    drwx---rwx@  35 pdf3  staff      1190 Nov  5 12:54 Desktop
    0: group:admin allow list,add_file,search,add_subdirectory,readattr,writeattr,readextattr,writeextat tr,readsecurity
    -rw-r--r--@   1 pdf3  admin    111548 Nov 15  2013 Document2.pdf
    drwx------+  18 pdf3  staff       612 Nov  5 11:43 Documents
    0: group:everyone deny delete
    drwx------+ 494 pdf3  staff     16796 Nov  2 22:09 Downloads
    0: group:everyone deny delete
    drwxr-xr-x    2 pdf3  admin        68 Nov  1 11:54 Excel Work Book
    drwxr-xr-x    2 pdf3  admin        68 Oct 31 20:42 Excel Workbooks
    -rw-rw-rw-@   1 pdf3  admin  16862554 May 29  2012 Group Shot.psd
    drwx------@  53 pdf3  staff      1802 Sep 19 15:17 Library
    0: group:everyone deny delete
    drwx------+   6 pdf3  staff       204 May 28  2013 Movies
    0: group:everyone deny delete
    drwx------+   8 pdf3  staff       272 Feb 24  2014 Music
    0: group:everyone deny delete
    -rw-rw-rw-@   1 pdf3  admin    117444 Jul 21  2008 P6M-2 In Close copy.jpg
    -rw-r--r--@   1 pdf3  admin     46473 Aug 16 14:50 PW-M-1 Overlay Budget.xlsx
    drwx------+  65 pdf3  staff      2210 Nov  5 11:43 Pictures
    0: group:everyone deny delete
    drwxr-xr-x+   5 pdf3  staff       170 Jan 24  2012 Public
    0: group:everyone deny delete
    drwxr-xr-x    6 pdf3  admin       204 Mar 10  2014 Sound Transit Bel-Red Cost Estimate
    drwxr-xr-x   34 pdf3  admin      1156 Sep 21 09:24 WW II Songs & Opera #1
    -rw-r--r--@   1 pdf3  admin    172859 Feb 25  2014 photo 1.JPG
    -rw-r--r--@   1 pdf3  admin    172859 Feb 25  2014 photo 3.JPG
    Davids-Mac-Pro:Desktop pdf3$
    I have no idea what all this stuff means, but I've done a 'disk verify' for both my drives, and the results indicated they were both 'OK'.Dave P.

  • How to extract the excel file using web dynapro

    Hi Expert,
       I want to know how to generate an excel file to extract the internal  data. Please give me your help.
      Thanks in advance.

    I think you you can use File download UI element. Refer following link for more info:
    [FileDownload|http://help.sap.com/saphelp_tm60/helpdata/en/09/a5884121a41c09e10000000a155106/content.htm]
    Regards,
    Saket

  • I bought Numbers because my Excel files would not work with Mavericks. How can I import a non-functioning Excel file into numbers? (As of now, the file NAME transfers but data is not.) but

    I bought Numbers because my Excel files would not work with Mavericks. How can I import a non-functioning Excel file into numbers? (As of now, the file NAME transfers but data does not.)

    HI Dave,
    I'm surprised you get no message when you attempt opening the Excel document in Numbers.
    I'm assuming Numbers 3.1, since you are running Mavericks.
    Does the Numbers file that opens show any content?
    Does it contain a table?
    How large?
    Does it contain more than one tab (indicating more than one sheet)?
    Do those other tabs contain a table?
    Have you checked those tables for data content?
    There have been cases in the past of imported documents opening with white text on a white background, giving the appearance of containing nothing. Check for this by selecting a block of cells, then applying a Fill colour or a Text colour using the Format button (paintbrush).
    I'd also suggest attempting to open the Excel files using LibreOffice, which can be downloaded from the linked website.
    Regards,
    Barry

Maybe you are looking for

  • SSO and ABAP Web Services

    I am opening this thread on behalf of my colleague Bala regarding SSO and ABAP Web Services. We have gone through single sign on options and found several options are available within 5.0. We would like to know the options available for SAP ABAP web

  • I imported my itunes folder from an external drive on a freshly wiped computer. My playlists and ratings did not copy over. how can I fix this?

    i imported my itunes library from a backup drive after i reinstalled windows on my machineby copying the itunes folder from the backup to the my music folder on my c drive. when i opened itunes and imported the library the playlists and ratings were

  • Trying to connect LG Muziq to MacBook

    I have recently switched over to the world of Mac, after having been away from all things Apple for the past decade. I always liked Apple products, but I valued compatibility over quality when I went off to college back in the 90's. So I have a new M

  • Word doc to ebook questions

    Hi, I'm close to finishing the last edits on volume 1 of my 'grand epic' . It's in Word. At the moment it's formatted for print, but once the edits are done I want to format a copy for ebook. I haven't used a traditional chapter structure; the book h

  • Can I define an RFC with multiple desitinations?

    I am working on intergration between SAP and JAVA, I am have to call RFC to get the pricing of a each lineitem from Java instead of getting from SAP Condition types while creating as Sales order. I have defined one RFC to connect to Java server progr