‎2006 Dec 15 11:30 AM
Hi all,
What is 1. Logical file
2. Data file
3.Physical File...?
Thanks,
Krish...
‎2006 Dec 15 11:36 AM
Hello,
Actually it the way you refer to a data file defines logical or data or physical file.
Logical filename : it's name which is stored in FILE transaction(logical path) for file access purpose.
data file : this is actual file that you refer for R/3 purpose.
Physical filename : filename which is placed (with physical path)on server/PC.
Thanks.
‎2006 Dec 15 11:36 AM
Hello,
Actually it the way you refer to a data file defines logical or data or physical file.
Logical filename : it's name which is stored in FILE transaction(logical path) for file access purpose.
data file : this is actual file that you refer for R/3 purpose.
Physical filename : filename which is placed (with physical path)on server/PC.
Thanks.
‎2006 Dec 15 11:57 AM
Hi Krish,
If you are referring to the defintions as used within the FILE transaction:
The Logical filename is what you pass to function FILE_GET_NAME to return the physical name of a Presentation Server (PC) file to open for uploading or downloading data.
I'm not sure what you mean by "Data File".
Within the abap you would open a dataset.
In FILE_GET_NAME, the <FILENAME> placeholder on the physical path is substituted by the contents of the "Physical File" field in the Logical Path definition.
This is all explained quite well in the help on Platform Independent Filenames - follow this link:
http://help.sap.com/saphelp_46c/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm
Regards
Robin
‎2006 Dec 15 12:06 PM
Hello Krish,
If u are refering to FILE trx then
Logical file can be some name u can assign to actual file. This basically helps u to change the name of the actual file without needing to change the file name in the program.
e.g Logical Physical
invoice c:\invoice.xls
u can go ahead and use the logical file name in the program and if the actual file changes tomorrow as d:\invoice1.xls u can simple go to FILE trx and change the file name and ur program still remains unchanged. Data file is the actual file.