<?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 File name from file path in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-name-from-file-path/m-p/4677595#M1100049</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;i am using &lt;STRONG&gt;METHOD CL_GUI_FRONTEND_SERVICES=&amp;gt;FILE_OPEN_DIALOG&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to know the file name selected from the path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example : c:\folder\file.txt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here i want to know which file i have selected. if it is a small path then we can use SPLIT command but if the path selected is long with special chareters then?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;urget requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Kumar M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Oct 2008 14:08:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-13T14:08:55Z</dc:date>
    <item>
      <title>File name from file path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-name-from-file-path/m-p/4677595#M1100049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;i am using &lt;STRONG&gt;METHOD CL_GUI_FRONTEND_SERVICES=&amp;gt;FILE_OPEN_DIALOG&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to know the file name selected from the path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example : c:\folder\file.txt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here i want to know which file i have selected. if it is a small path then we can use SPLIT command but if the path selected is long with special chareters then?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;urget requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Kumar M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 14:08:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-name-from-file-path/m-p/4677595#M1100049</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T14:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: File name from file path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-name-from-file-path/m-p/4677596#M1100050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try FM's:&lt;/P&gt;&lt;P&gt;SO_SPLIT_FILE_AND_PATH&lt;/P&gt;&lt;P&gt;/SAPDMC/LSM_PATH_FILE_SPLIT&lt;/P&gt;&lt;P&gt;DSVAS_DOC_FILENAME_SPLIT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 14:10:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-name-from-file-path/m-p/4677596#M1100050</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T14:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: File name from file path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-name-from-file-path/m-p/4677597#M1100051</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;Use the FM: CH_SPLIT_FILENAME to split the file path...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 14:14:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-name-from-file-path/m-p/4677597#M1100051</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T14:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: File name from file path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-name-from-file-path/m-p/4677598#M1100052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u can use this function... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'WS_FILENAME_GET'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     DEF_PATH         = 'C:\'&lt;/P&gt;&lt;P&gt;     MASK             = '*&lt;STRONG&gt;.xls&lt;/STRONG&gt;'&lt;/P&gt;&lt;P&gt;     MODE             = 'O'&lt;/P&gt;&lt;P&gt;     TITLE            = SY-TITLE&lt;/P&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     FILENAME         = FILENAME&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;     INV_WINSYS       = 1&lt;/P&gt;&lt;P&gt;     NO_BATCH         = 2&lt;/P&gt;&lt;P&gt;     SELECTION_CANCEL = 3&lt;/P&gt;&lt;P&gt;     SELECTION_ERROR  = 4&lt;/P&gt;&lt;P&gt;     OTHERS           = 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have a nice day...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 14:23:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-name-from-file-path/m-p/4677598#M1100052</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T14:23:20Z</dc:date>
    </item>
  </channel>
</rss>

