Method in LSMW

i know there are 4 methods in LSMW, but can you tell me in which condition we must use each of the method?

Hi,
LSMW is used for migrating data from a legacy system to SAP system, or from one SAP system to another.
Apart from standard batch/direct input and recordings, BAPI and IDocs are available as additional import methods for processing the legacy data.
The LSMW comprises the following main steps:
Read data (legacy data in spreadsheet tables and/or sequential files).
Convert data (from the source into the target format).
Import data (to the database used by the R/3 application.
But, before these steps, you need to perform following steps :
Define source structure : structure of data in the source file.
Define target structure : structure of SAP that receives data.
Field mapping: Mapping between the source and target structure with conversions, if any.
Specify file: location of the source file
Of all the methods used for data migration like BDC, LSMW , Call Transaction which one is used most of the time?
How is the decision made which method should be followed? What is the procedure followed for this analysis?
All the 3 methods are used to migrate data. Selection of these methods depends on the scenario, amount of data need to transfer. LSMW is a ready  tool provided by SAP and you have to follow some 17 steps to migrate master data. While in BDCs Session method is the better choice because of some advantages over call transaction. But call transaction is also very useful to do immediate updation of small amout of data. (In call transaction developer has to handle errors).
SO Bottom line is make choice of these methods based of real time requirements.
These methods are chosen completely based on situation you are in. Direct input method is not available for all scenario, else, they are the simplest ones. In batch input method ,you need to do recording for the transaction concerned. Similarly, IDoc, and BAPI are there, and use of these need to be decided based on the requirement.
Try to go through the some material on these four methods, and implement them.  You will then have a fair idea about when to use which.
Explain the exact difference between lsmw & bdc.
BDC- It is Batch data communication. Its used for data conversion from legacy system to SAP system. Only technical people can do it. Tcode is SHDB.
LSMW- It is legacy system migration workbench. Its also used for data conversion from legacy system to SAP system. But it is role of functional consultant. 
There are 14 steps in LSMW. As soon as you complete the one step, automatically it will go to next step.
In general you can use LSMW. But if you want to transfer more than 40,000 data, then it is not possible in LSMW. That time you can take help of BDC.
Thanks,
Thishya

Similar Messages

  • How to resolve error while importing data using IDoc method in LSMW ?

    Hi
    I am trying to import my data using IDoc method in LSMW.
    But after completing the whole LSMW process, when I look into the IDOC generated, the error description is as this.
    It talks about the process code and other stuff.
    Function module not allowed : APPL_IDOC_INPUTI
    Message No. B1252
    Diagnosis :
    The function module APPL_IDOC_INPUTI and the application object type which were determined are not valid for this IDoc.
    I am not able to resolve the problem.
    Please help.
    Regards,
    Rachesh Nambiar

    check the below link.
    /people/stephen.johannes/blog/2005/08/18/external-data-loads-for-crm-40-using-xif-adapter

  • Use of Methods in LSMW

    Hi Experts,
    I am trying to upload data into one of the custome table, ZTPT_DRIVER. And a method is created with ZCL_PT_Driver to upload the data using SE24.
    Can you please let me know, how can i upload data via LSMW into the custome table calling a method and also how to declare and use the method in LSMW?
    Many Thanks in Advance.
    Kris.

    in LSMW Direct input method is not possible for the zfields.
                   For this u have to choose Recording method.

  • Regarding Idoc method in LSMW

    Hai All,
                I have gone through the procedure which is mentioned in the **************** for Idoc Method in LSMW.I have configured the steps for Inbound Idoc Processing.
    Port(File) : LSMW (I mentioned physical directory: C:\ and file name:filelsmw)
    Port(TRFC) : LSMWT (rfc destination of type TCP/IP and in that I mentioned program name:rfcexec.exe)
    Partner Profile: LSMW(of type US and mentioned Inbound Parameters here)
    I have gone through all the steps of LSMW.But every time I am getting the status as 51(Application Document Not Posted).
    Can anyone please help me in solving this.
    Message was edited by:
            Namburi Kalpana

    HI
    see this link
    http://www.****************/Tutorials/LSMW/IDocMethod/

  • Diff method of LSMW

    Hi all,
    I am new to LSMW. in my org we are going for migrating data to SAP. i studid some documentation and found that there are four method of LSMW such as
    1.Batch input
    2.direct input
    3.BAPI
    4.I Doc
    now i am confused over the fact that
    1.what are the differences between them?
    2.In what case i should choose which method?
    3.Which is the common most method used for master data migration?
    Please give your valuable answers
    Thanks and regards,
    BKR

    Hi,
    I prefer the options like the below sequence
    1. BAPI
    2. Batch Input program
    3. Idoc
    4. Batch input recording
    1, 2 & 3, use as your preference. But option 4 (Batch input recording), make it always the last option.
    If you have the requirements, just check with sdn.sap or any other related sites, you will get the business object name / batch input program / Idoc details if exists.
    Regards,
    Selva K.

  • Difference between batch input method and direct input method in LSMW.

    Hi all,
    what is difference between batch input method and direct input method in LSMW. are they same?if differences are there tell me with details?

    Hi,
    Here are few differences bw Batch Input and Direct Inputs methods.
    Batch Input: Uses classical BDC approach, but doesn't required an ABAP program to be written to format the BDC DATA. The user has to format the data using predefined structures and store it in a flat file. Yet it is a slower updation method.
    Direct Input: Works similar to Batch Input programs. The difference is, instead of processing screens they validate fields and directly load the data into tables using standard function modules. Much faster and suits for large volume of data.
    Thanks.
    DhanaLakshmi M S

  • Error Log in Direct Input Method of LSMW

    Hello!
    We are developing an upload through LSMW using its direct input method for material master. This method is better than the Recording method but the only problem we are having is maintaining the error log. Unlike the recording method, in direct input the system gives an error log but it cant me maintained in a permanent file i.e when we go back to the upload for specifying a new file, the error log of the previous file is gone.
    Is there any way that we can maintain the error log in a permanent file? Help needed ASAP!
    Thank You!
    Regards
    Sahar

    When i enter %PC in the command field the system gives following information
    Function code cannot be selected
         Message no. 00255
    Diagnosis
         You entered an inactive function code.
         You can trigger this by:
         o   inputting directly in the OK code field,
         o   inputting the fastpath of an inactive menu function,
         o   choosing an inactive function key, or even by
         o   choosing ENTER, if ENTER has an inactive function.
         In batch input, a function code is included in field BDC_OKCODE of the
         session, if this function code is not assigned to ENTER.

  • Sales order details uploading using BAPI method in LSMW

    Hi Guys,
    Sales order details uploading using BAPI in LSMW, could you please suggest me, is any standard method or programs is available for this.
    I have some queries about this.
    1) One header line having multiple line items, in this case  we able to upload use the  LSMW method,
        if possible please tell me the steps.
      2) Do we need to do any config changes while uploading data?     
      3) Flat file should be which format.
      4) Steps to process each step wise if possible.
    Please help me
    Thanks,
    Gourisanakar.

    Hi Gouri Sankar,
    would you be able to upload the sales orders with multiple line items using BAPI LSMW?
    if so could you plz suggest?
    Thanks in advance.
    Suresh/

  • IDOC method in LSMW

    how to work on LSMW using IDOC method . can anyone help with an approprite example .
    i learnt tht inbound processing is to be done before continuing with lsmw steps but is not sure of tht

    Hi Durga,
    Please give me your email ID I will send a ppt on the same.
    Also, have a look at the following links :
    http://www.sapgenie.com/abap/     ABAP Tools -> ABAP utilities area and click on LSMW
    http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
    http://sap.ittoolbox.com/documents/popular-q-and-a/using-lsmw-to-import-legacy-data-4046
    LSMW IDOC method to upload material master
    http://www.sap-img.com/sap-data-migration.htm
    http://www.sapgenie.com/saptech/lsmw.htm
    http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
    http://www.sap.info/public/INT/int/glossary/int/glossaryletter/Word-17643ed1d6d658821_glossary/L#Word-17643ed1d6d658821_glossary
    Reward points if it helps.</b>
    Regards,
    Amit Mishra
    Message was edited by: Amit Mishra

  • Criteria to use batch input method in lsmw

    in lsmw we hav batch input method,direct input,idocs,bapis,what is the criteria to use them?

    •     Decide whether it makes sense to use this tool with respect to the data volume to be transferred. It may be easier to transfer very small data volumes into the SAP system manually. In the case of a very large data volume, batch input or IDoc techniques may cause extremely long runtimes. A rough landmark for estimating the required time: 10 000 records per hour where this value may vary considerably depending on the hardware available.
    •     Identify the transaction(s) in the SAP system via which you want to import the data into your SAP system. It may be relevant whether you need the data for statistical analysis or for further processing in the system.
    •     Run the relevant transaction in the SAP system manually with test data from the legacy system and see which fields must be filled. There may be required fields that do not correspond to data fields in the legacy system. In such a case, you should better assign a fixed value or establish an optional field for data transfer.
    santhosh

  • Whether can we upload Trasactional data by using any method of LSMW or not?

    Hey SDN's
    Have you ever tried to upload data in Tcode 'FBCJ' (Csh Journal in FI) by using
    LSMW.?
    If you uploaded the data successfully, please let me know.
    Because 'FBCJ' is for transactional data.  so, Is it possible to upload any sort of  transactional data by using LSMW?
    Because I've been trying to upload the data but at 14th step it saying like ''There is no input field for the screen number 100''
    please try to solve this problem.
    thank you verymuch.
    Regards,
    Ali

    Hi Ali,
    1) We can use Transactional and master data in LSMW.
    2) As of my understanding the error u r getting because of ( its guess try check this what i am telling -
    > if ur using recording method, while recording if u have not recorded the field in a particular screen '100' and if u want to upload it by specifying in the input file, (in this case u can get this kind of error) and .
    3) when u have done recording at that time the particular field is in change mode/input mode (we can enter the value) , but while uploading if that particular field is in gray mode/display mode(we cant enter value) in this case also it will show this kind of error.
    so first check , by taking 2-3 records and run in foreground ,
    and anlyze where exactly ur strucking if this is the case, do changes as per the need.
    if this is not the case anything else excuse me and eloborate it .
    Reward points if helpful
    Thanks
    Naveen khan

  • Alternate method for LSMW

    Hi friends, kindly let me know alternate solution for my problem.
    Q. For transacton code MB11 iam posting the data through LSMW using standard program RM07MMBL(Batch input program). This program is having structure called BMSEG it will accept only one record per transaction.
    In my flat file iam having total 20000 records, due to this iam getting performance issue.
    Could you please tell me alternate method for the same?
    Regards,
    Sreenivasa Babu,
    9866123064.

    Hi srinivas..
    In this Case it will be better to Call BAPI than using LSMW.
    We have the BAPI_GOODSMVT_CREATE which is used to Create Goods movement.
    It will be faster since the Data will not be processed in Screens when we Call BAPI.
    Sample code to Call this BAPI:
    data : gm_header type bapi2017_gm_head_01,
            gm_code type bapi2017_gm_code value '01',
            gm_headret like  bapi2017_gm_head_ret,
            matdocument type    bapi2017_gm_head_ret-mat_doc,
            t_gmitem type table of  bapi2017_gm_item_create,
            wa_gmitem type   bapi2017_gm_item_create,
            t_gmsernumber type table of bapi2017_gm_serialnumber,
            wa_gmsernumber type  bapi2017_gm_serialnumber,
            ret type table of bapiret2.
    gm_header-pstng_date = '20051201'.
    gm_header-doc_date = sy-datum.
    gm_code = '01'.
    wa_gmitem-material = 'SAMPLE'.
    wa_gmitem-plant = '0001'.
    wa_gmitem-stge_loc = '0001'.
    wa_gmitem-move_type = '501'.
    wa_gmitem-entry_qnt = 10.
    append wa_gmitem to t_gmitem.
    wa_gmsernumber-matdoc_itm = 10.
    wa_gmsernumber-serialno = 1.
    append wa_gmsernumber to t_gmsernumber.
    call function 'BAPI_GOODSMVT_CREATE'
      exporting
        goodsmvt_header             = gm_header
        goodsmvt_code               = gm_code
      TESTRUN                     = ' '
    importing
      GOODSMVT_HEADRET            =
       materialdocument            = matdocument
      MATDOCUMENTYEAR             =
      tables
        goodsmvt_item               = t_gmitem
       goodsmvt_serialnumber       = t_gmsernumber
        return                      = ret
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    WAIT  = 'X'.
      write:/ matdocument.
    <b>reward if helpful</b>

  • Need best method in LSMW

    Which is the best way in LSMW; BAPI, IDOC, Recording or direct input for transfering the data of Route Determination like Shipping Condition,Transportation Group,Proposed Route,Departure Country etc.

    Hi,
    Recording is best approach for this scenerio. We have also uploaded the same using recording only.
    No BAPI or standard program exists for this scenerio as per knowledge.
    Hope this answers your query.
    Regards,
    Brajvir

  • Direct input method in lsmw

    can any one please post me an assignment or functional/technical specification on LSMW

    Search within SDN or use ABAPDOCU...

  • In LSMW how to include customer fields in BAPI method ?

    Hi all,
    We have a requirement to use BAPI method in LSMW. We have some custom fields defined needs to be handled in BAPI structures.Please tell me how to handle BAPI extension structures(EXTENSIONIN/OUT) in LSMW.

    Hi Venugopal,
    You can use the sold to party field fiield for your requirement.
    Press f4, you will get a pop up to select customer depending on various selection criteria including customer name.
    If can enter the customer name, which will sort out the sold to party number whihc you can use.
    If this is not wat is required you have to copy the transaction and create a new Zreport.
    Hope this helps you.
    Thanks
    Arun

Maybe you are looking for

  • Using a US mac in the UK?

    Hi My parents are going to New York in a few weeks and I was going to give them some money to get me a powerbook. I was wondering if it will all work ok over here? I know i will need a UK power adaptor but will that be all? Thanks in advance Michael

  • HT1325 tried everything my puchased songs won't play..

    I need someone to help me out this has been bothering me or how can I get my refund back this crazy!

  • IPhone 2D Image Performance

    Hi all, I'm developing a 2D game for iPhone and am at the point where I need to consider my drawing options. Initially I chose to do batched 2D textured quads with OpenGL ES, then I realized that the iPhone doesnt support vertex buffers, so each spri

  • RFFOUS_T Payment advice printing

    Hi, I needed to change the output of the payment advice form, so I copied the standard sap program RFFOUS_T in my custom copy ZRFFOUS_T, but when I execute the code using the  run date and ID I am getting an info message popup with the message "Payme

  • VMWare Fusion, Boot Camp, and Orb

    I'm trying to use Orb to stream audio files (podcasts downloaded daily within iTunes to be exact) to a Blackberry. Orb is currently only Win compatible (meaning the streaming can only be done from a Win computer), so I've got VMWare Fusion loaded on