LSMW-Info record

Hi,
I have a created a LSMW for info record using SAP standard program. I have created 2 structures.I want to change the planned delivery time in IR.
I have given vendor as common field in both excel sheets. There are 200 records to changed. When I assign the file & read the data. The system says it has read some 1 lakh data. I feel some where there is an issue.
Source fields
LIFNR                          C(010)    Vendor
MATNR                          C(018)    Material
EKORG                          C(004)    Purch. Organization
WERKS                          C(004)    Plant
INFNR                          C(015)    Purchasing Info Rec.
Second is
LIFNR                          C(010)    Vendor
APLFZ                         C(003)    Planned delivery time

there is too few information about your source file and your LSMW object in this thread to give a reliable answer.
Looking at the description of your 2 files, the LIFNR would be the correct field as common field.
However, it is not understandable why your files are in this way. If you change existing info records, then you usually analyse the data in SAP or offline by downloading the relevant field from table EINA and EINE.
But your file1 has fields from both info records table, and it is unclear why you have a second file just for this one field that shall be changed. Why is not everything in one file? I find it just cumbersome to do it this way.
However, the problem with that many read records is probably caused by something different.
When SAP reads data from multiple files, then it joins those files by a common field, which is LIFNR in your case.
If LIFNR is 1234 in file 1, then it jons this record with all record that have LIFNR 1234 in file 2.
I just guess that you have empty lines at the end of your 2 text files. Hence SAP joins each empty line of file 1 with each empty line of file 2.
which means if you have 10 empty lines infile 1 and 10 empty in file 2, it joins the first empty line of file 1 with all 10 empty lines from file 2, and then again for the second empty line in file 1 with all 10 empty lines from file 2. result 100 read records.
if you have 60000 empty lines in both files, then it is 60000*60000 read records

Similar Messages

  • Upload Purchase info Records using LSMW

    Hi,
      Im uploading purchase info records using LSMW - direct method
    Object               0060   Purchasing info rec.
    Method               0000
    Program Name         RM06IBI0
    i need step by step process for this. any one have done this using this program help me out.
    Regards,
    Vimal

    Hello Jürgen
    and thank you!
    One additional question: When I import info records using LSMW, one condition record (PB00) is created automatically. Is it possible to change the validity of that condition record using LSMW, too? Or can I only create new condition records?
    Thanks again
    Alicia

  • LSMW creating info records

    I am using standard batch input LSMW for creating info records with obj 0060 and program RM06IBI0. In the last step while running session I am getting error as 'Field EINE-EVERS. (shipping instructions ) is not an input field.' Does anybody know why? Is this field not there in ME11 transaction?

    resolved

  • Determining Source Structure u0096 for LSMW to upload Purchasing Info records?

    I am trying to use program RM06IBI0 through LSMW to upload Purchasing Info records. While configuring LSMW, how do I determine the source structure? Can anybody please help me with an example?
    Thanks,
    Ketan

    hi dear
    first of all record all the fields which you require through shdb including your vendor code and esokz.
    now
    generate a structure for mapping the fields through table maintainence generator option.you can add any number of fields there.
    actully this must include all the fields which are being fetched from the your flat file.
    please revert back if u find problem.
    reward points if it find useful
    regards
    amit singla

  • Extended Purchase Info Record using with LSMW

    HI guru's,
    How to extend purchase infor record using with LSMW programm.. what is the T.Code and important fields.
    regards
    JK

    Hi,
    You will need to create an LSMW programme for this, the source fields will be as below
    LIFNR     Account Number of the Vendor
    MATNR     Material Number
    EKORG     Purchasing Organization
    WERKS     Plant
    MAHN1     Number of days for first reminder/urging letter (expediter)
    MAHN2     Number of days for second reminder/urging letter (expediter)
    MAHN3     Number of days for third reminder/urging letter (expediter)
    APLFZ     Planned delivery time in days
    UNTTO     Underdelivery tolerance limit
    EKGRP     Purchasing group
    NORBM     Standard purchase order quantity
    MWSKZ     Tax on Sales/Purchases Code
    NETPR     Net price in purchasing info record
    WAERS     Currency Key
    LTEX1_02     Long Text
    LTEX2-02     Long Text
    LTEX3-02     Long Text
    LTEX4-02     Long Text
    LTEX5-02     Long Text
    LTEX6-02     Long Text
    LTEX7-02     Long Text
    Regards
    Merwyn

  • Validity date of condition records (creation of info records using LSMW)

    Hello gurus,
    we would like to create info records using LSMW with one condition record (PB00). This works fine, we just are not able to influence the validity of the condition record, it's always "creation date until 31.12.9999".
    We tried to maintain the fields BKONP-DATAB and BKONP-DATBI, but that did not change anything.
    Any ideas on this?
    Thanks
    Alicia

    Hello Jürgen
    and thank you!
    One additional question: When I import info records using LSMW, one condition record (PB00) is created automatically. Is it possible to change the validity of that condition record using LSMW, too? Or can I only create new condition records?
    Thanks again
    Alicia

  • Creating info records ME11 LSMW

    I am using standard batch input LSMW for creating info records with obj 0060 and program RM06IBI0. In the last step while running session I am getting error as  'Field EINE-EVERS. (shipping instructions ) is not an input field.' Does anybody know why? Is this field not there in ME11 transaction?

    resolved

  • IDoc status 51 - LSMW for Creating Purchasing Info Records

    Dear All,
    My req is to create a Conversion for Purchasing Info Records. LSMW's IDoc method is used to develop this conversion wherein Message Type "INFREC" and Basic Type "INFRECMASS01" are being used.
    In the 14th step (Start IDoc Processing), I 'am getting the IDoc status "51" and Status Text "Application document not posted". If I double click on respective IDoc number, I got its Control record, Data records, and Status records; in the status records I can see "51" in Red color with the message "Function module not allowed: IDOC_INPUT_INFREC". If I double click on this it asks me to check the process code...
    Request you guys to resolve the issue....
    Solution will b rewarded.. Thanks in advance....

    I shouldnot use basic type INFREC01 instead of NFRECMASS01.
    'coz Within the FM there is a check for basic type like:
    check idoc type
    if f_idoc_control-idoctp c_idoctp_infrec01. " INFREC01
    raise wrong_function_called.
    endif.
    Even one can go to WE57 and see the basic Type INFREC01 assigned to the FM IDOC_INPUT_INFREC, hence one shud use this basic type...

  • IDoc status 51 - LSMW for Creating Purchasing Info Records using IDoc meth

    Dear All,
    My req is to create a Conversion for Purchasing Info Records. LSMW's IDoc method is used to develop this conversion wherein Message Type "INFREC" and Basic Type "INFRECMASS01" are being used.
    In the 14th step (Start IDoc Processing), I 'am getting the IDoc status "51" and Status Text "Application document not posted". If I double click on respective IDoc number, I got its Control record, Data records, and Status records; in the status records I can see "51" in Red color with the message "Function module not allowed: IDOC_INPUT_INFREC". If I double click on this it asks me to check the process code...
    Request you guys to resolve the issue....
    Solution will b rewarded.. Thanks in advance....

    U should use basic type INFREC01 instead of NFRECMASS01.
    Within the FM there is a check for basic type like:
    check idoc type
        if f_idoc_control-idoctp <> c_idoctp_infrec01. " INFREC01
          raise wrong_function_called.
        endif.
    Edited by: Joyjit Ghosh on Sep 15, 2008 4:57 PM

  • Create Purchase info record using LSMW idoc method

    Hello Friends,
    I am trying to update Purchase Info records using LSMW Standard program RM06IBI0.
    But it is not updating the condition price details and scale Quantity.
    For that the  form  suggessted LSMW IDOC method. with : Message Type         COND_A / COND_A02.
    But i dont know is the info record created earlier to this step or else we can create both using this method
    at a time ?  Does anybody please suggest.
    ( Actually Purchase Info record created using transaction  ME11 ).
    Regards,
    Phaneendra

    you first create the info record and subsequently you load the conditions.
    become familiar with the condition tables and its key first. Check How table A017 and A018 are maintained.
    Intresting is the field VAKEY which is actually the link to your info record.
    This is a combination of vendor, material, purchasing org, plant , and info record indicator.
    data:  begin of ZZVARKEYA,
            ZLIFNR like LFM1-LIFNR,
            ZMATNR like MARc-MATNR,
            ZEKORG like LFM1-EKORG,
            ZWERKS like MARC-WERKS,
            ZINFTYP like EINE-ESOKZ,
            end of zzvarkeyA.

  • LSMW FOR UPLOADING INFO RECORD-ME11 USING RECODING METHOD

    Hi Guys,
    I am uploading inforecords using LSMW recording method.
    While recording I entered net price and other things properly.
    When I am running the lsmw, net price filed becoming gray(Non editable) filed and system shows error as "it is not an input filed". But if i try to execute the t-code sepeartely this filed is in editable mode.
    Please let me know what is the priblem.
    Thanks
    Dhanu

    Hi Dhanu,
    there is the easiest method to do that you can follow the Direct input method the object for info record id 0060 and program is RM06IBI0,
    With this method you will not get any problems. it is SAP recommended method.
    Bhima

  • LSMW-Change Info Record

    Hi all,
    I need to use LSMW to change infor records, they are standard, consignment and subcontracting info records.
    How can I make the system to choose the right info record type? Do I need a recording with these three fields?
    NORMB                Indicator: Standard info record
    LOHNB                Indicator: Subcontractor purchasing info record
    KONSI                Indicator: Consignment info record
    Thanks!

    How do you know which info record you need to change?
    Based on what field  do you do this decision?
    I recommend not to use recordings, SAP has developed  LSMW import methods for info records that really work well.
    Recordings are only needed if SAP has not given anything in standard, mainly to load data into Z-tables.
    I recommend to have a look into the info record tables EINA and EINE
    EINE table has only  field ESOKZ that determines which type of info record it is.

  • Creation of purchase info record

    Hi any body pls let me know how we can create purchase info record(me11)
    i am an abaper i want to know the functionality in that
    let me know the mandatory fields because i have an requirement to create it using
    lsmw
    thanks in advance

    hi,
    try abap RM06IBI0
    A.

  • Mass Creation of Material Group Purchase info record

    Dear All
    Currently we are developing a custom transaction in SAP to mass upload Purchase Info records from a flat file (excel)
    We are using the standard Function Module ME_POST_INFORECORD to create the PIR s
    We use two different number ranges for Material and Material Group PIR s. This is set up already in SPRO>MM>PIR>Define Number Ranges
    Purchasing info record for stock material (Group - IL ) have a number range X
    Purchasing info record for material group (non-stock mat.)(Grpup -IN) have number range Y
    So when we create a Material PIR manually in SAP it picks X number range and  Y number range for Material Group PIR
    But when we create Material Groups PIR via the new custom transaction it creates PIR s with Number range X.
    Upon checking understood that the standard FM ME_POST_INFORECORD is always defaulting the Number Range Group as IL internally . Seems like a harcoding done by SAP
    Wanted to know
    - Is there any another FM we should consider while creating Material Group PIR s. Any other Function module provided by SAP for that ?
    - Or what can be other way to resolve this ?
    Please let me know your views on this.
    Regards
    Shyam

    Hi,
    For mass upload from flat files you can consider LSMW with different options e.g. IDoc:
    Message Type         INFREC
    Basic Type           INFRECMASS01
    or simply via recording of transaction (this should be using exactly the same NR as you have when doing this manually).
    Regards,
    Tomek

  • Mass creation of info records

    Hi,
    As the supplier for one of the material type is changed, user wants to create a info records for all the materials of this type against this vendor. Is there any transaction available to create info records for all the materials against a single vendor at one go?
    MEMASSIN is not useful as it is only to update or change existing info records.
    Regards,
    Krutika

    Hi Krutika,
    You can create mass info record through LSMW.
    Regards..
    Trupti

Maybe you are looking for