LSMW accept file from logical path?

Dear All,
Can LSMW designs for conversions accept file from logical path?
The requirement is during actual conversion execution -the conversion team can store files anywhere they want, configure logical file names/paths and use our LSMWs without needing program modifications.
Kindly let me know.
Thanks in Advance
Ranjan

Hai KCR
Using Tcode MM01 -- Maintain the source fields are
1) mara-amtnr  char(18)
2) mara-mbrsh  char(1)
3) mara-mtart  char(4)
4) makt-maktx  char(40)
5) mara-meins  char(3)
the flate file format is like this as follows
MAT991,C,COUP,Srinivas material01,Kg
MAT992,C,COUP,Srinivas material02,Kg
AMT993,C,COUP,Srinivas material03,Kg
MAT994,C,COUP,Srinivas material04,Kg
MAT995,C,COUP,Srinivas material05,Kg
goto Tcode LSMW
give Project Name
     Subproject Name
     object Name
Press Enter -
Press Execute Button
It gives 13 radio-Button Options
do the following 13 steps as follows
1) select radio-Button 1 and execute
   Maintain Object Attributes
select Standard Batch/Direct Input
   give Object -- 0020
       Method -- 0000
   save & Come Back
2) select radio-Button 2 and execute
   Maintain Source Structures
   select the source structure and got to click on create button
   give source structure name & Description
   save & Come Back
3) select radio-Button 3 and execute
   Maintain Source Fields
   select the source structure and click on create button
   give
   first field
        field name    matnr
        Field Label   material Number
        Field Length  18
        Field Type    C
   Second field
        field name    mbrsh
        Field Label   Industrial Sector
        Field Length  1
        Field Type    C
   Third field
        field name    mtart
        Field Label   material type
        Field Length  4
        Field Type    C
   fourth field
        field name    maktx
        Field Label   material description
        Field Length  40
        Field Type    C
   fifth field
        field name    meins
        Field Label   base unit of measurement
        Field Length  3
        Field Type    C
  save & come back
4) select radio-Button 4 and execute
   Maintain Structure Relations
   go to blue lines 
      select first blue line and click on create relationship button
      select Second blue line and click on create relationship button
      select Third blue line and click on create relationship button
  save & come back
5) select radio-Button 5 and execute
   Maintain Field Mapping and Conversion Rules
   Select the Tcode and click on Rule button there you will select constant
   and press continue button
   give Transaction Code : MM01 and press Enter
   after that
   1) select MATNR field click on Source filed(this is the field mapping) select MATNR and press Enter
   2) select MBRSH field click on Source filed(this is the field mapping) select MBRSH and press Enter
   3) select MTART field click on Source filed(this is the field mapping) select MTART and press Enter
   4) select MAKTX field click on Source filed(this is the field mapping) select MAKTX and press Enter
   5) select MEINS field click on Source filed(this is the field mapping) select MEINS and press Enter
  finally     
  save & come back
6) select radio-Button 6 and execute
   Maintain Fixed Values, Translations, User-Defined Routines
   Create FIXED VALUE Name & Description as MM01
   Create Translations Name & Description as MM01
   Create User-Defined Routines Name & Description as MM01
   after that delete  all the above three just created in the 6th step
   FIXED VALUE --MM01
   Translations --MM01
   User-Defined Routines --MM01
   come back
7) select radio-Button 7 and execute
   Specify Files
   select On the PC (Frontend) -- and click on Create button(f5)
                                  give the path of the file like "c:\material_data.txt"
                                  description : -
                                  separators as select comma radiao- button
   and press enter   save & come back
8) select radio-Button 8 and execute
   Assign Files
   Save & come back
9) select radio-Button 9 and execute
   Read Files
   Execute
   come back
   come back
10) select radio-Button 10 and execute
    Display Imported Data
    Execute and press enter
    come back
    Come back
11) select radio-Button 11 and execute
    Convert Data
    Execute
    come back
    Come back
12) select radio-Button 12 and execute
    Display Converted Data
    Execute & come back
13) select radio-Button 13 and execute
    Start Direct Input Program
   select the Program
   select continue button
go with via physical file
give the lock mode as 'E'
and execute
Thanks & regards
Sreenivasulu P

Similar Messages

  • LSMW - source file from Logical Path and Files?

    Hi,
    When specifing the source file (legacy data) you want to use to load from - you can choose a file from the application server.
    For the application server file does anyone know is there anyway that you can use a logical path and file to represent this source file?
    I do not see this option in LSMW and am surprised at this as it necessitates changing the LSMW in each target system.
    Thanks in advance.
    Kind regards,
    Mark

    Hi,
    When specifing the source file (legacy data) you want to use to load from - you can choose a file from the application server.
    For the application server file does anyone know is there anyway that you can use a logical path and file to represent this source file?
    I do not see this option in LSMW and am surprised at this as it necessitates changing the LSMW in each target system.
    Thanks in advance.
    Kind regards,
    Mark

  • LSMW -Specify files -No logical path specified

    HI,
    While i specify a file in lsmw in specify files from pc front end in legacy data and i try to save. It says " no logical path specified " in the message bar.
    kindly help me in this issue.
    i am unable to go further as I cant specify files.
    Thank in advance

    Hi Srivasta
    You just put any, not used logical file name in your file definition step. LSMW will create this logical file byself und will use when is needed, but you just forget about it in future. Don't forget to recreate this file, when you move your LSMW to test and production systems, it is not created automaticaly there.
    The way you enter logical path and logical name is,
    Within the LSMW option 'Specify Files', Double click on
    'Converted Data' and a popup box will allow you enter
    file name , logical path and logical file.
    cheers
    Sameer

  • LSMW - Logical Path/File - No logical path has been specified

    Hello,
    I am trying to create a LSMW with the RM06EEI0 direct input program for ME21N transaction.
    At the SpecifyFiles step I get the error message "No logical path has been specified".
    My dilemmas are:
    1. How can I solve this error? Is the FILE transaction only solution? If yes, where and how I must define the logical path/file?
    2. Why in the case of the Batch Input Recording LSMW Method this files are created automatically? (I can see them in the AL11 transaction and I didn't define them by myself).
    3. Why on other system this error is just an warning message? If you look at this tutorial  http://****************/Tutorials/LSMW/PO/Page4.htm at Step7.g. you can see that there is no need of defining the file/path in FILE transaction.
    More info about the system I am working in:
    SAP ECC 6.0.
    LSMW 4.0.0. Version.
    Thank you.
    Daniela

    Hi
    Refer the oss note 753511 released for this kind of error you face in LSMW, I am pasting the content of the note below,
    ******************Note Content,
    Symptom
    The system issues an error message for the logical path or file when you perform the "Specify files" step in the Legacy System Migration Workbench (transaction LSMW) although you have made the correct assignment in transaction FILE.
    The error messages are as follows:
    The logical path <PATH> does not point to the physical directory.
    The logical file <FILE> is not assigned to the physical file.
    or
    A logical path was not specified.
    Other terms
    Logical path, logical file, transaction FILE, LSM Workbench
    Reason and Prerequisites
    Some import interfaces that you can also use with transaction LSMW work with logical path and file names.
    Transaction LSMW itself, however, works with physical file names. To be able to transfer the LSMW file with the converted data to the import program, you must specify a logical file name for the file with the converted data in addition to the physical file name. In this case, the system displays additional fields in the 'Specify files' step in which you must enter the logical path and file name.
    Solution
    The error messages may be due to several causes. Check the following:
    Have you maintained the logical path and logical file name and have you assigned them to the physical file specified in the "File" input field of transaction LSMW?
    These settings are maintained in transaction FILE.
    When you use logical file and path names, you must specify the name of the physical file with its path. If you have not specified any directory, you cannot assign any directory to the logical path in transaction FILE. In this case, the system uses the SAP Home directory on the application server by default. Bear in mind that the file name must not exceed the maximum length of 45 characters, including the path.
    Up to LSMW version 1.7.2 (*):
    If the logical file name specified does not point to the physical file (although it should do), the system adjusts the logical file name, that is, the information in transaction FILE is changed to the entries made in transaction LSMW. This may lead to unwanted side effects if the logical file is also used somewhere else. Therefore, SAP recommend that you always use separate logical paths and file names for transaction LSMW (the problem is corrected as of LSMW version 1.8.0, see below). If the logical file does not exist yet, it will be created upon request.
    As of LSMW version 1.8.0 (*):
    The settings of the logical file are checked but no longer adjusted automatically as in version 1.7.2 (see above). If there are inconsistencies, the system issues an error message. If the user is authorized to maintain logical paths and file names (as for transaction FILE: "Maintenance authorization for cross-client tables"), transaction LSMW can create the logical path, the file name and the file. Due to this automatic generation, the user no longer needs to make adjustments in transaction FILE. Therefore, we especially recommend this procedure.
    To display the version of transaction LSMW, select "Extras" --> "Display LSMW version" in the main menu of the initial screen.
    You should also bear in mind that as of Basis Release 6.20, that is, as of LSMW version 4.0, transaction LSMW is no longer an add-on but is delivered with the standard system.
    Hope this helps,
    Sunil

  • LSMW : Unable to Specify Files . Logical path incorrect ?

    Hi Guys,
    I am trying to upload Goods movement Using the Standard LSMW 0110 program RM07MMBL.
    When I try to execute the step Specify Files ,system displays an error message "No Logical Path specified."
    The Source File is in my Local PC .
    When I click the Converted Data File in the Specify files list
    I get a popup which asks me for a Logical path and a Logical File and both these parameters a mandatory.
    I tried to maintain the parameters and entries in transaction FILE also.
    But it says 'logical path not assigned to the physical directory.'
    What is the correct method for this.
    What steps should I follow ..
    Pls advice
    Message was edited by: hao fu

    Hi,
      Refer the oss note 753511 released for this kind of error you face in LSMW, I am pasting the content of the note below,
    ******************Note Content,
    Symptom
    The system issues an error message for the logical path or file when you perform the "Specify files" step in the Legacy System Migration Workbench (transaction LSMW) although you have made the correct assignment in transaction FILE.
    The error messages are as follows:
    The logical path <PATH> does not point to the physical directory.
    The logical file <FILE> is not assigned to the physical file.
    or
    A logical path was not specified.
    Other terms
    Logical path, logical file, transaction FILE, LSM Workbench
    Reason and Prerequisites
    Some import interfaces that you can also use with transaction LSMW work with logical path and file names.
    Transaction LSMW itself, however, works with physical file names. To be able to transfer the LSMW file with the converted data to the import program, you must specify a logical file name for the file with the converted data in addition to the physical file name. In this case, the system displays additional fields in the 'Specify files' step in which you must enter the logical path and file name.
    Solution
    The error messages may be due to several causes. Check the following:
    Have you maintained the logical path and logical file name and have you assigned them to the physical file specified in the "File" input field of transaction LSMW?
    These settings are maintained in transaction FILE.
    When you use logical file and path names, you must specify the name of the physical file with its path. If you have not specified any directory, you cannot assign any directory to the logical path in transaction FILE. In this case, the system uses the SAP Home directory on the application server by default. Bear in mind that the file name must not exceed the maximum length of 45 characters, including the path.
    Up to LSMW version 1.7.2 (*):
    If the logical file name specified does not point to the physical file (although it should do), the system adjusts the logical file name, that is, the information in transaction FILE is changed to the entries made in transaction LSMW. This may lead to unwanted side effects if the logical file is also used somewhere else. Therefore, SAP recommend that you always use separate logical paths and file names for transaction LSMW (the problem is corrected as of LSMW version 1.8.0, see below). If the logical file does not exist yet, it will be created upon request.
    As of LSMW version 1.8.0 (*):
    The settings of the logical file are checked but no longer adjusted automatically as in version 1.7.2 (see above). If there are inconsistencies, the system issues an error message. If the user is authorized to maintain logical paths and file names (as for transaction FILE: "Maintenance authorization for cross-client tables"), transaction LSMW can create the logical path, the file name and the file. Due to this automatic generation, the user no longer needs to make adjustments in transaction FILE. Therefore, we especially recommend this procedure.
    To display the version of transaction LSMW, select "Extras" --> "Display LSMW version" in the main menu of the initial screen.
    You should also bear in mind that as of Basis Release 6.20, that is, as of LSMW version 4.0, transaction LSMW is no longer an add-on but is delivered with the standard system.
    Hope this helps,
    Rgds,

  • Open a pdf file from a path with GetFileFromPathAsync

    Hi, I'm trying open docxs and pdfs files from her path on Windows Phone 8.1. I could achieve this with images with the next line:
    await StorageFile.GetFileFromPathAsync(path);
    The problem is that when I try bring other type of files as the docxs or pdfs I have a exception E_ACCESSDENIED. The capabilities of de app are well configured to acces a the files of phone but I don't know because
    El problema es que cuando intento traer otro tipo de archivos como los docx o pdf tengo un problema de E_ACCESSDENIED . Las capacidades de la aplicacion estan bien configuradas para acceder a los archivos pero no entiendo porque no puedo get this others
    files.

    I have addressed a similar issue in this
    forum post. You need to add the File Type Associations for the file types your app needs to access. This is required when accessing files from DocumentsLibrary and RemovableDevices.
    Abdulwahab Suleiman

  • How to make SSIS packages automatically read the input file from a path?

    Currently I am using a SSIS package to read data from a .dat file and load it into SQL Server tables.
    I am placing the input .dat file on the desktop. In the connection manager -> Browse option, I am pointing this file to create connection.
    The file naming convention is like - aSNAP_Data_20140926_P-2014-09-26_07.02.36
    However, I need the SSIS package to automatically read the input file from a folder which is located in a remote server. This folder has lots of files where input files are added on a daily basis with the date value in the file name as mentioned above.
    I want to schedule the SSIS package to run daily and take the latest file in the folder based on the date.
    Please let me know how to do it. Any help would be highly appreciated.....
    Thanks in advance.

    Hi SQL_SSIS_Dev,
    According to your description, you want to get the latest file from a path to a SQL Server table. After testing the issue in my environment, we can refer to the following steps to achieve your requirement:
    Create two variables, VarFolderPath stores the folder path in which our files exist, VarFileName hold the value of most recent File Name.
    Drag a Script Task from SSIS Toolbox to Control Flow Pane, then select “User::VarFolderPath” as ReadOnlyVariables, select “User::VarFileName” as ReadWriteVariables.
    Then Edit Script with the C# code below:
    Add “using System.IO;” into namespace.
    Add the code below under Main function:
    var directory= new DirectoryInfo(Dts.Variables["User::VarFolderPath"].Value.ToString());
                FileInfo[] files = directory.GetFiles();
                DateTime lastModified = DateTime.MinValue;
                foreach (FileInfo file in files)
                    if (file.LastWriteTime > lastModified)
                        lastModified = file.LastWriteTime;
                        Dts.Variables["User::VarFileName"].Value = file.ToString();
    Drag a Data Flow Task to Control Flow Pane and connect to Script Task.
    In the Data Flow Task, drag a Flat File Source with a file in the source folder as all the files have same structure as the File name.
    Add the property below the Flat File Connection Manger expression:
    Property: ConnectionString      Expression: @[User::VarFolderPath] +"\\"+ @[User::VarFileName]
    Drag an OLE DB Destination that connect to the Flat File Source, then configure a table to store the data.
    The following screenshot is for your reference:
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Is there a way to exclude files from source paths using patterns

    Hi
    Does anyone know of any way to exclude files from source paths using patters rather than individually selecting the files? UI doesn't allow to specify any pattern. But if you look at the jpr file there are other places where patterns are allowed. Can the same pattern be copied and applied to excluded files?
    Pat

    Drag the files, or press Option when pasting them; this accesses the Move To function.
    (124070)

  • Using Logic Express 8 to open .aif or iso song files from Logic Pro

    I can open the song but only the lead vocal track has volume. I get a message that some of the files are "5 bit" and can't work with Logic Express 8. Is there a problem converting these files from Logic Pro to Logic Express 8 or do I have another problem

    assuming no one else responds with a more complete answer, can you be a bit more specific of exactly what the message says in full.
    Does it give you any indication which files?
    Logic Pro does have more plug-ins and features that will not be backward compatible, especially if it some plug in that is required that comes with LP but not LE.
    I haven't been able to find any reference about 5-bit - hence the need perhaps for a more complete message output.

  • LSMW: Error concerning the logical path in Specify Files step

    Hi,
    I am trying on an ECC 6.0 EHP6 system to upload (open) POs from an existing SAP ERP system. Since I faced some complications in batch input recording method, I decided to go with the standard batch/direct input method.
    I selected object 0085 (Purchase Order) and method 0001 (Purchase Order). The program that is used is RM06EEI0. I followed all the usual steps, but in the "Specify Files" step I get the message:
    '****.lsmw.conv' does not exist; edit the logical path using transaction FILE
    Being aware of both the FILE and SF01 transactions, I created the logical path and file (through the FILE transaction). However, after the modification, I get the message:
    Logical file '****' is not assigned to physical file '****.lsmw.conv'
    There is also the related SAP Note 753511 (Logical and physical path and file name in transaction LSMW) that refers to this case.

    Hi,
    Click on specify file radio button>Legacy data-on the PC Front end
    where input file location like C:\mydocument\desktop\test.txt
    and give input in Name field: mydocument
    in delimiter section > select Tabular
    File structure section> tick on Field order matches source structure definition
    File type: Record end marker(Text file)
    then press enter key and other steps as same.
    Second thing you said that you have used Batch input recording
    after creation and recording finish , scroll the page below on recording and put a cursor unwanted field and remove unwanted input field.
    I hope your problem will resolve. you can find the steps pdf on Google search try now.
    Thanks
    Sanjeet Kumar

  • Acrobat Reader XI fail to open file from unc path "Access Denied"

    Hi,
    When we try to open a pdf file from an unc path by double-click on it there is an error message : "There was error opening this files. Access Denied"
    If we do "File -> Open" the file open correctly. Same if we copy the file localy.
    After looking around Internet and other thread Acrobat Reader X got the same problem but seemed to be resolved with an update.
    If we desable "Enable Protected Mode at startup" the file open correctly (it is not a solution).
    Does anyone have a solution to this problem ?
    OS : Windows XP SP3
    Acrobat Reader : 11.0.2
    Regards,

    I have also seen this occur with one user's computer.  Another user with similar privileges and software setup does not exhibit the same issue however.  Would love Adobe to investigate and address this issue.

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

  • Help Please: External Hard Drive not accepting files from Macbook

    My Desktop is a PC.
    My laptop is a Macbook.
    My External Hard drive is a Belkin High Speed USB 2.0 External Drive Enclosure Kit.
    I am new to the Mac.
    The Macbook recognises the External Hard Drive when plugged into a USB port. No problem.
    I can drag any file from the external hard drive into the mac. No problem.
    But I cannot drag any file from the Mac back into the External Hard Drive. (Jpegs, PSD, Doc etc-no file is accepted)
    When I drag the file from the Mac to the External Hard Drive I get this message:
    "The item “filename“ cannot be moved because “folder(external drive)” cannot be modified.
    I did a get-info on the external drive and got this information-
    'Format: Windows NT Filesystem
    Ownership and Permissions: you can only read'
    It defeats the purpose of my working on my laptop if i cannot bring the files back 'home' to the Hard Drive-What can I do to be able to bring files back into the external hard drive? Can someone please advise me?
    I look forward to hear from you.
    (My email address is [email protected])
    Macbook   Mac OS X (10.0.x)   13.3" Intel Core Duo 2.0GHz Laptop
    Macbook   Mac OS X (10.0.x)   13.3" Intel Core Duo 2.0GHz Laptop

    if these macbooks are dual core(?) supporting mac and
    windows is there not a way for me to work on a
    file,save the file in windows and then drag it into
    the external hard drive?
    i guess not?
    Not really.
    On a related note and as an alternative, someone posted a way that I didn't think about which may get around having to do all that:
    http://discussions.apple.com/thread.jspa?threadID=630540&tstart=45
    i guess i'll have to go the partition route. all my
    important files are on the external hard drive-who
    can i trust to do this and how much can i expect to
    pay for it?
    I think I would try the above networking route first before playing around with the partition on the external.
    I think it should work so long as the external drive on the PC is shared.

  • Xml files from logic to fcp. translation error

    using final cut pro 5.1.4 and logic 7.3.2. creating a slide version of a musical show i wrote. sent the fcp file to logic as xlm, in order to record the singing along with the prerecorded music aif file. did the vocal record in logic, but when i try to send the xlm back to fcp i get a message: translation error, critical error. so now i have no way to get the file back to fcp, after all that work in logic 7.3.2. alas!! previously i got that same error message and discovered that in logic i had been working in 48,000 sample rate files, but this time around i was careful to avoid that problem, and checked the audio window to be sure everything is in 44,000 files. alas! alas! moan, sigh . . .

    Welcome to the bizarre world of XML.
    Given that you're on Logic 7 then I'm sorry to say that these formats have never been particularly reliable (same with L8), but I heard it's better in L9 but I've not tried it yet.
    Some report no problems, others can't get it to work at all. I can't offer a workaround as I'm not sure what you want to achieve exactly, but I can tell you it's one of those things that's totally unreliable.

  • Playbook not accepting FILES from my nokia c7 via bluetooth

    I got the playbook recently.
    I have nokia C7 phone having JPG files and mp3 files. I wanted to transfer files from nokia phone to playbook.
    I have done the following -
    1. Bluetooth of the both the devices are ON and they are paired successfully.
    2. FILE sharing option on playbook is also ON
    3. however, when i send any file via bluetooth to playbook, my C7 says unable to connect.
    I dont understand this. All the pairing and file sharing options are set correctly.
    Please provide a solution ASAP.
    I can also do the internet teethering from my c7 successfully, then why it doesnt transfer files via simple bluetooth. What am i missing?

    At the present time there is no bluetooth file sharing on the playbook. Use a pc or Mac to put the files on an then transfer them to the playbook. At least you will have a backup of the files.
    Be a Shepard and not an iSheep.

Maybe you are looking for

  • I want to use my ipod on 2 pcs, how does it work?

    i creatded on my desktop pc with itunes a libary for my shuffle, and now i want to use the shuffle on my laptop, with itunes, but when i connect the shuffle to my lap top,with a itunes as well, it says, if you synch, all data will removed, so what do

  • Batch Managment Activation

    Hi, friends I want to activate Batch management at plant level.but there is stock in current period as well as previous period(in marterial master plant stock view).Stock exist unresticted stock,stock at vendor ,Quality Inspection stock.How i will do

  • How to show or publish the TFS - SQL Server Reporting Services reports in SharePoint dashboard?

    Hello, We have configured SharePoint site and SSRS for a team project. Foll. is the SharePoint site for the team project. When we click on the REPORTS link, it redirects us to the SQL Server Reporting Services website. My question is: How can I show

  • Aperture an old MacPro and a new iMac

    I migrated my Aperture 3.4.4 to my new system.  Aperture wants my serial numbers.  I have the recent one but not the original.  How can I proceed? Jim Turner

  • ODBC Trouble

    Hi, everyone. I'm sure you've seen this type of thing before but I'm new to this and can't figure it out. Synopsis: I'm developing pages for php, have installed and configured MySQL, have installed and configured ODBC driver for MySQL, installed and