Creating multiple worksheets in BI 7.0 workbook

Hi,
We are using a workbook template with just 1 worksheet presently. We want to add multiple worksheets and assign different queries. When we copy the first sheet to the other worksheets we lose Bex functionality.
How do we get the Work Book template to work in every worksheet?
Awaiting reply...
thanks,
Mihir

Hi,
Thanks for your reply. However when I do a "Copy" or "Insert" whatever the case, the copied sheet loses all links to BEX. So for example if I want to assign a different dataprovider in the copied sheet "Design template" it doesn't respond at all.
Any pointers will be appreciated, thanks.
Mihir

Similar Messages

  • XSLT: Problem in creating Multiple Worksheet

    Hi,
    I am able to create one worksheet , i have a problem in creating a multiple worksheet.

    Then you haven't followed the method correctly. That error is
    addressed specifcally on that site, as that error is the main
    reason for the site. Did you read the note about the "known
    bug" because of the one port that is not included in the
    sample file?
    If you had tried the first method (set up a second IP and
    started both servers with the command line option providing
    an IP) there is no way this error could happen.
    If you followed the second method, and specified a different
    port for every port listed (including the one that is not in the
    sample file per default) then there is, once again, no way that
    this error could happen.
    The error happens on the second server because it is trying
    to bind the same port, using the same address, as the first
    server, which is impossible if you fully implement one of the
    two methods described there.

  • Creating multiple Excel worksheet

    Gurus,
    I am downloading data into Excel from my web page by using the following:
    Response.setContentType("application/vnd.ms-excel");
    HtmlWriter out = aResponse.getWriter();
    out.print(
    I am able to view all the data in one Excel worksheet. Does anyone know of a way to create multiple worksheets?
    Thanks in advance for your help.

    Look at POI at http://jakarta.apache.org/poi/ for an open source library to write Excel with Java.
    If you just want to produce a one-off, you can save an Excel workbook as XML and look at that to see how the sheets are produced in XML.
    There are also commercial products like Formula One that provide support for reading and writing directly to/from Excel from Java.

  • Export data to excel with multiple worksheet

    Hi all,
    Thanks to Roel, Andy, Scott, and Varad. I could go this far with my first project with APEX :)
    thank you guys !!
    I am left with one last bit (unless the client request more feature). I need to export the database to an excel spreadsheet.
    I have about 5 tables so I need to create 5 worksheet in the excel file.
    Now I have tried OWA_SYLK from Tom (http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:728625409049#PAGETOP)
    it works in my environment, but I just don't know how to create multiple worksheet in one excel file.
    I read on the internet that XML spreadsheet is the answer but how to do that, I don't know.
    Can anyone enlighten me?
    Thanks.
    Joel

    It's easy with free RXLS PL/SQL library :
    Procedure Test_002 is
    wbk RXLS.XLS_WorkBook; -- workBook data structure
    f1 integer; f2 integer; -– two workSheets
    Begin
    RXLS.NewWorkBook (wbk); -- new WorkBook init.
    -- two worksheets creation
    f1 := RXLS.NewSheet (Wbk,'Departments');
    f2 := RXLS.NewSheet (Wbk,'Employees');
    -- Writing into the first WorkSheet data from the first SQL request (DEPT)
    RXLS.SQLtoXLS (xSQL => 'select * from Dept', xSheet => f1, xWbk => wbk, xR => 3, xC=> 2,
    xMaxRows => 100, xMaxCols => 20);
    -- Writing into the second WorkSheet data from the second SQL request (EMP)
    RXLS.SQLtoXLS (xSQL => 'select * from Emp', xSheet => f2, xWbk => wbk, xR => 1, xC => 3,
    xMaxRows => 20, xMaxCols => 10);
    -- Excel Workbook or Open Office document , (MS XML 2003 format)
    RXLS.GenXLS (wbk);
    -- Dowload to IE or FF
    RXLS.Show (wbk);
    end; -- ex 2
    [www.rci-informatique.fr/rxls]

  • How do I create multiple sheets in an xls workbook email attachment?

    Hello,
    I've been looking at report BCS_EXAMPLE_7 to see how to attach an excel document to an email but I don't see how to create an excel workbook with multiple worksheets. The example creates one workbook with one worksheet. I'd like to have multiple worksheets in the workbook (one for each time bucket in the report).
    I'm guessing I need to insert something into the binary_content but I need some help finding where to start.
    Thank you,
    Michael

    Hi ,
    You can try the below link and it will definately solve your problem:
    http://www.sapdevelopment.co.uk/ms/ms_excel.htm
    Regards,
    Ashish Arora

  • MULTIPLE WORKSHEETS PER EXCEL WORKBOOK USING XSLT

    Hi everybody,
    My query is on how multiple worksheets per excel file can be created using xslt programming.
    From my report program i call the xslt transformation passing an internal table. Based on the changes in the values of a particular field in the table, multiple worksheets are to be created in a single excel file.
    A snippet of the code ive generated is displayed below .But i get the error saying its unable to open the file. I need to know where exactly to place the <for-each select> and <worksheet> statements in order to successfully implement the solution. Would greatly appreciate any help offerred in this direction. Thanks
    <xsl:template match="/">
    <workbook>
    <ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
          </ExcelWorkbook>
            <xsl:apply-templates />
    </Workbook>
    </xsl:template>
    <xsl:template match="asx:values">
    <xsl:for-each select="ROWS/ZWORKSHEET">
    <Worksheet ss:Name="FIRSTCOL">
      <Table ss:ExpandedColumnCount="10" x:FullColumns="1"
       x:FullRows="1" ss:DefaultColumnWidth="66" ss:DefaultRowHeight="14.25">
        <Row 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"
             xmlns:html="http://www.w3.org/TR/REC-html40">
          <Cell ss:StyleID="s23"><Data ss:Type="String">SAP Material Number</Data></Cell>
          <Cell ss:StyleID="s23"><Data ss:Type="String">CLP</Data></Cell>
        </Row>
      </Table>
      </Worksheet>
    </xsl:for-each>
    </xsl:template>
    </xsl:transform>

    If the Sales Org values are static, you shold be able to create a variant.  Don't know off what the variable name is off the top of my head, but there should be a variable delivered as part of business content that obtains the current month - look at the 0CALMONTH variables. (May be something like 0CMONTH ?)If you don't see it, maybe that variable activated yet.
    Does just one person run this workbook or are many people?
    If you schedule the query with reporting agent, you should be able to warmup (load the results)to the OLAP cache so when the user runs the querys later, they'll run very quickly, retrieving the data from the OLAP cache.  BEx Broadcaster is a good option too if the criteria for the queries are all known upfront.
    Message was edited by: Pizzaman
    Fogo to ask - are you using hierarchies in the query?  They can have a lot of perfromance impacts on the front end interms of rendering them in Excel.  There are some Front End patches that speed this up quite a bit.

  • Create multiple grid in a worksheet

    my smartivew version is 11.1.2.2, this relase should support to create multiple grid in a worksheet.
    but when i try to add the second grid, i only see the 3 options:
    "clear sheet contents and POV"
    "Reuse sheet contents only"
    "Reuse sheet contents and POV"
    not able to see the fourth option.
    i do have selected multiple cells.
    where am i wrong?

    my smartivew version is 11.1.2.2, this relase should support to create multiple grid in a worksheet.
    but when i try to add the second grid, i only see the 3 options:
    "clear sheet contents and POV"
    "Reuse sheet contents only"
    "Reuse sheet contents and POV"
    not able to see the fourth option.
    i do have selected multiple cells.
    where am i wrong?

  • C# Script to open and read an Excel spreadsheet with multiple worksheets

    Can someone provide me the C# syntax and Edit Script to open an Excel spreadsheet with multiple worksheets and then using the data to create and output a .csv file? The multiple worksheets contain different data elements that I'll need to parse out and then
    store as a .csv file that will then be read to pump data into our SQL Server Database.
    Thanks for your review and am hopeful for a reply.
    PSULionRP

    I think this code originally came from Joel, who comes here quite a bit.  I'm not a C# expert, like Joe is, but I think this is pretty close to what you want.
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using Excel = Microsoft.Office.Interop.Excel;
    using Microsoft.Office.Interop.Excel;
    using System.IO;
    namespace WindowsFormsApplication2
    public partial class Form1 : Form
    public Form1()
    InitializeComponent();
    private void button1_Click(object sender, EventArgs e)
    Main();
    public void Main()
    string filePath = "C:\\Users\\Ryan\\Desktop\\MainExcel.xlsx";
    Microsoft.Office.Interop.Excel.Application xlobj = new Microsoft.Office.Interop.Excel.Application();
    Workbook w = default(Workbook);
    Workbook w1 = default(Workbook);
    Worksheet s = default(Worksheet);
    Worksheet s1 = default(Worksheet);
    Worksheet xlsht = default(Worksheet);
    xlobj.Visible = true;
    int intItem = 1;
    DirectoryInfo dirSrc = new DirectoryInfo(@"C:\Users\Ryan\Desktop\Test_Folder\");
    foreach (FileInfo ChildFile in dirSrc.GetFiles())
    try
    // Renaming the excel sheet
    w = xlobj.Workbooks._Open(ChildFile.FullName,
    Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing,
    Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing,
    Type.Missing, Type.Missing);
    w1 = xlobj.Workbooks._Open(filePath,
    Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing,
    Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing,
    Type.Missing, Type.Missing);
    //this doesn't make any sense
    //w1 = xlobj.Workbooks.Open(filePath);
    //if (intItem > 3)
    Excel.Worksheet lastSht =
    (Excel.Worksheet)w1.Worksheets[w1.Worksheets.Count];
    xlsht = (Excel.Worksheet)w1.Worksheets.Add(Type.Missing,
    lastSht,
    Type.Missing, Type.Missing);
    s = (Excel.Worksheet)w.Worksheets[1];
    s1 = (Excel.Worksheet)w1.Worksheets[intItem];
    s1.Name = ChildFile.Name;
    // it will copy and paste sheet from one to another with formula
    s.UsedRange.Copy(Type.Missing);
    Excel.Range r = s1.get_Range("A1", Type.Missing);
    r.PasteSpecial(Excel.XlPasteType.xlPasteValues,
    Excel.XlPasteSpecialOperation.xlPasteSpecialOperationNone,
    Type.Missing, Type.Missing);
    s1.UsedRange.Formula = s.UsedRange.Formula;
    // Renaming the excel sheet
    //w.Save();
    w.Close(false, Type.Missing, Type.Missing);
    w1.Close(false, Type.Missing, Type.Missing);
    catch (Exception ex)
    //w.Save();
    w1.Save();
    w.Close(false, Type.Missing, Type.Missing);
    w1.Close(false, Type.Missing, Type.Missing);
    intItem = intItem + 1;
    //Dts.TaskResult = ScriptResults.Success
    Do you need help getting everything into a CSV, or can you take it from here???
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • Extract program to extract data from SAP into multiple worksheets of excel

    Hi , I am currently facing an issue.
    Extracting the data during data extraction, conversion into an excel and also into multiple worksheets withing a excel file.
    What is the function which can help me. Also how do you give refernce to multiple worksheets to be created withing a excel file (which is the destination)
    Any sample program extracting data from SAP tables into a excel with multiple worksheet will be of immense help
    Please respond. Appreciate it.
    Rgds
    Madhu

    Hi Madhu,
    Here is the program for creating the excel file and creating the multiple worksheets.
    *& Report  ZEXCEL_UPLOAD2
    REPORT  ZEXCEL_UPLOAD2.
    INCLUDE ole2incl.
    DATA: application TYPE ole2_object,
           workbook TYPE ole2_object,
           sheet TYPE ole2_object,
           cells TYPE ole2_object.
    CONSTANTS: row_max TYPE i VALUE 256.
    DATA index TYPE i.
    DATA: BEGIN OF itab1 OCCURS 0, first_name(10), END OF itab1.
    DATA: BEGIN OF itab2 OCCURS 0, last_name(10), END OF itab2.
    DATA: BEGIN OF itab3 OCCURS 0, formula(50), END OF itab3.
    *START-OF-SELECTION
    START-OF-SELECTION.
      APPEND: 'Peter' TO itab1, 'Ivanov' TO itab2,
                                  '=Sheet1!A1 & " " & Sheet2!A1' TO itab3,
                'John' TO itab1, 'Smith' TO itab2,
                                  '=Sheet1!A2 & " " & Sheet2!A2' TO itab3.
      CREATE OBJECT application 'excel.application'.
      SET PROPERTY OF application 'visible' = 0.
      CALL METHOD OF application 'Workbooks' = workbook.
      CALL METHOD OF workbook 'Add'.
    Create first Excel Sheet
      CALL METHOD OF application 'Worksheets' = sheet
                                   EXPORTING #1 = 1.
      CALL METHOD OF sheet 'Activate'.
      SET PROPERTY OF sheet 'Name' = 'Sheet1'.
      LOOP AT itab1.
        index = row_max * ( sy-tabix - 1 ) + 1. " 1 - column name
        CALL METHOD OF sheet 'Cells' = cells EXPORTING #1 = index.
        SET PROPERTY OF cells 'Value' = itab1-first_name.
      ENDLOOP.
    Create second Excel sheet
      CALL METHOD OF application 'Worksheets' = sheet
                                   EXPORTING #1 = 2.
      SET PROPERTY OF sheet 'Name' = 'Sheet2'.
      CALL METHOD OF sheet 'Activate'.
      LOOP AT itab2.
        index = row_max * ( sy-tabix - 1 ) + 1. " 1 - column name
        CALL METHOD OF sheet 'Cells' = cells EXPORTING #1 = index.
        SET PROPERTY OF cells 'Value' = itab2-last_name.
      ENDLOOP.
    Create third Excel sheet
      CALL METHOD OF application 'Worksheets' = sheet
                                   EXPORTING #1 = 3.
      SET PROPERTY OF sheet 'Name' = 'Sheet3'.
      CALL METHOD OF sheet 'Activate'.
      LOOP AT itab3.
        index = row_max * ( sy-tabix - 1 ) + 1. " 1 - column name
        CALL METHOD OF sheet 'Cells' = cells EXPORTING #1 = index.
        SET PROPERTY OF cells 'Formula' = itab3-formula.
        SET PROPERTY OF cells 'Value' = itab3-formula.
      ENDLOOP.
    Save excel speadsheet to particular filename
      CALL METHOD OF sheet 'SaveAs'
                      EXPORTING #1 = 'c:\temp\exceldoc1.xls'     "filename
                                #2 = 1.                          "fileFormat
    Closes excel window, data is lost if not saved
    SET PROPERTY OF application 'visible' = 0.
    **Quick guide to some of the OLE statements for OLE processing in this program as well as a few other ones.
    Save Excel speadsheet to particular filename
    CALL METHOD OF sheet 'SaveAs'
                    EXPORTING #1 = 'C:\Users\dprasad\Desktop\excel_sheet.xls'     "filename
                              #2 = 1.                          "fileFormat
    Save Excel document
    CALL METHOD OF sheet 'SAVE'.
    Quits out of Excel document
    CALL METHOD OF sheet 'QUIT'.
    Closes visible Excel window, data is lost if not saved
    SET PROPERTY OF application 'visible' = 0.

  • Queries on multiple worksheets.

    dear all,
    i have a requirement which i have to create multiple queries and load them on to different worksheets. I also have a main worksheet that is predefined by the customer and that worksheet will either do a VLOOKUP or HLOOKUP to get the values from those queries.
    i'm not looking for a short cut here (will be nice if any) so any body done this before can you point me to the right direction or perhaps give me links and some tips on how to get this done?
    regards
    Simon Chia

    Using BEx Analyzer, go into Design Mode and add an Analysis area to new worksheets in your workbook. You can assign a DataProvider to the analysis area by right clicking and going to "edit design item". Click on the change dataprovider button and choose a query to add.
    As for the formulae, it's important to stress that if your report has dynamic rows and columns rather than using structures then your Excel formulae will break (the reference cells can move).
    Assuming you are using structures, run the workbook and then add formulae at your will.

  • Excel Upload With Multiple Worksheets

    Friends,
    I have requirement wherein I have to read data from an excel file with multiple worksheets. I have gone through some earlier postings but most of them explain about creating an excel file with multiple worksheets (which is right oppsite of what I need to do)
    I am trying to understand the concept of OLE and implement it but am finding it tricky!
    Please help me out!
    Thanks,
    Shyam

    See this site: AN EASY REFERENCE FOR OLE AUTOMATION by Serder Simsekler.
    Best!
    Jim

  • Excel download with multiple worksheets using ABAP webdynpro

    Content of Internal table should to downloaded  to an excel sheet with multiple worksheet.

    Excel doesn't support multiple worksheets with the text tab delimited or any of the other plain text formats.  So if you need multiple worksheets those approaches are out.  Multiple worksheets would only work with the Excel native format or the XML based format.  From ABAP the best approach would be to create the XML Excel format.  Search the forms and wiki has there has been tons of discussion in the mast on the XML Excel format.

  • How to open multiple worksheet by redirecting discoverer plus URL ?

    Hi,
    Version : Discoverer Plus 11g
    I am able to open discoverer report with report workbook and worksheet from my UI screen by redirecting its URL.
    This is done by providing URL input parameter opendbid (workbook id) & sheetid (worksheet id of the workbook).
    http://host:port/discoverer/plus?cn=<+cnname+>&opendb=<+reportname+>&opendbid=<+workbookid+>&sheetid=<+worksheetid+>
    Now I have two reports in which there are two worksheets generated in single workbook.
    I want to open this report also by redirecting above URL from my UI screen so what I have to pass in worksheet id for multiple worksheets.
    regards,
    devang

    Hi,
    You cannot do this. You open only one sheet at a time from a URL.
    Rod West

  • One Excel , Multiple Worksheets

    Hello,
    I have a requirement to read the excelsheet having multiple worksheets.
    The excel will have sheet1, sheet2, sheet3 etc with data and I have to read all of them.
    I searched a lot on SDN and fould the below code which is reading only the Active Sheet. Not all the sheets.
    Any idea how this could be achieved?
    I am pasting the code for your reference whici reads teh Active sheet.
    =======================
    *& Report  ZSCD_TEST16
    REPORT  ZSCD_TEST16.
    Define Screen Container
    DATA: obj_container TYPE REF TO cl_gui_custom_container.
    DATA: o_error       TYPE REF TO i_oi_error,
          o_control     TYPE REF TO i_oi_container_control,
          o_document    TYPE REF TO i_oi_document_proxy,
          o_spreadsheet TYPE REF TO i_oi_spreadsheet,
          o_sheetname TYPE SOI_SHEETS_TABLE.
    Data declarations.
    DATA: t_files       TYPE filetable,
          s_files       TYPE file_table,
          v_doc_name    TYPE char256,
          v_changed     TYPE int4,
          v_rcode       TYPE int4,
          t_ranges      TYPE soi_range_list,
          s_ranges      TYPE soi_range_item,
          t_data        TYPE soi_generic_table,
          s_data        TYPE soi_generic_item,
          v_action      TYPE int4.
    Initialization event.
    INITIALIZATION.
    CLASS c_oi_errors DEFINITION LOAD.
    Create Instance control for container
      CALL METHOD c_oi_container_control_creator=>get_container_control
           IMPORTING control = o_control
                     error   = o_error.
      IF o_error->has_failed = 'X'.
        CALL METHOD o_error->raise_message
             EXPORTING type = 'E'.
      ENDIF.
    Create generic container linked to container in screen 100
      CREATE OBJECT obj_container
        EXPORTING
         container_name               = 'CONTAINER'
        EXCEPTIONS
         cntl_error                  = 1
         cntl_system_error           = 2
         create_error                = 3
         lifetime_error              = 4
         lifetime_dynpro_dynpro_link = 5
         others                      = 6.
      IF sy-subrc <> 0.
        MESSAGE e208(00) WITH 'Error creating container'.
      ENDIF.
    Establish connection to GUI Control
      CALL METHOD o_control->init_control
          EXPORTING r3_application_name = 'Excel Document Container'
                     inplace_enabled     = 'X'
                     parent              = obj_container
           IMPORTING error               = o_error.
      IF o_error->has_failed = 'X'.
        CALL METHOD o_error->raise_message
             EXPORTING type = 'E'.
      ENDIF.
    Create Document Proxy
      CALL METHOD o_control->get_document_proxy
           EXPORTING document_type   = soi_doctype_excel_sheet
           IMPORTING document_proxy  = o_document
                     error           = o_error.
      IF o_error->has_failed = 'X'.
        CALL METHOD o_error->raise_message
             EXPORTING type = 'E'.
      ENDIF.
    Start-of-selection.
    START-OF-SELECTION.
    Call dialog to navigate to file
      CALL METHOD cl_gui_frontend_services=>file_open_dialog
         EXPORTING
           default_extension       = '.xls'
           file_filter             = '*.xls'
           initial_directory       = 'C:\'
        CHANGING
           file_table              = t_files
           rc                      = v_rcode
           user_action             = v_action
        EXCEPTIONS
           file_open_dialog_failed = 1
           cntl_error              = 2
           error_no_gui            = 3
           OTHERS                  = 4.
      IF sy-subrc <> 0.
        MESSAGE e208(00) WITH 'FILE_OPEN_DIALOG'.
      ENDIF.
    Only continue if User hasn't cancelled
      CHECK: v_action = 0.
    Determine filename to open Excel document
      READ TABLE t_files INDEX 1 INTO s_files.
      IF sy-subrc = 0.
        CONCATENATE 'FILE://' s_files-filename INTO v_doc_name.
      ELSE.
        MESSAGE e208(00).
      ENDIF.  "sy-subrc = 0
    Open Spreadsheet in SAPWORKDIR
      CALL METHOD o_document->open_document
           EXPORTING open_inplace     = 'X'
                     document_title   = 'Excel'
                     document_url     = v_doc_name
                     no_flush         = ''
           IMPORTING error            = o_error.
      IF o_error->has_failed = 'X'.
        CALL METHOD o_error->raise_message
             EXPORTING type = 'E'.
      ENDIF.
    Open Spreadsheet interface
      CALL METHOD o_document->get_spreadsheet_interface
           EXPORTING no_flush        = 'X'
           IMPORTING sheet_interface = o_spreadsheet
                     error           = o_error.
      IF o_error->has_failed = 'X'.
        CALL METHOD o_error->raise_message
             EXPORTING type = 'E'.
      ENDIF.
    Set selection for 1000 rows
      CALL METHOD o_spreadsheet->set_selection
                   EXPORTING top   = 1
                             left  = 1
                             rows  = '10'
                             columns = '10'
                             UPDATING = '-1'.
    Define Range in spreadsheet
      CALL METHOD o_spreadsheet->insert_range
             EXPORTING name      = 'Sheet2'
                       rows      = '10'
                       columns   = '20'
                       no_flush  = ''
             IMPORTING error     = o_error.
      IF o_error->has_failed = 'X'.
        CALL METHOD o_error->raise_message
             EXPORTING type = 'E'.
      ENDIF.
    Define Range in spreadsheet
      CALL METHOD o_spreadsheet->GET_SHEETS
             EXPORTING no_flush  = ''
                       UPDATING = '-1'
             IMPORTING SHEETS     = o_sheetname.
      s_ranges-name    = 'Sheet2'.
      s_ranges-rows    = '10'.
      s_ranges-columns = '20'.
      APPEND s_ranges TO t_ranges.
    Get data
      CALL METHOD o_spreadsheet->get_ranges_data
             EXPORTING all       = '-1'
                       no_flush  = ' '
             IMPORTING contents  = t_data
                       error     = o_error
             CHANGING  ranges    = t_ranges.
      IF o_error->has_failed = 'X'.
        CALL METHOD o_error->raise_message
             EXPORTING type = 'E'.
      ENDIF.
    Close document
    Close the document
      CALL METHOD o_document->close_document
             EXPORTING do_save     = ''
                       no_flush    = ''
             IMPORTING has_changed = v_changed
                       error       = o_error.
      IF o_error->has_failed = 'X'.
        CALL METHOD o_error->raise_message
             EXPORTING type = 'E'.
      ENDIF.
    Clear Document Resources
      CALL METHOD o_document->release_document
             EXPORTING no_flush = ''
             IMPORTING error    = o_error.
      IF o_error->has_failed = 'X'.
        CALL METHOD o_error->raise_message
             EXPORTING type = 'E'.
      ENDIF.
    Clear table of file names
      FREE: t_files,
            o_control.
    Display the data
      LOOP AT t_data INTO s_data.
        AT NEW row.
          SKIP.
        ENDAT.
        WRITE:(10) s_data-value.
      ENDLOOP.
    ========================
    Thanks in advance.
    reagrds,

    Try this Links
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/abap-UploaddatafromExceltoSapusing+OO
    How to read the data from different TABs(sheet1,sheet2..) in the Excel file
    How to send data  to different tabs of an excel sheet?
    into excel sheet with multiple tabs

  • Export XML data into multiple worksheet of an Excel file..using FO processr

    Hi,
    I need to export XML data into Excel output, the data should flow into multiple worksheet of the Excel file.
    Let me know if this can be done using XML publisher. If yes, please provide me the steps to do the same.
    Could not able to achieve this through by the below process:
    (1)     Created a RTF (which has single excel table structure).
    (2)     Generated the XSL file using XSL-FO Style Sheet.
    (3)     Passed the XSL file and XML
    which exported the data into an Excel (single worksheet) format.
    Please let me know, how this can be exported into multiple worksheets.
    Thanks & Regards,
    Dhamodaran VJ.

    Hi Dhamodaran ,
    pass me the template you created and XML. "Created a RTF (which has single excel table structure)."
    Let me have a look at it,
    For ID, look at profile.

Maybe you are looking for

  • Correlation Between several Different Arrays & Saving Results Into a.CSV file

    Hello Everyone! I have 3 arrays from which I initialize a .CSV file when I run my VI ( as you can see in the example file.)( I use data from other arrays as well but it is not important ) The First array "customer Number" can be from 0 - 15 The secon

  • Outlook Integration - SAP Business One

    I am looking for information (marketing materials) on outlook integration for SAP Business One. As well, is it true that you do not necessarily need to have a B1 user license in order to use outlook integration? If so, how does this work? Thank you

  • Import packages without Maintenance license

    I have installed my test SAP Solution Manager 7.1 to my laptop to Virtulabox. I would try to import the support packages, but I miss maintenance license. Is there any possibility to import packages when I have only a temporary license? I want to just

  • Translation of plant description

    Hello, i want to maintain the plant description (T001W; T001W_BIW) in different languages. The Translation function in Customizing is inactive. Can i solve this problem with SE63? If yes, which objects should i use? Regards Andreas Walter

  • How to create windows users and groups from Java

    Hi, Can any one please tell me, which Package/API will helps to create windows users and groups from Java. Thanks, M.Prem.