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?

Similar Messages

  • 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

  • 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

  • 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

  • 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

  • Formula to calculate SUM of multiple sheets of excel and the result to be stored in another excel sheet and pop up alerts for multiple rows

    I have a excel with multiple
         sheets with data as shown below
    SHEET 1
    A 1
    B 2
    C 3
    SHEET 2
    B 1
    C 2
    A 3
    SHEET 3
    C 1
    A 2
    B 3
    My
    query is splitted into 3 categories
    I want to have a formula to do math calculation such that data of "A" of SHEET 1 is  calculated with "A" of SHEET2 irrespective of the location of "A".
    When I include SHEET3, the formula should automatically identify the location of "A" or "B" or "C" and give the result corresponding to A, B or C. Since I want to bifurcate daily report and output printed. I want to use another
    excel for output. How to link multiple sheets of one excel and print the output of above in
         another excel?
    Assume, I have 4 SHEETS,  "SHEET 1", "SHEET 2", "SHEET 3" and "SHEET 4". Math calculation need to be done using all 4 sheets. If
    I include "SHEET 5", the formula should ignore SHEET 1  automatically and give the results of SHEETS 2 to 5. Similarly, if I include SHEET 6, SHEET 1 and 2 need to be ignored for further calculation and SHEET 3-6 need to be used. How to write
    such formula?
    How to get pop up alert for multiple rows, if a specific condition is hit?

    Maybe VBA Code should be a good option for you. I suggest you post you issue to
    Excel for Developers forum.
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thanks for your understanding.
    Best Regards,
    Wind

  • How to subscribe the report into one excel multiple sheets in ssrs

    Hi Team,
    I have a requirement where i pull my report in one excel with multiple sheets,
    1.I have a Emp_Report where i could subscribe my report into excel format,but here i want to subscribe this into multiple sheets in one excel form.
    2.Is it possible to subscribe the two reports in one excel with mulitiple sheets.i need this also.
    please guide me hw we can achive me ,so that i can start working on that .
    am using sql server 2008R2 sql server edition.
    pls help me out for this

    Hi Ychinnari,
    According to your description, you want to perform subscription for one report or two reports into multiple sheets within a Excel file.
    In Reporting Services, when we add a page break within the report, those pages will be exported into separated sheets in Excel.
    For first requirement, subscribe one report into multiple sheets in one Excel file. We can add a page break within a group, then the report will display on multiple sheets when subscribe into Excel format.
    For second requirement, subscribe one report into multiple sheets in one Excel file. You can add one report as a subreport into the main report, then add pagebreak between main report and subreport.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Excel multiple sheet export on job schedule

    Is it possible to create a bqy job which emails an excel document with multiple sheets?
    Our environment is v11.1.1.1.2, Linux x86
    Thanks in advance!

    Hello,
    You can have a schedule a BQY in such a way that it can email the section you want in excel format. But i dont think so its possible for excel with multiple sheets.
    Thanks,
    BHANU

  • Excel OLE hide sheet

    Hi,
    Is it possible to hide a sheet from an Excel.
    I'm creating an Excel with multiple sheets. One of them has a number of datatables placed on it, and these tables I'm using to draw graphs on another sheet.
    I don't want the user to see this sheet, but of course it needs to exist, since it's holding the data for the graphs. I would like to hide the sheet with the datatables from the user. Is this possible?
    Best Regards,
    Vibeke

    Solved.

  • 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

  • How can split data into multiple sheets using an excel template

    Hi all,
    I'm using BIP 10.1.3.4.1 upgrated with the latest rollup patch, 9546699.
    I followed the example inside the article "Real Excel Templates 1.5" (on the Tim Dexter's blog)
    http://blogs.oracle.com/xmlpublisher/2010/05/real_excel_templates_i.html
    and I built my report directly from an excel template containing only one sheet (plus the XDO_METADATA sheet), and for one sheet it worked fine !!!
    Now I need to add more sheets to the template.... and I have two big questions:
    1. if I need to create a second sheet which contains almost the same data (with a different layout), I saw that it is not possible to map a value to more than 1 cell....so if I map a value in the first sheet, I can't map it in the second sheet (because it's already used in the first one).
    How can I map same values into two or different execll
    2. if I need to create a second sheet which contains another dataset (completely different from the dataset in the first sheet), I can I do, considering that every BIP report is based on ONLY a data source.
    Tim wrote: The most impressive, for me at least, is the sheet 'bursting'. You can split your hierarchical data across multiple sheets and dynamically name those sheets
    but I didn't yet understand how this bursting it's possible.....considering what I said above.....
    Surely I've a lack of knowledge.....but anybody can help me to understanding the "multiple excel sheets" black hole ?
    I'll appreciate any kind of help
    Thanks in advance
    Alex

    You can find working solution here http://xlspe.com

  • Download  to multiple sheet excel in the background

    Hi,
    I am trying to download data into multiple excel sheets in the background. I was able to create comma delimited csv file in the server, which can be opened as excel file. This is good when it does not have more that one worksheets.
    I have three internal table and to send these internal tables in different worksheets in the same excel file.
    Is it possible to have multiple sheets excel file from the csv file?
    Thanks,
    Lokman

    Hi Lokman,
    <b>1</b>.
    Yes it is Possible.
    <b>2</b>.
    Am sending one example program .That is clear to understand .
    REPORT zvenkat_head MESSAGE-ID zvenkat .
    INCLUDE ole2incl. " Include for OLE object
    DATA: application TYPE ole2_object,
          workbook    TYPE ole2_object,
          sheet       TYPE ole2_object,
          cells       TYPE ole2_object,
          h_f         TYPE ole2_object.            " font
    *Structure for users deleted
    DATA:   BEGIN OF itab_yb001_udel OCCURS 0,
              bname     LIKE yb001-bname,
              name_text LIKE addr3_val-name_text,
            END OF itab_yb001_udel.
    DATA:   BEGIN OF itab_yb001_tadd OCCURS 0.
            INCLUDE STRUCTURE yb001.
    DATA:   name_text LIKE addr3_val-name_text,
            ttext LIKE tstct-ttext.
    DATA:   END OF itab_yb001_tadd.
    *Structure for Transactions deleted
    DATA:   BEGIN OF itab_yb001_tdel OCCURS 0.
            INCLUDE STRUCTURE yb001.
    DATA:   name_text LIKE addr3_val-name_text,
            ttext LIKE tstct-ttext.
    DATA:   END OF itab_yb001_tdel.
    DATA:   BEGIN OF itab_yb001_uadd OCCURS 0,
            bname LIKE yb001-bname,
            name_text LIKE addr3_val-name_text,
            END OF itab_yb001_uadd.
    PARAMETERS: p_fname LIKE rlgrap-filename. " File name to download
    PERFORM download_file.
    FORM - DOWNLOAD_FILE
    FORM download_file.
      DATA index TYPE i.
      CREATE OBJECT application 'excel.application'.
      SET PROPERTY OF application 'visible' = 0.
      CALL METHOD OF application 'Workbooks' = workbook.
      CALL METHOD OF workbook 'Add'.
      CALL METHOD OF application 'Worksheets' = sheet.
      CALL METHOD OF sheet 'Add'.
    Create 1 Excel sheet
      CALL METHOD OF application 'Worksheets' = sheet
        EXPORTING #1 = 1.
      SET PROPERTY OF sheet 'Name' = 'Transactions Added'.
      CALL METHOD OF sheet 'Activate'.
      PERFORM f_xl_theader.
    tell user what is going on
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
        EXPORTING
          text   = text-m03
        EXCEPTIONS
          OTHERS = 1.
      LOOP AT itab_yb001_tadd.
        index = sy-tabix + 1. " 1 - column name
        PERFORM fill_cell USING index 1 0 itab_yb001_tadd-bname.
        PERFORM fill_cell USING index 2 0 itab_yb001_tadd-tcode.
        PERFORM fill_cell USING index 3 0 itab_yb001_tadd-name_text.
        PERFORM fill_cell USING index 4 0 itab_yb001_tadd-ttext.
        PERFORM fill_cell USING index 5 0 itab_yb001_tadd-agr_name.
      ENDLOOP.
    tell user what is going on
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
        EXPORTING
          text   = text-m03
        EXCEPTIONS
          OTHERS = 1.
    Create 2 Excel sheet
      CALL METHOD OF application 'Worksheets' = sheet
        EXPORTING #1 = 2.
      SET PROPERTY OF sheet 'Name' = 'Transactions Deleted'.
      CALL METHOD OF sheet 'Activate'.
      PERFORM f_xl_theader.
      LOOP AT itab_yb001_tdel.
        index = sy-tabix + 1. " 1 - column name
        PERFORM fill_cell USING index 1 0 itab_yb001_tdel-bname.
        PERFORM fill_cell USING index 2 0 itab_yb001_tdel-tcode.
        PERFORM fill_cell USING index 3 0 itab_yb001_tdel-name_text.
        PERFORM fill_cell USING index 4 0 itab_yb001_tdel-ttext.
        PERFORM fill_cell USING index 5 0 itab_yb001_tdel-agr_name.
      ENDLOOP.
    tell user what is going on
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
        EXPORTING
          text   = text-m04
        EXCEPTIONS
          OTHERS = 1.
    Create 3 Excel Sheet
      CALL METHOD OF application 'Worksheets' = sheet
        EXPORTING #1 = 3.
      CALL METHOD OF sheet 'Activate'.
      SET PROPERTY OF sheet 'Name' = 'Users Added'.
      PERFORM f_xl_uheader.
      LOOP AT itab_yb001_uadd.
        index = sy-tabix + 1. " 1 - column name
        PERFORM fill_cell USING index 1 0 itab_yb001_uadd-bname.
        PERFORM fill_cell USING index 2 0 itab_yb001_uadd-name_text.
      ENDLOOP.
    Create 4 Excel sheet
      CALL METHOD OF application 'Worksheets' = sheet
        EXPORTING #1 = 4.
      SET PROPERTY OF sheet 'Name' = 'Users Deleted'.
      CALL METHOD OF sheet 'Activate'.
      PERFORM f_xl_uheader.
      LOOP AT itab_yb001_udel.
        index = sy-tabix + 1. " 1 - column name
        PERFORM fill_cell USING index 1 0 itab_yb001_udel-bname.
        PERFORM fill_cell USING index 2 0 itab_yb001_udel-name_text.
      ENDLOOP.
    Save excel speadsheet to particular filename
      CALL METHOD OF sheet 'SaveAs'
                      EXPORTING #1 = p_fname     "filename
                                #2 = 1.          "fileFormat
      PERFORM err_hdl.
    Closes excel window, data is lost if not saved
      SET PROPERTY OF application 'visible' = 0.
    Close the file
      CALL METHOD OF workbook 'CLOSE'.
    Quit the file
      CALL METHOD OF application 'QUIT'.
      FREE OBJECT application.
    ENDFORM.                    "DOWNLOAD_FILE
    *&      Form  F_XL_THEADER
          Header for XL sheet
    -->  p1        text
    <--  p2        text
    FORM f_xl_theader .
    output column headings to active Excel sheet
      PERFORM fill_cell USING 1 1 1 text-t01.
      PERFORM fill_cell USING 1 2 1 text-t02.
      PERFORM fill_cell USING 1 3 1 text-t03.
      PERFORM fill_cell USING 1 4 1 text-t04.
      PERFORM fill_cell USING 1 5 1 text-t05.
    ENDFORM.                    " F_XL_THEADER
          FORM FILL_CELL                                                *
          sets cell at coordinates i,j to value val boldtype bold       *
    FORM fill_cell USING i j bold val.
      CALL METHOD OF sheet 'Cells' = cells EXPORTING #1 = i #2 = j.
      PERFORM err_hdl.
      SET PROPERTY OF cells 'Value' = val .
      PERFORM err_hdl.
      GET PROPERTY OF cells 'Font' = h_f.
      PERFORM err_hdl.
      SET PROPERTY OF h_f 'Bold' = bold .
      PERFORM err_hdl.
    ENDFORM.                    "FILL_CELL
          outputs OLE error if any                                       *
    -->  p1        text
    <--  p2        text
    FORM err_hdl.
      IF sy-subrc <> 0.
        WRITE: / 'Fehler bei OLE-Automation:'(010), sy-subrc.
        STOP.
      ENDIF.
    ENDFORM.                    " ERR_HDL
          Header for XL sheet
    -->  p1        text
    <--  p2        text
    FORM f_xl_uheader .
      PERFORM fill_cell USING 1 1 1 text-t01.
      PERFORM fill_cell USING 1 2 1 text-t03.
    ENDFORM.                    " F_XL_UHEADER
    Please try to understand first and replicate to ur requirement.
    Please let me know if u have any problem.
    <b>Thanks,
    Venkat.O</b>

  • Multiple sheets from EXCEL

    Hi Everyone,
    My requirment is as follows to read multiple sheets from an EXCEL that contains MAcro and some Visual BAsic Components.
    I am using FM 'ALSM_EXCEL_TO_INTERNAL_TABLE' to read a single sheet which works fine.
    But it brings in only one Active sheet at a time.
    Please help me resolve this.
      CREATE OBJECT application 'EXCEL.APPLICATION'.
      CALL METHOD OF application 'Workbooks' = workbook.
      CALL METHOD OF workbook 'Open' EXPORTING #1 = p_file.
    *call METHOD of Workbook 'Sheets' EXPORTING
    Open the first sheet in the workbook
      CALL METHOD OF workbook 'Worksheets' = sheet EXPORTING #1 = 1.
      CALL METHOD OF workbook 'ActivateSheet'
        EXPORTING
          #1 = 1.
      CALL METHOD OF sheet 'Activate'.
      CALL METHOD OF sheet 'Save'.
      FREE OBJECT application.
      SET PROPERTY OF application 'visible' = 0.
      CALL METHOD OF application 'QUIT'.
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          filename                = p_file
          i_begin_col             = '1'
          i_begin_row             = '1'
          i_end_col               = '60'
          i_end_row               = '32000'
        TABLES
          intern                  = it_data
        EXCEPTIONS
          inconsistent_parameters = 1
          upload_ole              = 2
          OTHERS                  = 3.
      IF sy-subrc <> 0.
        WRITE:/ 'Upload Error ', sy-subrc.
      ENDIF.
      APPEND LINES OF it_data TO gt_data.
      BREAK-POINT.
      CREATE OBJECT application 'EXCEL.APPLICATION'.
      CALL METHOD OF application 'Workbooks' = workbook.
      CALL METHOD OF workbook 'Open' EXPORTING #1 = p_file.
    Open the second sheet in the workbook
      CALL METHOD OF workbook 'Worksheets' = sheet EXPORTING #1 = 2.
        CALL METHOD OF workbook 'ActivateSheet'
        EXPORTING
          #1 = 2.
      CALL METHOD OF sheet 'Activate'.
      CALL METHOD OF sheet 'Save'.
      SET PROPERTY OF application 'visible' = 0.
      FREE OBJECT application.
      CALL METHOD OF application 'QUIT'.
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          filename                = p_file
          i_begin_col             = '1'
          i_begin_row             = '1'
          i_end_col               = '60'
          i_end_row               = '32000'
        TABLES
          intern                  = it_data
        EXCEPTIONS
          inconsistent_parameters = 1
          upload_ole              = 2
          OTHERS                  = 3.
      IF sy-subrc <> 0.
        WRITE:/ 'Upload Error ', sy-subrc.
      ENDIF.

    Hi ,
    Check the below link.
    [http://wiki.sdn.sap.com/wiki/display/Snippets/ReadmultiplesheetsofanExcelfileintoSAPthroughABAP]
    Thanks.
    Subhankar

  • Creating multiple page report with single page excel template

    Hi,
    I have a created a single sheet excel template. When my LabVIEW program runs, I want to insert a data table in the excel report for each time the loop runs. Each time I add a new sheet in the report and add the data table. I want to get the same template in each new sheet. Please let me know how to insert the same template in each new sheet in the same file. Right now I need to create template file with 5-6 worksheets each with the same format.
    Rashmi

    Thanks for your reply.
    I tried to do the same you have suggested. As the "Save As" option does not work, I tried to copy the block diagram into a new vi but it gives the error. I am attaching here the screen shot of the same.
    Attachments:
    copy_error.png ‏208 KB

Maybe you are looking for

  • Iphone real instruments internal mic

    I still use GB in my powerbook. I have not uses the sampled instruments yet. But in iphone am enjoying the ability to quickly use the internal mic for real instrument ideas. saves time the way cassette players used to for easy access when inspiration

  • FAGL_FC_VAL -problem with KDB and KDF -KDB config is superceding KDF config

    Hello experts, The configuration of account determination for FAGL_FC_VAL is done using the transaction keys KDB and KDF. KDB is used to maintain account determination in case of non OI balance sheet accounts and KDF is used to maintain account deter

  • Doubt in ALV Grid Control

    Hi Everyone, I am working on ALV Grid Control, where i am facing a problem with adding new buttons and writing the new code for the button, for placing the (display) button i used the method <b>handle_tool_bar</b>, But i want to know how to write the

  • What is the equivalent function of this...

    the following codes are in awt form, what are the equivalent swt form of the following function? thank you for your help ActionListener listener = new MenuItemActionListener(panel); *MenuItemActionListener(panel); is the awt Component parent; (Compon

  • New SG500 and SG300 How do I enable the fiber ports?

    Sorry if this is a repeat couldn't find my first post - I have a new small lan it consists of 4 SG 300's and 1 SG 500. I had thought I would be able to use the combo ports to connect the switches through the fiber trunk, but the ports are disabled an