LSMW Read Data Error

Hi Experts,
While Specifying the path to upload legacy data in lsmw, i have mentioned the lan server path directly to read flat file from specified network location.
Say example:
beprod4\em\4_Testing_Phase\05_Object\Upload Files\Master Codes\Master Codes.txt
An error message "File '
beprod4\em\4_Testing_Phase\05_Object\Upload Files\'does not exist or is currently locked" is coming up while reading the data from the specified path.
Can you advice me possible reasons for the error and to resolve it.
Thanks,
Kris.

Hi,
In LSMW, steps; After Specify File, Did u assign the file in the next step?
Also check if the file exists in the location and is in the same format(Separators..etc) as specified while in the LSMW step: Specify files.
Regards
Shiva

Similar Messages

  • LSMW in ECC6.0 - Read Data Error

    Dear SAP Gurus,
    I am trying to create an LSMW in ECC6.0 for uploading GL Masters data for Chart of Account.  I have got thru till "Read Data"
    On Executing "Read Data" I am getting this error
    "Loading from front end is not allowed for packed/hexadec. fields"
    This comes up even though I had not given "Hexadecimal Lth field" but nothing works and Code Page selected is ASCII (not IBM DOS)
    Please Help!
    Thanks

    Sorry it doesnt works.  I am not in a position to understand as to why this error is coming up at first place.
    While specifying the file type I am giving the parameters correctly, that is, I am not giving the Code Page as IBM DOS.
    Parameters:
    File Contents: Data for One Source Structure
    Delimiter: Tabulator
    File Structure:
         Field Names at Start of File
         AND
         File Type: Record End Marker (Text File)
    Code Page: ASCII

  • LSMW - Read Data not showing in Converted Data

    Hi,
    I am using LSMW to load data from a flat file (via recording).  I have it working except I have one issue.  When I display the data in read data all fields are showing.  No errors popup when I select convert data.  When I select display converted data the last few fields are missing.  Any ideas why or how to fix this?
    Any help is appreciated as I do not know how to proceed.
    Thanks,
    Annette
    Edited by: Annette Ameel on Dec 4, 2008 5:37 PM

    HI Bush,
    Currently I am also facing the same problem. In "display read data" it is showing all the field values. No error msg in "convert data". But only 2 fields are displaying in "display converted data". not showing any values in rest of the fields. Kindly suggest me how you fixed this problem

  • LSMW Read Data behaving differently in production and in ECC

    Hi All,
    I have writte a LSMW for CJ12 longtext and it is working fine in development but in production it giving error message at 13th step as BDC_INSERT, Transaction code .. is invalid and when i try to simulate the issue i found that in Read Data step i found the difference as transactions read in development are 399 where as the transactions read in production are 267 for the same file.And i debugged the Display Read program and observed that the read program used GUI_UPLOAD to read the data from the text file.and there itself the GUI_UPLOAD internal table contains 399 in development and 267 in production.I tried to simulate why this is happening but coldn't figure out.Can any one help me why this has happened.And we are using ECC6 with EHP4 in development and EHP3 in production and it has to upgrade to EHP4.

    if you are really certain about the source file (I doupt too) then there are only 2 more possibilities
    a) your LSMW object is different (transport it again from developement to production, only so you can be sure that LSMW object and source will be the same)
    b) a real SAP error because of different release levels. Open a ticket at SAP to get help.

  • LSMW read data problem

    hi,i m upoladed the data lsmw through. i already Assign the files in lsmw,but when i import the data through Execut- import data for z92.fi, vendor. and when i execut the import data The " Errors, Unable to write to file 'd:\Z92_FI_VENDORS.lsmw.read'
    Message no. /SAPDMC/LSMW804
    so, if anybody knows then reply very soon.
    because its very urgent
    Reagrds,
    pritesh
    9898986357

    Hi,
    I have posted one invoice for vendor which has reconcialtion A/c 28000.
    Now i have changed the Reco. A/c in vendor master from 28000 to 28100.
    now the problem is that i want to transfer the posted entries ,which was in A/c 28000 (Reco. A/c), to 28100 (Reco. A/c)
    So, how can i transfer the same and if any t.code to run then whic is the t.code for the same.
    Its very urgent
    Regards,
    Pritesh

  • LSMW Read Data shortdump

    Hi guys..
    I'm currently testing out on LSMW
    I'm trying to create new material for transaction MM01.
    But when i click on Step 9: Read Data
    i get a shortdump
    What happened?
        The current ABAP program had to be terminated becaus
        ABAP processor detected an internal system error.
        The current ABAP program "/1CADMC/SAP_LSMW_READ_0000
         because the ABAP
        processor discovered an invalid system state.
        1:   SQL error
        2:   Invalid value in call
        3:   Screen number in header (field DNUM) and in ID
        4:   Internal error in the database interface
        8:   Memory filled (used up)
        16:  Buffer too small for data
        32:  Unkown table in call
        64:  Invalid selection
        128: Object with this key exists more than once
    Here is my source Fields
    Source Fields
           MM01SS                    MM01 Source Structure
               MATNR                          C(018)    Material
               MBRSH                          C(001)    Industry Sector
               MTART                          C(004)    Material Type
               MEINS                          C(003)    Base Unit Of Measure
               MAKTX                          C(040)    Material Description
    Below are links to the field mapping stuff
    <a href="http://img93.imageshack.us/img93/4043/1ju0.jpg">Screen shot 1</a>
    <a href="http://img167.imageshack.us/img167/3240/2rn4.jpg">Screen shot 2</a>
    the dummy.txt is having :
    MATNR     MBRSH     MTART     MEINS     MAKTX
    AC26     I     aa     BAG     xxx1
    AC27     I     bb     BAG     xxx2
    AC28     I     aa     BAG     xxx3
    AC29     I     bb     BAG     xxx4
    AC30     I     aa     BAG     xxx5
    AC31     I     bb     BAG     xxx6
    AC32     I     aa     BAG     xxx7
    AC33     I     bb     BAG     xxx8
    AC34     I     aa     BAG     xxx9
    AC35     I     bb     BAG     xxx10
    AC36     I     aa     BAG     xxx11
    AC37     I     bb     BAG     xxx12
    AC38     I     aa     BAG     xxx13
    AC39     I     bb     BAG     xxx14
    AC40     I     aa     BAG     xxx15
    AC41     I     bb     BAG     xxx16
    AC42     I     aa     BAG     xxx17
    AC43     I     bb     BAG     xxx18
    AC44     I     aa     BAG     xxx19
    AC45     I     bb     BAG     xxx20
    AC46     I     aa     BAG     xxx21
    AC47     I     bb     BAG     xxx22
    AC48     I     aa     BAG     xxx23
    Did i leave out anything?

    oh yea, one more thing , the file assigning part
    Files
            Legacy Data          On the PC (Frontend)
                Test data                      C:\Documents and Settings\XXXXXXX\Desktop\dummy.txt
                                               Data for One Source Structure (Table)
                                               Separator Tabulator
                                               Field Names at Start of File
                                               With Record End Indicator (Text File)
                                               Code Page ASCII
            Legacy Data          On the R/3 server (application server)
            Imported Data        File for Imported Data (Application Server)
                Imported Data                  TEST_CREATE_MATERIAL.lsmw.read
            Converted Data       File for Converted Data (Application Server)
                Converted Data                 TEST_CREATE_MATERIAL.lsmw.conv
            Wildcard Value       Value for Wildcard '*' in File Name

  • LSMW  Read files error

    Hi
    I am using an LSMW to create BOMs.
    There are two files one for header and one for Items.
    When we execute read the data from the files step.
    The output is
    Records read from header file and wriiten as well.
    Records read from Item file and not written.
    So i am unable to upload the item data.
    The LSMW is failing in read data step.
    It is unable to write data after reading from file.
    Any help is more than appreciated.
    Regards

    Hello Plaban,
    What is your purpose? Are you tring to upload the data with more file variant?                                                                               
    There are two possibilities to make file names more variable:                                                                               
    1.If you choose system dependent file names by setting the according flag (in the first step 'Maintain object attributes'), you can define file names for each system in step 'Specify files' by assigning the files to a specific system ID (with a double-click on the specified file).                                                                               
    2.You can use wildcards in the file names where you can assign several values.                                                               
    I hope this helps you.
    Regards,
    Blanca

  • Meter reading data error... error message Details: CRM_IU_IC_BI013

    Hello all,
    After i confirm the BP and premise in web UI 2007 i go to Meter Reading then I get 2 messages one is error message Details: CRM_IU_IC_BI013
    when i click on details I get the following info
    Diagnosis
    An error (communication error) occurred during the remote call of function module ISU_METERREAD_GET_REMOTE in meter reading data processing.
    System Response
    The system cannot execute the action.
    Procedure
    This is probably only a temporary disruption. Restart your application later.
    If the problem is a permanent one, contact SAP.
    and second message is a information message saying New Meter Reading Results will be created
    any suggestions?
    Thanks,
    Raj.

    Hi,
    in most of the cases, I'd expect an RFC or authority issue here. But for details debugging would be needed to check, which return code the function module provides. Before you could check the remote connection and if the rfc-user has sufficiant access rights.
    KR
    Uwe

  • LSMW - Read Data vs Convert Date for DATES

    Hi everybody,
    I have a problem with my LSMW for a <b>date field</b>.
    In the .txt file it is defined as 01.01.1900.
    (I can change it, e.g. make 01011900 but at the end SAP wants to have 01.01.1900 as input)
    In the 'Maintain Source Fields' of my LSMW I defined it as a DDMY(010) field.
    When 'Reading the Data' you can choose to check Date Value -> YYYYMMDD
    When I <u>check</u> it, it gives:
    For 'Display Read Data': 19000101
    And after 'Convert Data' : 01011900
    When I <u>don't check</u> it, it gives:
    For 'Display Read Data': 01.01.1900
    And after 'Convert Data' : 191.01.0 (?!?)
    The fact is that in SAP it needs to be in following format: 01.01.1900 (so DD.MM.YYYY) so none of both solutions is right.
    Can anybody tell me how I should configure this LSMW that I can transfer dates properly?
    Thank you very much!
    Kind Regards,
    Caroline

    Hi Caroline,
    before doing upload change ur system settings to yyyy.mm.dd (just go to menu bar click on System->user profile->own data in this go for default ) and save it and do log off and log in ,
    and then go for source fields and specify the Date field length as 8 char,
    and then in mapping step for that particular field  write the code as per the below
    just change as per ur Target structure and Source structure and field name .
    Make sure that in ur input file the Date field is in the format of yyyy.mm.dd
    if not as91_ztable-AKTIV is initial.
    replace '.' with '' into as91_ztable-AKTIV.
    replace '.' with '' into as91_ztable-AKTIV.
    condense as91_ztable-AKTIV no-gaps.
    BALTD-AKTIV = AS91_ZTABLE-AKTIV.
    else.
    baltd-aktiv = '/'.
    endif.
    Thanks
    Naveen khan
    Message was edited by:
            Pattan Naveen

  • Must Read, Data Errors Caused by HW & SW

    Read the article even if you don't read the underlying PhD Thesis [you should]. This is why we have some problems in LR that are not Adobe's fault.
    http://preview.tinyurl.com/2dz9ry
    Mel

    Interesting article but it's not news. File systems are what they are. As a Mac user I see file system errors, too. The simple fact is is that storage capacities have grown faster than than file systems have changed. Who would have thought terabyte drives would be so accessible? This was considered mainframe not too long ago. I left the PC side of the table so I can't comment personally on NTFS's ability to handle larger drives. On the Mac side of things the combination of Unix journaling and HFS+ keep a fairly good handle on things. Oddly, this one files system is not on the list.
    But the key issue is vigilance.
    Few people check their drives until things gets wobbly. Worse, they back up bad data since they have no clue the file system is getting a bit screwed. And yet, even worse, they back up to drives of questionable quality.
    My apologies to anyone who may be offended by that observation.
    My suggestions to anyone who can't afford to lose a byte of data: Test your drives, internal and external A LOT. Test them often, test them before backing up, test them after backing up, note the age of your drives and think "three years and they're gone". Maybe sooner. As professionals we have no time for down time. Data recovery is frighteningly expensive and time consuming.
    A few hard facts: Smart Reporter is not all that smart. It tests hardware integrity not data integrity. No OS monitors the integrity of an external drive. Not all backup software does a byte by byte comparison. If it works fast, it's streaming data, not cloning data.
    Bringing this back to LR. While it's easy to poke at the flaws and eccentricities of a 1.1 program, it does what it does. I have high hopes for this program.

  • Lsmw error 'Specify Files first' while executing option 'Read Data'.

    Hi All,
    while trying to create mass users through LSMW, i am gettign the error 'Specify Files first' while executing option 'Read Data'.
    I have specified file (.txt), manually created (with'1 tab space' between each term). i have used option 'On the PC(Frontend)'. No error while saving.
    Next- i have executed 'Assign Files', where the file appeared automatically.
    Next- Here, when i try to execute 'Read Data', i get the error 'Specify Files first'.
    Can anyone help in resolving this error.

    Hello Plaban,
    What is your purpose? Are you tring to upload the data with more file variant?                                                                               
    There are two possibilities to make file names more variable:                                                                               
    1.If you choose system dependent file names by setting the according flag (in the first step 'Maintain object attributes'), you can define file names for each system in step 'Specify files' by assigning the files to a specific system ID (with a double-click on the specified file).                                                                               
    2.You can use wildcards in the file names where you can assign several values.                                                               
    I hope this helps you.
    Regards,
    Blanca

  • LSMW: Codepage conversion error with a Unicode data file

    Hi all,
    I am currently developing a LSMW upload program which has to use a Unicode data file. The underlying system/target system is NOT a Unicode system. The data file also contains non-Latin2 characters.
    In the step "Specify Files", I have specified my Unicode data file and specified the codepage type "4110 - Unicode UTF-8".
    In the step "Read Data", then I get the runtime error "CONVT_CODEPAGE", exception "CX_SY_CONVERSION_CODEPAGE".
    I would expect that all non-Unicode characters are automatically transformed to "#", but the conversion progam breaks. The character transformation to "#" would be fine.
    I am really wondering why, at first, I am able to specify the Unicode codepage type, but then, the file cannot be converted correctly.
    What do I make wrong, what can I do to avoid the error?
    Thanks a lot in advance for helping me out...
    Regards,
    Klaus

    Hello,
    You need convert the file with the format UTF-8. In notepad you can choose this option.
    Regards,
    Oscar.

  • LSMW error no authorisation "ZSDTEXT_DELIVERY_TEXT_DEL_UPDATE.lsmw.read ".

    I am using LSMW to upload Header Text data In Delivery (VL02N).while running LSMW system giving an error "No Authorisation to open the file "ZSDTEXT_DELIVERY_TEXT_DEL_UPDATE.lsmw.read ".As per company policy they dont want to give authorisation for the same.Is there any way to run LSMW without this authorisation or This authorisation have to give to solve this error.?
    Regards
    Pash@SD

    Hi
    You will need the authorization unless you can arrange with the BASIS team to run it using the BATCH user or other one created with the necessary authorizations.
    Kind regards
    Dawn

  • LSMW / In Production, throws me out of SAP at READ DATA - 9th stage

    Hi experts,
    Am trying to load data via LSMW from text file, my issue is,
    When I do this in Production, it just crashes and throws me out of SAP at the "READ DATA" stage,
    So, any clue that Why it is so? How to fix it?
    thanq
    Edited by: Alvaro Tejada Galindo on Feb 27, 2008 12:25 PM
    Edited by: Srinivas on Feb 27, 2008 12:29 PM
    Edited by: Srinivas on Feb 27, 2008 12:30 PM

    Hi Srinivas,
    Strange that this only occurs in Production. Could try to switch on debugging and step forward until the error occurs? Perhaps this gives a clue what the problem might be.
    Regards,
    John.

  • Issue regarding LSMW, not showing all records after Read Data

    Dear Experts,
    Plz help..  I need to configure a LSMW for ROH material.. so I made recording, n then create a structure.. accordingly.
    the problem is.. at the time of reading data from .txt file.at the step of Display Read Data it showing only 50 records, rest are not displaying.. but not showing any error.. so my question to our expert that is their any limitations for reading data... if their.. then how could it be elasticated...
    plz suggest..
    regards,
    sandy

    the read step has a selection screen where you can define from which to which record you want read.
    make sure this selection is empty for a test.
    Further check if your source file has more than 50 records.
    then make sure that you really read this source file and not any other version  (check path and file name in step 7 of LSMW)

Maybe you are looking for