<?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: file handling in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-handling/m-p/3008728#M710941</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;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function module FILE_GET_NAME convert a logical path into its corresponding physical path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The advantage of using logical pathes within your applications is obivous:&lt;/P&gt;&lt;P&gt;If you need to change the physical path you just adjust it within transaction FILE yet no changes are required to your application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/25/ab3a57df3b11d189fc0000e829fbbd/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005vp/helpdata/en/25/ab3a57df3b11d189fc0000e829fbbd/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The file names that you use in ABAP statements for processing files are physical names. This means that they must be syntactically correct filenames for the operating system under which your R/3 System is running. Once you have created a file from an ABAP program with a particular name and path, you can find the same file using the same name and path at operating system level. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the naming conventions for files and paths differ from operating system to operating system, ABAP programs are only portable from one operating system to another if you use the tools described below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make programs portable, the R/3 System has a concept of logical filenames and paths. These are linked to physical files and paths. The links are created in special tables, which you can maintain according to your own requirements. In an ABAP program, you can then use the function module FILE_GET_NAME to generate a physical filename from a logical one. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maintaining platform-independent filenames is part of Customizing. For a full description, choose Tools ® Business Engineer ® Customizing, followed by &lt;/P&gt;&lt;P&gt;Implement. projects ® SAP Reference IMG. On the next screen, choose Basis Components System Administration ® Platform-independent File Names. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a more detailed description of the function module FILE_GET_NAME, enter its name on the initial screen of the Function Builder and choose Goto Documentation. On the next screen, choose Function module doc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way of maintaining platform-independent filenames is to use the Transaction FILE. The following sections provide an overview of the transaction. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create a logical filename, choose Logical filename definition, client-independent from the Navigation group box in Transaction FILE, then choose New entries. You define logical filenames&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can either define a logical filename and link it to a logical path (as displayed here), or you can enter the full physical filename in the Physical file field. In the latter case, the logical filename is only valid for one operating system. The rules for entering the complete physical filename are the same as for the definition of the physical path for the logical file. To display further information and a list of reserved words, choose Help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you link a logical path to a logical file, the logical file is valid for all syntax groups that have been maintained for that logical path. The filename specified under Physical file replaces the reserved word  in the physical paths that are assigned to the logical path. To make the name independent of the operating system, use names that begin with a letter, contain up to 8 letters, and do not contain special characters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save your changes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go to file transaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clik on new entries&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;declare as below &lt;/P&gt;&lt;P&gt;Logical path ZFLIGHT&lt;/P&gt;&lt;P&gt;Name LOGICAL NAME FOR IDOC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then go to right side syntax and grop there define os &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------" /&gt;&lt;P&gt;Syntax group WINDOWS NT Microsoft Windows NT&lt;/P&gt;&lt;P&gt;Physical path /USR/SAP/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Nov 2007 04:35:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-12T04:35:07Z</dc:date>
    <item>
      <title>file handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-handling/m-p/3008724#M710937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is logical path and physical path in SAP? How to handle files from these?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Nov 2007 12:41:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-handling/m-p/3008724#M710937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-10T12:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: file handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-handling/m-p/3008725#M710938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Madhavi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function module &amp;lt;b&amp;gt;FILE_GET_NAME&amp;lt;/b&amp;gt; convert a logical path into its corresponding physical path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The advantage of using logical pathes within your applications is obivous:&lt;/P&gt;&lt;P&gt;If you need to change the physical path you just adjust it within transaction &amp;lt;b&amp;gt;FILE &amp;lt;/b&amp;gt;yet no changes are required to your application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Nov 2007 21:15:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-handling/m-p/3008725#M710938</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-11-11T21:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: file handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-handling/m-p/3008726#M710939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,madhavi rajulapati  .&lt;/P&gt;&lt;P&gt;I think you should see this link , I'm sure it will help you.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_40b/helpdata/en/2a/fa02b7493111d182b70000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_40b/helpdata/en/2a/fa02b7493111d182b70000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;feng.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 01:23:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-handling/m-p/3008726#M710939</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-12T01:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: file handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-handling/m-p/3008727#M710940</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;Refer to the below mentioned Functio Module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ws_upload	Transfer files from the frontend to the application server. &lt;/P&gt;&lt;P&gt;Ws_download	Transfer files from the application server to the frontend. &lt;/P&gt;&lt;P&gt;Ws_excel	                 Download files at the frontend in excel format. &lt;/P&gt;&lt;P&gt;Ws_file_delete	Delete file at the frontend. &lt;/P&gt;&lt;P&gt;CLPB_EXPORT 	Export files to clipboard &lt;/P&gt;&lt;P&gt;CLBP_IMPORT	 Copies clipboard into table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward suitable points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;IFF&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 04:33:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-handling/m-p/3008727#M710940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-12T04:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: file handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-handling/m-p/3008728#M710941</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;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function module FILE_GET_NAME convert a logical path into its corresponding physical path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The advantage of using logical pathes within your applications is obivous:&lt;/P&gt;&lt;P&gt;If you need to change the physical path you just adjust it within transaction FILE yet no changes are required to your application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/25/ab3a57df3b11d189fc0000e829fbbd/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005vp/helpdata/en/25/ab3a57df3b11d189fc0000e829fbbd/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The file names that you use in ABAP statements for processing files are physical names. This means that they must be syntactically correct filenames for the operating system under which your R/3 System is running. Once you have created a file from an ABAP program with a particular name and path, you can find the same file using the same name and path at operating system level. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the naming conventions for files and paths differ from operating system to operating system, ABAP programs are only portable from one operating system to another if you use the tools described below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make programs portable, the R/3 System has a concept of logical filenames and paths. These are linked to physical files and paths. The links are created in special tables, which you can maintain according to your own requirements. In an ABAP program, you can then use the function module FILE_GET_NAME to generate a physical filename from a logical one. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maintaining platform-independent filenames is part of Customizing. For a full description, choose Tools ® Business Engineer ® Customizing, followed by &lt;/P&gt;&lt;P&gt;Implement. projects ® SAP Reference IMG. On the next screen, choose Basis Components System Administration ® Platform-independent File Names. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a more detailed description of the function module FILE_GET_NAME, enter its name on the initial screen of the Function Builder and choose Goto Documentation. On the next screen, choose Function module doc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way of maintaining platform-independent filenames is to use the Transaction FILE. The following sections provide an overview of the transaction. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create a logical filename, choose Logical filename definition, client-independent from the Navigation group box in Transaction FILE, then choose New entries. You define logical filenames&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can either define a logical filename and link it to a logical path (as displayed here), or you can enter the full physical filename in the Physical file field. In the latter case, the logical filename is only valid for one operating system. The rules for entering the complete physical filename are the same as for the definition of the physical path for the logical file. To display further information and a list of reserved words, choose Help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you link a logical path to a logical file, the logical file is valid for all syntax groups that have been maintained for that logical path. The filename specified under Physical file replaces the reserved word  in the physical paths that are assigned to the logical path. To make the name independent of the operating system, use names that begin with a letter, contain up to 8 letters, and do not contain special characters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save your changes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go to file transaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clik on new entries&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;declare as below &lt;/P&gt;&lt;P&gt;Logical path ZFLIGHT&lt;/P&gt;&lt;P&gt;Name LOGICAL NAME FOR IDOC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then go to right side syntax and grop there define os &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------" /&gt;&lt;P&gt;Syntax group WINDOWS NT Microsoft Windows NT&lt;/P&gt;&lt;P&gt;Physical path /USR/SAP/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 04:35:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-handling/m-p/3008728#M710941</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-12T04:35:07Z</dc:date>
    </item>
  </channel>
</rss>

