<?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: FilePath Selection in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/filepath-selection/m-p/1169446#M122705</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;See the method DIRECTORY_BROWSE of class CL_GUI_FRONTEND_SERVICES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Feb 2006 20:07:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-21T20:07:49Z</dc:date>
    <item>
      <title>FilePath Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filepath-selection/m-p/1169444#M122703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;I would like to know if is there a FM that helps to get a directory path, but only just the path I don´t need to select a file, I need it because the user has to select a directory for file output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gabriel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2006 20:01:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filepath-selection/m-p/1169444#M122703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-21T20:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: FilePath Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filepath-selection/m-p/1169445#M122704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TH_SELECT_SERVER&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2006 20:06:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filepath-selection/m-p/1169445#M122704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-21T20:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: FilePath Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filepath-selection/m-p/1169446#M122705</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;See the method DIRECTORY_BROWSE of class CL_GUI_FRONTEND_SERVICES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2006 20:07:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filepath-selection/m-p/1169446#M122705</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-21T20:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: FilePath Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filepath-selection/m-p/1169447#M122706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a sample program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0004.


data: str_path type string.
parameters: p_path type localfile.


at selection-screen on value-request for p_path.


  call method cl_gui_frontend_services=&amp;gt;directory_browse
    exporting
      window_title    = 'Please select file path'
      initial_folder  = 'C:'
    changing
      selected_folder = str_path
    exceptions
      cntl_error      = 1
      error_no_gui    = 2
      others          = 3.

  call method cl_gui_cfw=&amp;gt;flush.

  p_path = str_path.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2006 20:17:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filepath-selection/m-p/1169447#M122706</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-02-21T20:17:12Z</dc:date>
    </item>
  </channel>
</rss>

