<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Reading Excel File on Application Server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-on-application-server/m-p/5513256#M1260606</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Rudiger,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. But would cl_gui_frontend_services=&amp;gt;gui_upload work if the excel needs to be read in background mode ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Vasu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 22 Jul 2012 04:53:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-07-22T04:53:40Z</dc:date>
    <item>
      <title>Reading Excel File on Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-on-application-server/m-p/5513248#M1260598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to read data from MS Excel files without OLE technology.&lt;/P&gt;&lt;P&gt;The files located on the application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have anyone sample code for this purpose?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Tino&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 10:30:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-on-application-server/m-p/5513248#M1260598</guid>
      <dc:creator>tino_schumacher</dc:creator>
      <dc:date>2009-04-30T10:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel File on Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-on-application-server/m-p/5513249#M1260599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this Function Module ALSM_EXCEL_TO_INTERNAL_TABLE or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET g_name FOR INPUT IN TEXT MODE ENCODING DEFAULT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO.&lt;/P&gt;&lt;P&gt;READ DATASET g_name INTO temp.&lt;/P&gt;&lt;P&gt;IF sy-subrc 0.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;................&lt;/P&gt;&lt;P&gt;ENDIF. "END OF FILE REACHED&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;P&gt;CLOSE DATASET g_name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample code  : &lt;A href="http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm" target="test_blank"&gt;http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Gayathri G on Apr 30, 2009 12:39 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 10:38:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-on-application-server/m-p/5513249#M1260599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-30T10:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel File on Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-on-application-server/m-p/5513250#M1260600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please consider the post below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: MANISH GUPTA on Apr 30, 2009 12:46 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 10:39:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-on-application-server/m-p/5513250#M1260600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-30T10:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel File on Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-on-application-server/m-p/5513251#M1260601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the folowing code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Specify the format of the file in lv_file_separator.&lt;/P&gt;&lt;P&gt;The below code is to read tab separated file from application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


REPORT zabaptooldemo.
* Table declaration
TABLES: eban.
* Type(s) definition
TYPES: BEGIN OF ty_testfile,
         field1 TYPE bukrs,
         field2 TYPE anln1,
         field3(10) TYPE c,
         field4(10) TYPE c,
         field5(10) TYPE c,
       END OF ty_testfile.
TYPES: BEGIN OF ty_testfile_file,
         field1(10) TYPE c,
         field2(10) TYPE c,
         field3(10) TYPE c,
         field4(10) TYPE c,
         field5(10) TYPE c,
       END OF ty_testfile_file.
* Work area(s) definition
DATA: wa_file_data TYPE text4096,
      wa_testfile TYPE ty_testfile,
      wa_testfile_file TYPE ty_testfile_file.
* Internal table(s) definition
DATA: tb_file_data TYPE TABLE OF text4096,
      tb_testfile TYPE TABLE OF ty_testfile,
      tb_testfile_file TYPE TABLE OF ty_testfile_file.
* Class(s) definition
CLASS cl_abap_char_utilities DEFINITION LOAD.
* EVENT - INITIALIZATION
INITIALIZATION.

* EVENT - START OF SELECTION
START-OF-SELECTION.
* Perform to upload data from a file
  PERFORM upload_file.
  PERFORM data_assign.

*&amp;amp;---------------------------------------------------------------------*
*      Form  upload_file
*&amp;amp;---------------------------------------------------------------------*
*       To upload file data into SAP
*&amp;amp;---------------------------------------------------------------------*
FORM upload_file.
* To read output in specified format from application server
  PERFORM upload_app_server.
*To convert raw format to specified format
  PERFORM data_convert.
ENDFORM.                    "upload_file

*&amp;amp;---------------------------------------------------------------------*
*      Form upload_app_server
*&amp;amp;---------------------------------------------------------------------*
*       To&amp;nbsp;read file from application server
*&amp;amp;---------------------------------------------------------------------*
FORM upload_app_server.
  DATA: lv_app_server_file TYPE string.
  lv_app_server_file = pa_filep.
* To read file from Application server
  OPEN DATASET lv_app_server_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
  DO.
    READ DATASET lv_app_server_file INTO wa_file_data.
    IF sy-subrc = 0.
      APPEND wa_file_data TO tb_file_data.
    ELSE.
      EXIT.
    ENDIF.
  ENDDO.
  CLOSE DATASET lv_app_server_file.
ENDFORM.                    "upload_app_server

*&amp;amp;---------------------------------------------------------------------*
*      Form data_convert
*&amp;amp;---------------------------------------------------------------------*
*       To convert file to specified format
*&amp;amp;---------------------------------------------------------------------*
FORM data_convert.
  DATA: lv_file_separator TYPE c.
  lv_file_separator = cl_abap_char_utilities=&amp;gt;horizontal_tab.
* To upload file in other formats(CSV, Tab delimited etc)
  CALL FUNCTION 'TEXT_CONVERT_TEX_TO_SAP'
    EXPORTING
      i_field_seperator    = &amp;lt;lv_file_separator&amp;gt;
      i_tab_raw_data       = tb_file_data
    TABLES
      i_tab_converted_data = tb_testfile_file
    EXCEPTIONS
      conversion_failed    = 1
      OTHERS               = 2.
  IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
ENDFORM.                    "data_convert

*&amp;amp;---------------------------------------------------------------------*
*      Form data_assign
*&amp;amp;---------------------------------------------------------------------*
*       To assign field value into character format
*&amp;amp;---------------------------------------------------------------------*
FORM data_assign.
  LOOP AT tb_testfile_file INTO wa_testfile_file.
    wa_testfile-field1 = wa_testfile_file-field1.
    wa_testfile-field2 = wa_testfile_file-field2.
    wa_testfile-field3 = wa_testfile_file-field3.
    wa_testfile-field4 = wa_testfile_file-field4.
    wa_testfile-field5 = wa_testfile_file-field5.
    APPEND wa_testfile TO tb_testfile.
    CLEAR wa_testfile.
  ENDLOOP.
ENDFORM.                    "data_assign

  &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: MANISH GUPTA on Apr 30, 2009 12:46 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 10:42:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-on-application-server/m-p/5513251#M1260601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-30T10:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel File on Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-on-application-server/m-p/5513252#M1260602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for answering but this is not what i want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i read a &lt;STRONG&gt;single cells&lt;/STRONG&gt; e. g. "A1" in an *&lt;STRONG&gt;.XLS file format&lt;/STRONG&gt; (NOT CSV or tab delimited).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tino&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 11:52:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-on-application-server/m-p/5513252#M1260602</guid>
      <dc:creator>tino_schumacher</dc:creator>
      <dc:date>2009-04-30T11:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel File on Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-on-application-server/m-p/5513253#M1260603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Tino,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you find a way to solve this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jul 2012 16:01:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-on-application-server/m-p/5513253#M1260603</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-21T16:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel File on Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-on-application-server/m-p/5513254#M1260604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tino,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pure excel format is microsofts own format that can be handled only by microsoft. OLE just means to use an interface to access microsofts application software.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can read the excel from application server into an internal table of type SOLIX_TAB. Then you can (working online, not in background) pass the data to an I_OI_DOCUMENT_PROXY &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; mo_document_proxy-&amp;gt;open_document_from_table(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXPORTING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; document_size&amp;nbsp;&amp;nbsp;&amp;nbsp; = mv_file_length&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; document_table&amp;nbsp;&amp;nbsp; = mt_datax_tab&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;CALL METHOD mo_document_proxy-&amp;gt;get_spreadsheet_interface&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXPORTING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no_flush&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = ' '&lt;/P&gt;&lt;P&gt;&amp;nbsp; IMPORTING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sheet_interface = mo_spreadsheet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer to &lt;A href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCIOFFI/BCCIOFFI.pdf"&gt;&lt;SPAN style="font-family: Arial; font-size: 10pt;"&gt;Desktop Office Integration (BC-CI)&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jul 2012 19:50:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-on-application-server/m-p/5513254#M1260604</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2012-07-21T19:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel File on Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-on-application-server/m-p/5513255#M1260605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it really has to be xls (not xlsx), i.e. the pre-2007 Excel format (BIFF), check out my function module Z_EXCEL_TO_INTERNAL_TABLE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;A href="http://bsp.mits.ch/code/fugr/zutil_excel" title="http://bsp.mits.ch/code/fugr/zutil_excel"&gt;http://bsp.mits.ch/code/fugr/zutil_excel&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If instead xlsx is the source format, you may use the custom software component abap2xlsx (wich, despite its name, has methods for transformations in both directions):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/ABAP/abap2xlsx" title="http://wiki.sdn.sap.com/wiki/display/ABAP/abap2xlsx"&gt;http://wiki.sdn.sap.com/wiki/display/ABAP/abap2xlsx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option for xlsx-&amp;gt;abap would be&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;to unzip the xlsx file&lt;/LI&gt;&lt;LI&gt; to write an XSLT transformation which extracts the desired data directly from the XML data source of the Excel sheet.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The xlsx format is really not difficult to understand. You can use Sal Mangano's XSLT cookbook for an example how to extract data from an Excel Spreadsheet with XSLT:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://flylib.com/books/en/2.765.1.142/1/" title="http://flylib.com/books/en/2.765.1.142/1/"&gt;http://flylib.com/books/en/2.765.1.142/1/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jul 2012 20:17:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-on-application-server/m-p/5513255#M1260605</guid>
      <dc:creator>Ruediger_Plantiko</dc:creator>
      <dc:date>2012-07-21T20:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel File on Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-on-application-server/m-p/5513256#M1260606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Rudiger,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. But would cl_gui_frontend_services=&amp;gt;gui_upload work if the excel needs to be read in background mode ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Vasu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jul 2012 04:53:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-on-application-server/m-p/5513256#M1260606</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-22T04:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel File on Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-on-application-server/m-p/5513257#M1260607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Vasu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course, cl_gui_frontend_services=&amp;gt;gui_upload will not work if the excel needs to be read in background mode. If you think about it, it can't be possible: You want to read data from a machine (the presentation server) which is not available!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your process requires to read data from another machine into the application server, then this machine should be open for access from the ABAP application server. A Windows file system network will not suffice, since it requires a Windows computer for access (it could only work if your application server is a Windows box, too - which is a rare choice). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possible ways: &lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The computer to access provides the files as an FTP, SFTP, or even HTTP server.&lt;/LI&gt;&lt;LI&gt;The computer to access works as RFC endpoint&lt;/LI&gt;&lt;LI&gt;Another computer of the network&amp;nbsp; performs 1) or 2), accessing to the required destination through the network.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the options require a server process constantly running on the target machine. In cases 1) and 2), this is the machine where the file resides. In 3), it is another machine of the same network.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you think about the case that the employee has switched off his computer after leaving, before your nightly background job is trying to access the data?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Usually, in such processes, the user directly uploads his file to the server when he has completed its data. The data are then &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;either immediately parsed into ABAP data by the custom transaction which does the upload.&lt;/LI&gt;&lt;LI&gt;Or they are stored on the app server and analyzed later.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The first option is much better, since the user can be informed directly about input errors. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rüdiger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jul 2012 07:30:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-on-application-server/m-p/5513257#M1260607</guid>
      <dc:creator>Ruediger_Plantiko</dc:creator>
      <dc:date>2012-07-22T07:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel File on Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-on-application-server/m-p/5513258#M1260608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Rudiger,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your detailed explanation. Highly appreciated. In my case , i would have to read the excel file consisting of legacy records from Application Server using a batch program. Then convert this excel sheet into an internal table and proceed with creation of Business Partners , relationships etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I initially explored GUI_UPLOAD and concluded that it wouldnt work on batch programs. The other option is to use OPEN DATASET , i am not sure if it would be the wise way to read excel files where fields are in seperate coloumns, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jul 2012 12:19:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-on-application-server/m-p/5513258#M1260608</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-22T12:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel File on Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-on-application-server/m-p/5513259#M1260609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Vasudev, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that the upload of the Excel file is a one-time activity of yourself. In this case, I would recommend to store the data in the CSV file format, then upload it with a transaction like CG3Z and store it as a text file on the application server. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, in your batch job: &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;you read this file with OPEN DATASET etc., line by line will be OK,&amp;nbsp; &lt;/LI&gt;&lt;LI&gt;parse the CSV format into ABAP data which is relatively easy&lt;/LI&gt;&lt;LI&gt;call the business logic modules, e.g. for creating business partners, with these data.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rüdiger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jul 2012 19:58:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-on-application-server/m-p/5513259#M1260609</guid>
      <dc:creator>Ruediger_Plantiko</dc:creator>
      <dc:date>2012-07-22T19:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel File on Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-on-application-server/m-p/5513260#M1260610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2015 12:55:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-on-application-server/m-p/5513260#M1260610</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-24T12:55:16Z</dc:date>
    </item>
  </channel>
</rss>

