<?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 file from an external folder. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-file-from-an-external-folder/m-p/5179700#M1199104</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>Mon, 16 Feb 2009 12:58:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-16T12:58:52Z</dc:date>
    <item>
      <title>Reading file from an external folder.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-file-from-an-external-folder/m-p/5179697#M1199101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Iam tring to read an external file from the C:\ drive. Given below is the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA LV_XLS(100) TYPE C.&lt;/P&gt;&lt;P&gt;DATA LV_CONTENT TYPE XSTRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LV_XLS = 'C:\XML\Report.xls'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ DATASET LV_XLS INTO LV_CONTENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i execute iam getting an error - FILE NOT FOUND. How do i read file from an external folder. My requirement is to strictly read from an external folder. Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is not possible please advice as to how the file could be moved to the SAP root directory. Iam not able to locate the root.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2009 12:52:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-file-from-an-external-folder/m-p/5179697#M1199101</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-16T12:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Reading file from an external folder.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-file-from-an-external-folder/m-p/5179698#M1199102</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;Follow the below steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) To open a file for reading, use the FOR INPUT addition to the OPEN DATASET statement&lt;/P&gt;&lt;P&gt;The file must already exist, otherwise, the system sets SY-SUBRC to 8, and ignores the statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET &amp;lt;dsn&amp;gt; FOR INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)To read data from a file on the application server, use the READ DATASET statement.&lt;/P&gt;&lt;P&gt;READ DATASET &amp;lt;dsn&amp;gt; INTO &amp;lt;f&amp;gt; [LENGTH &amp;lt;len&amp;gt;].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2009 12:56:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-file-from-an-external-folder/m-p/5179698#M1199102</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-16T12:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Reading file from an external folder.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-file-from-an-external-folder/m-p/5179699#M1199103</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;&lt;/P&gt;&lt;P&gt;This is the code to read a excel file from the local system.&lt;/P&gt;&lt;P&gt;Read data set you are using in your code corresponds to files on application server thats the reason its throwing an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

*"--------------------------------------------------------------------*
* Parameter variable declaration for browsing the file location       *
*"--------------------------------------------------------------------*
PARAMETERS:
  p_file TYPE ibipparms-path OBLIGATORY.
data:
it_text TYPE truxs_t_text_data .


AT SELECTION-SCREEN  ON VALUE-REQUEST FOR p_file.
  CALL FUNCTION 'F4_FILENAME'
   EXPORTING
     program_name        = syst-cprog
*   DYNPRO_NUMBER       = SYST-DYNNR
     field_name          = ' '
   IMPORTING
     file_name           = p_file.

START-OF-SELECTION.

  CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
    EXPORTING
*   I_FIELD_SEPERATOR          =
*   I_LINE_HEADER              =
      i_tab_raw_data             = it_text
      i_filename                 = p_file
    TABLES
      i_tab_converted_data       = t_cust
  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.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is to read a text file from local system.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    filename                      =  'D:\FILEINTERFACE\file.TXT'
*    FILETYPE                      = 'ASC'
     has_field_separator           = 'X'
*    HEADER_LENGTH                 = 0
*    READ_BY_LINE                  = 'X'
*    DAT_MODE                      = ' '
*    CODEPAGE                      = ' '
*    IGNORE_CERR                   = ABAP_TRUE
*    REPLACEMENT                   = '#'
*  IMPORTING
*    FILELENGTH                    =
*    HEADER                        =
    TABLES
      data_tab                      = t_kna1
*  EXCEPTIONS
*    FILE_OPEN_ERROR               = 1
*    FILE_READ_ERROR               = 2
*    NO_BATCH                      = 3
*    GUI_REFUSE_FILETRANSFER       = 4
*    INVALID_TYPE                  = 5
*    NO_AUTHORITY                  = 6
*    UNKNOWN_ERROR                 = 7
*    BAD_DATA_FORMAT               = 8
*    HEADER_NOT_ALLOWED            = 9
*    SEPARATOR_NOT_ALLOWED         = 10
*    HEADER_TOO_LONG               = 11
*    UNKNOWN_DP_ERROR              = 12
*    ACCESS_DENIED                 = 13
*    DP_OUT_OF_MEMORY              = 14
*    DISK_FULL                     = 15
*    DP_TIMEOUT                    = 16
*    OTHERS                        = 17
            .
  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. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;PS.  In both of the above mentioned function modules make sure that the file structure is similar to the internal tables used.&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sharath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2009 12:56:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-file-from-an-external-folder/m-p/5179699#M1199103</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-16T12:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Reading file from an external folder.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-file-from-an-external-folder/m-p/5179700#M1199104</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>Mon, 16 Feb 2009 12:58:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-file-from-an-external-folder/m-p/5179700#M1199104</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-16T12:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Reading file from an external folder.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-file-from-an-external-folder/m-p/5179701#M1199105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The t-code for copying files to Application layer to Presentation layer and vice versa is CG3Y and CG3Z.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the following codes demonstrates how to access that file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS: P_DSET TYPE STRING
                    DEFAULT 'E:\usr\sap\EC4\DVEBMGS00\work\rajan.txt'.

OPEN DATASET P_DSET FOR INPUT IN TEXT MODE ENCODING DEFAULT.

  IF SY-SUBRC = 4.
    MESSAGE 'ERROR IN FILE OPENING' TYPE 'E'.
  ENDIF.


  DO.  "This depends on your requirement.
    READ DATASET P_DSET INTO D_STRING.
    IF SY-SUBRC &amp;lt;&amp;gt; 0.
      EXIT.

    ELSEIF SY-SUBRC = 0.
       .........................
             "Now whatever you need to do with the data.
       ..........................
    ENDIF.
  ENDDO.

CLOSE DATASET P_DSET.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2009 13:06:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-file-from-an-external-folder/m-p/5179701#M1199105</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-16T13:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Reading file from an external folder.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-file-from-an-external-folder/m-p/5179702#M1199106</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;Try like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

open dataset LV_XLS for input in text mode encoding default.
  if sy-subrc = 0.
    do.
      read dataset LV_XLS into w_input-wa_string.
      if sy-subrc &amp;lt;&amp;gt; 0.
        exit.
      endif.
      append w_input to t_input.
    enddo.
    close dataset LV_XLS.
  endif.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope its helps&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2009 13:07:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-file-from-an-external-folder/m-p/5179702#M1199106</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-16T13:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Reading file from an external folder.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-file-from-an-external-folder/m-p/5179703#M1199107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using 'GUI_UPLOAD' for reading an excel file into internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT zdemodownload .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Types&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF g_r_mara,&lt;/P&gt;&lt;P&gt;matnr LIKE mara-matnr,&lt;/P&gt;&lt;P&gt;ersda LIKE mara-ersda,&lt;/P&gt;&lt;P&gt;laeda LIKE mara-laeda,&lt;/P&gt;&lt;P&gt;mtart LIKE mara-mtart,&lt;/P&gt;&lt;P&gt;mbrsh LIKE mara-mbrsh,&lt;/P&gt;&lt;P&gt;END OF g_r_mara.&lt;/P&gt;&lt;P&gt;*Data&lt;/P&gt;&lt;P&gt;DATA: g_t_mara1 TYPE TABLE OF g_r_mara,&lt;/P&gt;&lt;P&gt;filename TYPE string,&lt;/P&gt;&lt;P&gt;g_r_wa TYPE g_r_mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Tables&lt;/P&gt;&lt;P&gt;TABLES: mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Selection Screen&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_matnr FOR mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;filename = 'C:\Testing.xls'&lt;/P&gt;&lt;P&gt;FILETYPE = 'ASC'&lt;/P&gt;&lt;P&gt;HAS_FIELD_SEPARATOR = 'X'&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;data_tab = g_t_mara1&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;FILE_OPEN_ERROR = 1&lt;/P&gt;&lt;P&gt;FILE_READ_ERROR = 2&lt;/P&gt;&lt;P&gt;NO_BATCH = 3&lt;/P&gt;&lt;P&gt;GUI_REFUSE_FILETRANSFER = 4&lt;/P&gt;&lt;P&gt;INVALID_TYPE = 5&lt;/P&gt;&lt;P&gt;NO_AUTHORITY = 6&lt;/P&gt;&lt;P&gt;UNKNOWN_ERROR = 7&lt;/P&gt;&lt;P&gt;BAD_DATA_FORMAT = 8&lt;/P&gt;&lt;P&gt;HEADER_NOT_ALLOWED = 9&lt;/P&gt;&lt;P&gt;SEPARATOR_NOT_ALLOWED = 10&lt;/P&gt;&lt;P&gt;HEADER_TOO_LONG = 11&lt;/P&gt;&lt;P&gt;UNKNOWN_DP_ERROR = 12&lt;/P&gt;&lt;P&gt;ACCESS_DENIED = 13&lt;/P&gt;&lt;P&gt;DP_OUT_OF_MEMORY = 14&lt;/P&gt;&lt;P&gt;DISK_FULL = 15&lt;/P&gt;&lt;P&gt;DP_TIMEOUT = 16&lt;/P&gt;&lt;P&gt;OTHERS = 17&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: / 'Uploaded data' COLOR = 1.&lt;/P&gt;&lt;P&gt;WRITE:/.&lt;/P&gt;&lt;P&gt;CLEAR g_r_wa.&lt;/P&gt;&lt;P&gt;LOOP AT g_t_mara1 INTO g_r_wa.&lt;/P&gt;&lt;P&gt;WRITE:/ g_r_wa-matnr, g_r_wa-ersda, g_r_wa-laeda, g_r_wa-mtart, g_r_wa-mbrsh.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have your excel file in C: as Testing.xls&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Guest77 on Feb 16, 2009 2:18 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2009 13:18:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-file-from-an-external-folder/m-p/5179703#M1199107</guid>
      <dc:creator>awin_prabhu</dc:creator>
      <dc:date>2009-02-16T13:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Reading file from an external folder.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-file-from-an-external-folder/m-p/5179704#M1199108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basically iam trying to zip 2 files. The code is as given below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:  &lt;/P&gt;&lt;P&gt;        LV_FILE_LENGTH TYPE I ,&lt;/P&gt;&lt;P&gt;         LV_CONTENT TYPE XSTRING,&lt;/P&gt;&lt;P&gt;         LV_ZIP_CONTENT TYPE XSTRING,&lt;/P&gt;&lt;P&gt;         LO_ZIP TYPE REF TO CL_ABAP_ZIP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA         &lt;/P&gt;&lt;P&gt;         LV_XLS(100) VALUE 'C:\XML\Report.xls',&lt;/P&gt;&lt;P&gt;         LV_XML(100) VALUE 'C:\XML\2006_1299.xml'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE OBJECT LO_ZIP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR LV_CONTENT .&lt;/P&gt;&lt;P&gt;OPEN DATASET LV_ FOR INPUT IN TEXT MODE ENCODING DEFAULT MESSAGE LV_MESSG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        READ DATASET LV_XML INTO LV_CONTENT .&lt;/P&gt;&lt;P&gt;        CLOSE DATASET LV_XML.&lt;/P&gt;&lt;P&gt;        LO_ZIP-&amp;gt;ADD( NAME = '2006_1299.xml' CONTENT = LV_CONTENT ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR LV_CONTENT .&lt;/P&gt;&lt;P&gt;OPEN DATASET LV_XLS FOR INPUT IN BINARY MODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        READ DATASET LV_XLS INTO LV_CONTENT .&lt;/P&gt;&lt;P&gt;        CLOSE DATASET LV_XLS.&lt;/P&gt;&lt;P&gt;        LO_ZIP-&amp;gt;ADD( NAME = 'Report.xls' CONTENT = LV_CONTENT ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LV_ZIP_CONTENT = LO_ZIP-&amp;gt;SAVE( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          BUFFER        = LV_ZIP_CONTENT&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          OUTPUT_LENGTH = LV_FILE_LENGTH&lt;/P&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;          BINARY_TAB    = LT_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      OPEN DATASET LV_ZIP FOR OUTPUT IN BINARY MODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        LOOP AT LT_DATA INTO LS_DATA.&lt;/P&gt;&lt;P&gt;          TRANSFER LS_DATA TO LV_ZIP.&lt;/P&gt;&lt;P&gt;        ENDLOOP.&lt;/P&gt;&lt;P&gt;        CLOSE DATASET LV_ZIP.&lt;/P&gt;&lt;P&gt;        MOVE LV_ZIP TO REPORT_360.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But iam not able to read the file for processing. Is there a work around for this - to zip the files in the external system directory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2009 13:37:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-file-from-an-external-folder/m-p/5179704#M1199108</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-16T13:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Reading file from an external folder.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-file-from-an-external-folder/m-p/5179705#M1199109</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;Use this FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FILE_READ_AND_CONVERT_SAP_DATA&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;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 05:10:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-file-from-an-external-folder/m-p/5179705#M1199109</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-17T05:10:49Z</dc:date>
    </item>
  </channel>
</rss>

