Recording with LSMW

Hi,
I am trying to change the item data on BOM's using Tcode CS02.  I was thinking of using LSMW.  Has anyone ever used LSMW with multiple line selections, and if so, how did you perform this process, i.e. did you use recording or some other method with LSMW.
Thank you,
Vicki Smith

HI Viccki,
You can do the LSMW recording for BOM.
Only you need to take care while preparing a file.Just now i have done recording for Material BOM with two components.Following are the fields which you need to capture in your file.
MATNR     Material Number
WERKS     Plant
STLAN     BOM Usage
DATUV     Valid-From Date
BMENG     Base quantity
STLST     BOM status
EXSTL     BOM group
IDNRK_01     BOM component 1st
IDNRK_02     BOM component 2nd
MENGE_01     Component quantity 1st
MENGE_02     Component quantity 2nd
POSTP_01     Item Category (Bill of Material)
POSTP_02     Item Category (Bill of Material)
POSNR     BOM Item Number
IDNRK     BOM component
MENGE     Component quantity
MEINS     Component unit of measure
SANKA     Indicator for Relevancy to Costing
Regards,
Manish

Similar Messages

  • LSMW Recording with multiple lines

    I am creating a recording in LSMW for VA02 - Change Sales Order. My source file contains several lines from the same sales order, the sales order number is maintained in one of the columns. The order originates from an IDOC LSMW I will run ahead of the recording. When running batch input the recording only seem to apply to one line.
    Is there any way to make the recording take the rows and item number into consideration and give me input for all line items?
    /Erik

    A recording is static, if you record maintenance of 1 line, you get only one line per order.
    If you record 2 lines then you get only 2 lines, and in case you have only 1 line in the source you even get a problem in loading.
    For a flexible requirement you cannot use a static recording.
    Use the SAP given methods to be flexible.
    They provided a direct input, Object 0090 Method 0000 program RVINVB10
    and there is also a IDoc with message type SALESORDER_CREATEFROMDAT2
    and a BAPI BUS2032

  • 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

  • How to process records one by one(not in parallel) with LSMW(BAPI)

    We loaded a batch of records (around 800) in lsmw with biz object method(BAPI).
    The records were processed in parallel and this caused some locking issue.
    Is there any way to make sure the records in LSMW with biz object method(BAPI) are processed one by one to avoid this kind of locking issue.
    Any reply is appreciated.

    Hi,
    I think there must be something to increase the lead time so that locking doesn't happen and it should be either part of customizing or can be coded,not sure exactly what code as in SAP GUI Scripting also there is a way to increase the lead time to avoid the locking issues.
    Regards,
    Rahul

  • Problems after transfering Cost centers with LSMW

    Hi,
    I have a problem after transfering Cost Centers with LSMW.
    The first Batch input run created all cost centers in one CC Group erroneously - cause they should be placed in different CC groups.
    I changed LSMW settings and made another batch input run - now the Cost centers were created in proper groups. I think that I deleted all CC's created in previous batch input run, but now I am not too sure, because there is a problem...
    Cost centers exist both in their proper groups and in the one group mentioned by me before. So there is such situation that Cost center appears in Standar hierarchy twice at the same time.
    When I delete cost centers - they are removed from their proper groups but the CC entry remains in that one group - all CC are there inactive.
    How can I get rid of them. I tried deleting them - but it's impossible - the system doesn't see them.
    When I run the batch input again - the same cost centers appear in proper groups and at the same time they become active in the one group. The standard hierarchy group is not UNIQE.
    Please advice me how to delete these entries from standard hierachy.
    Best wishes,
    Karol

    Hi,
    Always recommended before loading into live system: upload in test system and check. check again just to make sure all is correct before real load.
    In your case you probably would have been best to do a group change after incorrect upload.
    Do Ambiguity check in stadnard hierarchy to explore all incorrect entries. Depending on your version yo ucan change in that function (ECC6) ore need to run a report. Before running the report check that CC master records have correct entry. The report is RKCORRH1
    Again, try in QA first and run in Test Run
    Good luck
    Hein

  • Problem with LSMW - G/L Account Centrally for 2 or more Company Codes.

    Hi,
    I have a problem with an LSMW  G/L Account Centrally Master Data.
    I used the Object: 0010   GL A/C Master Record, and the Method: 0001   Hier. structure.
    I can create massives Accounts but I can't create Same Accounts with differents Company Codes.
    Please, somebody can explain me, how create Same Accounts with differents Company Code in masive form with LSMW?
    Thanks and Regards!

    Try this report RFBISA10:  "Copy General Ledger Account Master Data: Send"
    or RFBISA20: "Copy G/L Account Master Data in Target Company Code: Receive"
    Bye.

  • Need help with LSMW for ME23N

    Hey Guys,
    I have this problem where i need to do a recording for LSMW for ME23N. This are the steps i took:
    1. Enter ME23N
    2. Click on the Change Button (i can't enter me22n directly to edit when its running a batch)
    3. Click on the Drop down List
    4. Key in a different Item number
    5. Press enter
    6. Select the delivery TAB
    7. Check the Delivery completed button
    8. Save.
    When i run the batch, the problem comes at step 4. I have a batch file with the following format:
    05 4500120382
    The list box, cannot read the number 05. Is there anyway to go around this?
    Thank you

    hi,
    Check it, may be usefull for you:
    Here is the link explaining step by step LSMW
    /people/hema.rao/blog/2006/09/14/lsmw--step-by-step
    http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
    Regards
    Priyanka.P

  • 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

  • Customer master (XD02) with LSMW

    Hi All,
    I am trying to update customer master (XD02) with LSMW. But i the First step i.e. Maintain Object Atrributes... when I clic batch input recording & try to give a recording name in th second line... it throws an error saying "Enter a vali Value"... It does not accept a recording name & does not allo me to click Recording : Overview button .
    Has this error to do anything with the settings??... The sandbo in which I am working has the component version "SAP R/ Enterprise"(found out by System --> Status) ... Please Help

    hI,
    You will have to create recording first & then select from drop down box of "Batch Input".
    To create recording pls follow this:
    Go TO T code : LSMW
    Create Project, Subproject & objects.
    In Maintain Attributes - press F8
    In menu bar
    Goto---> recording overview
    Now you can create your recorindg which wil be avaliable for selection.
    rgds,

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

  • Program to update info record with material master data

    I am trying to determine if there is a standard SAP program that can be run as a batch file  to update the fields in the info record with the same fields that are in the material master?  ie:  Planned delivery time, Tolerance, purchasing group etc.

    Hi,
    There is no standard report or transaction that can do this.
    The data from these fields in the material master is brought in as a default to the info record when it is created. beyond this point the Info record is treated as being the correct data regardless of what happens to the material master data and so no updates occur in the standard system.
    It would not be difficult to build an LSMW job to copy the data from the material master to the info records and this would be the recommendation if you want to do this.
    Steve B

  • How to handle the table control While working with LSMW?

    How to handle the table control While working with LSMW?

    its possible in lsmw,
    Hi,
    LSMW will have a Indicator for headr and itam, i do not remember the correct field, but it will have an indicator, check the fields, there will be a single charecter lenght field, that should be the indicator, and using that we can write the logic.
    check that single charecter field, it that is X that means the header record is processed, and do the items.
    and, this is another way, try this out also
    YOu can do this in "Define Source Structures" step,
    the HEADER is defined first,
    then the DETAIL below the HEADER.
    add the fields to the structures.
    Both should have some common key field
    Please take care that the name of the common field is the same.
    Once you do this it is linked. The you have a header and item corresponding to that header. then run the LSMW as you would.
    Thanks

  • Steps to work with LSMW

    Hi all,
    Please guid me how to work on LSMW using BAPIs.If any of u have an example please explain me step by step process and also where we can do the validation part.If any of you have any material forward to my mail .
    [email protected]
    Regards
    Pavan

    Hi,
      is step by step process .
    Step-by-Step Guide for using BAPI in LSMW
    Note! The screen prints in this article are from ECC 5.0. They may differ slightly in other versions.
    Introduction:
    This document details the usage of BAPI in LSMW. We have used the example of migration of the purchase order data into SAP.
    Pre-requisites:
    It is assumed that the reader of this article has the minimum knowledge required on the Business Object, BAPI, Message Types and IDoc Types.
    Step-by-Step Procedure:
    Details of the BAPI used in this scenario:
    Business Object: BUS2012
    Method: CreateFromData
    Details of Message Type and Basic IDoc Type:
    Message Type: PORDCR
    Basic IDoc Type: PORDCR02
    Let’s have a look at the BAPI first, before proceeding to the LSMW:
    1. Go to Transaction BAPI
    2. Click on Search Button
    3. Enter the value “BUS2012” and select “Obj.type(Technical Object Name”
    4. Press ENTER
    5. Following screen appears:
    6. On the left side of the screen, Expand the “PurchaseOrder”.
    7. Select “PurchaseOrder” and double-click on the same for details.
    Building LSMW using BAPI:
    1. Go to Transaction LSMW.
    2. Enter the Project, Subproject and Object information and click on CREATE.
    3. Enter the descriptions for Project, Subproject and Object as prompted.
    4. Now select Settings à IDoc Inbound Processing
    5. “IDoc Inbound Processing” screen appears. Enter the required details as shown below:
    6. Click on “Activate IDoc Inbound Processing”.
    7. Click on “Yes” when prompted for “Activate IDoc Inbound?”
    8. Hit on “Back” to return to the main screen.
    9. Click on Continue (F8). Following Screen appears:
    10. Select the Step 1 “Maintain Object Attributes” and select “Execute”.
    11. Select the radio button “Business Object Method” and enter the following details:
    Business Object: BUS2012
    Method: CreateFromData
    Hit ENTER
    12. Save and click on BACK button. Following information message is displayed.
    13. Now select step 2 “Maintain Source Structures” and click “Execute”.
    14. In this step, we need to maintain the source structure. In our example, lets consider the example of a file with 2 structures Head and Item data as shown below:
    Click on Create and name the source structure as HEADERDATA. Now select HEADERDATA and click on “Create” again to create the child structure. Following popup appears:
    Select “Lower Level” and click on Continue. Enter the Item data structure name.
    Click Save and hit BACK button to go to the main screen.
    15. Select step 3 “Maintain Source Fields” and hit execute.
    16. Enter the fields as shown below:
    17. Click SAVE and return to main screen.
    18. Select step 4 “Maintain Structure Relations” and click Execute.
    Select E1PORDCR and click on CREATE RelationShip. Following screen appears:
    Select HEADERDATA and hit ENTER
    Similarly do the same for the structure E1BPEKKOA, E1BPEKPOC and E1BPPEKET.
    Click Save and return to main screen.
    19. Select the step “Maintain Field Mapping and Conversion Rules” and click on execute. Maintain the Field Mapping as seen below:
    20. Select step 7 “Maintain Source Files” and provide the link for the test file created. (Create a test file with the same structure as defined earlier).
    Save and return to main screen.
    21. Select the step “Assign Files” and click on Execute.
    Assign the file provided to the source structure. Here the same file is provided for both the structures.
    Save and return to the main screen.
    22. Select the step “Read Data” and click on Execute.
    Click on Execute.
    Return to the main screen.
    23. Select the step “Display read data” and click on execute.
    Click on the structure name to get the field level values.
    24. Return to main screen and now select “Convert Data”.
    25. Return to the main screen and select “Display Converted data”.
    26. Return to main screen and select “Start IDoc generation”.
    27. Now select the step “Start IDoc Processing” on the main screen.
    28. Return to main screen and click on “Create IDoc overview”. Here the data record and status records of the IDoc could be viewed:
    Please Go through these Links ,
    BAPI with LSMW
    http://esnips.com/doc/ef04c89f-f3a2-473c-beee-6db5bb3dbb0e/LSMW-with-BAPI
    For document on using BAPI with LSMW, I suggest you to visit:
    http://www.****************/Tutorials/LSMW/BAPIinLSMW/BL1.htm
    http://myweb.dal.ca/hchinni/sap/lsmw_home.htm
    http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
    Regards

  • One step is not recorded during LSMW

    Dears,
    Please kindly help:
    i make a recording in LSMW for VT03N tcode. My steps are:
    VT03n
    F7 (Shipments and deliveries)
    Print preview of view (*)
    Save to local file.
    The problem i face is that Print Preview of view step (*) is not recorded in LSMW and i need to do this step manually.
    Could you pls advise how to resolve this problem, if any possiblity exists.
    Thanks in advance
    Regards, Andrey

    I was just trying to do this very thing with the same HV20 camera.
    Just figured it out.
    Refer to page 42 of the HV20 instruction manual.
    While the firewire cable is NOT connected to the camera follow the instructions to set the PLAYBACK STD to Auto or HDV. Then set the DV OUTPUT setting to DV LOCKED. The camera will do the down conversion and it will appear to the iDVD as a DV cam.
    iDVD one step will then recognize the camera and begin the capture process. I have just kicked off the process so I can't verify that the end state will be a great DVD copy, but at least I can get you started. Hope it helped.
    Matt

Maybe you are looking for