Generating excel with more than one tab

Hi,
I would like to ask if anyone of you know how to generate excel file from Oracle Reports with more than one tab? Is it possible? If yes, can you provide me some references on how to do it. Thanks in advance.

Hi,
Do this:
1. Create an Excel file, put some dummy data in 2 or more worksheets. Save as HTM. This will create one main HTM file, and some sub-files under a folder. One HTM sub-file will be created per worksheet. In addition, one XML sub-file (called filelist.xml) and some other sub-files will be created. (you have already done this)
2. Open one of the HTM sub-files in reports builder, and follow the steps shown in the Excel Demo on OTN to insert data in this file at appropriate place, and save as JSP.
http://otn.oracle.com/products/reports/htdocs/getstart/demonstrations/excel/index.html
3. You can repeat this step for all worksheets. So finally you will get one JSP file per worksheet.
5. Now open the main file in reports builder, and add the Excel contentType element at the top
     <%@ page contentType="application/vnd.ms-excel; charset=windows-1252" %>
6. In this file, search for the following tag
     <x:WorksheetSource HRef="./filename_files/sheet001.htm"/>
Note that instead of filename_files you will have your own file name
Change this tag as following:
     <x:WorksheetSource HRef="./filename_files/sheet001.jsp?userid=scott/tiger@myDb"/>
Note that in userid, you must provide your own DB connect string
7. Additionally, change ALL references to sheet001.htm in this file to sheet001.jsp
Do steps 6 and 7 for sheet002.htm, sheet003.htm, and so on (if needed).
8. Open filelist.xml (you will find this file inside the folder that contains sub-files). Here, too, change all references to JSP instead of HTM
9. Now place the main JSP file as well as the folder containing all sub-files inside your J2EE deployment folder. Run the main JSP file. This will run the associated JSP files (the worksheets).
This will do the trick.
If you are worried about placing the USERID information inside your JSP code, then you can use CGICMD.DAT file, and place the userid there.
Navneet.

Similar Messages

  • Open firefox with more than one tab?

    Can I open firefox with more than one tab?

    Several ways. Look at the tab line. do you see the '''+''' at the end? Also,
    '''''Firefox > New Tab > New Tab'''''
    or if you have the tool bar, '''''File > New Tab'''''.

  • Post document to content library with more than one tab

    Hi
    In BPC 7.0 I have been trying to post an html file (converted from an excel file with several tabs) to the content library, but when previewing or trying to open the document it shows "The page cannot be found... HTTP error 404 - File or directory not found."
    Saving other files with just one tab or word documents is no problem.
    Thanks for any advice.
    Regards
    Melanie

    Hi Ulrike,
    If the problem only comes from Excel files having more than one tab, you should raise this to support, as it could represent a potential bug.
    When opening your message, do not forget to provide:
    - BPC version and Service pack
    - SQL server version and service pack and Cumulative update
    - Multi or single environment
    - Try to reproduce the same problem into ApShell, and attach a step-by-step document to the ticket. Support will always ask you for that.
    Kind Regards,
    Patrick

  • With more than one tab open in private browsing, how do I leave private browsing all at once?

    Before the latest Firefox update I was able to close a private browsing session by selecting the STOP menu item and checking the appropriate selection in a pop up dialogue box. Now, when I have more than one tab open in private browsing, I can't end the session by selecting STOP. The dialogue box opens and offers a START option instead of a STOP option. The same is true using CONTROL+SHIFT+P. To work around the situation I need to close all but one tab and then stop the session. I want to go back to the way it was before the update and opt out of a private session entirely, regardless of how many windows or table are open, with the former two-step process.

    Create a new profile as a test to check if your current profile is causing the problems.
    See "Basic Troubleshooting: Make a new profile":
    *https://support.mozilla.com/kb/Basic+Troubleshooting#w_8-make-a-new-profile
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.
    If that new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.
    See:
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • How to find all generated profiles (with more than one nomenclature)

    Hello all,
    I have an Solution Manager 4.0 system and I want to find out:
    a. all sap profiles created via SU02 (not generated profiles)
    b. all generated profiles
    b. all generated profiles with user assignment
    Initially I extracted values from tables UST10C and UST10S for single and comp. profile information. For profile assignment, I searched UST04. But then I realized that generated profiles don't follow a standard nomenclature. Some start with T-54, some with T-56, then T-AA, T-MW [now there some T_MW profiles created via SU02 ]
    Can anyone help me here please?
    Thanks and regards,
    Sundar.

    Hi Sundar,
    please check table USR10.
    The interesting field for you is USR10-Typ.
    Field value meanings:
    C    Composite Profile 
    G    Generated Profile 
    S    Single profile   
    b.rgds, Bernhard

  • How do I merge multiple Excel files with more than one tab in each file using PowerQuery?

    Hello
    I have 12 Excel (.xlsx) files and each file has three identically named and ordered tabs in them. 
    I know how to merge multiple Excel files in a folder using M (those guides are all over the web) but how do I merge multiple Excel files with multiple (yet identically named and ordered) tabs? Surely it is possible? I just don't know how to do it in M.
    Cheers
    James

    What Laurence says is correct, and probably the best thing to do when the sheets have differing structures. Here is an alternate approach that works well when the sheets all have the same structure.
    When you first open the Excel file from Power Query, you can see its structure in the navigator at the right-hand-side of the screen. If you select the root (which is the filename itself) and click Edit, you'll see all the tabs in the sheet as a single table.
    You can now do filtering based on the Name, Item and Kind values. When you've reduced the set of things down to the sheets you want, select the Data column and say "Remove Other Columns". If the sheets don't have any header rows, you can just click the expand
    icon in the header and you'll be done.
    Otherwise, if the sheets have headers or if some other kind of sheet-level transformation is required against each sheet before doing a merge, you'll have to write some M code manually. In the following example, each sheet has a header row consisting of
    two columns: Foo and Bar. So the only step I need to perform before merging is to promote the first row into a header. This is done via the Table.TransformColumns operation.
    let
        Source = Excel.Workbook(File.Contents("C:\Users\CurtH\Desktop\Test1.xlsx")),
        RemovedOtherColumns = Table.SelectColumns(Source,{"Data"}),
        PromotedHeaders = Table.TransformColumns(RemovedOtherColumns,{{"Data", each Table.PromoteHeaders(_)}}),
        ExpandData = Table.ExpandTableColumn(PromotedHeaders, "Data", {"Foo", "Bar"}, {"Data.Foo", "Data.Bar"})
    in
        ExpandData

  • How to generate a certificate request with more than one OU?

    We're using Sun Java System Web Server 6.1 SP4. The Corp. has it's own CA and organize their certificates in a hierarchical rule with more then one organization unit (OU) in a chain.
    So what we need is generate a certificate requeste with more than one OU, but the Web Server wizard has only one text field for it. We've already tried to fill in this field the complete chain of OUs like "ou=orgX, ou=deptY, ou=secZ" and didn't work either.
    Thank's in advance,
    Jeff!

    Do you have tried with the command line "certutil" ?
    #<SERVER-ROOT>/bin/https/admin/bin/certutil

  • When I open more than one tab with ikls.ru web site - safari freeze immediately.

    I have a Lion OS and all updates. When I open more than one tab with ikls.ru web site - safari are freezing immediately.

    In safe mode the same problem in Safari. And I couldn't enable the guest account. You can see an attached pic. It's in Russian, but I think it's clear. I took a pic in a safe mode, but in normal mode it's the same.

  • I accidently closed my window with all my app tabs, now the only window that opens was a 2nd one I had open. How do I get back all my app tabs from the previous window, and why didn't it give me the usual warning you are closing more than one tab?

    I accidently closed the window with all my frequently used app tabs, now the only window that opens was an extra one I had opened. How do I get back all my app tabs from the previous window, and why didn't it give me the usual warning you are closing more than one tab? edit
    Details

    Then the (App) tabs from that window are lost unless you can restore an older copy of the sessionstore.js file (Time Machine?) that has that lost window.
    *http://kb.mozillazine.org/sessionstore.js

  • How do you position tags in a spreadsheet? Can I eSign more than one tab in a spreadsheet?

    How do you position tags in a spreadsheet? Can I eSign more than one tab in a spreadsheet?

    Using text tags
    https://workspaces.acrobat.com/app.html#d=Bi-SZ3cbVCHwiWBBp-7G7g
    but spreadsheets are quite difficult to predict as they don't typically have a page size defined. If you can do this in Word it'll be easier.
    or convert to pdf before uploading to EchoSign.
    You an upload a spreadsheet with multiple tab and place tags on each tab and all will get converted.

  • Why can I no longer open more than one tab in Firefox? Has Firefox been saboutaged by an update by Microsoft?

    I have been using Firefox for over 2 years and like the (unreliable) Windows Explorer before it I took for granted the ability to open multiple tabs. 2 days ago my computer downloaded some updates (even though I try to stop it) and after the compulsary restart I cannot open more than one tab in Firefox, even though the browser apparently invites me to. Is this an attempt by Microsoft to saboutage Firefox to build up support for its own product?

    Not Microsoft, it is the Ask toolbar. Try uninstalling the Ask toolbar and it should work again. There is a compatibility issue with the Ask toolbar and the current version of Firefox.

  • Firefox will not load pictures, videos or more than one tab at a time. Help!

    Hi there,
    I have reinstalled Firefox 3.6 a few times, but it doesn't seem to fix the problem. When I try and load a site with pictures, videos (such as YouTube, but including a blog post with pictures), or more than one tab at a time, I just get "Untitled" tabs that don't even register the address. This happens especially when clicking to open a link in a new tab from a Google Reader.
    At this point too, a lot of pages will not load correctly; even Firefox Help as it turns out!

    Sorry there is no telephone support. You could try the IRC if you want a quick response, ( whilst it is [https://support.mozilla.com/en-US/kb/ask open] )
    Firefox 4 is not supported, but firefox 3.6 is
    * see [[installing a previous version of firefox]]
    There is a change to a preference which may help, post back with more details of your problems please.

  • Reversing Landed Cost document with more than one vendor

    Hi Experts,
    Reversing Landed Cost document with more than one vendor:
    My client can reverse a landed cost document with One Vendor, but cannot with multiple vendors. I have also tested this in 8.8 PL10. Here is a brief description:
    Created Landed cost by selecting 2 vendors in the Vendor field.
    After you picked one vendor, you go to the vendor code/name again then choose another vendor you
    need, once you picked, the system will ask you whether you want to delete the previous data, then
    you say no, after then you will see the vendor name became "different vendors" and code be "********"
    (on the vendor tab: you will see two vendors)
    To Reverse Landed Cost we do the following with Landed Cost documents that only have one vendor:
    I can copy from the Landed Cost document (on the right-bottom corner) while creating new one with
    zero amount to reverse, which is ok; but for multiple vendors, the list of vendors onlyshows one of
    the vendors for Good Receipts & Landed Cost.
    Cannot copy from a Landed Cost document wioth more than one vendor to reverse this Landed Cost.
    To be albe to copy from a previously created Landed Cost document (with multiple vendors) as you
    can with one vendor to reverse the transaction.
    Can this functionality be added to future versions?

    Take a look at business area and groupings in they payment program settings...
    I am not sure what version you are on but the following link for 4.7 should provide some valuable information...
    http://help.sap.com/saphelp_47x200/helpdata/en/01/a9be64455711d182b40000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/01/a9be64455711d182b40000e829fbfe/frameset.htm
    Grouping Open Items and Individual Payments
    Wherever possible, the payment program will always group items together for payment.
    The payment program can only group together open items for payment if the open items in an account have the same:
    1. Currency
    2. Payment method in the item
    3. Bank in the item
    4. Contents of the grouping fields (if a grouping key is specified in the customer or vendor master record)
    You can also pay open items from different company codes together, as well as customer and vendor line items.
    Items in an account are not grouped together if you:
    1. Make payments separately per business area. This procedure entails separate payments being created per business area.
    2. Want to make individual payments
    Items in which a payment method is specified are not grouped with items in which no payment method is specified.
    You define the required grouping key in the IMG for Financial Accounting under Accounts Receivable and Accounts Payable -> Business Transactions -> Outgoing Payments -> Automatic Outgoing Payments -> Payment Method/Bank Selection for Payment Program -> Define Payment Groupings.
    In our system, if the business area is the same, there will be one ZP document with one line with a posting key of 25. Otherwise there will be many individual 25 posting key lines with.

  • How do I tell FiIrefox to only restore a sesson of more than one tab, and disregard the restore of a single tab session (ie. closing the browser)

    I am on the beta channel of Firefox (currently 17.0, by the about window) and I cannot seem to find a way to limit the size of a browsing session that is automatically restored when re-opening the browser. In the past, Firefox would only save sessions of more than one tab when closing the entire application, and ask me about restoring said session when restarted. Now, Firefox seems to treat a session of just a single tab the same, which is a preference I dislike, given that I use a blank start page to great effect.
    I am using a number of addons, including Tab Mix Plus, which specifically modifies tab behavior (although I have it configured to use Firefox's default session manager), but the problem persists even with all addons disabled.
    I cannot seem to find an option in about:config to change this behavior. Is this a permanent change within Firefox, and if so, is there or will there be an option to specify the number of tabs that constitute a session that will be automatically saved?

    Make sure that Firefox closes properly to prevent session restore from restoring a crashed session.
    *"Hang at exit": http://kb.mozillazine.org/Firefox_hangs
    *"Firefox hangs when you quit it": https://support.mozilla.org/kb/Firefox+hangs
    Use "Firefox/File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit") to close Firefox if you are currently doing that by clicking the close X on the title bar.

  • After using Tab Groups earlier today, now anytime I close FF with more than 1 tab open, FF does NOT ask me to confirm before closing

    After using Tab Groups earlier today, now anytime I close FF with more than 1 tab open, FF does NOT ask me to confirm before closing. FF always has asked me to confirm in the past and no settings were changed prior to trying the Tab Groups. Then when I reopen FF all the tabs that I had open are still there. I've tried refreshing FF and clearing history but that didn't work. It's almost as though FF thinks the window and tabs I have open are a tab group and it won't let me get rid of that group. How do I stop the Tab Groups now that I got them? Or is there something else going on? None of this was happening until I played with the Tab Groups this morning. I was curious what it was --- that's going to get me killed one of these days lol.

    Thanks. Somehow the "Show my windows and tabs" box had gotten checked. I know I didn't check that box and the "Warn me when closing multiple tabs" box has always been checked. Like I said, it was all working fine until I tried the tab groups so I'm wondering if maybe that checks the "Show my windows and tabs" box by default?
    Anyway, it's fixed now. Thanks so much!

Maybe you are looking for

  • My Ipad2 no longer connects to my hotspot on my Iphone 4

    It worked for about a week and then stopped connecting to my hotspot and then I tried with my husbands iphone and it also would not connect but the ipad will connect to my home wifi. Any suggestions???

  • Applications won't open

    A few of my applications will not open when I click their icon in the dock, the Finder or files created by them. The applications that won't open are Quicken 2004, Appleworks 6, Internet Explorer, and MacLink Plus Deluxe. I recently downloaded some s

  • Adobe Acrobat 8 pro updates step by step?

    Is that the truth?! I installed Adobe Acrobat 8 pro at my new bussiness machine (Win7ultimate32bit) and I have to load every f... update one by one and to install every update one by one and to restart the machine recently? Or I'am blind and can't fi

  • Problems when I changed from POP3 to IMAP in Mail

    When using POP3 protocol on my Mac I was able to have a sound played to let me know when new mail came in.  Since I switched to IMAP protocol, I can't seem to make that happen. I am running Snow Leopard (10.6.8) and using the Mail program for our ema

  • Kontakt 3 install and tips

    Hi Forum I just got Kontakt 3. As for as I can tell it did not install properly. I believe the sample library and instruments are all installed as I've been able to use the editor and also to build multis and run as multi instrument in Logic. Sounds