<?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: Table or function module from for complete physical file path? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-or-function-module-from-for-complete-physical-file-path/m-p/6732942#M1457337</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gautham,&lt;/P&gt;&lt;P&gt;I already checked the view V_FILEPATH but it contains the only the Logical Path name, not the whole physical path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For physical path we have to got to transaction FILE, then select the physical path and then Physical address. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i want the exact file path, e.g. /USR/TMP/&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Mar 2010 10:43:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-08T10:43:57Z</dc:date>
    <item>
      <title>Table or function module from for complete physical file path?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-or-function-module-from-for-complete-physical-file-path/m-p/6732939#M1457334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I know the Logical file and Logical path name, i can see the complete path also from logical path name i.e. the physical file address through transaction FILE, e.g. /USR/TMP/ , but i want to display this path in one of the report output, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so please help me with the table or the function module which can give me the complete physical file path.&lt;/P&gt;&lt;P&gt;I checked the the table ADMI_FILES but it contains the file name or the Logical path name but the complete physical file address e.g /USR/TMP?, like this is not available. More over i tried function module file_get_name, still the physical address is not correct one, it is giving same address for all logical paths. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly Guide me for this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nikesh Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 10:25:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-or-function-module-from-for-complete-physical-file-path/m-p/6732939#M1457334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-08T10:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Table or function module from for complete physical file path?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-or-function-module-from-for-complete-physical-file-path/m-p/6732940#M1457335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the SDN forum for the FM: FILE_GET_NAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 10:27:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-or-function-module-from-for-complete-physical-file-path/m-p/6732940#M1457335</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-03-08T10:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Table or function module from for complete physical file path?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-or-function-module-from-for-complete-physical-file-path/m-p/6732941#M1457336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the view &lt;STRONG&gt;V_FILEPATH&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 10:29:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-or-function-module-from-for-complete-physical-file-path/m-p/6732941#M1457336</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2010-03-08T10:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Table or function module from for complete physical file path?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-or-function-module-from-for-complete-physical-file-path/m-p/6732942#M1457337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gautham,&lt;/P&gt;&lt;P&gt;I already checked the view V_FILEPATH but it contains the only the Logical Path name, not the whole physical path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For physical path we have to got to transaction FILE, then select the physical path and then Physical address. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i want the exact file path, e.g. /USR/TMP/&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 10:43:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-or-function-module-from-for-complete-physical-file-path/m-p/6732942#M1457337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-08T10:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Table or function module from for complete physical file path?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-or-function-module-from-for-complete-physical-file-path/m-p/6732943#M1457338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you check the finction module: FILE_GET_NAME ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[http://help.sap.com/saphelp_nw04/helpdata/en/9f/db95e635c111d1829f0000e829fbfe/content.htm|http://help.sap.com/saphelp_nw04/helpdata/en/9f/db95e635c111d1829f0000e829fbfe/content.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 10:45:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-or-function-module-from-for-complete-physical-file-path/m-p/6732943#M1457338</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-03-08T10:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Table or function module from for complete physical file path?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-or-function-module-from-for-complete-physical-file-path/m-p/6732944#M1457339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use view &lt;STRONG&gt;V_PATH&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 10:48:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-or-function-module-from-for-complete-physical-file-path/m-p/6732944#M1457339</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2010-03-08T10:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Table or function module from for complete physical file path?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-or-function-module-from-for-complete-physical-file-path/m-p/6732945#M1457340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suhas,&lt;/P&gt;&lt;P&gt;yes i checked this function module but the problem is that, for all logical path it is giving same file nam /usr/sap/SBD/SYS/global/tempfile. But when i go in trasaction file and check the path provided in physical file address is entirely different. But this function module is giving this path only for all logical paths.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Nikesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 10:48:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-or-function-module-from-for-complete-physical-file-path/m-p/6732945#M1457340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-08T10:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Table or function module from for complete physical file path?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-or-function-module-from-for-complete-physical-file-path/m-p/6732946#M1457341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you check the SAP help documentation for the func. module ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to pass the logical filename &amp;amp; not the logical filepath &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively for filepath you can use the view V_PATH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 10:51:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-or-function-module-from-for-complete-physical-file-path/m-p/6732946#M1457341</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-03-08T10:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Table or function module from for complete physical file path?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-or-function-module-from-for-complete-physical-file-path/m-p/6732947#M1457342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gautham,&lt;/P&gt;&lt;P&gt;I check this view V_PATH as well, but how can we extract the data from it and disply in the report?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 10:54:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-or-function-module-from-for-complete-physical-file-path/m-p/6732947#M1457342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-08T10:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Table or function module from for complete physical file path?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-or-function-module-from-for-complete-physical-file-path/m-p/6732948#M1457343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Suhas, &lt;/P&gt;&lt;P&gt;You are right we need to give Logical file name but the problem is that it is giving the same physical path for all file names which is different when we see in the trasanction FILE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. if i run for file name WORKFILE_TEMPORARY_DATA then the FM gives /usr/sap/SBD/SYS/global/tempfile as file path but if i go and check in transaction file then it is different&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 10:58:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-or-function-module-from-for-complete-physical-file-path/m-p/6732948#M1457343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-08T10:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Table or function module from for complete physical file path?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-or-function-module-from-for-complete-physical-file-path/m-p/6732949#M1457344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try sth like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 

    CALL FUNCTION 'FILE_GET_NAME_AND_LOGICAL_PATH'
      EXPORTING
        LOGICAL_FILENAME = LDS_NAME
            IMPORTING
        FILE_NAME        = sfile
        LOGICAL_PATH     = pth
      EXCEPTIONS
        FILE_NOT_FOUND   = 01.
    IF SY-SUBRC NE 0.
      MESSAGE E300(BD) WITH LDS_NAME.                         " TODO MG
    ENDIF.
                                                                                SELECT single PATHEXTERN FROM path INTO expth
           where pathintern = pth.
    replace '&amp;lt;FILENAME&amp;gt;' with space into expth.

    concatenate expth '/' sfile into sfile.
    open dataset sfile for output in text mode encoding default.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 11:02:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-or-function-module-from-for-complete-physical-file-path/m-p/6732949#M1457344</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2010-03-08T11:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: Table or function module from for complete physical file path?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-or-function-module-from-for-complete-physical-file-path/m-p/6732950#M1457345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excerpt from the SAP documentation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt; Suppose we have a logical file name EMPTY with the physical file name TEST, connected to a logical path that has no specification of a physical path. ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call the FM: FILE_GET_NAME .... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The system created an emergency file name, whose path depends on the installation of the current R/3 System.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this might be the cause for this behavior. Check if the physical path of the logical path has been defined correctly &amp;amp; actually exists in the app server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 11:08:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-or-function-module-from-for-complete-physical-file-path/m-p/6732950#M1457345</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-03-08T11:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Table or function module from for complete physical file path?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-or-function-module-from-for-complete-physical-file-path/m-p/6732951#M1457346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@andreas, You are genious, Points awarded. Thanks a lot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Suhas and Gautham thanks a lot, points awarded, your answer was helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: nikesh kumar on Mar 8, 2010 12:39 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 11:35:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-or-function-module-from-for-complete-physical-file-path/m-p/6732951#M1457346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-08T11:35:43Z</dc:date>
    </item>
  </channel>
</rss>

