<?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: file interface in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-interface/m-p/2973199#M701722</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;answered&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Nov 2007 17:59:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-08T17:59:04Z</dc:date>
    <item>
      <title>file interface</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-interface/m-p/2973195#M701718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I have an issue involving dialog programming and file interface. When I press a button on the screen all the filenames present in a directory are to be populated in a table control. The point where I got stuck is getting the names of all files in a directory. Can any body please help me in this regard. Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2007 17:31:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-interface/m-p/2973195#M701718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-08T17:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: file interface</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-interface/m-p/2973196#M701719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use this FM to get the list of all files&lt;/P&gt;&lt;P&gt;TMP_GUI_DIRECTORY_LIST_FILES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

  DATA: TBL_FILES LIKE SDOKPATH OCCURS 10 WITH HEADER LINE,
        TBL_DIRS LIKE SDOKPATH OCCURS 10 WITH HEADER LINE.


  CALL FUNCTION 'TMP_GUI_DIRECTORY_LIST_FILES'
       EXPORTING
            DIRECTORY  = P_DIRECTORY
            FILTER         = 'Test*.Txt'   "&amp;lt;&amp;lt; restricts to only TEXT files begining with Test
       TABLES
            FILE_TABLE = TBL_FILES
            DIR_TABLE  = TBL_DIRS.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After getting the files in the TBL_FILES... loop the table and read the files with GUI_UPLOAD FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regars,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2007 17:48:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-interface/m-p/2973196#M701719</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2007-11-08T17:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: file interface</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-interface/m-p/2973197#M701720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naimesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I am accesing the files from presentation layer and I used this FM but it is saying filecount as 0 though there are files. I put the filter as '&lt;STRONG&gt;.&lt;/STRONG&gt; but still it is not working. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2007 17:52:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-interface/m-p/2973197#M701720</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-08T17:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: file interface</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-interface/m-p/2973198#M701721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi naimesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I got it thanks. Actually I was not giving the '\' at the end of the dir. Now it worked. Thanks u.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2007 17:58:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-interface/m-p/2973198#M701721</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-08T17:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: file interface</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-interface/m-p/2973199#M701722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;answered&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2007 17:59:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-interface/m-p/2973199#M701722</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-08T17:59:04Z</dc:date>
    </item>
  </channel>
</rss>

