Skip to Content
avatar image
Former Member

LSMW for change bom issue

Dear Expert  :

when using direct input method for updating bom I have this issue:

the update I want to do is adding a material to some bom, when i create the lsmw , every thing is fine , when executing all existed items are deleted and the new item is created . o i dont know why the other items are deleted and who to prevent that ?

Appreciate ur help.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Oct 16, 2015 at 06:46 AM

    Hello Amal,

    The flat file created for the mass change contains only those components which are to be changed.  program RCSBI020 or RCSBI090

    The flat file must contain all the components of the BOM, even those that are not to be changed. Then when the components in the flat file for the changed BOM is compared with the existing BOM the difference between the two is used for the update with transaction CS02.

    Please refer,

    Best Regards,


    Add comment
    10|10000 characters needed characters exceeded

  • Oct 15, 2015 at 07:23 PM

    the first step in LSMW tells you which program is actually used, I guess it is RCSBI020

    You can go directly from there into the program, or you can use SE38 to get to this program.

    There display the documentation and read the notes carefully.

    for your convenience:

    The input data must contain all items that are to be in the target system on the key date.
    The report compares the items in the input file with the items in the taget system BOM on the key date, which you include in the BOM header of the input file. All items that are not included in the input file are deleted.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 16, 2015 at 07:48 AM

    As the input data to RCSBI020 is actually the data which is finally in the conv file of LSMW it is not necessarily needed to have all items of a BoM in the flat file. If you know a little ABAP then you can add a select statement in your LSMW field mapping to select all items from the existing BoM  table STPO  and move its values to the structure fields of BICSP during runtime of the conversion.

    Add comment
    10|10000 characters needed characters exceeded