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

Similar Messages

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

  • 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

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

  • Unable to read data in lsmw

    Hi Experts
    Iam getting a problem in lsmw when i try to uplaod leave encashments to 0416 infotype,in the step read data iam getting following message.
    Transactions Read:                    0
    Records Read:                         0
    Transactions Written:                 0
    Records Written:                      0
    i checkd all steps but not able to solve te problem could anyone help me in this regard.
    VIjay

    Are you able to save the file properly ? while saving the t.txt file check all the field. like - Delimiter.
    Save your file.
    Then assign your file.

  • LSMW-step 9 read data

    Dear All,
    Kindly find below image i am not able to execute step 9 read data in LSMW
    Regards
    Rajasekaran

    Hi Raja,
    Go to 'Maintain source fields' and check for the field for which you have set Type hexadecimal. Change it to C.
    Thanks & Regards,
    Ramagiri

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

  • Reading Data from a SQL table to a Logical file on R/3 appl. Server

    Hi All,
    We would like to create Master Data using LSMW (direct Input) with source files from R/3 Application Server.
    I have created files in the'/ tmp/' directory however I do not know how to read data from the SQL table and insert it into the logical file on the R/3 application server.
    I am new to ABAP , please let me know the steps to be done to acheive this .
    Regards
    - Ajay

    Hi,
    You can find lot of information about Datasets in SCN just SEARCH once.
    You can check the code snippet for understanding
    DATA:
    BEGIN OF fs,
      carrid TYPE s_carr_id,
      connid TYPE s_conn_id,
    END OF fs.
    DATA:
      itab    LIKE
              TABLE OF fs,
      w_file  TYPE char255 VALUE 'FILE',
      w_file2 TYPE char255 VALUE 'FILE2'.
    SELECT carrid connid FROM spfli INTO TABLE itab.
    OPEN DATASET w_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT. "Opening a file in Application
                                                            " Server to write data
    LOOP AT itab INTO fs.
      TRANSFER fs TO w_file. "" Writing the data into the Application server file
    ENDLOOP.
    CLOSE DATASET w_file.
    OPEN DATASET w_file FOR INPUT IN TEXT MODE ENCODING DEFAULT. "Opening a file in Application
                                                          " server to read data
    FREE itab.
    DO.
      READ DATASET w_file INTO fs.
      IF sy-subrc EQ 0.
        APPEND fs TO itab.
        OPEN DATASET w_file2 FOR APPENDING IN TEXT MODE ENCODING DEFAULT. "Appending more data to the file in the
                                                           " application server
        TRANSFER fs TO w_file2.
        CLOSE DATASET w_file2.
      ELSE.
        EXIT.
      ENDIF.
    ENDDO.
    Regards
    Sarves

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

Maybe you are looking for