<?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: help needed in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed/m-p/1633245#M282470</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;The Logical path is the platform independent path of a file while the physical path is the actual(platform specific) path on the server where the file resides.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The mapping of the logical path to physical path is maintained via trx. FILE . You can see this updated in table PATH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maintain this mapping in trx. FILE.&lt;/P&gt;&lt;P&gt;In the code, read teh logical path from the sel. screen , go to table PATH and get the physical path an dthen read the data file from there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Roopali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Sep 2006 07:26:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-25T07:26:58Z</dc:date>
    <item>
      <title>help needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed/m-p/1633242#M282467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to put data in logical and physical file.&lt;/P&gt;&lt;P&gt;i need physical file and logical file names in selection- screen and i need check box for these two files. and when i select this check box the data should upload into these file.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please guide me how to write code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2006 07:14:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed/m-p/1633242#M282467</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-25T07:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: help needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed/m-p/1633243#M282468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;logical file path is nothing but a IDENTIFIER/STRING/NAME = the name by which we refer to that file.&lt;/P&gt;&lt;P&gt;(in our programs)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The physical location of that file, &lt;/P&gt;&lt;P&gt;may change from server to server,&lt;/P&gt;&lt;P&gt;or from time to time.(hence, we do not use hardcoded physical path,in our programs,&lt;/P&gt;&lt;P&gt;but instead use this MAPPING of logical path,to the physical path)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2006 07:19:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed/m-p/1633243#M282468</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-25T07:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: help needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed/m-p/1633244#M282469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the FM 'GUI_DOWNLOAD' to download file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2006 07:26:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed/m-p/1633244#M282469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-25T07:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: help needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed/m-p/1633245#M282470</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;The Logical path is the platform independent path of a file while the physical path is the actual(platform specific) path on the server where the file resides.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The mapping of the logical path to physical path is maintained via trx. FILE . You can see this updated in table PATH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maintain this mapping in trx. FILE.&lt;/P&gt;&lt;P&gt;In the code, read teh logical path from the sel. screen , go to table PATH and get the physical path an dthen read the data file from there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Roopali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2006 07:26:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed/m-p/1633245#M282470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-25T07:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: help needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed/m-p/1633246#M282471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roopali,&lt;/P&gt;&lt;P&gt;PLZ SEND SOME SAMPLE CODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2006 07:34:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed/m-p/1633246#M282471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-25T07:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: help needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed/m-p/1633247#M282472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkat, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample code as below:&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.&lt;/P&gt;&lt;P&gt;PARAMETERS:&lt;/P&gt;&lt;P&gt;            p_lfname LIKE path-pathintern       " Logical file path&lt;/P&gt;&lt;P&gt;             DEFAULT 'ZLOGICAL PATH_SD',&lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;P&gt;            p_pfname LIKE path-pathextern       " File name&lt;/P&gt;&lt;P&gt;            DEFAULT 'test.txt'.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: END OF BLOCK b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get the physical file path          &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; SELECT SINGLE pathextern INTO l_path FROM path&lt;/P&gt;&lt;P&gt;                           WHERE pathintern = p_lfname&lt;/P&gt;&lt;P&gt;                             AND filesys    = 'UNIX'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Add the filename to the file path&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  REPLACE '&amp;lt;FILENAME&amp;gt;' WITH p_pfname INTO l_path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In trx. FILE, the mapping has been maintained like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logical path: ZLOGICAL PATH_SD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Physical path: /usr/sap/test/&amp;lt;FILENAME&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence after the Select: l_path will have '/usr/sap/test/&amp;lt;FILENAME&amp;gt;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while after the Replace l_path will be '/usr/sap/test/test.txt'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Roopali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2006 07:37:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed/m-p/1633247#M282472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-25T07:37:07Z</dc:date>
    </item>
  </channel>
</rss>

