<?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: Get logical path in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-logical-path/m-p/5002303#M1164779</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Retrieve the logical path(name) based on WHAT?&lt;/P&gt;&lt;P&gt;Look inside FM FILE_GET_NAME_USING_PATH for the coding and try to use it any way you want to.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Jan 2009 17:09:26 GMT</pubDate>
    <dc:creator>Sm1tje</dc:creator>
    <dc:date>2009-01-19T17:09:26Z</dc:date>
    <item>
      <title>Get logical path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-logical-path/m-p/5002301#M1164777</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;I've defined a logical path with transction FILE. I want to use it without the file. I just want to get the path name. Is it possible ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2009 16:38:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-logical-path/m-p/5002301#M1164777</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-19T16:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Get logical path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-logical-path/m-p/5002302#M1164778</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;Check the FM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CH_SPLIT_FILENAME&lt;/P&gt;&lt;P&gt;J_8A3_L_MB_SPLIT_PATH_AND_FILE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL METHOD cl_gui_frontend_services=&amp;gt;file_open_dialog
    EXPORTING
      window_title         = 'Open '                      "#EC NOTEXT
      default_extension    = 'XLS'
      default_file_name    = g_filename
    CHANGING
      filename             = l_filename
      path                 = l_path
      fullpath             = l_fullpath
    EXCEPTIONS
      cntl_error           = 1
      error_no_gui         = 2
      not_supported_by_gui = 3
      OTHERS               = 4.
  IF sy-subrc EQ 0.
    p_fullpath = l_fullpath.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Avinash Kodarapu on Jan 19, 2009 10:41 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2009 17:06:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-logical-path/m-p/5002302#M1164778</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-19T17:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: Get logical path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-logical-path/m-p/5002303#M1164779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Retrieve the logical path(name) based on WHAT?&lt;/P&gt;&lt;P&gt;Look inside FM FILE_GET_NAME_USING_PATH for the coding and try to use it any way you want to.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2009 17:09:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-logical-path/m-p/5002303#M1164779</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2009-01-19T17:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Get logical path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-logical-path/m-p/5002304#M1164780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi use this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You got to use this after some FM which gives you the whole path... and the file name will be removed by this FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: lv_path TYPE rlgrap-filename.
    lv_path  = lv_output.

    CALL FUNCTION 'LIST_SPLIT_PATH'
      EXPORTING
        filename = lv_path
      IMPORTING
        pathname = lv_path.
    IF sy-subrc EQ 0.
      p_path1 = lv_path.
    ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2009 18:14:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-logical-path/m-p/5002304#M1164780</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-01-19T18:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Get logical path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-logical-path/m-p/5002305#M1164781</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;Please use FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION '/SAPDMC/LSM_PATH_FILE_SPLIT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;PATHFILE = p_file&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;PATHNAME = PATHNAME&lt;/P&gt;&lt;P&gt;FILENAME = FILENAME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2009 18:16:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-logical-path/m-p/5002305#M1164781</guid>
      <dc:creator>nkr1shna</dc:creator>
      <dc:date>2009-01-19T18:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Get logical path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-logical-path/m-p/5002306#M1164782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Dorian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you can use   CALL FUNCTION 'FILE_GET_NAME'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'FILE_GET_NAME'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      logical_filename = 'Z_logical_name' " Your logical file name&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      file_name        = p_path.   "the logical file path&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then concatenate the physical file name at the end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2009 18:23:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-logical-path/m-p/5002306#M1164782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-19T18:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Get logical path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-logical-path/m-p/5002307#M1164783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cullen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iam using the FM 'FILE_GET_NAME' but ot is giving a runtime error that file_name parameter is not defined.&lt;/P&gt;&lt;P&gt;what is the data type used for file_name parameter.&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Feb 2009 09:21:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-logical-path/m-p/5002307#M1164783</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-08T09:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Get logical path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-logical-path/m-p/5002308#M1164784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sandhya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can use  FILE_GET_NAME_USING_PAHT or FILE_GET_NAME fun modules to get the Physical path ofthe file.&lt;/P&gt;&lt;P&gt;You neededto give  Logivcal path which u defined using  FILE transaction and the  File name tcreated within the Physicalpahth for which u already had the mappaing woith the Logical paht in FILE tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Feb 2009 09:32:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-logical-path/m-p/5002308#M1164784</guid>
      <dc:creator>shishupalreddy</dc:creator>
      <dc:date>2009-02-08T09:32:48Z</dc:date>
    </item>
  </channel>
</rss>

