LSMW Issue_Eliminate lines in Convert data step

Dear Gurus,
I have a problem with LSWM.
Imagine that we create price conditions -VK11- and have 1000 lines in text file.
And some customers does not created in SAP yet.
So  LSMW gives error during its run.
I want to know whether  there is  a way to eliminate these lines in LSMW (Convert Data) step.
So if ı eliminate lines which customer  codes have not created in SAP, I can directly upload it..
Regards

In specify files you have a node for converted file name. as Converted Files..
There will be some name mentioned there...
Change it and it will prompt you and ask if u want to create such a file... say yes..
After this your problem should be resolved.
Revert if u need more.

Similar Messages

  • Problem in LSMW using IDOC in convert data step

    Hi,
    I am getting a Run-time error in CONVERT DATA step of LSMW using IDOC. The error diplayed is a syntax error. I am not able to figure out the error. Anybody having idea about this, please help me...
    The data is read successfully.
    Edited by: majualex on Nov 4, 2009 9:23 AM

    Error in the ABAP Application Program
    The current ABAP program "/SAPDMC/SAPLLSMW_OBJ_070" had to be terminated
      because it has
    come across a statement that unfortunately cannot be executed.
    The following syntax error occurred in program "/1CADMC/SAP_LSMW_CONV_00000051
      " in include "/1CADMC/SAP_LSMW_CONV_00000051 " in
    line 25:
    ""." expected after "DATA"."
    I think the pgm is standard ABAP program.....

  • LSMW - Direct Input- RMDATIND- Converted data is different.

    Hi Experts,
    I am working on LSMW - Direct Input- by std. program RMDATIND for material Update,
    When I display converted data, its different than data that I see in display read data step,
    Each time in step display converted data,one perticular record is  displayed.. Even though
    I change input data.
    I like to know why converted data shown is wrong?
    thanks & regards
    Ashish

    Hi thomas,
    thanks for your help....  
    i created 2 materials in file, i.e. with material no. xxxxx2 & material no.xxxxx 3.
    Or even if i created record in iput file with other materila no.
    At each end every time I can see only one converted data record eith Material no. Value = xxxxx1.
    thanks & regards
    Ashish

  • LSMW problem during display converted data

    Dear Expert,
    We have problem in LSMW during display converted data.
    When using display converted data, the output will show many of rows based on data content.
    For example, contains 6 rows. But when we want to see details of the data for one row (example row 2) by double clicking on it, the problem occurs, the output will show the details of the data from the last row (row 6).
    Please your advice.
    Thanks and Regards

    Hi,
    There seems to be sorting issue. Do you have dependency on data while executing the script?
    how about reading the data , is it getting uploaded correctly?
    Regards

  • Syntax error after convert data : LSMW

    Hi,
      I am doing a LSMW for MM01. After the convert data step I get the following syntax error:
    The following syntax error was found in program
    /1CADMC/SAP_LSMW_COMV_00000168
    For typr "C", a max length specification of 65535 is allowed.
    Can anybody help me in figuring out where I am going wrong.
    Thanks,
    Nilesh

    just execute ur lsmw in this, there is tab button user menu next to execute button , click on that , u come across a pop screen where u have a check box in that just select generate conversion program and display conversion program. and press enter.
    afterwards select the radio button generate conversion program , it will shows the program in this do systax check. u will findout the error .
    do syntax check by running step generate conversion programe,
    and also check source fields step , r u giving correct length or not for each field.
    Thanks
    null

  • Convert data is not writng anythng in LSMW?

    Hi Friends,
    After uplaoding the data, when I goto convert data step and execute. It reads 2 records but it doesn't write anything. So I am not able to execute the batch input method? I am doing that for Material master? Can any one help me regarding this. It would be of great help?
    Thanks,
    SAP ABAPer

    Check in the 5th step (Field Mapping) is there any standard function '<b>skip_record</b>,<b>'skip_transaction'</b> by searching globally.
    If any such standard function is there, check when exactly its triggering.
    I think for your data conversion, those standard functions are triggering.
    in this case only the data will not be converted, the conversion of the data does not depend on whether the data exists in the destination system or not.
    Regards,
    Rajinikanth

  • Reg: LSMW Multiple line items of scale pricing in transaction VK11

    Hi,
    Iam using LSMW to upload price condition records(VK11)
    Totally Iam having two records which i have split as 2 flat files.
    one flat file with header details and another flat file with line items for scale quantity and scale pricing, something like below.
    Header flat file
    __ZPR3__
    __cust1__
    __Mat1__
    __AUD__
    __EA__
    __100__
    __10__
    __ZPR3__
    __cust2__
    __Mat2__
    __AUD__
    __EA__
    __300__
    __10__
    Line Item Flat file
    __cust1__
    __mat1__
    __95__
    __20__
    __cust1__
    __mat1__
    __90__
    __30__
    __cust1__
    __mat1__
    __85__
    __40__
    __cust1__
    __mat1__
    __80__
    __50__
    __cust1__
    __mat1__
    __75__
    __60__
    __cust2__
    __mat2__
    __70__
    __20__
    __cust2__
    __mat2__
    __65__
    __30__
    __cust2__
    __mat2__
    __60__
    __40__
    When i do the step of Read Data in LSMW iam getting the data correctly.
    in Display read data step i got the header data in yellow and its line item in blue.
    In Convert data step iam gettin as
    Transaction read = 2.
    Records read = 11.
    Transaction written = 2.
    Record written = 9.
    In Display Converted data step Iam getting every record as a higher level item (displayed in green)
    In Create Batch Input Session step Iam getting the message as 1 batch Input folder with 9 transactions
    Which is actually wrong because only two transaction only must be written.
    I think i migh have problem in Convert data step but iam not sure, can anyone help me what should be done.
    My requirement is to upload the two datas with multiple scale prices for transaction vk11.
    Kindly Help.
    Regards
    Naveen

    hi,
    For u r reqrmnt u can make use of direct input method.
    1)
    Object               0070   Condition record
    Method               0000
    Program name         RV14BTCI
    Program type         B   Batch input
    it make use of transaction VK15( alternate for vk11where instead of selecting combination u can directly input table name)
    2) create u r internal table structure with the following fields
         KSCHL               cond type
         KOTABNR          cond table
         VKORG             sales org
         VTWEG              distr chnnl
         KUNNR              customer
         MATNR              material num
         WERKS             plant
         WAERK             currency
         DATAB               from date
         DATBI                to date
         KSTBM              cond scale qty
         KBETR              rate
         LOEVM_KO       del ind
         KPEIN               cond pricing unit
    in the above if u dont require any fields u can omit but make sure u r using all key fields.
    i thnk in u r reqrmnt its customer specific pricing so customer, cond scale qty,rate r needed.
    deltion indicator is used to delete existing records.
    3)  maintain structure relations till BKOND3
    4)  for field mapping do Auto field mapping
         give Tcode VK15
         give value for VAKEY ( concate salesorg, plant,materialno,customer) 
    assign dates in standard format (YYYYMMDD)
    5) Run remaining steps like assigning files, read convert and all
    u r flat file structure shud be da same like u r internal table.
    if u r not givin values provide empty space.
    flat file
    zpr3   cust1   mat1   aud ea 100 10   95 20
    zpr3   cust1  mat1    aud ea 100 10   90 30
    zpr3   cust2  mat2    aud ea 300 10   70 20
    i hope it gives u some idea .
    if its useful rewrd me.

  • LSMW dump at step 11-Convert data

    Hi Guys,
    i uploaded some vendors using LSMW in my DEV System. For testing purposes in the test client,a project import from DEV into TST which went on well.Unfortunately at step 11-convert Data , it flagged an error and threw a dump.
    The dump file is below.
    Please does anyone have a clue
    <removed by moderator>
    Moderator message: please post only relevant parts of the dump, your posts must contain less than 5000 characters to preserve formatting.
    Edited by: Thomas Zloch on Apr 6, 2011 12:40 PM

    Hi  Saravanan M,
    I got some assistance that before  step 110convert Data , i could generate my conversion  program i which i have done.
    the issue now is that i have an error at line 98: the error is 'ZFB60_NEW has already been declared'.
    This is the generated conversion code
    <removed by moderator>
    Moderator message: please post only relevant code parts, your posts must contain less than 5000 characters to preserve formatting.
    Edited by: Thomas Zloch on Apr 6, 2011 12:39 PM

  • LSMW -File Name 'Converted Data': Max. 45 Characters. Remaining data saved

    Hi to all,
    I am facing the error message while specifying the file(7th step) in LSMW as below
    <b>File Name 'Converted Data': Max. 45 Characters. Remaining data saved.
    Message no. /SAPDMC/LSMW_OBJ_060028</b>
    Diagnosis
    Some import interfaces only accept file names (including path) that have a maximum of 45 characters.
    System Response
    All data except the file name of the converted data is saved.
    Procedure
    Adjust the file name for the converted data.
    I am not able proceed further steps in LSMW..
    please give your valuable suggation and solutions.
    Thanks in advance..
    Amar.

    HI
    Even I am facing this error. I tried from the root directory also. But I am getting the same error. (D:\LSMW\t.txt).
    Also,  another text file with the path name C:\Documents and Settings\Desktop\testmass.txt was uploaded without any problem.
    Can anyone please help in solving this?
    Regards

  • Error in LSMW(File Name 'Converted Data': Max. 45 Characters. Remaining dat

    hai friends
    I am new of the lsmw, i am doing the recording method in lsmw,
    i got a one error in specify files step, the error is 'Converted Data' Max.45 Characters. Remaining data'      what i do next
    thanks&regards
    chinnu

    Hi Kumar,
    This error occurs because LSMW restrict the converted data file (path and filename)
    to max of 45 characters.
    The naming of this converted file is auto-assigned by LSMW at the first creation.
    but you can modify the name and shorten it manually by going to step
    Specify Files
    -> double click the converted data and shorten the filename until the length
       of filepath and name is less than 45.
    Have a nice try and good luck

  • 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

  • Syntax error while doing Convert data in LSMW

    Hi experts,
          I am using direct input method for uploading customer master records. After display read data step, when i click Convert data button, i get a runtime error saying that:
          the data object "LEGACY_CUSTOMER_MASTER" has no component called "OLD_CUST_NO", but there is a component called "SAP_CUST_NO".
        But actually we do not need OLD_CUST_NO field, so i did not include it while maintaining source fields. Someone plz help. I urgently need to resolve this.
    Thanks.

    Hi ,
    I think you have declared the filed old_cust_no in the maintain field mapping step may be in global declaration or in the mapping section of hte field. Without the use of filed OLD_CUST_NO you wont get the syntax error. Check the sysntax error in field mapping step and delete the unwanted field.Check the filed mapping section carefully based on the error.
    Thanks.

  • Reg: Convert Data in LSMW

    Hi,
    Upload Purchase Order data using multiple flat file through LSMW
    in LSMW it's working fine upto Display Read Data.
    After that enter into the convert Data it will ask the Transaction Number.
    I didn't understand what's related Transaction Number.
    I tried to enter the some values it will show the error like "Use Date format in the user master". After that i tried to enter the date formate but it's not working and shows blank .
    Please anybody help me regarding this transaction number
    Thanks & Regards.
    Edited by: Praveen SatyaSai on Dec 28, 2011 3:28 PM

    If you leave it empty, all your records will be converted. If you enter 1, the first set of records (or transaction) will be converted.
    basically, you can use it to only convert a specific set of data (or transaction).

  • 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 - inforecord / material master - syntax error when converting data

    Hi all,
    I used LSMW for classification uploads (material master, vendor master) so far - it was easy :-). But..I tried to create/update inforecords by object 0060, method 0000, program RM06IBI0. I declared source structure, source fields, field mappings and conversion rules (in my batch input I use only fields which we defined as required for infrecs.), files etc. LSMW reads the data but when I try Convert data - the is syntax error in program /1CADMC/SAP_LSMW_CONV_00000018 and dump with message "For type "C", a maximum length specification of 65535 is allowed." When I tried to create material master (object 0020, method 0000), Convert data command worked the same.
    Any help would be appreciated. (? sample from your batch input file which works well to compare)
    Tomas

    Hi Tomas,
    Please do me a favor. In the initial screen of LSMW, there is a pushbutton for 'Personal Menu'. Once you press that it will pop-up a screen with a bunch of checkboxes. Select the checkbox for 'Display Conversion Program' and press enter. Now you should see the 'Display Conversion Program' option in your initial screen. Select that and go into the conversion program. Put a break-point in the conversion program on the statement 'perform execute_data_conversion.'.
    Debug it and find out exactly where the error is occuring. Perhaps that will help you figure out what the error is, if not, let the forum know where you hit the error. Even looking at the dump, you should get more information.
    Srinivas

Maybe you are looking for

  • Date validation in " DD-MON-YYYY"

    Hi , I have created a textbox with date picker as (dd-mon-yyyy) . Now i want to create a validation on it for the format (dd-mon-yyyy) . I have created a pl/sql code with type "function returning error text". Begin If :P4_END_DATE IS NOT NULL THEN if

  • Many Apps no longer working after software update

    I recently updated my iPhone software and since then many of my apps don't work. usually wat happens is that when i click on an app the screen will go black for a few seconds then go back to my home page.

  • Problem in assigning characteristics values to characters against material

    Hello Gurus,, I am doing a wrapper RFC to populate characteristic values to characters and finally that needs to be visible in material classfication view. The following is my code let me know if any thing needs to be corrected on this *"*"Local Inte

  • WHY IS array CASTING NOT WORKING ?

    data object: class myData extends BaseData class x BaseData[] lData = null; setData(BaseData[] aData)      lData = aData;           getData(BaseData[] aData) return lData;      class y myData[] a = new myData[]; x xx = new x();       xx.setData(a); x

  • Adobe CS3 Master Collection Content...Help! Where does it go?

    Hello, I just installed Adobe CS3 Master Collection on my G4 PowerBook, and with the install discs there is a CONTENT disc which contains a folder called GOODIES with content like photos, fonts, clip art etc. Basically all the files i need to use the