<?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: Getting physical path from logical path in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-physical-path-from-logical-path/m-p/2902722#M682727</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank-you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would prefer to to use a default path if possible. The reason I defined a logical path was so that this could be defined outside the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you saying I cannot use this FM in background at all?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there another FM which will do the same thing but will work in background?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am trying to do is create a program which will run in the background polling a particular directory and then process the files in this directory if it finds any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how I could achieve this using logical paths rather than using hardcoded paths?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Oct 2007 09:24:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-11T09:24:35Z</dc:date>
    <item>
      <title>Getting physical path from logical path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-physical-path-from-logical-path/m-p/2902720#M682725</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 am using the FM FILE_GET_NAME  to get the physical path for a given logical path which I have specified within the FILE transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code works fine when I run the program in foreground but it doesn't work when I run it in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone advise on why this is and how I can get this to work correctly in background aswell as foregroud.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ultimate goal is to be able to poll a directory on the SAP server (which could be windows or unix) and to process the files in there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ruby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 09:00:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-physical-path-from-logical-path/m-p/2902720#M682725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T09:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Getting physical path from logical path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-physical-path-from-logical-path/m-p/2902721#M682726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You canot activate FILE_GET_NAME in background mode, it requires user's interrupt.&lt;/P&gt;&lt;P&gt;Activate it according to sy-batch (eq X at background mode), meaning that if sy-batch is empty activate it and if it equals X initilize the file path with a default file without any user's interuction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 09:05:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-physical-path-from-logical-path/m-p/2902721#M682726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T09:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Getting physical path from logical path</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-physical-path-from-logical-path/m-p/2902722#M682727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank-you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would prefer to to use a default path if possible. The reason I defined a logical path was so that this could be defined outside the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you saying I cannot use this FM in background at all?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there another FM which will do the same thing but will work in background?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am trying to do is create a program which will run in the background polling a particular directory and then process the files in this directory if it finds any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how I could achieve this using logical paths rather than using hardcoded paths?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 09:24:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-physical-path-from-logical-path/m-p/2902722#M682727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T09:24:35Z</dc:date>
    </item>
  </channel>
</rss>

