Logical file vs physical file
HI,
Any one can tell me about the difference between logical file and physical files. and in which scenarios they are used.
Regards
Hi,
Using Logical Files in ABAP Programs http://help.sap.com/saphelp_nw04/helpdata/en/9f/db95e635c111d1829f0000e829fbfe/content.htm
Creating and Defining Logical Filenames
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3df8358411d1829f0000e829fbfe/content.htm
Regards,
Priyanka.
Similar Messages
-
Mapping logical URL to physical files
We want to have logical URLs for images (or other fypes)ypes). We do not
want
to expose physical location where the files are stoo thterthe usr weOther
web
servers have APIs for this (NSAPI and MSAPI have pron foon for this). I was
wondering if someone knows how to achieve this with weblogic (as web
server).
Thanks,
-AjayHow does this work? You can specify a given resource type and it will
locate it in the directory tree automatically?
Thanks,
Michael
Michael Girdley
BEA Systems Inc
"Ajay Nandanwar" <[email protected]> wrote in message
news:3998ddb0$[email protected]..
>
We want to have logical URLs for images (or other file types). We do not
want to expose physical location where the files are stored to the user.
Other web servers have APIs for this (NSAPI and MSAPI have provision for
this). I was wonderinf if someone knows how to achieve this with weblogic
(as web server).
Thanks,
-Ajay -
Logical name to physical file mapping
We want to have logical URLs for images (or other file types). We do not
want to expose physical location where the files are stored to the user.
Other web servers have APIs for this (NSAPI and MSAPI have provision for
this). I was wonderinf if someone knows how to achieve this with weblogic
(as web server).
Thanks,
-AjayHow does this work? You can specify a given resource type and it will
locate it in the directory tree automatically?
Thanks,
Michael
Michael Girdley
BEA Systems Inc
"Ajay Nandanwar" <[email protected]> wrote in message
news:3998ddb0$[email protected]..
>
We want to have logical URLs for images (or other file types). We do not
want to expose physical location where the files are stored to the user.
Other web servers have APIs for this (NSAPI and MSAPI have provision for
this). I was wonderinf if someone knows how to achieve this with weblogic
(as web server).
Thanks,
-Ajay -
LDB files or log files in ORACLE database ?
Hi Experts,
Like LDB files in MIcrosoft Access do we have any sort of files in ORACLE which records the transactions and updates done in a particular database.
Pls help me if you have any idea on this.
Thanks in advance.If you are comparing Access with Oracle, then you are in for many shocks and surprises. In Oracle we have a database, in which there are logiical things called as tablespaces which have data files, a physical file at operating system level, which store data, and then transactions are also protected by the redo logs and for the old image we have undo tablespaces and so on...
regards -
What is a Logical and Physical file path in sap?
what is a Logical and Physical file path in sap?
Hi,
Physical file is what you see from the OS level.
Logical file is what ABAP code can call certain functions to read/write.
Transaction FILE would link them together. Typically the logical path ends with "<FILENAME>", and the logical file refers to the logical path.
To extract the physical path from the logical path name
DATA: lf_mandt TYPE sy-mandt,
lf_opsys TYPE sy-opsys.
lf_mandt = sy-mandt.
lf_opsys = sy-opsys.
To extract the physical path from the logical path name
CALL FUNCTION 'FILE_GET_NAME'
EXPORTING
client = lf_mandt
logical_filename = p_unix
operating_system = lf_opsys
IMPORTING
file_name = gwa_input
EXCEPTIONS
file_not_found = 1
OTHERS = 2.
IF sy-subrc EQ 0.
Concatenating the physical path and the input unix file name
CONCATENATE gwa_input p_file INTO gf_file .
ENDIF.
Reward if helpful.
Regards,
Ramya -
Logical and physical file paths
Hi,
can anyone elobrate me on what are logical and physical file
paths ?hi,
Follow this link
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3deb358411d1829f0000e829fbfe/frameset.htm
File format determination (Required / optional fields and field checks).
Logical File Path configuration through transaction 'FILE'. A new physical file path should be created on operating system level or an existing one can be used if agreed. The Basis team member should create a new file path at operating system level, if required.
Hope this helps, Do reward. -
Hi,
I face this error message when I try to 'process update' a dimention, sometime it works but sometime it failed with the error below:
Description: File system error: The record ID is incorrect. Physical file: . Logical file: .
My environment: Window Server 2008 R2+SQL Server 2008 R2.
Note: this issue can be resolved by full cube process, but I can't to that every time if it failed, just want to know what happen at backend of SSAS, It block me neary 2 week without any finding, really appreciate that someone can help on this.
I have do some research with google, I think the root cause here is not TopCount function(It may be a problem with SQL Server2005), also not the size limitation of 4GB size of .astore file.(I check the size of my cube under 'Data\XXX.db\' folder, which only
have few MB size).
Thanks,
TomHi Tom,
Here is a microsoft fix
FIX: "File system error" occurs when you try to run a process update operation on a dimension in Microsoft SQL Server 2008 Analysis Services and in Microsoft SQL Server 2008 R2 Analysis Services
In your acenario, in order to fix this issue, please apply the latest Cumulative update and Service Pack according to your SQL Server version. Besides, there are two workarounds in that fix, plese try it and check if it works or not.
http://support.microsoft.com/default.aspx?scid=kb;en-US;2276495
Regards,
Charlie Liao
TechNet Community Support -
Information about file Id, Logical file name and Physical file name
Hi All,
I am testing one program. Selection screen has 3 parameters, File Id, Logical File Name and Physical file name. In Physical File name, i am giving complete file name with path. But it is giving error. Please tell me, what is File id and what all information i need to enter for logical file name and physical file name.
Thanks
Puneet Aggarwalhi,
try using this for filename.
parameters : p_file like rlgrap-filename.
Thanks,
Gaurav -
Difference between logical file path and physical file path
Hi,
Can anyone tell me why logical file path is required and why physical file path is required? What exactly is the difference bet them?
Thanks in advance.
Regards,
PS.Hi,
The function module FILE_GET_NAME convert a logical path into its corresponding physical path.
The advantage of using logical pathes within your applications is obivous:
If you need to change the physical path you just adjust it within transaction FILE yet no changes are required to your application.
http://help.sap.com/saphelp_erp2005vp/helpdata/en/25/ab3a57df3b11d189fc0000e829fbbd/frameset.htm
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.
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.
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.
Maintaining platform-independent filenames is part of Customizing. For a full description, choose Tools ® Business Engineer ® Customizing, followed by
Implement. projects ® SAP Reference IMG. On the next screen, choose Basis Components System Administration ® Platform-independent File Names.
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.
Another way of maintaining platform-independent filenames is to use the Transaction FILE. The following sections provide an overview of the transaction.
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
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.
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.
Save your changes.
regards,
Omkar. -
Diff between logical and physical file path
Hi ,
Could you please explain difference between logical and physical file path's and their importance in ABAP.
Thanks and regards,
shylaHi
The function module FILE_GET_NAME convert a logical path into its corresponding physical path.
The advantage of using logical pathes within your applications is obivous:
If you need to change the physical path you just adjust it within transaction FILE yet no changes are required to your application.
http://help.sap.com/saphelp_erp2005vp/helpdata/en/25/ab3a57df3b11d189fc0000e829fbbd/frameset.htm
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.
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.
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.
Maintaining platform-independent filenames is part of Customizing. For a full description, choose Tools ® Business Engineer ® Customizing, followed by
Implement. projects ® SAP Reference IMG. On the next screen, choose Basis Components System Administration ® Platform-independent File Names.
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.
Another way of maintaining platform-independent filenames is to use the Transaction FILE. The following sections provide an overview of the transaction.
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
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.
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.
Save your changes. -
Logical file names and Physical file names
Hi Guys...
Can you let me know what is the difference between Logical file names and Physical file names?
Regards,
RohitUsing Logical Files in ABAP Programs http://help.sap.com/saphelp_nw04/helpdata/en/9f/db95e635c111d1829f0000e829fbfe/content.htm
Creating and Defining Logical Filenames
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3df8358411d1829f0000e829fbfe/content.htm -
Hi Gyes,
In selection screen i will enter <b>logical file path</b>.After executing this program i want <b>physical file path for that particular logical file path</b>(input).Is there any function module is there.
Thanks and regards,
Suresh.hello,
Use the function Module
Call function FILE_GET_NAME
CLIENT 200
LOGICAL_FILENAME <enter your logical file name>
OPERATING_SYSTEM WINDOWS NT
PARAMETER_1
PARAMETER_2
PARAMETER_3
USE_PRESENTATION_SERVER
WITH_FILE_EXTENSION
USE_BUFFER
ELEMINATE_BLANKS X
Reward points if helps.
Thanks,
Krishna -
Logical file / physical file
Hi,
can anybody tell how logical file is different from physical file during the lsmw direct input method.
I am trying to upload Purchase-info data through a source file on presentation server.
I am done with import data, read data, convert data after this in the option
create batch input method, it is asking a file .
when i use f4 here i can find many options in which one is
" usr/sap/tmp<filename>"
these entries can be find in transaction 'FILE'.
let me know if somebody has info regarding my query.
regards
satheeshHi satheesh,
1. Logical / physcial.
2. The actual (physical)
PATH NAMES in a computer
can be quite long.
3. These paths can be different
in different servers.
4. To make them unique,
(by using logical names)
, the concept of logical has come.
Its only PATH which is always logical.
the filename, is always actual.
5. just like in ASP, IIS Server,
we map
ACTUAL DIRECTORY <----
> ALIAS FOR WEB
6. In the same way
ACTUAL DIRECTORY <----
> LOGICAL NAMES
7. Just like we MAP a new hard disk name
to a path on the network.
regards,
amit m. -
Assigning physical file to logical file.
How to configure application server file with logical file.( I don't have full idea about this . what I know is using /nfile tcode we assign logical file name to application server path and
using 'FILE_GET_NAME' function module, by supplying logical file we get the path of our application server
My lead doesn't have idea about this. How to convey him about logical file using which assiging physical file path. Can you explain clearly, so that I will work with my lead and get work done.
Your help will be appreciated highlyFILE Transaction Code
FILE transaction - How to use.
FILE transaction -
Mapping physical file name to logical file name
Hi All,
Can anybody let me know wht is the procedure to map a logical file name to physical file name. wht is the use of logical file name when there exists physical file name?
Thanx in AdvanceAs far as creating the Logical path its done through the transaction code file by using options
Steps are:
1. Logical file path definition which is logical file path name.
2. Assignment of physical path to logical path - where we give the physical path to the logical path name defined in the last step.
After creating the Logical path the procedure to attach the file name to the Logical path is as follows:
Use the function Module C13Z_FRONT_END_TO_APPL to upload the file from the front end to the application server.
Source file on front end will be the CSV file path which is to be uploaded to the application server
Target file on application server will be the physical path of the file on the application server where the file is to be uploaded.
Attach the physical path of the file on the application server to the Logical file using transaction code file.
Logical File: The Logical name of the file which will be used by the interfaces to upload the file
Physical file: The name of the physical file on the application server
Logical path: The path of the physical file on the application server where it is stored.
The possible reason for the use of Logical file name could be we can have directories within SAP in which we can have logical files stored. These files can be used by various interfaces. Different Logical paths can be used for different interfaces. the second reson can be to give more user friendly name to the file rather than a long physical name to the file.
Maybe you are looking for
-
My Iphone is not seen on itunes when I plug it. I've tried everything that I found on the internet. but it still doesn't work, so I can't sync my iphone. What can I do? I have checked all the USB ports, I have desinstalled and installed again itunes,
-
My Adobe Photoshop Elements 6 doesn/t work under Vista Home.
Please help me. Hylke
-
Warning on Exporting DAC Repository Metadata
After finishing export DAC repository metadata, we got some warning as following: W_ETL_SA: 26 objects 31705 INFO Wed Nov 11 11:15:12 CST 2009 Exporting entity W_ETL_SA for application EBS 11.5.10.W 31706 INFO Wed Nov 11 11:15:12 CST 2009 Moved W_ETL
-
I am a machinist and have just received a bunch of drawings that are 55"x160" long (rediculous I know). I would like to split and shrink the drawing to fit onto 3- 11"x17" pages. I can crop and save and merge and resave, but does anyone know of an
-
I am using Firefox 14.0.1 with Shockwave Flash. If I use any version of Shockwave Flash later than 11.2.202.235 I can not watch videos such as Youtube. All I get is a white screen. If I roll back to SF Ver .235 the videos play fine. I do not have thi