LSMW Methods

What is the best method to upload the legacy data among
1. BDC Batch/direct Input and what is the diffrence between these two.
2.BAPI Syncronous method.
3.IDOC
And diffence between BAPI and IDOC method.
4.Recording Method
I know the last option is recording if there is no standard way defined such as idoc/Bapi/Batch.
Please Sujjest Most Efficient way. 
Regards
Dhirendra

Hi,
The method to be opted while uploading data via LSMW is highly dependent on input file structure. Fields to be considered while uploading the data play a vital role for selecting the method for upload.
For a verdict on best possible method, standard program, BAPI, IDoc's stand on the same line. Either of the method which satisfy the requirement should be opted. Recording method should be kept as last resort. Because recording will not provide that control while uploading data which is provided by others. Also BAPI and standard program are also capable of data validation, so they provide much robust solution.
It is highly unlikely that a particular upload scenerio will be satisfied by all Standard program, BAPI and IDoc. Even if this happens go for standard program provided. IDoc's are not frequently used in LSMW.
Upload procedure using BAPI and IDoc's are same only when standard IDoc is used. Otherwise necesary settings for custom IDoc and its creation also comes into picture.
Hope this answers your query.
Regards,
Brajvir

Similar Messages

  • Urg : lsmw method idoc -bom posting for cs01

    Hi Floks ,
    My requirement to Bom Data in Lsmw method idoc process .what are the steps can i followed and which message types .give brief about it .
    thanks
    suresh
    Message was edited by:
            suresh duvvuri

    Hello,
    at first, that would be very useful if you could say which fields/segments exactly are not transfered...
    there can be lot's of reasonsd why the fields are not inserted with 53 result status, but in general you can try several points:
    1. check if all the fields you want to transport are properly mapped
    2. you can try to debug, if indeed your mapping rules are working during convertion
    3. do you want to fill this fields in insert (to create new BP) or update mode (udate already created BP)?
    etc.
    regards,

  • LSMW Method for VD51 Customer-Material Info master data conversion

    Hi,
    I am using LSMW for VD51 Customer-Material Info master data creation but can't able to find any standard BAPI, IDOC or Direct input program.
    Can anybody tell me any standard way to do it or only the recording method possible for this.
    Thanks
    Dhirendra

    Hi,
    I have done this once and used recording method in LSMW. Do the recording from LSMW itself.
    Thanks,
    Jyothi

  • LSMW Methods - BAPI and IDOC - why used together?

    Hi,
    There are four mathods available in LSMW:
    - Direct Input
    - BAPI
    - IDOC
    - BDC
    Among these BAPI and IDOC always go hand in hand. In case we choose to go in for IDOC, we will have to enter the partner profile settings for an inbound IDOC. But in case we choose to go with th BAPI method, even then we have to mention the inbound IDOC settings.
    I would like to know why is this so; if there is a provision for two separate methods, why do we need to use IDOC if a BAPI is selected.
    Please advise.
    Regards,
    Namrata

    In LSMW, BAPI method by default uses iDoc as a medium exchange in order to be passed as parameters to it. Actually, a text file is created when you convert the data with iDoc format. From there, you have two options: Either go on with LSMW steps (create idocs from text file, then run idoc transactions) OR go on with SXDA workbench (create a project there and run a job which essentially calls the BAPI).
    There are two different methods because SAP developed them at different times. First, they had the ALE layer (as middleware for SAP to SAP/non-SAP communication) that uses the idoc as medium exchange, then at a later time BAPIs were developed as RFC function modules/object methods. Since idoc were already in place, they used that as medium exchange for BAPIs, too.
    I hope that is clearer now.

  • LSMW method for transaction ME31K ( Create contract)

    can anybody tell me in which method of LSMW i should use to create contract ( Tcode- ME31K). Is there any direct input method for this or i have to use BAPI_CONTRACT_CREATE?
    please answer it in details...
    Thnxx in advance..

    In LSMW,
    1st step Maintain Object Attributes. Here you can choose the kind of input method.
    For your purpose you can choose Batch input recording and then go for Recording overview.
    There you can do your recording for the tx.Similar to your BDC process.
    Hope this helps to some extent!

  • Transport request in Lsmw  methods !!!  How ??????????????

    Hi . iam Aslam ..  .. and i have a  doubt   about  LSMW ... 
    after  doing  the  Lsmw ..  by either of the methods .for  Custmer master ..  then .. how . to to create  the  Transport  Request ..    for any Lsmw object .. and   give me  the full process of  changing that  tranport request .. to  transfer the  data .. to the   Quality server from the devlopment server ..
    <b><b>Inshort .. i need the  process of   transferring the request created in  devlpment server to quality server or  prodction server ..as if u working in Lsmw....</b></b>
    please give me reply to   [email protected] email id .. waiting for ur response ..  thnks  in advance ..........   bye

    hi,
    try this,
    Export/import This method gives you the opportunity to select the subprojects or objects you want to transfer. Hence you don't transfer the object a colleague might have created and that should stay in development system. LSMW -> Extras -> Export project 
    or
    Transport request With this method, you can transport a LSMW project in full (you can not select the objects you want). With this method, the project will be transported as any other SAP object in a transport order. 
    LSMW -> Extras -> Create change request 
    reward points if useful,
    regards,
    seshu.

  • Disadvantage LSMW Method besides Recording

    Hi Expert,
    In LSMW, there are several method such as Direct input, Batch recording, Bapi, and IDoc. Commonly, we use Batch recording. I would like to use another method for uploading the data, but then my supervisor ask me if there is disadvantage / side effect on using other method besides recording.
    Especially, if I want to use Bapi method, I need to activate Idoc inbound Processing. Is there any negative effect if I activate it?
    Thanks before

    If LSMW would only have recording as import method, then I would call the usage of the whole tool a disadvantage.
    I use LSMW for many years, and maybe because we are big company with complex processes I rarely find an option where recording can be a solution.
    Recording is static, most of the data I have to deal with requires flexibility, hence I have to make use of the other 3 import options.So it is an advantage to have Batch Input, IDOC and BAPI method.
    What is save, what is unsave? if you connect a test system with a productive system, then some say that this is unsave.
    Sure there can be side effects, especially if a an unexperienced user has to do the customizing.
    I personally have never seen a negative side effect with activating IDOC inbound processing in LSMW.

  • LSMW method for transaction IW31 (Service Order)

    Hi all,
    I am looking for a way to create multiple Service Orders using LSMW, but no Recording.
    Transaction would be IW31.
    Can you give some tips please?
    Thank you! Walter.

    Hi Brenda, thanks for the confirmation you found in the notes!
    Can you tell me how to use the BAPI for mass-upload / migration? I haven't done that before, but it looks to me that we won't use LMSW for that, but tr.code SE37, right?
    I found out that the BAPI you mention belongs to Business Object BUS2088A, wich cannot be selected in the first LSMW-step.
    So the idea is then to write an Abap-program which reads my input-file (which contains all the data to create the service-orders) and then call the BAPI several times to create the Service-Orders one by one. Am I right, or is there a standard way to use this BAPI for mass-upload?
    Thanx again, Walter.

  • Give a simple example of bdc by lsmw method...all steps if possible

    any step by step procedure for LSMW ..pl
    Thanks,
    Balaji

    Hi
      Check out these site for LSMW IDOC's
    https://forums.sdn.sap.com/click.jspa?searchID=170104&messageID=2090878
    https://forums.sdn.sap.com/click.jspa?searchID=170104&mess
    http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
    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
    http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
    http://www.sapgenie.com/saptech/lsmw.htm
    http://service.sap.com/lsmw
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/LSMW_tutorial.html
    Regards
    Haritha.

  • LSMW/ BAPI method for Document upload (CV01N)

    Hi All,
    Could you please let me know if it is possible to use LSMW (BAPI method) for creation of document ?(using CV01N) and linking files.
    If yes, what is the business object for doing the same?
    I did came across a BAPI "BAPI_DOCUMENT_CREATE2", but in order to use it for mass upload , we will have to develop a program. SO I was trying to see of the LSMW method could be used.
    Thanks and Regards,
    Narendra

    Hi Narendra,
    LSMW is not supporting for attachements. Please check and confirm. If you have to upload bulk files then use BDC(Batch data collection) it's very useful for uploading thousands documents at a time. Ask abap'r to write a bdc program.
    I hope this will resolve the query.
    Regards,
    Ravindra

  • Modify existing data using LSMW IDoc method

    Hi experts,
    I am trying to transfer activity data from R/3 system to CRM using Idoc LSMW method.
    It working fine that LSMW creates new activities in CRM system, & there is a check in the conversion code that if the activity we are trying to transfer exists in CRM system it will skip that transaction.
    Now the requirement is that we don't want to skip, if the activity is already present in CRM system than it should modify the existing.
    IDOC used :                       CRMXIF_ORDER_SAVE_M02
    Msg type used:                 CRMXIF_ORDER_SAVE
    Note:
    LSMW will not create activities in the system; SXDA data transfer workbench will be used to process the data in CRM system. SXDA project has following two steps:
    -     Merge files u2013 This step uses a custom function module to merge one or more than one files and creates a file which is   required for LSMW.
    -     Convert the data u2013 This step uses LSMW as the conversion method
    -     Load the data u2013 This step uses the IDoc object interface
    Now the doubt is that if i remove the check than it will create an another activity with same activity no. or modify the existing one, or is there another way to modify the existing activity in CRM system?
    Waiting for a qiuck response.
    Thanks
    d_marco

    HI,
    Thanks for your quick valuable response.
    I have a doubt, we are transferring activities from R/3 system to CRM system, & these activities are maintained in R/3 application system in the form of text files
    Now the question is if the text file contains 10 activities( transactions) with there header, partner & item details & from these 10 activities some are new & some are already present in CRM system, than will it be possible to create the new ones & update the existing ones withe single LSMW project run.
    I think that we can put a check in the conversion code where transaction begins that if the particular activity( transaction) already present in CRM system than set a flag as "U" to update, if activities are new than set it as "I"  to insert & than pass this flag in  the conversion rule to the field "OBJECT_TASK" of IDOC  structure
    or
    we need to maintain text files as for update or insert separately but not for mixed task of update/insert.
    Will this update/insert process also work's if we are using a copy of standard IDOC type with some custom segments & custom fields.
    Thanks
    d_marco

  • Edit Equipment TL using LSMW Standard Batch/Direct Method

    Hello all
    I have created a set of Equipment TL for around 600+ Equipments uwing LSMW method of Standard Batch/ Direct Input method (0470). While creating I found that it creates only the header of the TL and not the individual operations and Components at item level. Now that the TL have been generated I am trying to chnage the TL and insert the Operations/Components gainst respective Group and counter no, but the Change mode(0002) for Direct Input method (0470) is not available.
    How can I achieve this..Tried searching some of the posts in this forum but they dont seem to be an answer for my requirement.
    I do not want to go thru LSMW recording method.
    Please assit with any FM or BAPI to achieve the above requirements.
    Thanks
    Murad

    If you want to load the task list, it obvious to have three files : Header, Operations and components. - You have to maintain three strcutures for each file and you need to map three of them with some common key incase if you have multiple operations.
    Goodluck
    Mahee

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

  • Open PR & PO migration using LSMW

    Hi All,
    is it possible to migrate open PO & PR using LSMW method. I have already migrated material master by using LSMW( Recording) .
    but it's not possible to migrate open PR or PO using LSMW recording method.
       can i use direct input method to upload open PO & PR ? Please advice which method is best for open PO & PR.
    Thanks
    pabi

    Hi
    Yes I think it can
    You can use all methods available in LSMW, but I would avoid a BI recording.
    Max

  • Customer master data using LSMW std batch input

    Hello all,
    i m using LSMW method to create customer master records in the SAP system.
    we need to cover all the fields for addresses.
    Following are my doubts :
    1. some address fields are gettng truncated while loading customer master using std batch input program (for ex name1,name2,name3,name4,street..)
    2. some fields are not part of std batch input program . how to load that fields
    3. if we load address data first and then other customer data ,how to handle internal number range?
    4. how to upload internation address data in the system? is there any bapi for that?
    5 . how to upload additional communication data in address (ex mail,URL)
    Please help asap. its required urgently.
    thanks
    Jigs
    note : helpful ans will be rewarded.

    Message type DEBMAS
    Idoc type DEBMAS**  where ** is highest number available in your system (check via WE30). e.g. DEBMAS06

Maybe you are looking for