<?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: Regarding Appl server file fetching in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-appl-server-file-fetching/m-p/4555390#M1075464</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; In ur case, pass the exporting parameter &lt;STRONG&gt;FILE_MASK&lt;/STRONG&gt; as 'file_20090930*'. So that it will give all file names starting with &lt;STRONG&gt;file_20090930&lt;/STRONG&gt; in interanl table it_files&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; Shailesh Jadhav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Sep 2008 09:12:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-29T09:12:34Z</dc:date>
    <item>
      <title>Regarding Appl server file fetching</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-appl-server-file-fetching/m-p/4555388#M1075462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have a requirement like I will get the files to the application for the given logical path.I will get the physical files correspoding to that using FILE_GET_NAME  function module but the problem is if there are multiple files in the given logical path how to get all these files using this function module?since this function module will return always only one file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example say my interface is woriking once in a day(examp afternoon) by that time if we have two different files with the date and time stamp(file_20090930_12.00.00,file_20090930_13.00.00) then if I use this function module which file it will return will it retun first file or second file?&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;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 07:15:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-appl-server-file-fetching/m-p/4555388#M1075462</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T07:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Appl server file fetching</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-appl-server-file-fetching/m-p/4555389#M1075463</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 using FM &lt;STRONG&gt;'EPS_GET_DIRECTORY_LISTING'&lt;/STRONG&gt;. This FM will list all the file names from a particular directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*********************************************&lt;/P&gt;&lt;P&gt;For example...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'EPS_GET_DIRECTORY_LISTING'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            DIR_NAME               = LW_TEMP_PATH&lt;/P&gt;&lt;P&gt;            FILE_MASK              = '&lt;STRONG&gt;.&lt;/STRONG&gt;'&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            dir_list               = it_files&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            invalid_eps_subdir        = 1&lt;/P&gt;&lt;P&gt;            sapgparam_failed         = 2&lt;/P&gt;&lt;P&gt;            build_directory_failed    = 3&lt;/P&gt;&lt;P&gt;            no_authorization           = 4&lt;/P&gt;&lt;P&gt;            read_directory_failed     = 5&lt;/P&gt;&lt;P&gt;            too_many_read_errors   = 6&lt;/P&gt;&lt;P&gt;            empty_directory_list      = 7&lt;/P&gt;&lt;P&gt;            OTHERS                      = 8.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty  NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;           WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&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;In your case, pass exporting parameter as &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;'file_20090930&lt;/STRONG&gt;'*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just see if it works out..&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;Shailesh Jadhav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 09:07:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-appl-server-file-fetching/m-p/4555389#M1075463</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T09:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Appl server file fetching</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-appl-server-file-fetching/m-p/4555390#M1075464</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; In ur case, pass the exporting parameter &lt;STRONG&gt;FILE_MASK&lt;/STRONG&gt; as 'file_20090930*'. So that it will give all file names starting with &lt;STRONG&gt;file_20090930&lt;/STRONG&gt; in interanl table it_files&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; Shailesh Jadhav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 09:12:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-appl-server-file-fetching/m-p/4555390#M1075464</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T09:12:34Z</dc:date>
    </item>
  </channel>
</rss>

