Report printing in excel with multiple sheets

Hi Experts,
     I am working in Oracle Reports 10g.  I need to print the report in Excel....
For this i have created .JSP file and now printing in Excel(Sheet1).
My requirement is i need to print the report in multiple sheets.
For example if i run the departments report then the generated excel file should be as below
(Sheet1 - HR, Sheet2 - FINANCE, Sheet3 - MARKETING, etc.,)
How can i do this?
Thanks in Advance.

Hi All,
   Is this possible  Report printing in excel with multiple sheets??
Please give solution for my above post Report printing in excel with multiple sheets..
Thanks,
Su.gi

Similar Messages

  • 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

  • Crystal Report:Export to Excel in multiple sheets

    Hi Members,
    Does any one know how to export Crystal Report to Excel in multiple sheets in the same Excel workbook.
    Suppose I have report grouped by Designation as Managers,Tech Leads,Team Leads,Senior Developers etc. Now I want to export to Excel in multiple sheets as Sheet1-Managers,Sheet2-Tech Leads,-Sheet3-Team Leads,Sheet4-Senior Developers etc.
    Is there any possibility in Crystal Report event or CrystReportViewer?
    If not then is then workaround to achieve this feature without using Excel COM object.
    Thanks & Regards
    Nitin

    Don't forget to search for your answer before posting:
    [KBase|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true]
    [Articles|https://www.sdn.sap.com/irj/sdn/businessobjects-articles]
    These forums.
    Also, see the search box at the top right of this page. It searches articles, notes, forums, wikis and blogs in one shot. A quick search for; excel export worksheet crystal, came up with the following:
    [1260151 - CR XI R2 Export to multiple Excel worksheets|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    [1216567 - Is it possible to export one report to multiple Excel worksheets?|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    Also, remember that if you can not do "it" in the CR designer, you more than likely can not do it at runtime.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Excel Template with Multiple Sheets

    Hi everyone,
    I need to build Excel template with multiple sheets where each sheet should have at-least one chart.
    Thanks
    Aravind

    Hi
    Could you please explain those ways here.?
    Many Thanks,
    BK

  • Export ssrs report in excel in multiple sheets

    Hi all
    split excel into multiple sheets based on parameter instead of group
    and my parameter value are fixed i.e "in","Out" ,"Reg","Pend"
    how to make four sheets of above.
    Dilip Patil..

    Hi Dilip,
    In order to achieve your requirement, we can use a list to contain the matrix, then add a page break between each instance of the column group. For more details, please refer to the following steps:
    Drag a list to contain the matrix, and the set the dataset of the list to current dataset.
    In the Row Groups pane, right-click the Details group to add a group grouped on the expression below:
    =IIF(Fields!column_group_field.Value="LOAN",”LOAN”,”Others”)
    Click the Details group to navigate to Properties Windows.
    Expand the PageBreak group to set the BreakLocation property to Between.
    Use the same expression to set the PageName property:
    =IIF(Fields!column_group_field.Value="LOAN",”LOAN”,”Others”)
    Then the yellow marked column and green marked columns will be in two sheets in Excel.
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Report for CS15 tcode with multiple material nos. in selection screen.

    I want to develop a report for cs15 but with multiple materials.
    Like in cs15 we enter the material and its plant, then click on multi level check box and get the output. But cs15 works only for a single material. I want to develop a report in which i'll give multiple material nos. and then i should get the output for each material entered just as the output that would appear in cs15 for that material.
    How do i do it.
    I have tried but i'm not able to track back.

    Hi Priti,
          try develop a interactive report which lists all the materials in the first screen and when you double click on each of the material then call transaction CS15 output by skipping the first screen .Use set parameter to pass the material .
    Regards,
    Sirisha

  • Rearrange pages when printing adobe form with multiple master pages

    Hello!
    Good day to you all.
    I have an issue in regards with printing my adobe form with multiple Master pages. I have 4 master pages:
    1st master page: a
    2nd master page: b
    3rd master page: c
    4th master page: d
    all with different headers and footers all having the same contents (items). I don't have issue with one page content (it just prints 4 pages with different headers and footers). The issue comes out once the items exceed 1 page.
    What happens is that the preview/print shows (example: 3-page item)
    a1-a2-a3-b1-b2-b3-c1-c2-c3-d1-d2-d3.
    What i need is to print these such that all 1st pages of the 4 master page to be printed first, then all the 2nd pages, then all 3rd pages. Please see below:
    a1-b1-c1-d1-a2-b2-c2-d2-a3-b3-c3-d3
    This is because we will be using carbonless copy paper during printing and it's possible that it would be printed on batch jobs. Please suggest ways to do this.
    Thanks a lot in advance!
    Best Regards,
    abap_peer_dangs

    Hi,
    Is that requirement of multiple pages as groups only at the time of print or at print preview also...?
    Can you have a Print button on this screen or you should be using the Abobe toolbar's Print button..?
    Well if this on a click of a button in the form and the requirement is only at the time of print and not on print prieview I can have a JS script which does this...
    Let me know if this suffice, I can try with a local file and send you the script.
    @ Chris: I didn't understand what do you mean by reported, I was eager to hear and learn a solution from you may be a new approach which I am not aware of ...?
    Cheers,
    Sai.

  • How to Print Large PDF on multiple sheets

    I want to print a file 41" x 55" on multiple sheets of paper, how do i accomplish this? I have tried and i only get one page with only one small section of my painting/drawing. Need help!

    Can your printer driver tile pages?
    I can suggest that you place divide (slice) the file and place each component on a page in a page layout document (InDesign, XPress).
    Neil

  • R12 Excel Template - Multiple Sheet Error

    Hi All,
    I am trying to Generate Multiple Sheets (Dynamic) using Excel Template eg. Dept 10, 20, 30, each department have n employees
    Output Required
    Sheet 1: Summary
    10 x employees
    20 y employees
    30 z employees
    Sheet2: Dept 10 with employee details
    Sheet3: Dept 20 with employee details
    Sheet4: Dept 30 with employee details
    I am able to achieve this using Template Viewer by using 2 sheets at design time summary and details(details will be dynamically created for each department) but when I tried to register this template in R12 it generates 6 sheets 2 for 10 dept, 2 for 20 dept and 2 for 30 dept (No Summary Sheet)
    It is not referring Column C "Sheet Name" to start from XML META DATA sheet and applying the XDO_SHEET? to both available sheets(Summary & Details).
    When I use 1 sheet it is working fine (dept 10, 20, 30.. no summary sheet)
    Edited by: SachinK on Jun 5, 2013 5:43 PM

    What has this question to do with SQL or PL/SQL?

  • Creating Profile type report that hold fields with multiple values

    Really hoping someone can please help me out as I am very new to Crystal Reports.
    We use Maximizer CRM and we have been in need of some custom reports to rule out risk for regulators. I contacted Max and they suggested the only possible way is to create through Crystal. Its been almost one month already and I still cannot for the likes of me get this report operating properly. I have been inside and out on all sorts of forums, posted topics but no luck! So I will give it one more attempt in hopes that one of you geniuses can show me the way.
    In Maximizer CRM there is date, numeric, alphanumric and table. Our table fields items can be set to either single value or multi-value. So in crystal i did a default join of Client.tbl and the user-defined fields from view and joined the client id and contact number from all the view fields to client table. See Image:
    and I have dragged all the relevant fields in rows (in details section) rather then columns because we would be reporting on more then 1 record at a time. My problem is - If there is a table with multiple items selected (values), the records triple in count and it will show the same record over and over with just single field value changing at a time.
    The formula field you see in the image is from when I posted a discussion and Abhilash assisted me by providing the formulas I should add:
    1) Create a formula with this code and place this on the Details Section:
    whileprintingrecords;
    stringvar s := s + {field_with_multiple_values} + ", ";
    2) Next, move all the fields (except the formula field above) from the Details section to the Report Footer
    3) Create a formula with this code and place this on the Report Footer. This field would replace the existing field that contains multiple values:
    whileprintingrecords;
    stringvar s;
    Left(s, len(s)-2);
    This method is not working out for this type of report. When I add the formula Crystal is still counting my 2 records as 5 records but I can only view it as a single record and the multi-field has all the values for both records and displaying as a single record. See image:
    Can anyone please assist and advise where I am going wrong?
    -Jared

    Hi Jared,
    Thanks for taking down memory lane that is Maximizer.  Nice to see their table structure hasn't been simplified in the last 20 years.
    If I understand what's happening, you should only see 2 records and not 5.  That means your joins are creating duplicate records.  For now I'm going to skip over trying to optimize your query because I still have bad dreams of linking Maximizer tables.
    There are a couple of ways to work around the duplicates, one is to create a group and instead of having your formula in the Detail section, put it in the Group Header.  The question is what would you create your group on that would get you a unique record?
    If you know where the duplicates are coming from, create a Record Selection Formula that will remove the duplicates.
    There is also the menu option Database | Select Distinct Records.  I've never really had success with this one but there's no harm in giving it a shot.
    I would have you try and find which table or combination of tables is generating the duplicates but that requires playing with your links.  Normally I'd start by adding one table at a time and dropping one field onto the report.  If it doesn't repeat then add another table and field and repeat until you get your duplicates.  Once you know where they are coming from then you can either drop that table from your query or create a selection formula that removes the duplicates.
    Good luck,
    Brian

  • Download to excel with multiple lines in header

    Hi experts,
    Is there any Funtion module available to download an internal table contents into Local directory of PC with multiple lines in header.
    i.e.  let us say i hv internal table of 5 entries with 3 columns...
    i need to download this 5 entries into an excel file with some texts above the table contents...
    For eg : in the below format...
    Sample line 1
    sample line 2
    sample line 3
    colheader1     colheader2     colheader3
    item1                              
    item2
    item3
    item4
    item5
    Please help.
    Edited by: Lakshmiraj on Jul 15, 2010 3:26 AM

    There is another option of using OLE automation Please check the link below
    http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP-OLEAutomationusing+MS-Excel
    OR
    chek for the example program in Tcode DWDM ( OLE example )
    OR
    Use FM KCD_EXCEL_OLE_TO_INT_CONVERT ( Fm Uses the same OLE automation)
    Hope it helps
    Anup

  • Import Excel with mutiples sheets into Oracle

    Hi,
    I got a few questions here, I did some google-ing but I would like get clarifications:
    1. In order to make Excel "talks" to Oracle with External Table, do I need to convent the Excel file into .csv?
    2. Apparently my Excel has mutiple sheets (20+), do I need to save each sheet individually as 1 single .csv before they "talk"?
    (sounds like it...but I "hope" there is another way...-_-)
    3. I am using TOAD and the tool "Import Table Data" can read .xls and .xlsx directly, however I will have to do 20+ times for each sheet... beside that, is there any other quicker way to read the Excel files?
    (even if I use External Tables I have might have to save each sheet into a .cvs for 20+ times...-_-)
    Thanks everyone in advance...
    My questions sounds stupid.....=_=!!

    Which DW are you using - DMX on Mac? It didn't have that
    option. This is
    not an Educational version issue - it's a Mac issue.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Terry_Straehley" <[email protected]> wrote
    in message
    news:fm85u9$5ec$[email protected]..
    > From a 11/06 post
    > <<Hi, My Dreamweaver MX Education Version does NOT
    have the Import to
    > Excel
    > option. I am using "Excel 2003 (11.6560.6568) SP2, Part
    of Microsoft
    > Office
    > Professional Edition 2003". If I start with a blank page
    in Dreamweaver,
    > click
    > on File, Import, I only have the options "XML into
    Template", "Word HTML,
    > and
    > "Tabular Data". Does anyone know why I don't have the
    "Import Excel" >>
    >
    > This was not answered in the thread I copied it from. I
    have the same
    > problem.
    > Can some one answer the question?
    >

  • Disc Export into Excel in multiple sheets

    Hi,
    We are running discoverer 4i WEB and when the report has more than 65000 lines and do the export it generates multiple sheets, how can i get the data into single sheet.
    When i export the same report using Disc 4i Desktop it exports into single sheet.
    Also please help me sometime when the file gets generated and try to open the file i get : CC_IMP.xlx cannot be accessed. The file may be corrupted, located on a server that is not responding.
    Appreciate any help on this please.....
    Thanks
    Raj

    Hi,
    Try to export to a CSV file instead of XLS and then see if it gets all the data into 1 sheet.
    Tamir

  • Crystal Report 10 Export Excel (with gridlines)

    Post Author: Angel Tam
    CA Forum: JAVA
    Hi,I am now using Crystal Report 10 with Java to export the report to excel format.  I can do it successfully but all the gridlines (border) are lost.  Is anybody know how to set this feature.  My source code is as follows.<%@ page contentType = "text/html; charset=UTF-8"%><%@ page import = "com.crystaldecisions.sdk.occa.report.application.ReportClientDocument,                   java.util.,                   java.io.,                   javax.servlet.,                   javax.servlet.http.,                   com.crystaldecisions.sdk.occa.report.application.,                   com.crystaldecisions.sdk.occa.report.lib.ByteArray.,                   com.crystaldecisions.sdk.occa.report.exportoptions.,                   com.crystaldecisions.sdk.occa.report.lib." %><%/******************************************************************************************** *                Exporting the report to desired format and destination ********************************************************************************************/// Declare the PrintOutputControllerPrintOutputController poController;try {        // Retrieve the ReportClientDocument object from session        ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute("rptDoc");        // Clear ReportClientDocument object from session cache        session.setAttribute("rptDoc", null);                               // Get the print output controller object    poController = clientDoc.getPrintOutputController();     // Use the report documents PrintOutputController to export the report to a ByteArrayInputStream    // Change the int value to a ReportExportFormat    ByteArrayInputStream byteIS = (ByteArrayInputStream) poController.export(ReportExportFormat.MSExcel);    // Portable Document Format    String strExt = ".xls";                // Exported File Extension    String strMime = "application/vnd.ms-excel";    // Mime Type        // Create a byte&#91;&#93; (same size as the exported ByteArrayInputStream)    byte byteArray&#91;&#93; = new byte&#91;byteIS.available()&#93;;    // Copy the contents of the ByteArrayInputStream into a byteArray&#91;&#93;    int x = byteIS.read(byteArray, 0, byteIS.available());     response.reset();    // Clear out response stream            // Set the browser's mime type    response.setContentType(strMime);    response.addHeader("Content-disposition", "inline; filename=exported" + strExt);    // Use the SevletOutputStream to send the byteArray's data to the browser    response.getOutputStream().write(byteArray); } catch (Exception e) {    out.println("An error has occurred while exporting the report.<BR>" + e.toString());    out.println(e);}%>----
    I think these few lines may be useful to do the setting but I don't really how to use.  Hope somebody can help me.  Thank you.ExcelExportFormatOptions XLExpOpts = new ExcelExportFormatOptions();XLExpOpts.setShowGridlines(true);ExportOptions exOpts = new ExportOptions();exOpts.setFormatOptions(XLExpOpts);exOpts.setExportFormatType(ReportExportFormat.from_int(ReportExportFormat._MSExcel));Angel

    Post Author: Angel Tam
    CA Forum: JAVA
    Hi,I am now using Crystal Report 10 with Java to export the report to excel format.  I can do it successfully but all the gridlines (border) are lost.  Is anybody know how to set this feature.  My source code is as follows.<%@ page contentType = "text/html; charset=UTF-8"%><%@ page import = "com.crystaldecisions.sdk.occa.report.application.ReportClientDocument,                   java.util.,                   java.io.,                   javax.servlet.,                   javax.servlet.http.,                   com.crystaldecisions.sdk.occa.report.application.,                   com.crystaldecisions.sdk.occa.report.lib.ByteArray.,                   com.crystaldecisions.sdk.occa.report.exportoptions.,                   com.crystaldecisions.sdk.occa.report.lib." %><%/******************************************************************************************** *                Exporting the report to desired format and destination ********************************************************************************************/// Declare the PrintOutputControllerPrintOutputController poController;try {        // Retrieve the ReportClientDocument object from session        ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute("rptDoc");        // Clear ReportClientDocument object from session cache        session.setAttribute("rptDoc", null);                               // Get the print output controller object    poController = clientDoc.getPrintOutputController();     // Use the report documents PrintOutputController to export the report to a ByteArrayInputStream    // Change the int value to a ReportExportFormat    ByteArrayInputStream byteIS = (ByteArrayInputStream) poController.export(ReportExportFormat.MSExcel);    // Portable Document Format    String strExt = ".xls";                // Exported File Extension    String strMime = "application/vnd.ms-excel";    // Mime Type        // Create a byte&#91;&#93; (same size as the exported ByteArrayInputStream)    byte byteArray&#91;&#93; = new byte&#91;byteIS.available()&#93;;    // Copy the contents of the ByteArrayInputStream into a byteArray&#91;&#93;    int x = byteIS.read(byteArray, 0, byteIS.available());     response.reset();    // Clear out response stream            // Set the browser's mime type    response.setContentType(strMime);    response.addHeader("Content-disposition", "inline; filename=exported" + strExt);    // Use the SevletOutputStream to send the byteArray's data to the browser    response.getOutputStream().write(byteArray); } catch (Exception e) {    out.println("An error has occurred while exporting the report.<BR>" + e.toString());    out.println(e);}%>----
    I think these few lines may be useful to do the setting but I don't really how to use.  Hope somebody can help me.  Thank you.ExcelExportFormatOptions XLExpOpts = new ExcelExportFormatOptions();XLExpOpts.setShowGridlines(true);ExportOptions exOpts = new ExportOptions();exOpts.setFormatOptions(XLExpOpts);exOpts.setExportFormatType(ReportExportFormat.from_int(ReportExportFormat._MSExcel));Angel

  • Printing Standard TEXT  with multiple paragraphs in smartform

    Hello all,
    I have a requirement that, there is a very long standard text stored in a notification of an order in SAP ISU system. The text contains multiple paragraphs with indentations. I want to print this text directly into the smartform WITH SAME INDENTATION AND PARAGRAPH FORMATTING.
    First i am reading the entire text using FM READ_TEXT.
    My first  problem is even if i read the text into a variable of type STRING , it just prints 255 characters of it.
    And secondly if i try to printout it using LOOP AT node in smartforms, it prints the entire content but without any formatting .
    Please let me know whether it is possible to print standard text in smartforms or not
    Thanks
    Nilesh Puranik

    Hey ,
    Well thanks for that but my replies got posted 2-3 times unknowingly, could'nt help it.
    Coming to the problem, i  guess you did not get my point when i say dynamic texts for each service order.
    In my Report i am using LOOP AT ITAB ..where in itab i  am storing a service order no i.e. ITAB-ORDER_NO
    Now for every order there is standard text maintained in SO10 starting with order name
    so my code goes like this.
    LOOP AT ITAB.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
        ID                            = 'LTXT'
        LANGUAGE            = 'E'
        NAME                      = ITAB-order_no
        OBJECT                   = 'QMSM'
      TABLES
        LINES                         = LINES .
    CALL <SMART FORM Fm>
    ENDLOOP.
    Hence whatever Standard text maintained for that service order i  want to display it as it is in the smartform with same paragraphs formatting and indentation.
    IF i use a variable in smartform and pass the entire text  after using READ_TEXT , it does not format the text  and it just prints only 255 characters even if i define it of type STRING .
    Hence i am stuck in this scenario.
    Appreciate ur help though.
    Thanks
    Nilesh

Maybe you are looking for

  • HP Color LaserJet flow MFP M880 Color Restricting

    Hi all, on this printer is is preaty easy to restrict color printing to everyone,by going on Copy/Printing/Color Restrict and seleting disable color printing, but i want to be able to add a single user that can  color print , and selecting the option

  • OpenType font won't work in PDF created from PM 7.0.1a file

    Per my client's request, I had to purchase a lovely new OpenType font, AJenson Pro, for a book project I'm paging using PageMaker 7.0.1a in Windows XP. First it wouldn't print on my postscript HP laser printer, but downloading an updated printer driv

  • Confirmation WS10000256 awaiting approval.

    Hi Masters In PO confirmation I have configurated the WFL WS10000256 activated that is NO approval necessary, but when is ejectuted the confirmation the status show awaiting to approval and no change the status after some time. any idea. thanks.

  • Replacement retina screen faulty. Rights?

    Hi there, I bought a 15" MacBook Pro retina Dec 2012. Started getting white lines flickering across the screen in Oct 2013, got it repaired under warranty in same month. Turned on laptop today, and hey presto same thing is happening. My question is,

  • Unable to install new printer

    I have tried everything.  is there an 800 number to call?