<?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 Upload text file in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-text-file/m-p/1773122#M333664</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi i need to upload a file, i'm using the function 'GUI_UPLOAD', but i'm using a specific file path i need that my program let the user select the file i.e. like a popup window to select the file and get the file path in some variable or something like that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 09 Dec 2006 23:31:24 GMT</pubDate>
    <dc:creator>sergio_cifuentes</dc:creator>
    <dc:date>2006-12-09T23:31:24Z</dc:date>
    <item>
      <title>Upload text file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-text-file/m-p/1773122#M333664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi i need to upload a file, i'm using the function 'GUI_UPLOAD', but i'm using a specific file path i need that my program let the user select the file i.e. like a popup window to select the file and get the file path in some variable or something like that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Dec 2006 23:31:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-text-file/m-p/1773122#M333664</guid>
      <dc:creator>sergio_cifuentes</dc:creator>
      <dc:date>2006-12-09T23:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Upload text file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-text-file/m-p/1773123#M333665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sergio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PARAMETERS P_FILE LIKE RLGRAP-FILENAME. 

AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.

CALL FUNCTION 'WS_FILENAME_GET'
  EXPORTING
    DEF_PATH = P_FILE
    MASK = ',*.*.'
    MODE = '0 '
    TITLE = 'Choose File'
  IMPORTING
    FILENAME = P_FILE
  EXCEPTIONS
    INV_WINSYS = 1
    NO_BATCH = 2
    SELECTION_CANCEL = 3
    SELECTION_ERROR = 4
    OTHERS = 5. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check this links.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/file/file_fmfile.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/file/file_fmfile.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/file/file_uptabpc.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/file/file_uptabpc.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Dec 2006 23:48:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-text-file/m-p/1773123#M333665</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-09T23:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: Upload text file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-text-file/m-p/1773124#M333666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, that's exactly what i want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Dec 2006 00:01:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-text-file/m-p/1773124#M333666</guid>
      <dc:creator>sergio_cifuentes</dc:creator>
      <dc:date>2006-12-10T00:01:23Z</dc:date>
    </item>
  </channel>
</rss>

