Creation of LSMW

Hi Frnds
Actually  i am assigned to create LSMW to upload internal order master data.
i never used LSMW.
can you please tell me how can i go ahead?
Please reply as soon as possible.
Thaks

Hi manish,
Following link link would be useful,
http://sap.niraj.tripod.com/id61.html
http://help.sap.com/bp_blv1500/BL_US/html/dataconv_lsmw.htm
/people/hema.rao/blog/2006/09/14/lsmw--step-by-step
Hope this are useful.
Please mark the question as answer if your query have been solved.

Similar Messages

  • Vendor creation using LSMW

    Hi All,
    I m  trying to do vendor creation in LSMW method using RFBIKR00 program,please any one guide me I strucked in 2 Maintain Source Structures after this cursor not moving to next radio button even though I done for next steps final it is not reading the data,pls help me out..
    Thanks n regds,
    sree.

    Hi
    Check these links..might prove useful
    [http://www.sapdb.info/wp-content/uploads/2008/08/lsmw.pdf|http://www.sapdb.info/wp-content/uploads/2008/08/lsmw.pdf]
    Regards
    Raj

  • Mass vendor creation through LSMW

    Hi,
    Could you please let me know the mass vendor creation through LSMW also let me know the text file format?
    Regards
    Nama

    Hi Chandrashekar
    It is very easy to create the LSMW structure for the Vendor load, First thing you have to do is to get all the fields that the business wants to be inputed when you are XK01. Than create a LSMW recording and assign the recording to the structure.
    I can guide you with the creation. I do have a PDF for LSMW which will be very helpful for guidance, But how do i share?

  • PO creation using LSMW through batch input method

    Hi, I am new to working with LSMW and i have completed a project for creating purchase orders using the direct data input method. I need to do the same using batch input method, however in the maintain structure relationship step, it is only allowing me to assign one structure to the recording that i have done, however in po creation we need separate (nested) structure for header and line item, could anybody help me past this please?

    Hi Rudra!
    OK, now you just know, why you have only one line, not multiple PO item lines. To get a dynamic number of items, you need a complex program - just like standard direct input.
    If you need a field, which is not part of this program, don't try to write your own program for batch input - it's just to much work before you have a good result.
    You can use Bapi method instead with BAPI_PO_CREATE1. This can handle a lot of fields and there is some documentation available how to fill the Bapi.
    If this looks to complicated in the first moment, think about creation of POs via direct input and a small batch recording to change your additional field(s) afterwards. (You can select EKPO table to generate list of 'wrong' migrated orders for input in LSMW.) Use field 'Item' in the bottom of ME22 to position your desired line in first screen line, just change one PO-line after one other (every time a 'save' -> no problem with different number of lines / PO).
    Regards,
    Christian

  • Classification view creation via LSMW for Material master

    Hi,
    We are planning to have an LSMW for creation of material master along with classification view for configurable materials.
    Though we see a flag to indicate classification view  - XEIC1                        Indicator: take Classification view into account
    We do not see a structure where in we can pass all the characteristics and the corresponding values.
    Is this something possible only with BAPIs such as -> BAPI_OBJCL_CREATE after creation of other view for that material.
    Regards,
    HR

    Hi,
    Thanks for the response. This is helpful.
    However, we were intending to use a single LSMW for creation of all views of material master including classification view. Right now we are using Program RMDATIND as direct input method in LSMW.
    Please let me know if there is a way to use single LSMW for creation of all views of material master.
    Thanks
    HR
    Edited by: Hema Rao on Jan 8, 2009 7:58 AM

  • Sales Order Creation using LSMW IDOC method.. ( Custome Interface)

    Hi ABAP'rs,
                     Please provide me LSMW steps for creating Sales Order using IDOC method.
                            Thanks and Regards,
                                                  Param.

    LSMW-IDOC in General
    LSMW – Step by Step Guide: Legacy System Migration Workbench is an R/3 Based tool for data transfer from legacy to R/3 for one time or periodic transfer.
    Basic technique is Import data from Spreadsheet / Sequential file, convert from source format to target format and import into R/3 database. LSMW not part of standard R/3, if we need this product email [email protected]
    Advantages of LSMW:
    • Most of the functions are within R/3, hence platform independence.
    • Quality and data consistency due to standard import techniques.
    • Data mapping and conversion rules are reusable across projects.
    • A variety of technical possibilities of data conversion.
    • Generation of the conversion program on the basis of defined rules
    • Interface for data in spreadsheet format.
    • Creation of data migration objects on the basis of recorded transactions.
    • Charge-free for SAP customers and partners.
    Working With LSMW:
    Use TCODE LSMW
    Objects of LSMW:
    •Project – ID with max of 10 char to Name the data transfer project.
    • Subproject – Used as further structuring attribute.
    • Object – ID with max of 10 Characters, to name the Business object .
    • Project can have multiple sub projects and subprojects can have multiple objects.
    • Project documentation displays any documentation maintained for individual pop ups and processing steps
    User Guide: Clicking on Enter leads to interactive user guide which displays the Project name, sub project name and object to be created.
    Object type and import techniques:
    • Standard Batch / Direct input.
    • Batch Input Recording
       o If no standard programs available
       o To reduce number of target fields.
       o Only for fixed screen sequence.
    • BAPI
    • IDOC
    o Settings and preparations needed for each project 
    Preparations for IDOC inbound processing:
    • Choose settings -> IDOC inbound processing in LSMW
    • Set up File port for file transfer, create port using WE21.
    • Additionally set up RFC port for submitting data packages directly to function module IDoc_Inbound_Asynchronous, without creating a file during data conversion.
    • Setup partner type (SAP recommended ‘US’) using WE44.
    • Maintain partner number using WE20.
    • Activate IDOC inbound processing.
    • Verify workflow customizing.
    Steps in creating LSMW Project:
    • Maintain attributes – choose the import method.
    • Maintain source structure/s with or without hierarchical relations. (Header, Detail)
    • Maintain source fields for the source structures. Possible field types – C,N,X, date, amount and packed filed with decimal places.
    • Fields can be maintained individually or in table form or copy from other sources using upload from a text file
    • Maintain relationship between source and target structures.
    • Maintain Field mapping and conversion rules
    • For each Target field the following information is displayed:
    o Field description
    o Assigned source fields (if any)
    o Rule type (fixed value, translation etc.)
    o Coding.
    o Some fields are preset by the system & are marked with Default setting.
    • Maintain Fixed values, translations, user defined routines – Here reusable rules can be processed like assigning fixed values, translation definition etc.
    • Specify Files
    o Legacy data location on PC / application server
    o File for read data ( extension .lsm.read)
    o File for converted data (extension .lsm.conv)
    • Assign Files – to defined source structures
    • Read data – Can process all the data or part of data by specifying from / to transaction numbers.
    • Display read data – To verify the input data being read 
    Convert Data – Data conversion happens here, if data conversion program is not up to date, it gets regenerated automatically.
    • Display converted data – To verify the converted data
    Import Data – Based on the object type selected
    • Standard Batch input or Recording
    o Generate Batch input session
    o Run Batch input session
    • Standard Direct input session
    o Direct input program or direct input transaction is called
    BAPI / IDOC Technique:
    • IDOC creation
    o Information packages from the converted data are stored on R/3 Database.
    o system assigns a number to every IDOC.
    o The file of converted data is deleted.
    • IDOC processing
    o IDOCS created are posted to the corresponding application program.
    o Application program checks data and posts in the application database.
    Finally Transport LSMW Projects:
    • R/3 Transport system
    o Extras ->Create change request
    o Change request can be exported/imported using CTS
    • Export Project
    o Select / Deselect part / entire project & export to another R/3 system
    • Import Project
    o Exported mapping / rules can be imported through PC file
    o Existing Project data gets overwritten
    o Prevent overwriting by using
    ‘Import under different name
    • Presetting for Inbound IDOC processing not transportable.
    Reward if useful.
    regards
    santhosh reddy

  • SA Creation using LSMW BAPI BUS2013

    Hi,
    We have requirement for uploading open SA in to ECC and would need your help in LSMW, after analyzing I think best option to upload / create open SA is using BAPI method of LSMW as there is standard BAPI available BUS2013. But I have never used this method before though I am  well aware of recording method of LSMW. Please let me know how to proceed on LSMW using standardd BAPI.
    Step1- Maintain Object Attributes is done -
    BUS2013
    CREATE
    PURSAG_CREATE
    PURSAG_CREATE01
    Step2- Maintain Source Structure -
    Do we need to create 2 different structures here i.e. One for Header and One for item? If yes is it going to be at same level or lower level?
    Also need help for next 4 steps.
    Thanks
    Vihaan

    Hi Jurgen,
    Sorry didn't get you as I got stuck at step 2, please see how I did till now and provide your valuable input:
    Step 2 - Maintain Source Structures
           Created one Headerdata structure - HDATA
                Create one Itemdata structure - IDATA (IDATA is created as lower level of HDATA)
    Step3 - Maintain Source Fields
      Under HDATA:
               IDENTIFIER      C(001)  IDENTIFIER
               LIFNR              C(010) VENDOR
               EVART           C(004) SA DOCTYPE
               EKORG           C(004) PORG
               EKGRP           C(004) PRGP
               KDATE           C(008) Validity End Date
    Under IDATA:
              IDENTIFIER      C(001)  IDENTIFIER
              MATNR           C(018) Material Numer
              KTMNG           C(016) Tar Qty
              NETPR            C(013) Price
              WERKS           C(004) Plant
              LGORT           C(004) Storage location
    Step4 - Maintain structure relations
    Structure Relations
           E1PURSAG_CREATE        Header segment                                               <<<< HDATA SA HEADER DATA
               E1BPMEOUTHEADER        Header Data Outline Agreement                                <<<< HDATA SA HEADER DATA
       E1BPMEOUTITEM          Item Data of Contract                                        <<<< IDATA   SA Item Data
           E1BPMEOUTITEM1         Item Data of Contract                                        <<<< IDATA   SA Item Data
       E1BPMEOUTITEMX         Item Data Change Parameter for Outline Agreement             <<<< IDATA   SA Item Data
       E1BPMEOUTACCOUNT       Account Assignment Data - Outline Agreement                  <<<< IDATA   SA Item Data
    Stpe5 - Maintain filed mapping and Conversion rules
    Have mintained all the filed mapping like plant, material PORG etc.
    Step7 - Specify file - Done
    Step8- Assign file??? Here I am assigning file to HDATA structure only and not able to asign file to IDATA
    Source Structures and Files
           HEADERDATA SA HEADER DATA
                      SA Creation - TEST C:\Users\XME31L.txt
               ITEMDATA SA Item Data
    Here I would like to know how to create file considering above structure, do I need to create a single file with Header and Item fields in that? if Yes, then how to place it on excel - (like first row header column fields, second row - header field values and then in third row Item coloumn fields and 4th row item values)
    OR I need to create two different files one for header fields and one for item fields and then aissgn them to HDATA and IDATA respectively?if Yes, then I am not able to aissgn file to IDATA as it gives error saying "File XME31L.txt can only be assigned to one source structure.
    Please help me here
    Thanks
    Vihaan

  • Creation Of LSMW for Actions..........

    Dear ALL
    Recorded an LSMW for PA40 hiring actions which includes infogroup - [ IT 0000, 0001, 0002, 0105-ZVEN (Sub type)]
    This is for external vendor employees hiring actions.
    While recording or manually running the process, it is working fine.
    When in foregroud or background process, the alternate pernr is getting generated. Say for 1st record , pernr generated is 80023, then for next it is 80025, 80027so on.
    Kindly suggest me in this issue.
    Thanks
    MJ

    Hi,
    1-you keep no range as external and assign PERNR sequentially so that it remains same as you want it
    2-kindly go through the LSMW abain to see what have you assigned in field mapping & conversion rules
    3- check one record created thru LSMW and see if next (alternate number gets assigned to Ref PERNR in IT0000)
    Check the alternate number to see if anything gets assigned to it.
    salil

  • SALE ORDER CREATION WITH LSMW

    Hi
    Can we upload open sales orders through ..LSMW ...if it is posible ..pls tell me procedure
    In LSMW   Steps  recording step .. can we tcode VA01...?
    REGARDS
    SESIDHAR

    Hi
    Check this link
    [Sales order uploading through LSMW;
    And there is nothing like that you can upload only Master Data through LSMW.  Once you are able to handle LSMW you can upload any data in SAP. Yes, there may be some constraints, but an expert can manage.
    So go ahead.
    Regards
    Amitesh Anand

  • Sales order creation using LSMW

    Hi All,
    I am creating open sales order (VA01) using LSMW where I am using BAPI: BUS2032 and Method CREATEFROMDAT2.
    I need to pass multiple line items for the same Header data, but the LSMW is creating multiple sales orders with a single line item every time.
    I tried giving "on_change_transfer_record" after Header record but that doesn't work.
    Can anyone suggest any suitable solution for this using BAPI only other than BDC, report program etc.
    Thanks in Advance
    Asif Ali Khan

    Hi Asif Khan,
    Please check this link
    BAPI_SALESORDER_CREATEFROMDAT2 - Sales Order Create
    http://sap-img.com/abap/bapi-salesorder-createfromdat2.htm
    Best regards,
    raam

  • How to maintain inspection type at the time of material creation using LSMW

    Hi All,
    I have a differnet Issue.
    I am using a std. LSMW to create the materials.
    But now using same LSMW i have to maintain Inspection types(ART-RMQAM) for the materials to be created.
    How this can be done.
    This filed is not found in any structures like BGR....to  BMMH8
    Can I create such a structure ??
    Amol

    Some need the hard answer: it is not possible in one go.
    It is an embedded functionality in material master like classification, but it is not stored in a material master table.

  • Problem with numbering of general task lists by creation thru LSMW - (IA05)

    I'm using a sequencial file to create general task list thru LSMW (Object 0490 which corresponds to TCode IA05).
    The numbering range for general task list groups is internal. I executed batch input and it works pretty well with the first general task list group, but every next fails, because the number of the previousy created task list stays in the user buffer and apears in the PLNNR field, so the system assumes I'm trying to create a new group counter instead of new general task list group.
    I explicitely set IBIPTLST-PLNNR = '' in field mapping - still the same problem. I also set user parameter PLN to be empty in SU3 and still no luck. I even turned off the historic data in local data tab of SAPGui, but the problem persist.
    Can anyone tell me how can I achieve it without changing the numbering range to external?

    Hi,
    From IBIP Help:
    Initial fields
    As a general rule, initial fields in structures are not transported into the corresponding screen field. In other words, fields that are blank are ignored. If you explicitly want to reset a field to the value "<blank>", you must mark the field in the batch input structure with the value !. This is the reset indicator, and means that a field is to be reset to its initial value.
    Try setting IBIPTLST-PLNNR to !
    -Paul

  • Doubt in creation of LSMW

    Hi experts,
    We have a requirements where the LSMW for infotype 22 should be run for a PERNR only if IT-0001 and IT-0002 are maintained. How to do this?
    Remember the requirement is only for LSMW and not a BDC.

    Hi,
    You can put your ABAP code to validate at different levels such as:
    __BEGIN_OF_PROCESSING__
    __BEGIN_OF_TRANSACTION__
    __END_OF_TRANSACTION__
    __END_OF_PROCESSING__
    To enable this, in the Field Mapping step of LSMW, choose "Extras" -> "Display Variant" & tick all the check boxes. After this step you see the above processing points. Double click on the Processing point to get the ABAP editor & put your validation as per reqmt.
    Hope this helps.
    Best Regards, Murugesh

  • Creation of lsmw for updation of position and pers area

    Hi friends,
    I am tried many time to update position and personnel area through lsmw for all employees ,at time of recording its coming.But once compltion of lsmw preparation i am uploaded my inputs through tabfile that time its updating only personnel number and infotype  and its asking the save the action screen (At the same time its showing one popup below screen like there is no recording for mp000000).Can you tell any one there whats the problem.At the same time is it possible to upload the position and personnel area through lsmw.
    Thanks,
    arjun.

    Hi Arjun
    Are you performing a hiring actions, if you are performing a hiring action, when you start with LSMW, the recording should be correct with hire date or start date, personnel number, reason for hire, position number, personal area, employee group and subgroup.
    The source field you specific should contain the required field name, type, length and field discription.  The field mapping should be done perfectly and assign the specified file in txt format and try to upload.
    If you are facing any problem, let me know.  I think I can help you
    Regards
    Santhosh.S

  • Sales Order Creation using LSMW-BAPI.

    Hai,
         While executing a 14th step in LSMW-BAPI,the IDOC is generated.While Testing the IDoc the values for the Header segment alone is displayed.The Segment sfor Item is not Displayed.Should there be any link between Header & the ITem.
    Regards,
    Padmam.

    Hi,
    Can u tell me the steps to create a sales order using idoc, i've created a bapi but thats a temprory use. I wanted to created a sales order automatically when a purchase order is saved.
    Please let me know if u can help me, i wanted to do it using idoc
    Regards
    Sanju

Maybe you are looking for

  • How can I restore an old background on a mac?

    Today I created a collage on CollageIt Pro and made it my backround. Then when i restarted my computer, it was gone! How can i restore, or find the wallpaper i had before? (i do have a time machine back up but i could not find the picture). And it se

  • Accounting document is not generated-VF02

    Dear expert, I am facing error while releasing the Billing document from VF02 message is "Tax code "OZ" does not appear in any G/L account item " message number FF753 the following config is maintain i) tax code is created at country level ii) tax re

  • Automatic creation of purchase orders at goods receipts

    Dear guru , I want to create purchase order when i execute GR Returns (mvt 161). Where I define the purchase order document type that I want to automatic create ? Thanks.

  • Can't open doc. files in pages

    Ever since I upgraded to Snow Leopard, Pages won't let me open doc files. Is there a way I can fix this? Also...I was just thinking about upgrading to the newer iLife09. Would that be a better thing to do running Snow Leopard and what not? And if I d

  • IPod iOS5 wont finish sync and more.

         I have been having trouble ever since I decided to update to iOS5. I have had many problems from not being able to get my music to not being able to get wifi sync working. I have currently got all of my problems working after 4 whole days but I