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,
-Ajay
How 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
Similar Messages
-
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 -
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. -
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. -
Hi Guys,
When I try to Brows Cube (SSAS 2005), I get below error (Sometimes):
TITLE: Microsoft SQL Server 2005 Analysis Services
Server: The operation has been cancelled.
The following system error occurred from a call to GetOverlappedResult for Physical file: '\\?\F:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\XXX_2012.0.db\XXX DC.0.cub\FACT_XXX.0.det\PARTITION_2013Q31.0.prt\674.fact.data', Logical file: '' : Insufficient
system resources exist to complete the requested service. .
The following system error occurred from a call to GetOverlappedResult for Physical file: '\\?\F:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\XXX_2012.0.db\XXX DC.0.cub\FACT_XXX.0.det\PARTITION_2013Q23.0.prt\385.fact.data', Logical file: '' : Insufficient
system resources exist to complete the requested service. .
BUTTONS:
OK
and I think due to above Error, Index on a Particular Attribute (EMP_ID) of a DIMENSION DIM_EMP is getting dropped from FEW of the Partitions (Folders) and started getting new error:
TITLE: Microsoft SQL Server 2005 Analysis Services
File system error: The following error occurred while opening the file '\\?\F:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\XXX_2012.0.db\XXX DC.0.cub\FACT_XXX.0.det\PARTITION_2013Q31.0.prt\688.DIM_EMO.EMP_ID.fact.map'.
BUTTONS:
OK
I followed the above path and did not find file 688.DIM_EMO.EMP_ID.fact.map in folder PARTITION_2013Q31.0.prt. Once I rebuild the Index (ProcessIndex) for this partition, I am able to See file 688.DIM_EMO.EMP_ID.fact.map.
But again when next time I get error "Insufficient system resources exist to complete the requested service", Then 688.DIM_EMO.EMP_ID.fact.map will be dropped and will not be available in folder PARTITION_2013Q31.0.prt.
Anyone had similar issue. Could you please share your experience and resolution if any.
Thanks Shiven:) If Answer is Helpful, Please VoteHi Shiven,
In your scenario, the issue occur at sometimes, right? Base on my research, the issue can be caused by that calculation estimate exceeded available memory. Possibly due to possible number of dimension members and sizes of keys. And 32bit environment didn’t
allow for any expansion to the SSAS memory space.
To avoid this issue, please try to use userva to fine tune the 3GB setting down to 2900 since /3GB is the likely
cause (has been for most other customers who encountered the same problem before). The KB Articles below discuss that setting in detail.
How to use the /userva switch with the /3GB switch to tune the User-mode space to a value between 2 GB and 3 GB
Regards,
Charlie Liao
TechNet Community Support -
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 -
HI,
Any one can tell me about the difference between logical file and physical files. and in which scenarios they are used.
RegardsHi,
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. -
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
Maybe you are looking for
-
ICloud & back to my mac - is this a screen share issue?
Since installing Lion a few weeks ago on my Macmini (to help me fully upgrade / migrate from MobileMe to iCloud) I've have a couple of issues which are bugging (no pun intended) the life out of me. I'm almost at the point of doing a complete erase a
-
hi gurus, Is it possible to see date wise stock of a material? I mean is it possible to have a material ledger kind of thing in SAP. thanks in advance
-
How to synchronize colors with two different video cameras
I own Sony FX1 and HC9 video cameras. The color between the two video cameras can be pretty noticeable, and I tend to flip between the two cameras a lot during editing. Ideally I would get them to match up better before I start filming, but despite m
-
SO_DOCUMENT_SEND_API1 not working in ECC 5.0
I am using this FM to send email . Everything executes, No exceptions raised, But no email either. Same FM works in 4.7. Any suggestion. Thanks..
-
User SIMPCDIA has no RFC authorization for function group BBPC
Hello all, I am working with SRM 7.0 and when I try to list all account values in the corresponding matchcode, I have this error message: User SIMPCDIA has no RFC authorization for function group BBPC User SIMPCDIA is a dialog user created in backend