<?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>Question Re: DirList in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/dirlist/qaa-p/10087852#M3636503</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The sort order would be by name if you have Sorted property set to true.&lt;/P&gt;&lt;P&gt;For dated sort go with TopWiz &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Feb 2014 00:47:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-02-26T00:47:16Z</dc:date>
    <item>
      <title>DirList</title>
      <link>https://community.sap.com/t5/technology-q-a/dirlist/qaq-p/10087848</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;Just wondering how Dirlist sorts its files retrieved ?&lt;/P&gt;&lt;P&gt;It seems to me that Dirlist (when reading a folder containing hundreds of files)&amp;nbsp; randomly sorts its files or is there any kind of logic to be found in its sorting process ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second : to be able to process the files of a folder based on their creation date and time (oldest files first), i guess i need to use a datawindow and some api calls (findfirstfile etc.) ? I remember someone posted an example of this a while back ... Anybody still have this link please ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 08:40:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dirlist/qaq-p/10087848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-25T08:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: DirList</title>
      <link>https://community.sap.com/t5/technology-q-a/dirlist/qaa-p/10087849#M3636500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a solution in PFC (&lt;A href="http://pfc.codeplex.com/" title="http://pfc.codeplex.com/"&gt;see PFC - Home&lt;/A&gt;) in the file service. The function of_dirlist in pfc_n_cst_filesrvunicode contains all you need to get the files with its properties (e.g. creation time). In of_sortdirlist of pfc_n_cst_filesrv you can find a solution for sorting the files using a datawindow.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 09:22:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dirlist/qaa-p/10087849#M3636500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-25T09:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: DirList</title>
      <link>https://community.sap.com/t5/technology-q-a/dirlist/qaa-p/10087850#M3636501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you can use these APIs to browse a folder :&lt;/P&gt;&lt;P&gt;FUNCTION ulong FindFirstFile(ref string lpszSearchFile, ref WIN32_FIND_DATA lpffd)&amp;nbsp; LIBRARY "kernel32.dll" ALIAS FOR "FindFirstFileW"&lt;/P&gt;&lt;P&gt;FUNCTION boolean FindNextFile(ulong hfindfile, ref WIN32_FIND_DATA lpffd)&amp;nbsp; LIBRARY "kernel32.dll" ALIAS FOR "FindNextFileW"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;structure str_filetime :&lt;/P&gt;&lt;P&gt;global type str_filetime from structure&lt;/P&gt;&lt;P&gt; ulong&amp;nbsp; ul_LowDateTime&lt;/P&gt;&lt;P&gt; ulong&amp;nbsp; ul_HighDateTime&lt;/P&gt;&lt;P&gt;end type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and structure&amp;nbsp; WIN32_FIND_DATA :&lt;/P&gt;&lt;P&gt;global type win32_find_data from structure&lt;/P&gt;&lt;P&gt; unsignedlong&amp;nbsp; dwfileattributes&lt;/P&gt;&lt;P&gt; str_filetime&amp;nbsp; ftcreationtime&lt;/P&gt;&lt;P&gt; str_filetime&amp;nbsp; ftlastaccesstime&lt;/P&gt;&lt;P&gt; str_filetime&amp;nbsp; ftlastwritetime&lt;/P&gt;&lt;P&gt; unsignedlong&amp;nbsp; nfilesizehigh&lt;/P&gt;&lt;P&gt; unsignedlong&amp;nbsp; nfilesizelow&lt;/P&gt;&lt;P&gt; unsignedlong&amp;nbsp; dwreserved0&lt;/P&gt;&lt;P&gt; unsignedlong&amp;nbsp; dwreserved1&lt;/P&gt;&lt;P&gt; character&amp;nbsp; filename[260]&lt;/P&gt;&lt;P&gt; character&amp;nbsp; altfilename[14]&lt;/P&gt;&lt;P&gt;end type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Abdallah.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 09:25:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dirlist/qaa-p/10087850#M3636501</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-25T09:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: DirList</title>
      <link>https://community.sap.com/t5/technology-q-a/dirlist/qaa-p/10087851#M3636502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an example with many of the file Win API functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.topwizprogramming.com/freecode_filesys.html" title="http://www.topwizprogramming.com/freecode_filesys.html"&gt;Topwiz Software - Filesys&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 18:48:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dirlist/qaa-p/10087851#M3636502</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-25T18:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: DirList</title>
      <link>https://community.sap.com/t5/technology-q-a/dirlist/qaa-p/10087852#M3636503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The sort order would be by name if you have Sorted property set to true.&lt;/P&gt;&lt;P&gt;For dated sort go with TopWiz &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 00:47:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dirlist/qaa-p/10087852#M3636503</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-26T00:47:16Z</dc:date>
    </item>
  </channel>
</rss>

