Logic & physical path

hi friends,
could u plz tell me what is logical path? and what is physicall path?
and also i want to know how to link ogical path and physicall path?
plz tell me in details.
with regards,
Priya.S

Hi Priya,
Logical File Names
Use
To save data in a file in the cache modes Main Memory Cache with Swapping, Flat File Cache per Application Server, or Cross-Application Server (see Cache Mode), the following specifications must first be set:
●      Definition of the logical file path and assignment to a platform-specific physical path
●      Definition of the logical file name
From the Cache Monitor screen, using  Logical File Names, you can access the complex table maintenance for logical file paths and names. The table maintenance consists of several subdialogs (views). SAP has delivered a proportion of the required settings.
You need to check these settings and make any necessary adjustments for your file system before you can use the persistent OLAP cache with a flat file as a background store.
Note that these assignments are subject to settings made for the transport connection (You need a request that can be transported).
Features
The following section gives an overview of the subdialog in the table maintenance using an example configuration. For more information about the procedure, see Defining Logical Path and File Names.
You can choose the following subdialogs using the dialog structure:
Logical File Path Definition
The (platform-independent) logical file path is evaluated at runtime to generate the (platform-dependent) physical path (see Assignment of Physical Paths to Logical Path).
Two examples of this are:
●        Logical file path: BW_OLAP_CACHE
Name: BI OLAP Cache
●        Logical file path: BW_OLAP_CACHE_SPAN
Name: BI OLAP Cache Cross-Application Server
Assignment of Physical Paths to Logical Path
At runtime, the physical path assigned to the corresponding operating system is generated from the logical file path. 
Since the physical path is platform-dependent, the customer has to specify it. The closer the file is to the application server or, with the cross-application server cache mode, to the application server, the faster it can be found and read. 
Log(ical) path: BW_OLAP_CACHE
Name: BI OLAP Cache
Syntax group: UNIX (all Unix platforms)
Phys(ical) path: /usr/<SYSID>/global/<FILENAME> (You can choose the path up to <FILENAME> according to your own configuration.)
If you cannot find the relevant syntax group for file names and paths for your operating system, you can define your own (see Syntax Group Definition and Assignment of Operating System to Syntax Group).
The <FILENAME> parameter must always be set for the physical file name (see Logical File Name Definition, Cross-Client). At runtime, the complete platform-specific file name is automatically formed from the physical path and the physical file name.
Logical File Name Definition, Cross-Client
At runtime, a complete platform-specific file name including the path is generated for a (platform-independent) logical file name.
In the following example, cache data is stored on an application server:
Logical file: BW_OLAP_CACHE (we recommend you use the delivered attributes for the logical file).
Name: BI OLAP Cache Files 
Phys(ical) file: CACHE_<HOST>_<SYSID>_<PARAM_1>
Data format: BIN (binary)
Application area: BW (Business Information Warehouse)
Logical path: BW_OLAP_CACHE (see Logical File Path Definition). Input help is available.
In the following example, cache data is stored cross-application server:
Log(ical) file: BW_OLAP_CACHE_SPAN
Name: BI OLAP Cache Cross-Application Server
Phys(ical) file: CACHE_<SYSID>_<PARAM_1>
Data format: BIN
Application area: BW
Log(ical) path: BW_OLAP_CACHE_SPAN
Note that a particular schema is prescribed for the physical file name:
&#9679;      For application server storage (see Global Cache Parameters and Cache Mode Main Memory Cache with Swapping and Cluster / Flat File Cache per Application Server):
CACHE_<HOST>_<SYSID>_<PARAM_1>
&#9679;      For cross application server storage (see Global Cache Parameters and Cache Mode Cluster / Flat file Cache Cross-application Server):
CACHE_<SYSID>_<PARAM_1>
The following table offers an overview of the variables that are only replaced with actual values during runtime:
Variables in Physical File Names
Variable
Meaning
<HOST>
Computer/server name (for SY-HOST). 
If the data is stored cross-application server, this variable is not required. 
<SYSID>
System ID
For example, if two different BI systems are running on one application server, this variable serves to differentiate the systems so that they do not overwrite each other.
<PARAM_1>
External parameter 1 (sequential number in HEX)
Definition of Variables
If you want to use variables in physical file names and paths, you can define these by choosing New Entries.
Syntax Group Definition
You can define a new syntax group for operating systems with the same syntax for file names and paths by choosing New Entries.
Syntax grp: UNIX
Name: All Unix platforms
Length (of file name)
Extension: Choose this option if the data format for the logical data name is allowed as the file name extension for this syntax group.
Active: Choose this option if the operative system for this syntax group is used in the available system configuration.
Assignment of Operating System to Syntax Group
You can assign your operating system to a syntax group by choosing New Entries if necessary.
OP system: SunOS
Name: SUN Unix
check this link also
http://help.sap.com/saphelp_nw70/helpdata/en/8d/3e4ec2462a11d189000000e8323d3a/content.htm
hope this helps u
reward if useful
Jgds
Message was edited by:
        Jegadesh Balan

Similar Messages

  • Finding of the Logical and Physical filename,Logical and Physical Path

    Hello All
    Where and how can I find the below details in an SAP server
    Logical filename:
    Physical filename:
    Logical path:
    Physical path:
    Regards
    Kalyani

    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.
    You need to tak ehelp of ABAPer for this
    Check the link
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3deb358411d1829f0000e829fbfe/frameset.htm
    Regards

  • LSMW - Logical File Path not pointing to Physical Path

    Hi All,
    I'm trying to upload some MIGO goods movement transactions through LSMW.  I'm to step 7, specifying files, and am getting the error "No logical file path has been specified.  I saw another thread which helped me, but I am still stuck after reading it. 
    Re: Error in Creation of Purchase Requisition through LSMW
    I have gone into transaction FILE and created the logical file name MM_GOODS_MOVEMENT, and set the physical file as the .lsmw.conv converted data file as the above thread says.  I also tried using the logical path LOCAL_TEMPORARY_FILES for the converted data, but I get the error telling me that the path does not point to a physical directory.  I then tried creating my own file path, and setting the path to my desktop where the source file is, and the same error occurred.
    Does anyone know why it is not recognizing the physical path maintained in the logical path?
    Thanks,
    J

    Thanks for both replies,
    I have full authorization across all transactions in the sandbox system I am working in, so that is not an issue.  I filled the logical path field in the MM_GOODS_MOVEMENT logical file with LOCAL_TEMPORARY_FILES, as well as trying my own created file path, and I recieved the same error for each.  Here is how the config is currently:
    Logical File Path Definition:  MM_GOODS_MOVEMENT
    Syntax Group: WINDOWS NT
    Physical path: C:\Documents and Settings\jchanski\Desktop\<FILENAME>
    or,
    Logical File Path Definition:  LOCAL_TEMPORARY_FILES
    Syntax Group: WINDOWS NT
    Physical path: C:\temp\<FILENAME>
    Logical File Name Definition: MM_GOODS_MOVEMENT
    Physical file: MM_MM_MIGO_INVUPLOAD.lsmw.conv
    Data format: ASC
    Applicat.area: MM
    Logical path: LOCAL_TEMPORARY_FILES or MM_GOODS_MOVEMENT
    Do you see any error with this Brajvir?  Thanks!

  • 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.

  • Logical & Physical File path

    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

  • Getting physical path from logical path

    Hi,
    I am using the FM FILE_GET_NAME  to get the physical path for a given logical path which I have specified within the FILE transaction.
    The code works fine when I run the program in foreground but it doesn't work when I run it in background.
    Can anyone advise on why this is and how I can get this to work correctly in background aswell as foregroud.
    The ultimate goal is to be able to poll a directory on the SAP server (which could be windows or unix) and to process the files in there.
    Thanks,
    Ruby

    Thank-you.
    I would prefer to to use a default path if possible. The reason I defined a logical path was so that this could be defined outside the program.
    Are you saying I cannot use this FM in background at all?
    Is there another FM which will do the same thing but will work in background?
    What I am trying to do is create a program which will run in the background polling a particular directory and then process the files in this directory if it finds any.
    Do you know how I could achieve this using logical paths rather than using hardcoded paths?

  • Directory logical path to directory physical path

    Hello experts,
    I have question related to getting path from defined earlier logcal path in FILE transaction.
    I know there are FMs called 'FILE_GET_NAME' and 'FILE_GET_NAME_AND_LOGICAL_PATH' but they are not solving my problem.
    Let's say I know only physical file name and logical file directory, but I don't know the full physical path of file.
    I now want to build a program where user writes down the physical name of the file and in the code side there is defined logical file directory from which we can get the physical directory path and concatenate it with entered filename. Is there a possibility to do that?
    Thank you in advance.
    Best regards,
    Andrew

    function module FILE_GET_NAME_USING_PATH is doing exactly that.

  • How to Configure logical path and how to retrieve physical path for an IDOC

    Hi ,
    I want to configure logical path for an IDOC,
    and then I need to retrieve Physical path from this logical path
    using a FM (eg. FILE_GET_NAME).
    How to configure the logical path for an idoc ?
    Regards ,
    Harshit Rungta

    Using Logical Files in ABAP Programs
    To create a physical file name from a logical file name in your ABAP programs, use the function module FILE_GET_NAME. To insert the function module call in your program, choose Edit ® Insert statement from the ABAP Editor screen. A dialog box appears. Select Call Function and enter FILE_GET_NAME. The parameters of this function module are listed below.
    Import parameters
    Parameters
    Function
    CLIENT
    The maintenance tables for the logical files and paths are client-dependent. Therefore, the desired client can be imported. The current client is stored in the system field SY-MANDT.
    LOGICAL_FILENAME
    Enter the logical file name in upper case letters that you want to convert.
    OPERATING_SYSTEM
    You can import any operating system that is contained in the list in Transaction SF04 (see Assigning Operating Systems to Syntax Groups). The physical file name will be created according to the syntax group to which the operating system is linked. The default parameter is the value of the system field
    SY-OPSYS.
    PARAMETER_1
    PARAMETER_2
    If you specify these import parameters, the reserved words  in the physical path names will be replaced by the imported values.
    USE_PRESENTATION
    _SERVER
    With this flag you can decide whether to import the operating system of the presentation server instead of the operating system imported by the parameter OPERATING_SYSTEM.
    WITH_FILE_EXTENSION
    If you set this flag unequal to SPACE, the file format defined for the logical file name is appended to the physical file name.
    Export Parameters
    Parameters
    Function
    EMERGENCY_FLAG
    If this parameter is unequal to SPACE, no physical name is defined in the logical path. An emergency physical name was created from table FILENAME and profile parameter DIR_GLOBAL.
    FILE_FORMAT
    This parameter is the file format defined for the logical file name. You can use this parameter, for example, to decide in which mode the file should be opened.
    FILE_NAME
    This parameter is the physical file name that you can use with the ABAP statements for working with files.
    Exception Parameters
    Parameters
    Function
    FILE_NOT_FOUND
    This exception is raised if the logical file is not defined.
    OTHERS
    This exception is raised if other errors occur.
    Suppose the logical file MYTEMP and the logical path TMP_SUB are defined as in the preceding topics and we have the following program:
    DATA: FLAG,
          FORMAT(3),
          FNAME(60).
    WRITE SY-OPSYS.
    CALL FUNCTION 'FILE_GET_NAME'
         EXPORTING
              LOGICAL_FILENAME        = 'MYTEMP'
              OPERATING_SYSTEM        = SY-OPSYS
              PARAMETER_1             = '01'
         IMPORTING
              EMERGENCY_FLAG          = FLAG
              FILE_FORMAT             = FORMAT
              FILE_NAME               = FNAME
         EXCEPTIONS
              FILE_NOT_FOUND          = 1
              OTHERS                  = 2.
    IF SY-SUBRC = 0.
      WRITE: /  'Flag      :', FLAG,
             / 'Format    :', FORMAT,
             / 'Phys. Name:', FNAME.
    ENDIF.
    The output appears as follows:
    HP-UX
    FLAG :
    FORMAT : BIN
    Phys. Name: /tmp/TEST01
    In this example, the R/3 System is running under the operating system HP-UX, which is member of the syntax group UNIX. The logical file name MYTEMP with the logical path TMP_SUB is converted into a physical file name /tmp/TEST01 as defined for the syntax group UNIX. The field FNAME can be used in the further flow of the program to work with file TEST01 in directory /tmp.
    Suppose we have a logical file name EMPTY with the physical file name TEST, connected to a logical path that has no specification of a physical path. If you replace the EXPORTING parameter 'MYTEMP' with 'EMPTY' in the above example, the output appears as follows:
    HP-UX
    FLAG : X
    FORMAT :
    Phys. Name: /usr/sap/S11/SYS/global/TEST
    The system created an emergency file name, whose path depends on the installation of the current R/3 System.

  • Physical path and Logical name in File adapter

    Hi All-
    I am using a file adapter, in which i need to specify the physical path or logical path.
    In dev environment my file adapter's input path is /c01/interface/dev/input, but in my test environment it is /u01/interface/test/input.
    So everytime I have to change the path and deploy it in two different environment.
    I am using unix environment, is there any way i can use some environmental variable $INPUT_DIR and use it in logical name so that in logical name i can use as $INPUT_DIR/input, where in dev $INPUT_DIR will be /c01/interface/dev and in test environment it is /u01/interface/test.
    I have tried this but there is still some probelm, I want to know is the approach I am using is correct? or is there any other solution for it?
    Regards,
    Sreejit

    Hi,
    1. physical name: use a specific directory (e.g. /u01/....
    2. logical name: use a LogicalDirectory like "InputFileDir" and rewrite this inside the bpel.xml
    http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/adptr_file.htm#CACDEBBH
    and
    http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/appx_deploydesc.htm#CHDBDIIF
    But what about creating a softlink like this on your testsystem:
    ln -s /u01 /c01

  • Archiving : Change of Logical File Name & physical path

    Hello friends,
    We are doing archiving for a Z* archiving object.
    We run a write job(not delete job till now) for this archiving object and it created archive files in .../SYS/GLOBAL directory as was expected from settings of Logical File Name and hence physical path corresponding to it. So far no problem..
    Now, requirement is to change this path and for this i created a new Logical File Name with a different physical path.
    My concern is, about already archived data in older path. Should i only run delete job for that session ?
    Or should i copy the archive files to new path and then start delete job OR do a write job once again..
    please suggest.
    thanks
    ashish

    Hello Juan,
    Ok, i can copy the files, those are not too many as we did it only for 2 months selection.
    Can i go for write job again for same selection ? If yes, probably it will create a new session.. correct ? and then i will go for deletion for new session.
    If this is also correct way, i want to do this.. as till now this has been one for only 2 months and we are going to do for 8 yrs.
    One more question, will the be any problem for having 2 sessions for same selection.. means 2 write or archive job for same selection.
    thanks
    ashish

  • Regarding assignment of physical path to logical file name

    Hi All,
    We have created one logical file name and assigned physical path to it in FILE tcode.
    IN PATH table also these details got updated with correct logical file name & physical path.
    But in my program when i have used FILE_GET_NAME F.M to retrieve physical path from logical file.
    Here this F.M is not returning anything.
    What is the issue over here.
    We are working in ECC 6.0
    Can anybody resolve this issue!
    Thanks,
    Deep.

    do one thing i give my report so according to do this
    *& Report ZMIO_MANU_VENDOR_EXTR
    report zmio_manu_vendor_extr.
    DATA BASE TABLES
    tables: lfa1 ,eina, lfm1 .
    STRUCTURES
    *---structure for the vendor details.
    data: begin of ws_lfa1 ,
    lifnr type lfa1-lifnr,
    name1 type lfa1-name1,
    end of ws_lfa1 .
    *---structure for the pur org details.
    data: begin of ws_lfm1 ,
    lifnr type lfm1-lifnr,
    kalsk type lfm1-kalsk,
    minbw type lfm1-minbw,
    end of ws_lfm1 .
    *---structure for the pur inf rec.
    data: begin of ws_eina,
    lifnr type eina-lifnr,
    relif type eina-relif,
    end of ws_eina .
    *--structure for the output file
    data: begin of ws_final,
    lifnr(10) type c,
    name1(35) type c,
    kalsk(1) type c,
    minbw(13) type c,
    eoln(1) type c,
    end of ws_final .
    INTERNAL TABLES
    *---internal table for vendor details
    data:i_lfa1 like ws_lfa1 occurs 0.
    *---internal table for pur org details
    data:i_lfm1 like ws_lfm1 occurs 0.
    *---internal table for pur inf details
    data:i_eina like ws_eina occurs 0.
    *---internal table for final file output
    data:i_final like ws_final occurs 0.
    *DATA : P_FLAG(1) TYPE C.
    CONSTANTS
    *-- Default file name
    constants: c_filename_default(40) type c
    value 'VOLSAP/MAXVRLIB/manu_retail_vendor',
    c_kalsk(2) type c value '05'.
    SELECTION SCREEN
    selection-screen begin of block b1 with frame.
    selection-screen: begin of block b2 with frame title text-001 .
    select-options:s$lifnr for lfa1-lifnr .
    parameters:p$relif as checkbox.
    selection-screen end of block b2.
    selection-screen: begin of block b3 with frame title text-002 .
    parameters: p$file(128) obligatory default c_filename_default.
    selection-screen end of block b3.
    selection-screen end of block b1 .
    START OF SELECTION
    start-of-selection.
    if not s$lifnr is initial.
    perform get_vendor_data .
    endif.
    perform build_file .
    perform display_file .
    END OF SELECTION
    end-of-selection .
    *& Form GET_VENDOR_DATA
    form get_vendor_data .
    select lifnr
    name1
    from lfa1
    into table i_lfa1
    where lifnr in s$lifnr .
    if not i_lfa1[] is initial.
    sort i_lfa1 by lifnr .
    select lifnr
    kalsk
    minbw
    from lfm1
    into table i_lfm1
    for all entries in i_lfa1
    where lifnr = i_lfa1-lifnr .
    select lifnr
    relif
    from eina
    into table i_eina
    for all entries in i_lfa1
    where lifnr = i_lfa1-lifnr
    and relif = 'X'.
    endif.
    endform. " GET_VENDOR_DATA
    *& Form BUILD_FILE
    form build_file .
    loop at i_lfa1 into ws_lfa1 .
    ws_final-lifnr = ws_lfa1-lifnr .
    ws_final-name1 = ws_lfa1-name1 .
    read table i_lfm1 into ws_lfm1 with key lifnr = ws_lfa1-lifnr .
    if ws_lfm1-kalsk = c_kalsk .
    ws_final-kalsk = 'X'.
    endif.
    ws_final-minbw = ws_lfm1-minbw .
    ws_final-eoln = 'X'.
    if p$relif = 'X'.
    CLEAR P_FLAG.
    LOOP AT I_EINA INTO WS_EINA
    WHERE LIFNR = WS_LFA1-LIFNR
    AND RELIF = 'X'.
    P_FLAG = 'X'.
    EXIT.
    ENDLOOP.
    IF P_FLAG = 'X'.
    APPEND WS_FINAL TO I_FINAL .
    CLEAR WS_FINAL.
    ENDIF
    read table i_eina into ws_eina with key lifnr = ws_lfa1-lifnr
    relif = 'X'.
    if sy-subrc = 0.
    append ws_final to i_final .
    clear ws_final.
    endif.
    else.
    append ws_final to i_final .
    clear ws_final.
    endif.
    endloop .
    endform. " BUILD_FILE
    *& Form DISPLAY_FILE
    form display_file .
    data: l_lines type i.
    describe table i_final lines l_lines.
    if l_lines > 0.
    perform open_file using p$file.
    loop at i_final into ws_final.
    transfer ws_final to p$file.
    endloop.
    close dataset p$file.
    else.
    write: / 'no data found'.
    endif.
    endform. " DISPLAY_FILE
    *& Form open_file
    Open an output file, customizing default name to include
    vendor number and job completion timestamp.
    form open_file using file_nm.
    data: l_vendor like eina-lifnr,
    l_timestamp(12) type c.
    Get correct path/filename for the system we're running on
    call function 'FILE_GET_NAME'
    exporting
    logical_filename = 'ZVOL'
    parameter_1 = file_nm
    importing
    file_name = file_nm.
    Open file for output
    open dataset file_nm for output in text mode encoding default.
    if sy-subrc ne 0.
    message e368(00) with 'Error opening output file:' file_nm.
    endif.
    endform. "open_file
    All definitions needed for the platform-independent assignment of file names are maintained client-independently with transaction FILE. Logical file names (but not logical file paths) can also be defined specifically for the current client with transaction SF01. Transaction SF07 generates a list of current definitions.
    Edited by: krupa jani on Aug 20, 2008 6:55 AM

  • What are Logical patha nd physical paths?

    Hi all,
    When i am uploading Material master data through LSMW i am getting Error like The Logical file name LSMW_* ....is not created.
    What are this Logical files and i know these are Created by FILE tCode.
    My question is why we need this file and it asking Logical path aslo and what is this Logical path and physcal path??
    i did't not understand in SAP help link .
    Thanks ,
    Madhu

    Hello,
    Logical File path name is used to Map the physical path of the application server.
    You can also access the file from the application server by directly passing the physical path as you convert the logical file name to physical path in your program.
    I know you have read the SAP help documentation, but still may be this link can also help you.
    [http://help.sap.com/saphelp_nw04/helpdata/en/8d/3e4ec2462a11d189000000e8323d3a/frameset.htm]
    Thanks,
    Jayant

  • How to get physical file path from logical file path

    Hi
    there is a immediate requirement ,
    I have logical file path but I need to get physical file path from it.
    So is there any FM which providesthis functionality.
    Points will be rewarded.
    Thanks

    Can you please share the piece of code ?
    Which File APIs are you using ?
    For java file, you can get complete path by simple method call : getAbsolutePath() on file object.
    Regards,
    Ashwani Kr Sharma

  • How to create a logical and a physical path?

    Hi ,
    I want to know how is  a logical path created ?
    Also , how can a physical path be created from a provided logicall path?
    Regards,
    Harshit Rungta

    Hi,
    Use FM u2018FILE_GET_NAMEu2019 to assign the physical file name using a logical file name.
    Remember you need to create u2018logical file nameu2019 using transaction u2013 FILE.
    R/3 applications run on various platforms with various file systems. Hence we use platform-independent logical file names in our application programs.
    Function module u2018FILE_GET_NAMEu2019 converts a logical file name to the corresponding physical file name and path for the hardware platform concerned.
    For this conversion to work for different platforms, the definition of a logical file name must include a logical file path, which in turn is converted to different physical file paths, depending on the particular platform. The platform-specific file name returned by the function module is composed of the physical file path for the current platform and the physical file name associated with the logical file name. Placeholders in physical file and path names are substituted at runtime by the corresponding current values.
    Example
    logical file name:     MONTHLY_SALES_FILE
    physical file name:     VALUES<PARAM_1>
    logical path:     SALES_DATA_PATH
    physical path (UNIX):     /usr/<SYSID>/<FILENAME>
    physical path (Windows):     C:\SALES\<FILENAME>.
    Kind Regards,
    Nikhil J.

  • Need FM to find physical path for given logical path

    Hi Guru's,
    I wanted to find the physical path for the given the logical path.
    I have a requirement where i have to write records into the file  mentioned via logical path .Inside the program i wanted to fetch the physical path for given logical path .
    Is there any FM to achieve this functionality.
    Thanks!!
    Pravee

    Use fm FILE_GET_NAME to get physical file name from a logical file name. But u have to maintain the mapping between logical file name and physical file name in tran. FILE.
         call function 'FILE_GET_NAME'
              exporting
                   logical_filename = lds_name << Logical file name
              importing
                   file_name        = ds_name << Physical file name
              exceptions
                   file_not_found   = 01.
    Regards,
    Joy.

Maybe you are looking for

  • End of file error 39

    Good afternoon. I recently downloaded a bunch of movie trailers using the "View Source" method (viewing the source of the display page and finding the URL). When I went to open them in Quicktime 7.0.2, they would not display. I received an error sayi

  • How to construct menus in tiles ==Urgent

    Hi, can somebody throw me some idea how to constuct menus in tiles or some good book which explains this. Thanks Chatfield

  • IMac is dead

    Hey! Whilst preparing my iMac (late 2009 i5) for bringing it in for the harddisc replacement program, the worst of all things happened.. While it was booting veeeerry slowww (grey screen with apple logo and the spinning icon), it automatically turned

  • Variable maximum records change

    Hello experts, In WAD 7.0, the variable screen proposes lists of values for variables (small square beside the variable), In 7.0, the maximum records displayed is set to 1000, as compared to 200 in 3.5. Is there a way of changing the 1000 default val

  • Converting pdf files on a mac

    How do I convert a pdf into a word, excel or jpg file with my OS X 10.9.3 Mac?