<?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: Requesting Help ,Loading FILE From AL11 based on TIMESTAMP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/requesting-help-loading-file-from-al11-based-on-timestamp/m-p/14074190#M2041584</link>
    <description>&lt;P&gt;Could you please help in sharing your inputs will be really helps&lt;/P&gt;</description>
    <pubDate>Sat, 12 Apr 2025 17:20:21 GMT</pubDate>
    <dc:creator>ashokshirish</dc:creator>
    <dc:date>2025-04-12T17:20:21Z</dc:date>
    <item>
      <title>Requesting Help ,Loading FILE From AL11 based on TIMESTAMP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/requesting-help-loading-file-from-al11-based-on-timestamp/m-p/14074137#M2041583</link>
      <description>&lt;P&gt;Dear sir/Madam,&lt;/P&gt;&lt;P&gt;I am reqeusting to help the code for picking the file from AL11 based on TIMESTAMP,&lt;/P&gt;&lt;P&gt;I am having the files in AL11 like LASTCHANGEDON&amp;nbsp; LASTCHANGEAT&amp;nbsp; &amp;nbsp; FILENAME&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ZABFEED_202510230638.csv&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ZABFEED_20250411140333.csv&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ZABFEED_20250411170135.csv&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ZABFEED_20250411194548.csv&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ZABFEED_20250411202941.csv&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could anyone please help with the code to picke the files based on latest timestamp,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Apr 2025 15:02:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/requesting-help-loading-file-from-al11-based-on-timestamp/m-p/14074137#M2041583</guid>
      <dc:creator>ashokshirish</dc:creator>
      <dc:date>2025-04-12T15:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Requesting Help ,Loading FILE From AL11 based on TIMESTAMP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/requesting-help-loading-file-from-al11-based-on-timestamp/m-p/14074190#M2041584</link>
      <description>&lt;P&gt;Could you please help in sharing your inputs will be really helps&lt;/P&gt;</description>
      <pubDate>Sat, 12 Apr 2025 17:20:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/requesting-help-loading-file-from-al11-based-on-timestamp/m-p/14074190#M2041584</guid>
      <dc:creator>ashokshirish</dc:creator>
      <dc:date>2025-04-12T17:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Requesting Help ,Loading FILE From AL11 based on TIMESTAMP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/requesting-help-loading-file-from-al11-based-on-timestamp/m-p/14074549#M2041586</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check below code it will help you.&lt;/P&gt;&lt;P&gt;DATA: lt_dirlist TYPE STANDARD TABLE OF epsfili,&lt;BR /&gt;lv_directory TYPE epsf-epsdirnam,&lt;BR /&gt;lv_filename TYPE epsf-filename,&lt;BR /&gt;lv_fullpath TYPE string,&lt;BR /&gt;lv_latest_file TYPE epsfili,&lt;BR /&gt;lv_time TYPE sy-uzeit.&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;fs_file&amp;gt; TYPE epsfili.&lt;/P&gt;&lt;P&gt;" Set your AL11 path (Logical path must be maintained in transaction FILE or actual server path)&lt;BR /&gt;lv_directory = '/usr/sap/tmp'. " &amp;lt;-- Change to your AL11 directory&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'EPS2_GET_DIRECTORY_LISTING'&lt;BR /&gt;EXPORTING&lt;BR /&gt;iv_dir_name = lv_directory&lt;BR /&gt;TABLES&lt;BR /&gt;dir_list = lt_dirlist&lt;BR /&gt;EXCEPTIONS&lt;BR /&gt;invalid_eps_subdir = 1&lt;BR /&gt;sapgparam_failed = 2&lt;BR /&gt;build_directory_failed = 3&lt;BR /&gt;no_authorization = 4&lt;BR /&gt;read_directory_failed = 5&lt;BR /&gt;too_many_read_errors = 6&lt;BR /&gt;empty_directory = 7&lt;BR /&gt;OTHERS = 8.&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;BR /&gt;SORT lt_dirlist BY mod_date DESCENDING mod_time DESCENDING. " Sort by last modified timestamp&lt;BR /&gt;READ TABLE lt_dirlist ASSIGNING &amp;lt;fs_file&amp;gt; INDEX 1.&lt;BR /&gt;IF sy-subrc = 0.&lt;BR /&gt;lv_filename = &amp;lt;fs_file&amp;gt;-name.&lt;BR /&gt;lv_fullpath = lv_directory &amp;amp;&amp;amp; '/' &amp;amp;&amp;amp; lv_filename.&lt;BR /&gt;WRITE: / 'Latest File:', lv_filename.&lt;/P&gt;&lt;P&gt;" Now open and read this file&lt;BR /&gt;DATA: lv_line TYPE string,&lt;BR /&gt;lt_file_data TYPE STANDARD TABLE OF string.&lt;/P&gt;&lt;P&gt;OPEN DATASET lv_fullpath FOR INPUT IN TEXT MODE ENCODING DEFAULT.&lt;BR /&gt;IF sy-subrc = 0.&lt;BR /&gt;WHILE sy-subrc = 0.&lt;BR /&gt;READ DATASET lv_fullpath INTO lv_line.&lt;BR /&gt;IF sy-subrc = 0.&lt;BR /&gt;APPEND lv_line TO lt_file_data.&lt;BR /&gt;ENDIF.&lt;BR /&gt;ENDWHILE.&lt;BR /&gt;CLOSE DATASET lv_fullpath.&lt;BR /&gt;ELSE.&lt;BR /&gt;WRITE: / 'Unable to open file:', lv_fullpath.&lt;BR /&gt;ENDIF.&lt;BR /&gt;ENDIF.&lt;BR /&gt;ELSE.&lt;BR /&gt;WRITE: / 'Failed to list directory'.&lt;BR /&gt;ENDIF.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Apr 2025 13:34:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/requesting-help-loading-file-from-al11-based-on-timestamp/m-p/14074549#M2041586</guid>
      <dc:creator>gauravkothari</dc:creator>
      <dc:date>2025-04-13T13:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Requesting Help ,Loading FILE From AL11 based on TIMESTAMP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/requesting-help-loading-file-from-al11-based-on-timestamp/m-p/14076625#M2041615</link>
      <description>&lt;P&gt;Please check below two function modules.&lt;/P&gt;&lt;P&gt;1.&lt;STRONG&gt; /SDF/GET_FILE_INFO&lt;/STRONG&gt; - It will give you list of all files in AL11 directory along with DATE and TIME. SORT it as per your requirement and find the workaround.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;&lt;STRONG&gt;EPS2_GET_DIRECTORY_LISITING&lt;/STRONG&gt; - It will give you timestamp along with filename.&amp;nbsp;SORT it as per your requirement and find the workaround.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 12:40:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/requesting-help-loading-file-from-al11-based-on-timestamp/m-p/14076625#M2041615</guid>
      <dc:creator>Surendra_Karma</dc:creator>
      <dc:date>2025-04-15T12:40:26Z</dc:date>
    </item>
    <item>
      <title>Request to replace the files from one folder to other folder in AL11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/requesting-help-loading-file-from-al11-based-on-timestamp/m-p/14084118#M2041679</link>
      <description>&lt;P&gt;Dear Sir/Mam,&lt;/P&gt;&lt;P&gt;I have a requirement to help with the programme to shift the files from one folder to other folder from AL11 Folder. i request to help with the code&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 06:25:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/requesting-help-loading-file-from-al11-based-on-timestamp/m-p/14084118#M2041679</guid>
      <dc:creator>ashokshirish</dc:creator>
      <dc:date>2025-04-23T06:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: Request to replace the files from one folder to other folder in AL11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/requesting-help-loading-file-from-al11-based-on-timestamp/m-p/14084191#M2041680</link>
      <description>&lt;P&gt;Requesting to please help with the logic or code that really helps&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 07:37:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/requesting-help-loading-file-from-al11-based-on-timestamp/m-p/14084191#M2041680</guid>
      <dc:creator>ashokshirish</dc:creator>
      <dc:date>2025-04-23T07:37:37Z</dc:date>
    </item>
  </channel>
</rss>

