<?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: Create logical file path and read it in main program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-logical-file-path-and-read-it-in-main-program/m-p/10381029#M1840644</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one difficulty defining physical path name is to know the right &lt;STRONG&gt;Syntax group&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example if you habe OS &lt;STRONG&gt;&lt;EM&gt;Linux&lt;/EM&gt;&lt;/STRONG&gt;, you need Syntax Group &lt;STRONG&gt;&lt;EM&gt;UNIX&lt;/EM&gt;&lt;/STRONG&gt; here. In Table OPSYSTEM you can see, which OS (OPSYS) needs which FILESYS (Syntax Group).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you always get a wrong physical path, this may be caused ba a wrong choice of the Syntax Group. Only the correct one will lead to the correct path.&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;Klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jun 2014 06:35:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-06-04T06:35:30Z</dc:date>
    <item>
      <title>Create logical file path and read it in main program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-logical-file-path-and-read-it-in-main-program/m-p/10381027#M1840642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is, I have to read files from application server.&lt;/P&gt;&lt;P&gt;File path/ Directory is different in different system (systid). i have to read all files starting with (xyz*) from mentioned directory.&lt;/P&gt;&lt;P&gt;This path i must define in logical path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following are the steps i followed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp;&amp;nbsp; In FILE (TCODE) i have created a logical path and assigned a physical path to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&amp;nbsp;&amp;nbsp; I have created logical file ( I am not sure about this, as i dont have to create logical file, i just need to read file from above path starting with xyz*,&amp;nbsp; but FM FILE_GET_NAME requires logical file name so i have created it).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) I will pass logical file name to FM FILE_GET_NAME and recieve physical file path(with file name which i can ignore).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;these all steps i found on SDN. but its not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FM FILE_GET_NAME is always returning same file path ( Not even close to what i have defined &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_emote jive_macro" src="https://community.sap.com/877/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can not read data from Table path as it will return physical path as it is, but i need it replaced with system id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion will be really helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2014 14:51:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-logical-file-path-and-read-it-in-main-program/m-p/10381027#M1840642</guid>
      <dc:creator>former_member925838</dc:creator>
      <dc:date>2014-06-03T14:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Create logical file path and read it in main program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-logical-file-path-and-read-it-in-main-program/m-p/10381028#M1840643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think we can even define the parameter to take the SYSID dynamically rather harcoding it in FILE or in the program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logical Path&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp; Z_INTERFACE_INB&lt;/P&gt;&lt;P&gt;Physical Path&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp; usr/sap/&amp;lt;SYSID&amp;gt;/interfaces/inbound/IF_ABC/&amp;lt;FILENAME&amp;gt; ( In FILE tcode )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sysid will automatically take the SYSID thus avoiding hardcoding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 06:16:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-logical-file-path-and-read-it-in-main-program/m-p/10381028#M1840643</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2014-06-04T06:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Create logical file path and read it in main program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-logical-file-path-and-read-it-in-main-program/m-p/10381029#M1840644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one difficulty defining physical path name is to know the right &lt;STRONG&gt;Syntax group&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example if you habe OS &lt;STRONG&gt;&lt;EM&gt;Linux&lt;/EM&gt;&lt;/STRONG&gt;, you need Syntax Group &lt;STRONG&gt;&lt;EM&gt;UNIX&lt;/EM&gt;&lt;/STRONG&gt; here. In Table OPSYSTEM you can see, which OS (OPSYS) needs which FILESYS (Syntax Group).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you always get a wrong physical path, this may be caused ba a wrong choice of the Syntax Group. Only the correct one will lead to the correct path.&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;Klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 06:35:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-logical-file-path-and-read-it-in-main-program/m-p/10381029#M1840644</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-06-04T06:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Create logical file path and read it in main program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-logical-file-path-and-read-it-in-main-program/m-p/10381030#M1840645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Klaus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your valuable reply. you are absolutely correct, We had &lt;STRONG&gt;UNIX&lt;/STRONG&gt; operating system and Syntax group was &lt;STRONG&gt;AIX&lt;/STRONG&gt;. It worked perfectly when i changed this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 13:07:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-logical-file-path-and-read-it-in-main-program/m-p/10381030#M1840645</guid>
      <dc:creator>former_member925838</dc:creator>
      <dc:date>2014-06-04T13:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create logical file path and read it in main program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-logical-file-path-and-read-it-in-main-program/m-p/10381031#M1840646</link>
      <description>&lt;P&gt;Hi Amar,&lt;/P&gt;&lt;P&gt;There is a cluster named 'FILENAME'.&lt;/P&gt;&lt;P&gt;You can go to SM30 and maintain it as per your configuration.&lt;/P&gt;&lt;P&gt;It will ask you some details like below:&lt;/P&gt;&lt;P&gt;You can get in touch with your BASIS team and they should be able to provide these details.&lt;/P&gt;&lt;P&gt;Please reward if helpful!&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Danish Makhdum.&lt;/P&gt;&lt;P&gt;More step by step details can be found in the following link: &lt;A href="https://wiki.scn.sap.com/wiki/display/Basis/How+to+Define+Logical+and+Physical+File+and+Path+Names+for+Archiving" target="test_blank"&gt;https://wiki.scn.sap.com/wiki/display/Basis/How+to+Define+Logical+and+Physical+File+and+Path+Names+for+Archiving&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2107825-tempsnip.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 09:25:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-logical-file-path-and-read-it-in-main-program/m-p/10381031#M1840646</guid>
      <dc:creator>danish_makhdum</dc:creator>
      <dc:date>2022-11-02T09:25:33Z</dc:date>
    </item>
  </channel>
</rss>

