Reading data in a tab in an excel sheet

Hi,
I would like to read the data in an excel sheet and upload into an internal table for processing. I was able to do it using function module ALSM_EXCEL_TO_INTERNAL_TABLE but I am not able to read a particular tab. My excel sheet has tabls like A, B, C and D and I want to read only tab C. But currently, it reads data in  tab A.
regards,
Srini.

Pls check this and review it once. it works for 2 excel sheets in single excel file to read. Pls reward me if its helpful.  Thanks !
   FUNCTION z_uploading_from_2sheets.
*"*"Local Interface:
*"  IMPORTING
*"     REFERENCE(FILE_NAME) TYPE  RLGRAP-FILENAME
*"     REFERENCE(START_ROW_SHEET1) TYPE  I
*"     REFERENCE(START_COLUMN_SHEET1) TYPE  I
*"     REFERENCE(START_ROW_SHEET2) TYPE  I
*"     REFERENCE(START_COLUMN_SHEET2) TYPE  I
*"     REFERENCE(END_ROW_SHEET1) TYPE  I
*"     REFERENCE(END_COLUMN_SHEET1) TYPE  I
*"     REFERENCE(END_ROW_SHEET2) TYPE  I
*"     REFERENCE(END_COLUMN_SHEET2) TYPE  I
*"  TABLES
*"      IT_DATA1 STRUCTURE  ALSMEX_TABLINE
*"      ALSMEX_TABLINE STRUCTURE  ALSMEX_TABLINE
*"  EXCEPTIONS
*"      INCONSISTENT_PARAMETERS
*"      UPLOAD_OLE
  TYPES: ty_t_sender(1500) TYPE c.
  DATA: excel_tab TYPE TABLE OF ty_s_senderline,
  excel_tab1 TYPE TABLE OF ty_s_senderline.
  DATA: ld_separator TYPE c.
  DATA: application TYPE ole2_object,
  workbook TYPE ole2_object,
  sheet TYPE ole2_object,
  range TYPE ole2_object,
  worksheet TYPE ole2_object.
  DATA: h_cell TYPE ole2_object,
  h_cell1 TYPE ole2_object.
  DATA: ld_rc TYPE i.
  DATA: it_data TYPE STANDARD TABLE OF  alsmex_tabline.
*MESSAGE DEFINATION
  DEFINE m_message.
*Function Module To Upload Data From
*Excel File Into Two Internal Tables
*© 2005 SAP AG 6
    case sy-subrc.
      when 0.
      when 1.
        message id sy-msgid type sy-msgty number sy-msgno
        with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      when others. raise upload_ole.
    endcase.
  END-OF-DEFINITION.
*PARAMETER CHECK.
  IF start_row_sheet1 > end_row_sheet1.
    RAISE inconsistent_parameters.
  ENDIF.
  IF start_column_sheet1 > end_column_sheet1.
    RAISE inconsistent_parameters.
  ENDIF.
  IF start_row_sheet2 > end_row_sheet2.
    RAISE inconsistent_parameters.
*Function Module To Upload Data From Excel File Into Two Internal Tables
  ENDIF.
  IF start_column_sheet2 > end_column_sheet2.
    RAISE inconsistent_parameters.
  ENDIF.
  CLASS cl_abap_char_utilities DEFINITION LOAD.
  ld_separator = cl_abap_char_utilities=>horizontal_tab.
*OPENING EXCEL FILE
  IF application-header = space OR application-handle = -1.
    CREATE OBJECT application 'Excel.Application'.
    m_message.
  ENDIF.
  CALL METHOD OF
      application
      'Workbooks' = workbook.
  m_message.
  CALL METHOD OF
      application
      'Workbooks' = workbook.
  m_message.
  CALL METHOD OF
      workbook
      'Open'
    EXPORTING
      #1       = file_name.
  m_message.
  CALL METHOD OF
      application
      'Worksheets' = sheet
    EXPORTING
      #1           = 1.
*Function Module To Upload Data From Excel File Into Two Internal Tables
  m_message.
  CALL METHOD OF
      application
      'Worksheets' = sheet
    EXPORTING
      #1           = 1.
  m_message.
  CALL METHOD OF
      sheet
      'Activate'.
  m_message.
  GET PROPERTY OF application 'ACTIVESHEET' = sheet.
  m_message.
*MARKING OF WHOLE SPREADSHEET
  CALL METHOD OF
      sheet
      'Cells' = h_cell
    EXPORTING
      #1      = start_row_sheet1
      #2      = start_column_sheet1.
  m_message.
  CALL METHOD OF
      sheet
      'Cells' = h_cell1
    EXPORTING
      #1      = end_row_sheet1
      #2      = end_column_sheet1.
  m_message.
  CALL METHOD OF
      sheet
      'RANGE' = range
    EXPORTING
      #1      = h_cell
      #2      = h_cell1.
  m_message.
  CALL METHOD OF
      range
      'SELECT'.
  m_message.
*Function Module To Upload Data From Excel File Into Two Internal Tables
*Copy marked area (SHEET1) into Clippboard
  CALL METHOD OF
      range
      'COPY'.
  m_message.
*Read clipboard into ABAP
  CALL METHOD cl_gui_frontend_services=>clipboard_import
    IMPORTING
      data                 = excel_tab
    EXCEPTIONS
      cntl_error           = 1
      error_no_gui         = 2
      not_supported_by_gui = 3
      OTHERS               = 4.
  IF sy-subrc <> 0.
    MESSAGE a037(alsmex).
  ENDIF.
  PERFORM separated_to_intern_convert TABLES excel_tab it_data
  USING ld_separator.
  APPEND LINES OF it_data TO it_data1.
*Function Module To Upload Data From Excel File Into Two Internal Tables
*Clear the clipboard
  REFRESH excel_tab.
  CALL METHOD cl_gui_frontend_services=>clipboard_export
    IMPORTING
      data                 = excel_tab
    CHANGING
      rc                   = ld_rc
    EXCEPTIONS
      cntl_error           = 1
      error_no_gui         = 2
      not_supported_by_gui = 3
      OTHERS               = 4.
*Working in Second Excel Work Sheet
  CALL METHOD OF
      application
      'Worksheets' = sheet
    EXPORTING
      #1           = 2.
  m_message.
  CALL METHOD OF
      sheet
      'Activate'.
  m_message.
*Function Module To Upload Data From Excel File Into Two Internal Tables
  GET PROPERTY OF application 'ACTIVESHEET' = sheet.
  m_message.
*Mark Sheet2
  CALL METHOD OF
      sheet
      'Cells' = h_cell
    EXPORTING
      #1      = start_row_sheet2
      #2      = start_column_sheet2.
  m_message.
  CALL METHOD OF
      sheet
      'Cells' = h_cell1
    EXPORTING
      #1      = end_row_sheet2
      #2      = end_column_sheet2.
  m_message.
  CALL METHOD OF
      sheet
      'RANGE' = range
    EXPORTING
      #1      = h_cell
      #2      = h_cell1.
  m_message.
  CALL METHOD OF
      range
      'SELECT'.
  m_message.
*Copy Marked Area (Sheet2) into Clippboard
  CALL METHOD OF
      range
      'COPY'.
  m_message.
*Function Module To Upload Data From Excel File Into Two Internal Tables
*Read Clipboard into ABAP
  CALL METHOD cl_gui_frontend_services=>clipboard_import
    IMPORTING
      data                 = excel_tab1
    EXCEPTIONS
      cntl_error           = 1
      error_no_gui         = 2
      not_supported_by_gui = 3
      OTHERS               = 4.
  IF sy-subrc <> 0.
    MESSAGE a037(alsmex).
  ENDIF.
*PERFORM separated_to_intern_convert TABLES excel_tab1 IT_DATA2
  PERFORM separated_to_intern_convert TABLES excel_tab1 it_data
  USING ld_separator.
*Clear Clipboard.
  REFRESH: excel_tab1.
  APPEND LINES OF it_data TO it_data1.
  CALL METHOD cl_gui_frontend_services=>clipboard_export
*Function Module To Upload Data From Excel File Into Two Internal Tables
  IMPORTING
  data = excel_tab1
  CHANGING
  rc = ld_rc
  EXCEPTIONS
  cntl_error = 1
  error_no_gui = 2
  not_supported_by_gui = 3
  OTHERS = 4
*Leaving Application
  CALL METHOD OF
      application
      'QUIT'.
  m_message.
* >>>>> Begin of change note 575877
* to kill the Excel process it's necessary to free all used objects
  FREE OBJECT h_cell.       m_message.
  FREE OBJECT h_cell1.      m_message.
  FREE OBJECT range.        m_message.
  FREE OBJECT worksheet.    m_message.
  FREE OBJECT workbook.     m_message.
  FREE OBJECT application.  m_message.
* <<<<< End of change note 575877
ENDFUNCTION.

Similar Messages

  • How to read data from different tabs of an excel sheet?

    Hello everybody:
    I try to read an specific sheet from excel workbook with multiple sheets, but I can't obtain any soluction. Any have a example ABAP code for the specific question?
    Regards,
    Piero Cimule Troise,

    Piero,
    Have a look into this link
    http://searchsap.techtarget.com/tip/1,289483,sid21_gci868246,00.html?FromTaxonomy=/pr/283958

  • Read data from database  write it in excel sheet throw java

    hi
    i wanna to read database table & write it contain in excel sheet how i will do this connectivity between jdbc & excelDB how i will do this
    tell me
    sandeep patil
    [email protected]

    Read Suns JDBC Tutorial, then if there is already an Excel spreadsheet set up to use as an ODBC datasource use JDBC and the JDBC/ODBC bridge. If there is not an already setup ODBC Datasource then Google POI HSSF and/or JExcel to do the Excel part.

  • How to put information in the different tabs of same excel sheet

    Hi all,
    How to download information in the different tabs of same excel sheet.
    EG data.xls is the excel sheet name
    and sheet1 , sheet2 , sheet3 are different tabs of it.
    Is there any standad function module for this .
    If somebody is having idea abt it , Please guide.
    Regards,
    Shikha Jain

    Hi Shikha,
    You can do this by using the DOI interface for spreadsheets. Take a look at:
    http://help.sap.com/saphelp_47x200/helpdata/en/e9/0be83b408e11d1893b0000e8323c4f/frameset.htm
    Regards,
    John.

  • Write data of a table to an excel sheet

    Hi
    How i can write data of a table to an excel sheet?
    regard
    deemy

    Search this forum for 1.2 Jiga-examples...

  • How to extract the data from module pool program to Excel Sheet?

    Hi Guys
            I am having a requirement to transfer the data from Module pool screen to excel sheet directly.
            This is an urgent requirement.
            So plz reply me with some coding examples.
            I will give points for that.

    This report extract excel file. From that concept you can easily extract data from module pool program also by coding in PAI of the screen.
    REPORT ztest1 .
    * this report demonstrates how to send some ABAP data to an
    * EXCEL sheet using OLE automation.
    include ole2incl.
    * handles for OLE objects
    data: h_excel type ole2_object,        " Excel object
          h_mapl type ole2_object,         " list of workbooks
          h_map type ole2_object,          " workbook
          h_zl type ole2_object,           " cell
          h_f type ole2_object,            " font
          h_c type ole2_object.            " color
    DATA: FILENAME LIKE RLGRAP-FILENAME.
    tables: spfli.
    data  h type i.
    * table of flights
    data: it_spfli like spfli occurs 10 with header line.
    *&   Event START-OF-SELECTION
    start-of-selection.
    * read flights
      select * from spfli into table it_spfli.
    * display header
      uline (61).
      write: /     sy-vline no-gap,
              (3)  'Flg'(001) color col_heading no-gap, sy-vline no-gap,
              (4)  'Nr'(002) color col_heading no-gap, sy-vline no-gap,
              (20) 'Von'(003) color col_heading no-gap, sy-vline no-gap,
              (20) 'Nach'(004) color col_heading no-gap, sy-vline no-gap,
              (8)  'Zeit'(005) color col_heading no-gap, sy-vline no-gap.
      uline /(61).
    * display flights
      loop at it_spfli.
        write: / sy-vline no-gap,
                 it_spfli-carrid color col_key no-gap, sy-vline no-gap,
                 it_spfli-connid color col_normal no-gap, sy-vline no-gap,
                 it_spfli-cityfrom color col_normal no-gap, sy-vline no-gap,
                 it_spfli-cityto color col_normal no-gap, sy-vline no-gap,
                 it_spfli-deptime color col_normal no-gap, sy-vline no-gap.
      endloop.
      uline /(61).
    * tell user what is going on
      call function 'SAPGUI_PROGRESS_INDICATOR'
         exporting
    *           PERCENTAGE = 0
               text       = text-007
           exceptions
                others     = 1.
    * start Excel
      create object h_excel 'EXCEL.APPLICATION'.
    *  PERFORM ERR_HDL.
      set property of h_excel  'Visible' = 1.
    *  CALL METHOD OF H_EXCEL 'FILESAVEAS' EXPORTING #1 = 'c:kis_excel.xls'
    *  PERFORM ERR_HDL.
    * tell user what is going on
      call function 'SAPGUI_PROGRESS_INDICATOR'
         exporting
    *           PERCENTAGE = 0
               text       = text-008
           exceptions
                others     = 1.
    * get list of workbooks, initially empty
      call method of h_excel 'Workbooks' = h_mapl.
      perform err_hdl.
    * add a new workbook
      call method of h_mapl 'Add' = h_map.
      perform err_hdl.
    * tell user what is going on
      call function 'SAPGUI_PROGRESS_INDICATOR'
         exporting
    *           PERCENTAGE = 0
               text       = text-009
           exceptions
                others     = 1.
    * output column headings to active Excel sheet
      perform fill_cell using 1 1 1 200 'Carrier id'(001).
      perform fill_cell using 1 2 1 200 'Connection id'(002).
      perform fill_cell using 1 3 1 200 'City from'(003).
      perform fill_cell using 1 4 1 200 'City to'(004).
      perform fill_cell using 1 5 1 200 'Dep. Time'(005).
      loop at it_spfli.
    * copy flights to active EXCEL sheet
        h = sy-tabix + 1.
        if it_spfli-carrid cs 'AA'.
          perform fill_cell using h 1 0 000255000 it_spfli-carrid.
        elseif it_spfli-carrid cs 'AZ'.
          perform fill_cell using h 1 0 168000000 it_spfli-carrid.
        elseif it_spfli-carrid cs 'JL'.
          perform fill_cell using h 1 0 168168000 it_spfli-carrid.
        elseif it_spfli-carrid cs 'LH'.
          perform fill_cell using h 1 0 111111111 it_spfli-carrid.
        elseif it_spfli-carrid cs 'SQ'.
          perform fill_cell using h 1 0 100100100 it_spfli-carrid.
        else.
          perform fill_cell using h 1 0 000145000 it_spfli-carrid.
        endif.
        if it_spfli-connid lt 400.
          perform fill_cell using h 2 0 255000255 it_spfli-connid.
        elseif it_spfli-connid lt 800.
          perform fill_cell using h 2 0 077099088 it_spfli-connid.
        else.
          perform fill_cell using h 2 0 246156138 it_spfli-connid.
        endif.
        if it_spfli-cityfrom cp 'S*'.
          perform fill_cell using h 3 0 155155155 it_spfli-cityfrom.
        elseif it_spfli-cityfrom cp 'N*'.
          perform fill_cell using h 3 0 189111222 it_spfli-cityfrom.
        else.
          perform fill_cell using h 3 0 111230222 it_spfli-cityfrom.
        endif.
        if it_spfli-cityto cp 'S*'.
          perform fill_cell using h 4 0 200200200 it_spfli-cityto.
        elseif it_spfli-cityto cp 'N*'.
          perform fill_cell using h 4 0 000111222 it_spfli-cityto.
        else.
          perform fill_cell using h 4 0 130230230 it_spfli-cityto.
        endif.
        if it_spfli-deptime lt '020000'.
          perform fill_cell using h 5 0 145145145 it_spfli-deptime.
        elseif it_spfli-deptime lt '120000' .
          perform fill_cell using h 5 0 015215205 it_spfli-deptime.
        elseif it_spfli-deptime lt '180000' .
          perform fill_cell using h 5 0 000215205 it_spfli-deptime.
        else.
          perform fill_cell using h 5 0 115115105 it_spfli-deptime.
        endif.
      endloop.
    * EXCEL FILENAME
      CONCATENATE SY-REPID '_' SY-DATUM+6(2) '_' SY-DATUM+4(2) '_'
                  SY-DATUM(4) '_' SY-UZEIT '.XLS' INTO FILENAME.
      CALL METHOD OF H_MAP 'SAVEAS' EXPORTING #1 = FILENAME.
      free object h_excel.
      perform err_hdl.
    *       FORM FILL_CELL                                                *
    *       sets cell at coordinates i,j to value val boldtype bold       *
    form fill_cell using i j bold col val.
      call method of h_excel 'Cells' = h_zl
        exporting
          #1 = i
          #2 = j.
      perform err_hdl.
      set property of h_zl 'Value' = val .
      perform err_hdl.
      get property of h_zl 'Font' = h_f.
      perform err_hdl.
      set property of h_f 'Bold' = bold .
      perform err_hdl.
      set property of h_f 'Color' = col.
      perform err_hdl.
    endform.                    "FILL_CELL
    *&      Form  ERR_HDL
    *       outputs OLE error if any                                       *
    *  -->  p1        text
    *  <--  p2        text
    form err_hdl.
      if sy-subrc <> 0.
        write: / 'OLE-Automation Error:'(010), sy-subrc.
        stop.
      endif.
    endform.                    " ERR_HDL

  • How to transfer data more than 255 char from excel sheet to internal table.

    Hello Experts,
    I have a requirement where i have a text field in the excel sheet of more than 255 char and need to be updated in the text element. To do that i need to transfer the excel sheet data to an internal table where one of the field is more than 255 char.
    in the standard function module it works only upto 255 char. Can you help me if we have some other way to get more than 255 char in the internal table from excel sheet.
    Thanks in Advance.
    BR,
    RaJ.

    Using .xls, it is not possible transfer data more than 255 characters from excel sheet. However if the excel sheet is saved as Comma Delimited format or Tab Delimited format, then using GUI_DOWNLOAD function module data more than 255 characters can be transferred.
    File name should be : .csv (Comma Delimited format)  or .txt (Tab Delimited format)
    File Type would still remain 'ASC' while calling function module GUI_DOWNLOAD
    Also In the internal table declare the field type as String or LCHAR.
    Eg:
    TYPES: begin of ty_file,
            col_a TYPE string,
          end of ty_file.
    DATA: i_file type standard table
                   of ty_file
                 with header line
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      =  'C:\test.csv'
      TABLES
        DATA_TAB                      = i_file

  • UNABLE TO READ DATE FORMAT(DD/MM/YY) FROM EXCEL

    HI...
     i have written a code to read excel sheet.my problem is my program is working fine but in the first column i am having dates in dd/mm/yy format....This column is not getting value when the vi is running.Rest all the columns show the correct data except the date column...i have also changed the seperator and used '-' ,'.' but no use....
    sometimes it gives some random number there in 1st colum of array where i am storing the data after reading...i am not understanding why this is happening...
    pls can any1help me out.........

    I'm going to take a guess and say the day/month thing is a typo.
    In Excel when a cell is formatted to date in windows (By Default) it starts from Jan 1 1900 as day 1. Mac uses Jan 1 1904 as Does LabVIEW.
    Formatting to date in Excel calculates number of days since 1900, 12/08/2009 is equal 40155 days. LabVIEW calculates seconds since 1904.
    If the formatting in the spreadsheet cannot be changed because the data is already there then you will need to convert the number in LabVIEW by pulling out the value, subtract 4 years of days, then multiply by seconds in a day. This will give you a time LabVIEW can use. get the date and then insert the data back into the array.
    See .png
    Robert Fogg
    Certified LabVIEW Architect
    Attachments:
    Convert Excel Date.PNG ‏7 KB

  • [webdynpro] How to get the data from database and store in Excel sheet

    Hi All-
    I am developing an application in Webdynpro and I need to provide a URL ( link ) which if clicked , need to collect the data from Database ( SQL Server ) and puts in an Excel Sheet corresponding fields and opens the sheet.....
    Please look into this issue and help me out......
    Regards,
    Cris

    Hi Cris,
    Add-on to wat santosh has pointed to:
    Exporting table data to MS-Excel Sheet(enhanced Web Dynpro Binary Cache)
    (Or) If you have implemented your logic to get Database records below Blog should guide you in opening an excel with ur records.
    Exporting table data to MS-Excel Sheet(enhanced Web Dynpro Binary Cache)
    Regards,
    N.

  • Data trasfer from maint. view to excel sheet

    I have one maint. view , How to trasfer the data from that maint view to excel through bdc?
    Thanks,
    Regards,
    Vishal Bhagwat.

    Hi Vishal,
    In BDC call the below FM
    You can try using KCD_EXCEL_OLE_TO_INT_CONVERT FM.
    Add values to internal table
    SORT t_cells BY row col.
    LOOP AT t_cells INTO wa_cells.
    MOVE : wa_cells-col TO l_index.
    ASSIGN COMPONENT l_index OF STRUCTURE itab TO <f_value>.
    MOVE : wa_cells-value TO <f_value>.
    AT END OF row.
    APPEND itab
    CLEAR itab.
    ENDAT.
    ENDLOOP.
    Regards,
    Aarti.

  • Reg: Download alv grid data with top of page into excel sheet

    Hi All,
    I have a selection screen with radio button for download .
    If that radio button was selected then the data will download into excel sheet (like if we execute normal ALV grid display from there we can download top-of-page and body as it is).
    AOO : 2009P               
    Fiscal year : 2009               
    Posting period : 00               
    Local Currency : USD               
    CO Area Currency :               
    Accounting standard:               
    Sector : 23               
    BB code     Period Value LC     Periodic Quantity
    AHDKGKAJ   200                         0

    Did not get your question

  • How to dowload data in particular cell of designed excel sheet

    hi everyone
    i want to dowload the data in a excel sheet, but this excel sheet is designed in such a format that i have download each field of internal table in a specified cell only , <b>gui_download</b> function module simply download the data in excel sheet by taking the first cell for first field but i dont want that

    Hi Neetu,
    you can use OLE in that case.
    REPORT  ZTEST_EXCEL             .
    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),
    last_name(10),
    END OF itab1.
    START-OF-SELECTION.
    itab1-first_name = '123445'.
    itab1-last_name = 'tesst'.
    append itab1.
    clear itab1.
    itab1-first_name = '123446'.
    itab1-last_name = 'tesst'.
    append itab1.
    clear itab1.
      CREATE OBJECT application 'excel.application'.
      SET PROPERTY OF application 'visible' = 1.
      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.
            index = index + 1. " 1 - column name
        CALL METHOD OF sheet 'Cells' = cells EXPORTING #1 = index.
        SET PROPERTY OF cells 'Value' = itab1-last_name.
      ENDLOOP.
    * Save excel speadsheet to particular filename
      CALL METHOD OF sheet 'SaveAs'
                     EXPORTING #1 = 'c:tempexceldoc1.xls'     "filename
                                #2 = 1.                          "fileFormat
    Regards
    vijay

  • Excel sheet with tabs

    Hi all,
    I have an excel sheet with 2 spread sheets. 1 hidden and other visible.
    1) How to read the excel so that the hidden fields dont come into the internal table in which the data is read?
    2) when the data is read from the visible tab of the excel sheet, data from hidden tab is also getting added in the internal table.
    How to avoid it?
    Useful answers will be rewarded with points.
    please help!!!

    Hi,
    If you have 2 tabs in your excel sheet. Open one tab which you want to process save it. Now it should be process active tab only.
    thanks,
    Sriram.

  • Excel sheet has modified data cells error - do you want to submit

    Using smartview in office 2007 I often get trapped in a loop where each time I modify any data on the excel sheet I get the error "Excel sheet has modified data cells. Do you want to submit the modified data cells before proceeding?". Regardless if I choose yes or no I basically have to start a new instance of excel to clear the error.
    For the most part I never use member select rather just type the members I want freehand in the excel workbook. Seems like the error arises after I insert or delete a row or column and then try to update the page.
    If I "reset" the connection it seems to help but not all the time.

    This may be the same issue as you are experiencing "When Trying to Copy Cells Between Excel Tabs Get Message "Excel Sheet has modified data cells do you want to submit the modified data?" [ID 1301092.1]"
    The document is on "My Oracle Support"
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Download data from internal table to excel sheet from the background

    Hello Experts,
    I have written a code where the data is stored in the internal table . Now when i run this code in the background i want this internal table data to get downloaded in the excel sheet. The function module GUI_DOWNLAOD is not supported in the background. So is there any other function module that can be used or is there any other way to do this
    Thanks in advance

    Hi Aditya,
    I would provide you 2 advice:
    1. save the file on the application server as text file and the fileds in it separated by TAB,you can download the file whenever you want and open it with excel.
    2.generate excel files and send it to the email address whatever you specify in the selection-screen.
    Thanks,
    Sam

Maybe you are looking for