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 Aggarwal

hi,
try using this for filename.
parameters : p_file like rlgrap-filename.
Thanks,
Gaurav

Similar Messages

  • 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,
    Rohit

    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

  • 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,
    shyla

    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.

  • 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

  • I can not transfer date from one hard drive to another, I keep getting an error because I have two of the same file names and one file name is in caps and I cant change the file name

    can not transfer date from one hard drive to another, I keep getting an error because I have two of the same file names and one file name is in caps and I cant change the file name. My original external has an error and needs to be reformatted but I dont want to lose this informations its my entire Itunes library.

    Sounds like the source drive is formatted as case sensitive and the destination drive is not. The preferred format for OS X is case insensitive unless there is a compelling reason to go case sensitive.
    Why can't you change the filename? Is it because the source drive is having problems?  If so is this happening with only one or two or a few files? If so the best thing would be to copy those over individually and then rename them on the destination drive.
    If it is more then you can do manually and you can't change the name on the source you will have to reformat the destination as case sensitive.
    Btw this group is for discussion of the Support Communities itself, you;d do better posting to Lion group. I'll see if a host will move it.

  • Get Logical file name from Physical file name

    Hi everybody,
    Please how can i get Logical file name from Physical file name ?
    Thanks & Regards
    Hassan

    Hi,
    What i want is to get Logical file name from Physical file name, and not the opposite (get Physical file name from Logical file name).
    Thanks & Regards,
    Hassan

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

  • I have had a file disappear from creative cloud and then the name get reassigned to a different file.

    I have had a file disappear from creative cloud and then the name get reassigned to a different file.  How do I retrieve the missing file?

    If a file with the same name is saved again then a version is created. You can see versions from the Files page at https://creative.adobe.com/files. From the Files page click on the file to go to its page. Switch from the Details tab to the Activity tab if needed. You will see the Current Version and any past versions.

  • LSMW Logical file 'CS_BI_BOM_CREATE' is not assigned to physical file

    Hi all,
    I am creating LSMW tool for BOM by standard batch input program.
    In the specify files push button i m getting this error
    Logical file 'CS_BI_BOM_CREATE' is not assigned to physical file 'LSMW_C_MDM.119_MAT_BOM_001.lsmw.conv'
    Message no. /SAPDMC/LSMW_OBJ_060045
    anybody know how to proceed?
    If i am going to Tcode - file and setting this one then i require a change request.
    Is this the right way to proceed by changing it in "file" tcode.
    Tell me all possible options.

    Hi,
    double click on row Converted data with file 'LSMW_C_MDM.119_MAT_BOM_001.lsmw.conv'
    enter in field Logical Path: LSMW_C_MDM.119_MAT_BOM_001.lsmw.conv
    enter in field Logical File: LSMW_C_MDM.119_MAT_BOM_001.lsmw.conv
    and SAVE
    the second option is go in transaction file and create the missing 'LSMW_C_MDM.119_MAT_BOM_001.lsmw.conv'
    Regards Vassko!

  • A file activation error occurred. The physical file name may be incorrect while creating database

    Hi Experts,
       I am trying to create a database in my local system, while creating i am getting error like below can anyone please help me on this.
    Msg 5105, Level 16, State 2, Line 1
    A file activation error occurred. The physical file name ' C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\NewData\Demo_dynamic.mdf' may be incorrect. Diagnose and correct additional errors, and retry the operation.
    Msg 1802, Level 16, State 1, Line 1
    CREATE DATABASE failed. Some file names listed could not be created. Check related errors. 
    Awaiting for the response......!! 
    Niraj Sevalkar

    I have created earlier database in 'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA'
    but now i have created one newdata folder and trying to create in it also i have checked the path what have you suggested above and the NewData folder is existed please check below snapshot
    Both folders files and NewData folder which don't have any files 
    Niraj Sevalkar

  • .DMP file of logical dump is an OS file or Database file

    Dear All,
    I attended an interview yesterday and they asked me weather
    .DMP file of logical dump is an OS file or Database file????
    Can anybody give me some gud explananation on this

    Sure, its not a datafile.
    Its OS file that can only understood by the export and import utilities.
    Export and Import are external utilities (Oracle provided).
    Jaffar

  • How do I use my serial number to find information about my MacBook Pro's Processor and RAM?

    So I want to find information about my MacBook Pro's processor and RAM using the serial number because the MacBook no longer works. I remember being able to find this information on the apple website before, maybe by using the coverage checker. Did they take this information out of the coverage checker? Is it no longer possible for a costumer to obtain this information?

    Append the last three characters of it to http://www.everymac.com/ultimate-mac-lookup/?search_keywords= and load the page.
    This won't reveal how much RAM it currently has installed.
    (117541)

  • The last Apple I used was a IIe. Where can I find basic information about what an Ipad will do and how it differs from an Android tablet?

    The last Apple I used was a IIe. Where can I find basic information about what an Ipad will do and how it differs from an Android tablet?
    I am considering purchasing this for my wife who has only had experience with Windows machines.

    Here are a number of possibilities:
    http://ipad.about.com/od/iPad_Guide/a/How-To-Use-The-iPad-Best-Uses.htm
    http://www.macobserver.com/tmo/article/8-important-things-you-can-do-with-an-ipa d
    http://iconlibrary.iconshock.com/tutorials/50-things-you-can-and-cant-do-with-yo ur-new-ipad/
    iPad vs Android:
    http://ipad.about.com/od/ipad_competition/tp/iPad-vs-Android-Which-Tablet-Should -You-Buy.htm
    http://www.cnet.com/topics/tablets/best-tablets/

  • Logical Database design and physical database implementation

    Hi
    I am an ORACLE DBA basically and we started a proactive server dashboard portal ,which basically reports all aspects of our infrastructure (Dev,QA and Prod,performance,capacity,number of servers,No of CPU,decomissioned date,OS level,Database patch level) etc..
    This has to be done entirely by our DBA team as this is not externally funded project.Now i was asked to do " Logical Database design and physical Database
    implementation"
    Even though i know roughly what's that mean(like designing whole set of tables in star schema format) ,i have never done this before.
    In my mind i have a rough set of tables that can be used but again i think there is lot of engineering involved in this area to make sure that we do it properly.
    I am wondering you guys might be having some recommendations for me in the sense where to start?are there any documents online , are there any book on this topic?Are there any documents which explain this phenomena with examples ?
    Also exactly what is the difference between logical database design vs physical database implementation
    Thanks and Regards

    Logical database design is the process of taking a business or conceptual data model (often described in the form of an Entity-Relationship Diagram) and transforming that into a logical representation of that model using the specific semantics of the database management system. In the case of an RDBMS such as Oracle, this representation would be in the form of definitions of relational tables, primary, unique and foreign key constraints and the appropriate column data types supported by the RDBMS.
    Physical database implementation is the process of taking the logical database design and translating that into the actual DDL statements supported by the target RDBMS that will create the database objects in a target RDBMS database. This will generally include specific physical implementation details such as the specification of tablespaces, use of specialised indexing (bitmap, clustered etc), partitioning, compression and anything else that relates to how data will actually be physically stored inside the database.
    It sounds like you already have a physical implementation? If so, you can reverse engineer this implementation into a design tool such as SQL Developer Data Modeller. This will create a logical design by examining the contents of the Oracle data dictionary. Even if you don't have an existing database, Data Modeller is a good tool to use as a starting point for logical and even conceptual/business models.
    If you want to read anything about logical design, "An Introduction to Database Systems" by Date is always a good starting point. "Database Systems - A Practical Approach to Design, Implementation and Management" by Connolly & Begg is also an excellent reference.

  • Outlook Calendar Email Display Name and Reply to Name

    I need help to change the display email address and reply-to-email address used when I create and send calendar invitations from Outlook.
    Here is my setup.
    I am using Outlook 2013 that is connected to an Exchange server.
    I have 2 email systems.
    My main email system is NOT using Outlook.  All of my emails flow through, as an example, [email protected]
    Outlook is used only for my contacts and calendar.  For this email let's call it [email protected]
    Right now when I send a calendar invite it comes from [email protected] and the reply-to-address is [email protected]
    I would like the "from name" and "reply-to" name for all calendar invites to be displayed at [email protected]
    My [email protected] will redirect all calendar invites to [email protected]
    How can I configure Outlook to do this?

    So to my understanding there are 2 different email systems: one handling the @email1.com, based on Postfix/sendmail/Exchange/<other mail server> and one handling the @email2.com based on Exchange.
    If you add an accepted domain in your Exchange organization - @email1.com - then you'll be able to add the [email protected] address to the list of email addresses stamped on your Exchange mailbox. Following this, the recently added address can be specified
    as reply-to address (Primary SMTP Address). On the other email system, you'll have to use @email1.com as an internal relay accepted domain (similar to the notion described
    here) and configure a connector to send email to the Exchange organization for @email2.com. As for the forwarding itself - if that system is also Exchange - the 'targetAddress' attribute could be used, which will instantly forward the email to the '[email protected]'
    value that should be stamped inside (see
    this link); if a different email system, then the equivalent feature of 'targetAddress' should be used. 
    Yet the whole setup is cumbersome to say at least. Could you give more details about what is it you're trying to achieve at a higher level ?

Maybe you are looking for

  • Sql storage

    Hello Guys, when ever a sql is executed it uses the temporary tablespace storage to do the sorting right? very often we face the problem that the temp segment is unable to extend because the query needs more space to do the sorting. My question is, i

  • /private/var/tmp running full with cache

    We're importing a lot of JPEG and Photoshop pictures and in a big job the folder /var/tmp (locally on the FCServer, who is also the only Compressor) is running full with cache files. A lot of these: -rw------- 1 admin wheel 212310770 9 jun 09:38 fcsv

  • Gift of iTunes MP4 Files across International Borders? Is it Possible?

    Situation: I live in the USA. I have friends abroad. In this particular case, I wanted to gift one (1) mp4 file to a friend in Spain. I purchased said file using the gift option, filled out the requisite email info and sent the email. My friend canno

  • Windows7 and on board 3G card

    Hello, it seems that some new PC with Windows 7 uses on board 3G card/processor with WWAN technology, and that last VPN client do not support WWAN device yet  (VPN client 5.0.07.0290  for exemple). Do you know when those on board card/module will be

  • I can't get in to my iPhone.

    Hello! I'm going try to sum up as much as possible and tell this in a way that doesn't make it complicated. My daughter played with my iPhone 4s and clicked on many different codes until my iPhone showed that I had to access to iTunes so I can open i