LSMW creation for BOM

Hi Abapers,
     I have got an assignment to create a LSMW to accomplish the loading of Bill of material but I have never done LSMW
before. So Can anybody please tell me that out of four processes in LSMW which one I should use and the flow of that.
Thanks in Advance
Deepa

Hi Deepa,
I have used bdc for bom creation as I got stuck while using lsmw. I am attaching code snippet for your reference.
Hope this helps
loop at itab1.
      move itab1 to wa_itab1.
      perform map_rec.
      call transaction 'CS01' using t_bdcdata mode p_mode update 'A'
      messages into messtab .
*    clear: wa_itab1,wa_itab2, t_bdcdata.
*    refresh t_bdcdata.
      loop at messtab where msgtyp = 'E' or msgtyp = 'S' .
        select single * from t100 where sprsl = messtab-msgspra
                                  and   arbgb = messtab-msgid
                                  and   msgnr = messtab-msgnr.
        if sy-subrc = 0.
          mstring = t100-text.
          if mstring cs '&1'.
            replace '&1' with messtab-msgv1 into mstring.
            replace '&2' with messtab-msgv2 into mstring.
            replace '&3' with messtab-msgv3 into mstring.
            replace '&4' with messtab-msgv4 into mstring.
          else.
            replace '&' with messtab-msgv1 into mstring.
            replace '&' with messtab-msgv2 into mstring.
            replace '&' with messtab-msgv3 into mstring.
            replace '&' with messtab-msgv4 into mstring.
          endif.
          condense mstring.
          it_messtab-message = mstring(300).
          it_messtab-plant = itab1-matnr.
          if messtab-msgtyp = 'E'.
            it_messtab-status = 'Error'.
          else.
            it_messtab-status = 'Success'.
          endif.
          append it_messtab.
          clear it_messtab.
        endif.
      endloop. "messtab
      clear: wa_itab1,wa_itab2, t_bdcdata.
      refresh t_bdcdata.
    endloop.
    if not it_messtab[] is initial.
      perform buildcatalog.
      perform display.
    endif.
  endif.
*&      Form  Map_Rec
*       text
form  map_rec.
  perform bdc_dynpro      using 'SAPLCSDI' '0100'.
  perform bdc_field       using 'BDC_CURSOR'   'RC29N-STLAN'.
  perform bdc_field       using 'BDC_OKCODE'   '/00'.
  perform bdc_field       using 'RC29N-MATNR'   wa_itab1-matnr."'505111'.
  perform bdc_field       using 'RC29N-WERKS'   wa_itab1-werks."'2245'.
  perform bdc_field       using 'RC29N-STLAN'   wa_itab1-stlan."'1'.
  perform bdc_field       using 'RC29N-STLAL'   wa_itab1-stlal."'01'.
  perform bdc_dynpro      using 'SAPLCSDI'     '0110'.
  perform bdc_field       using 'BDC_CURSOR'   'RC29K-BMENG'.
  perform bdc_field       using 'BDC_OKCODE'    '/00'.
  perform bdc_field       using 'RC29K-BMENG'   wa_itab1-bmeng."'1000'.
  perform bdc_field       using 'RC29K-STLST'   '1'.
  perform bdc_dynpro      using 'SAPLCSDI'      '0111'.
  perform bdc_field       using 'BDC_CURSOR'    'RC29K-LABOR'.
  perform bdc_field       using 'BDC_OKCODE'    '/00'.
  loop at itab2 where matnr = wa_itab1-matnr
                and werks = wa_itab1-werks.
    append itab2 to itab3.
    clear : itab2, itab3.
  endloop.
  count = '1'.   "Used as a flag
  clear no_lines.
  describe table itab3 lines no_lines.
  loop at itab3.
    perform bdc_dynpro      using 'SAPLCSDI'         '0140'.
    perform bdc_field       using 'BDC_CURSOR'        'RC29P-POSTP(01)'.
    if itab3-posnr = '01'.
      perform bdc_dynpro      using 'SAPLCSDI' '0140'.
      perform bdc_field       using 'BDC_CURSOR'      'RC29P-POSTP(01)'.
      perform bdc_field       using 'BDC_OKCODE'     '/00'.
      perform bdc_field       using 'RC29P-IDNRK(01)'   itab3-idnrk." '49500'.
      perform bdc_field       using 'RC29P-MENGE(01)'    itab3-menge."'20'.
      perform bdc_field       using 'RC29P-MEINS(01)'    itab3-meins. "'kg'.
      perform bdc_field       using 'RC29P-POSTP(01)'    itab3-postp.      "'l'.
      perform bdc_dynpro      using 'SAPLCSDI' '0130'.
      perform bdc_field       using 'BDC_OKCODE'         '/00'.
      perform bdc_field       using 'BDC_CURSOR'          'RC29P-POSNR'.
      perform bdc_field       using 'RC29P-POSNR'         '0010'.
      perform bdc_field       using 'RC29P-IDNRK'        itab3-idnrk." '49500'.
      perform bdc_field       using 'RC29P-MENGE'       itab3-menge."'20'.
      perform bdc_field       using 'RC29P-MEINS'       itab3-meins. "'KG'.
      perform bdc_dynpro      using 'SAPLCSDI'           '0131'.
      perform bdc_field       using 'BDC_OKCODE'        '/00'.
      perform bdc_field       using 'BDC_CURSOR'        'RC29P-POTX1'.
      perform bdc_field       using 'RC29P-SANKA'      'X'.
    else.
***" Ok Code for saving, Corr. to Last line
      if count = no_lines.
        perform bdc_dynpro      using 'SAPLCSDI' '0140'.
        perform bdc_field       using 'BDC_CURSOR'
                                      'RC29P-POSNR(02)'.
        perform bdc_field       using 'BDC_OKCODE'
                                      '=FCBU'.
      else.     "Ok Code for new line entry
              perform bdc_dynpro      using 'SAPLCSDI' '0140'.
        perform bdc_field       using 'BDC_CURSOR'
                                      'RC29P-POSNR(02)'.
        perform bdc_field       using 'BDC_OKCODE'
                                      '=FCNP'.
      endif.
      perform bdc_dynpro      using 'SAPLCSDI' '0140'.
      perform bdc_field       using 'BDC_CURSOR'
                                    'RC29P-POSNR(02)'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '/00'.
      perform bdc_field       using 'RC29P-IDNRK(02)'
                                    itab3-idnrk.            "'49502'.
      perform bdc_field       using 'RC29P-MENGE(02)'
                                    itab3-menge.            "'10'.
      perform bdc_field       using 'RC29P-MEINS(02)'
                                    itab3-meins.    "'kg'.
      perform bdc_field       using 'RC29P-POSTP(02)'
                                    itab3-postp.    "'L'.
      perform bdc_dynpro      using 'SAPLCSDI' '0130'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '/00'.
      perform bdc_field       using 'BDC_CURSOR'
                                    'RC29P-POSNR'.
      w_posnr = itab3-posnr * 10.
      condense w_posnr no-gaps.
      if w_posnr <= '90'.
        concatenate '00' w_posnr into w_posnr.
      else.
        concatenate '0' w_posnr into w_posnr.
      endif.
      perform bdc_field       using 'RC29P-POSNR'
                                    w_posnr.                "'0020'.
      perform bdc_field       using 'RC29P-IDNRK'
                                    itab3-idnrk.            "'49502'.
      perform bdc_field       using 'RC29P-MENGE'
                                    itab3-menge.            "'10'.
      perform bdc_field       using 'RC29P-MEINS'
                                    itab3-meins.    "'KG'.
      perform bdc_dynpro      using 'SAPLCSDI' '0131'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '/00'.
      perform bdc_field       using 'BDC_CURSOR'
                                    'RC29P-POTX1'.
      perform bdc_field       using 'RC29P-SANKA'
                                    'X'.
      count = count + 1.  "Increment count for every line item
    endif.
  at end of matnr.
  perform bdc_dynpro      using 'SAPLCSDI' '0140'.
  perform bdc_field       using 'BDC_CURSOR'
                                'RC29P-POSNR(01)'.
  perform bdc_field       using 'BDC_OKCODE'
                                '=FCBU'.
endat.
  endloop.
clear itab3[].
endform. "Map_Rec
**      Form  BDC_DYNPRO
form bdc_dynpro using program dynpro.
  clear w_bdcdata.
  w_bdcdata-program  = program.
  w_bdcdata-dynpro   = dynpro.
  w_bdcdata-dynbegin = 'X'.
  append w_bdcdata to t_bdcdata.
endform.                    "bdc_dynpro
**      Form  BDC_FIELD
form bdc_field using fnam fval.
  if fval <> space.
    clear w_bdcdata.
    w_bdcdata-fnam = fnam.
    w_bdcdata-fval = fval.
    append w_bdcdata to t_bdcdata.
  else.
    clear w_bdcdata.
    w_bdcdata-fnam = fnam.
    w_bdcdata-fval = fval.
    append w_bdcdata to t_bdcdata.
  endif.
endform.                    "bdc_field

Similar Messages

  • LSMW FOR BOM CREATING.

    Hi Guys,
    I have a requirement where i create lsmw for bom upload using batch input. I m trying to create only one source structure and source fields assigned to this source structure but when finally im executing it its creating the first line item correctly but for all the second line items onwards its saying that Alternative already exists... My functional guy says that its creating just the first component in the bom and for the second component its trying to create another bom...and while its checking for the header which is already created its giving us error..
    I dont know how to handle this.....guys its a little urgent....plz help me out.
    here is a snap shot of the errors..
    10:25:44     Session BOM-CREATE is being processed by user KALVALV in mode N on server psdux07                              0                                                           0     S     00     300
    10:25:44     Creating BOM for material 10000240     CS01     1     SAPLCSDI     0140     7     S     29     030
    10:25:45     Transaction was processed successfully     CS01     1                                                           0     S     00     355
    10:25:45     Alternative 1 already exists     CS01     2     SAPLCSDI     0100     1     E     29     003
    10:25:45     Transaction error     CS01     2                                                           0     S     00     357
    10:25:45     Creating BOM for material 10000346     CS01     3     SAPLCSDI     0140     7     S     29     030
    10:25:45     Transaction was processed successfully     CS01     3                                                           0     S     00     355
    10:25:45     Alternative 1 already exists     CS01     4     SAPLCSDI     0100     1     E     29     003
    10:25:45     Transaction error     CS01     4                                                           0     S     00     357
    10:25:45     Creating BOM for material 10000347     CS01     5     SAPLCSDI     0140     7     S     29     030
    10:25:46     Transaction was processed successfully     CS01     5                                                           0     S     00     355
    10:25:46     Alternative 1 already exists     CS01     6     SAPLCSDI     0100     1     E     29     003
    10:25:46     Transaction error     CS01     6                                                           0     S     00     357
    10:25:46     Creating BOM for material 10000785     CS01     7     SAPLCSDI     0140     7     S     29     030
    10:25:46     Transaction was processed successfully     CS01     7                                                           0     S     00     355
    10:25:46     Alternative 1 already exists     CS01     8     SAPLCSDI     0100     1     E     29     003
    10:25:46     Transaction error     CS01     8                                                           0     S     00     357
    10:25:46     Creating BOM for material 10001252     CS01     9     SAPLCSDI     0140     7     S     29     030
    10:25:46     Transaction was processed successfully     CS01     9                                                           0     S     00     355

    Hi,
    You need to define the two structure header and detail. Both files should have the key fields:
    For example: Both file have Plant, Material Number, BOM Usage & Valid From.
    Then BGR00 and BICSK should be mapped to BOM_HEADER and BICSP to BOM_DETAIL structure.
    Then just do the mapping and should work.
    Hope this helps.
    Regards,
    Bharati Singh

  • [Help ] - LSMW for BOM

    Hello all,
    I am trying to create a LSMW to migrate BOMs.
    I am using object 0030 and method 0001.
    http://picasaweb.google.pt/adelmosilva/SAPScreenShots/photo#5225399426725436898
    Then, I have created 2 structures, one for the BOM header and one for the Item.
    Do I have to create 4 structures, one for each table?
    My text file has the following data:
    http://picasaweb.google.pt/adelmosilva/SAPScreenShots/photo#5225400798442244802
    Is this correct?
    Thanks in advance,
    Adelmo Silva

    Hello Silva,
    It depends on what fields you want to update in BOM. for my LSMW I do not use Object, methods. I just record whatever fields I need to populate.
    You can also choose to just record the fields that you need to populate under Batch input recording option.
    Yes, some times it takes more than 2 structures to load all the fields I need.
    Hope this helps.
    Thanks,
    Ram

  • Is there any BAPI for BOM creation? which does by RCSBI010 / Batch Input.

    Hi Experts,
    I need to Upload the extracted Excel-file(.txt) for BOM creation, so, pls, let me know that, Is there any BAPI for this purpose. In detail the requirement is that,
    The suggested idea shuld work as like as pgm. RCSBI010
    thanq
    Edited by: Srinivas on Feb 14, 2008 6:18 PM

    Hi Srinivas,
    Try these Function Modules
    CS_BI_BOM_CREATE_BATCH_INPUT   - Create BOM Via Batch Input
    CS_BI_BOM_CREATE_BATCH_INPUT1  - Create BOM Via Batch Input (Corrected Session Handling)
    There are two BAPI's too, which can be used
    ALE_MATERIAL_BOM_GROUP_CREATE
    BAPI_MATERIAL_BOM_GROUP_CREATE - Creation of a material BOM group
    Hoe this helps.
    Edited by: Priyabrata Samanta on Feb 15, 2008 3:56 AM

  • Lsmw for BOM and Routig

    Hi. I am new to this lsmw stuff. i have to  upload my boms and routings.i am thinking of doing lsmw for that.can u please guide me . how to do that, which is the best way to do that. can i use recording for uploading  the bill of materials and routing.
    can some one send me a template for uploading boms and routings.

    Dear,
    Please refer this link,
    [LSMW|lsmw for bom component]
    Regards,
    R.Brahmankar

  • LSMW for BOM Object Dependencies

    Dear Sir,
    I can use LSMW to upload BOM component without object dependencies.
    If the BOM component have object dependencies, how to upload OD using LSMW.
    Who can help me !

    Hi all
    I have so much OD to be upload, how can I do that through LSMW ?
    No expert can help me ?
    Regards,

  • Dump during sales order creation for a config material (uding order BOM)

    Dear all,
    I am getting the following error during sales order creation for a configurable material
    When I click on 'Engineering' tab in the characteristics value assignment for the parent material i.e. sales order material I get dump with following message,
                                   'Field symbol has not yet been assigned'
    Thanks,
    Yogesh

    Yogesh,
    what was the problem ?
    Thanks,
    Pavan Verma
    Edited by: Pavan Verma on May 11, 2010 9:31 AM

  • Could any body explain the step by step procedure of creation of BOM in DP?

    Hi,
    Could any body explain the step by step procedure of creation of BOM in DP?
    Is there any document available to create the step by step procedure?
    Please mail to this Id:[email protected]
    Regards,
    Chow.

    Look at this source
    http://help.sap.com/saphelp_scm41/helpdata/en/62/944d40cef71059e10000000a155106/frameset.htm
    The steps are very simple
    (1) PreRequisite: There should be a SNP/PPDS PDS  generated either from R3 BOM/Routing or APO IPPE object
    (2) Use the transaction mentioned earlier- /SAPAPO/CURTO_GEN_DP - Generate DP Production Data Structure
    Let us know If you are looking for the settings which are to be used in the transaction mentioned above
    or
    You need to know how to create the SNP/PPDS PDS or IPPE object
    Regards
    Kumar

  • LSMW procedure for PP master data

    Hi
    i have some doubts regarding LSMW .... can we upload  PP master data BOM,Resource,MasterRecipe and Production versios through LSMW. could u pls guide me in this issue.
    Regards
    hgvd

    Hgvd,
    You will create the procedures.  I have never seen detailed procedures published for all possible LSMW scenarios, probably because, they are always different for each project..  
    Every Data requirement is different, based upon the business requirements.  The LSMW project concept is pretty intuitive, so even without much training, a novice can create data upload functionality.  Read the docs previously quoted in this thread, and if you want more detail, try the old online word doc at
    http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000455036&_SCENARIO=01100035870000000112&_OBJECT=011000358700000728862003E
    Although this doc is for an old version of LSMW, it is particularly useful for a novice, since it contains so much detail.  There is some added functionality is later versions of LSMW, but for the objects you have mentioned, this doc should suffice.
    Best Regards,
    DB49

  • System messages for BOM

    where can i find the system messages for BOM creation/changing (CS01/2)?

    Hi raf,
    SPRO ( Production > Basic Data> BOM > General Data > Change Message Type .
    Or
    Goto SE91; press F4; select SAP Applications as PP and find all messages under it
    And
    Please cherck with OPJB.
    SPRO-> Shop floor control->Sytem modfications-> Define sytem message attributes.
    Regards,
    R.Brahmankar

  • Give Me Simple Step by Step for BOM

    Dear "Gurus"
    Past few days iam trying BOM,  i dont know the step could you explain step by step for BOM, it will helpful for me.
    regards
    Mohammed Renu.I
    [email protected]

    Hi Mohammed,
    In Addition to above please find some important notes on BOM:
    Type of BOM:
    BOM is of 2 types - Pricing at header level and pricing at sub item level..
    For pricing at header level go to MM01 to create material master for header material. In basic data1 select item category group as ERLA. also in Sales:sales org 2 there also maintain ERLA in both fields of item category group. Complete the master and save it.
    DELIVERY GROUP:
    Delivery group is basically used whenever there is a group of material i.e., like in BOM if at all you do no have stock of the sub item and you have stock of main item, system will respond and create the deliver for every item in the records of sales order, dly and billing.
    Later on when the stock arrives then we can send the stock to the customer
    configuration, you need to activate this in the condition type, also can do it in the item level in the sales order.
    If you want to combine a number of items in a sales document so that they are delivered together, you can create a delivery group.
    If an item has more than one schedule line with confirmed quantities (for example, after an availability check) the system copies the date of the latest schedule line for this item and displays it on the delivery group overview screen.
    When forming delivery groups, the system deletes the earlier schedule lines and copies their confirmed quantities into the latest schedule line.
    If a complete delivery has not been requested, as soon as all the items for the bill of material are available, the system generates a correlated schedule line. This allows you to make a partial delivery on the first date on which all the items in the bill of material become available.
    In other words, the first day on which all items in the bill of material are available, the system issues a confirmed quantity.
    Prerequisites
    For correlated schedule lines in bills of material (BOMs) in delivery groups, there are certain prerequisites for the delivery group.
    These are as follows:
    The delivery group may only contain one bill of material
    It cannot contain any fixed quantities
    It cannot contain any items that have partial delivery indicator C (one-time delivery)
    It cannot contain any partially-delivered items
    It can only contain items that can be at least partially delivered
    It can only contain items that have a maximum of one requested schedule line
    In Customizing for item categories, you can control that the system should generate correlated schedule lines for the delivery group. You can do this by selecting A in the Generate delivery group field for the item category in the bill of material main item.
    Please check below Link:
    hi
    http://help.sap.com/erp2005_ehp_02/helpdata/en/04/99590a141511d3b481006094b9b9dd/frameset.htm
    Delivery Processing : http://help.sap.com/erp2005_ehp_02/helpdata/en/dd/56078c545a11d1a7020000e829fd11/frameset.htm
    Shipping in Delivery : http://help.sap.com/erp2005_ehp_02/helpdata/en/ac/8bc43ace7a3b46e10000000a114084/frameset.htm
    Please Do Reward If Really Helpful,
    Thanks and Regards,
    Sateesh.Kandula
    Now create the material master records for sub items also and in this case the item caegory group will be NORM as usual. save the records.
    Now go to CS01 - cretae BOM.
    here in the material field enter the name of the header material, enter the plant name in the plant field and in the BOM USAGE select 5 (sales & distribution). Leave the Alternative BOM field as blank. Now press enter.
    In the Component field enter the material codes for the sub items and in the ICt column select 'L' - stock item. enter the respective quantities and save the BOM.
    Maintain the pricing for the header material in VK11. Since the sub items can also be sold as individual items maintain pricing for them also.
    Also check the item category assignment in VOV4. The item category for header item is TAQ and for sub items is TAE.
    Go to VA01 - create sales order. Enter the material and the BOM will explode.
    This completes your BOM with pricing at header material.
    For pricing at sub item level:
    For pricing at header level go to MM01 to create material master for header material. In basic data1 select item category group as LUMF. also in Sales:sales org 2 there also maintain LUMF in both fields of item category group. Complete the master and save it.
    Now create the material master records for sub items also and in this case the item caegory group will be NORM as usual. save the records.
    create the BOM as mentioned above. Maintain pricing for sub items In VK11. The header item pricing is not relevant in this case.
    Maintain item category determination in VOV4. Item category for header item is TAP and sub items is TAN.
    Go to VA01 - create sales order. Enter the material and the BOM will explode.
    This completes your BOM with pricing at header material.
    BOM is of 2 types - Pricing at header level and pricing at sub item level..
    For pricing at header level go to MM01 to create material master for header material. In basic data1 select item category group as ERLA. also in Sales: sales org 2 there also maintain ERLA in both fields of item category group. Complete the master and save it.
    Now create the material master records for sub items also and in this case the item category group will be NORM as usual. Save the records.
    Now go to CS01 - create BOM.
    Here in the material field enter the name of the header material, enter the plant name in the plant field and in the BOM USAGE select 5 (sales & distribution). Leave the Alternative BOM field as blank. Now press enter.
    In the Component field enter the material codes for the sub items and in the ICt column select 'L' - stock item. Enter the respective quantities and save the BOM.
    Maintain the pricing for the header material in VK11. Since the sub items can also be sold as individual items maintain pricing for them also.
    Also check the item category assignment in VOV4. The item category for header item is TAQ and for sub items is TAE.
    Sal doc type ItC Gr Usg Hig Itc Cat Dflt C
    OR ERLA TAQ
    OR ERLA TAQ TAE
    Save the settings.
    Go to VA01 - create Sale Order. Enter the material and the BOM will explode.
    This completes your BOM with pricing at header material.
    For pricing at sub item level:
    For pricing at header level go to MM01 to create material master for header material. In basic data1 select item category group as LUMF. Also in Sales: sales org 2 there also maintain LUMF in both fields of item category group. Complete the master and save it.
    Now create the material master records for sub items also and in this case the item category group will be NORM as usual. Save the records.
    Create the BOM as mentioned above. Maintain pricing for sub items In VK11. The header item pricing is not relevant in this case.
    Maintain item category determination in VOV4. Item category for header item is TAP and sub items is TAN.
    Sal doc type ItC Gr Usg Hig Itc Cat Dflt C
    OR LUMF TAP
    OR LUMF TAP TAE
    OR NORM TAP TAN
    Save the settings.
    Go to VA01 - create Sales Order. Enter the material and the BOM will explode.
    This completes your BOM with pricing at header material.
    Sales BOM Implementation:
    A bill of material (BOM) describes the different components that together create a product. A BOM for a bicycle, for example, consists of all the parts that make up the bicycle: the frame, the saddle, wheels, and so on.
    Process Flow
    When you enter the material number of a bill of materials that is relevant for sales order processing, the system displays the material that describes the whole bill of materials as a main item. The individual components are displayed as lower-level items.
    There are two ways to process a bill of materials in Sales. Once you have entered a bill of material in a sales order, the system runs pricing, inventory control, and delivery processing at:
    - Main item level if the material is assembled, or
    - Component level if the material is not assembled
    The type of processing used by the system is determined by the item category group that you enter in the material master record for relevant materials.
    Processing at Main Item Level
    If you want the system to carry out pricing, inventory control, and delivery processing at main item level, enter ERLA in the Item category group field of the Sales: sales org. 2 screen in the material master record of the finished product. This means that the components only function as text items and are not relevant for delivery. The following graphic shows how a bill of material is processed at main item level.
    Processing at Component Level
    If you want the system to carry out pricing, inventory control, and delivery processing at the component level, enter LUMF in the Item category group field of the Sales: sales org. 2 screen in the material master record of the finished product. In this case, only the components are relevant for delivery. During processing the system automatically creates a delivery group. The latest delivery date among all the components becomes the delivery date for the entire delivery group.
    Computer is the combination of " Monitor,CPU,keyboard,Mouse"
    Here CPU consists, Harddisk,MotherBoard,Processor,Ram etc..,
    Computer is the Mainitem
    Monitor,CPU,keyboard,Mouse are all subitems for Mainitem.
    Subitem CPU again contains, Items.
    This kind of material is known as Multi BoM,
    Simply, BoM with in the BoM is Multi BoM.
    If you want config this into SAP,
    first u need create Computer as Main Item-(item car group- ERLA,if u want to give price on material Level).
    Create Monitor,CPU,keyboard,Mouse,Harddisk,MotherBoard,Processor,Ram
    as subitems( Item cat group- NORM, but for CPU Item cat group- ERLA)
    Now Create BoM, CS01- Computer Include Monitor,CPU,keyboard,Mouse as subitems,
    again create BoM,CS01- CPU include Mouse,Harddisk,MotherBoard,Processor,Ram as subitems for CPU mainitem.
    In Config: of Item Category VOV7 Change the Structure scope from "A - explode single level BoM" to "B - Explode Multi Level BoM" for Item Cat: TAQ & TAP.
    Create Sales order for Mainitem Computer:
    all the items will be displayed as subitems include Mouse,Harddisk,MotherBoard,Processor,Ram.
    http://help.sap.com/saphelp_erp2004/helpdata/en/00/d41705ff6611d19d2b0000e8323dfe/content.htm
    http://peoplesoft.ittoolbox.com/groups/technical-functional/jdedwards-l/f3002-multilevel-bom-creation-911984
    multiple BOM
    multi level BOM refers to exploding the BOM in a single order at different levels,
    for this the crux lies in the item category determination only.
    for single level BOM determination at the component level: ( item level)
    or lumf tap
    or lumf tap tan
    multi level bom:
    or lumf tap
    or lumf tap tan tap(manual item cat) or
    or lumf tap
    or lumf tap tap
    maintain BOM structure in CS01.
    ex: if in the case of item level
    main item X is entered then sub items 1,2,3 appears, then if u want to further
    explode sub item 2 to 5,6. (Maintain the structure also in CS01) then configure at the item category determination level as mentioned above
    Re: Hi, How to work with multilevel BOM in SD

  • Base qty UOM for BOMs

    Hi
    I am creating  a BOM for  material M1 with a component C1. For M1 I cannot change the base qty unit of measure. It defaults to the base unit of measure as defined in the Material Master of M1. Is there a way I can use a alternate UOM for M1 in the BOM?
    thanks a lot

    Dear Mr.John,
    <b>The Unit of measure given in material master will be taken while creation of BOM.</b>
    <u><b>Even if u have manitained some unit of Issue in the material master for the same material,this wont be considered by the system.</b></u>
    So if you want to change the unit of measure,it can be done only in material master.
    <b>But if there exists stock or some open order quntity u can't change the unit of measure and the system throws you an error message.</b>
    For Eg:
    The base unit of measure cannot be changed; choose "Display errors"
    Message no. M3189
    Diagnosis
    You wanted to change the base unit of measure. However, you can do so only under certain circumstances, including the following:
    •     If there are no stocks of the material in the current period and in the previous period
    If there are stocks in the previous period, you can clear them as follows:
    a) Post the stock in the previous period to the current period (for example, using movement type 561) so that the stock for the previous period is the same as the stock for the current period.
    b) Clear the stock with the posting date in the previous period (for example, using movement type 562).
    •     If no purchase requisitions, purchase orders, or scheduling agreements exist for the material
    Procedure
    Choose Display errors to see why you cannot change the base unit of measure for this material.
    The pushbutton Display errors appears only in dialog mode, not in data transfer or in mass maintenance. If this message appears in data transfer or in mass maintenance, and you want to know why the base unit of measure cannot be changed, access the material in dialog mode using the relevant transaction below, try to change the base unit of measure as required, and then choose Display errors:
    If I'm wrong please correct me Mr.Nandha.
    Reward points and close the thread.
    Regards
    Mangal
    Message was edited by:
            Mangal

  • Report  for bom wise target and actual cost as well as qty at line item

    Dear Experts,
    Is there any standard tcode for bom wise target and actual cost as well as qty at line item level for the month.
    there is one tcode s_alr_87013127 but user has to double click in order to get line item details.
    I want to see line item wise breakup/bom wise target and cost cost as well as qty.
    Thanks in advance.
    regards
    RK

    Dear experts,
    I am still looking for a revert.
    regards
    RK

  • Report for BOM materials

    Dear Experts,
    i have scenario which i need to capture but do not have any standard report and for that reason i am going in for Z development of the reports. please guide me so as to which field to be pulled to get the desired output.
    Scenario:
    We create Purchase order with a version control
    1. First version has the data which act as baseline and we want to compare rest of the  versions as variance
    2. If the line item in PO is a subcontracting material with L- then the subcomponents will be present as a BOM
    3. when i ammend the PO for the Qty the BOM items also get ammended but do not reflect in the version control - display changes
    4. I want to capture the PO with each line item against which there is qty change and also the material BOM change due to qty change.
    Is there any table from which i capture the data.
    Pl. help me out it would be of great help
    Thanks & Regards,
    Farhan

    Hi
    the following tables might be useful
    MAST
    STKO - Header Table of BOM
    STPO - Item Level for BOM
    MAKT
    regards
    maniraj

  • The standard report for BOMs of a material with a selected period?

    Hi Gurus
    Is there any  standard report for BOMs of a material with a selected period?

    Hi,
    You will have to develop a report for your requirement,
    The following tables will be used for the report
    MAST-WERKS
    STPO-MATNR
    MARA-MAKTX
    STPO-BMENG
    STPO-POSNR
    STPO-IDNRK
    STPO-MAKTX
    STPO-DATUV
    STPO-MENGE
    STKO-MEINS
    STPO-AVOAU
    Regards
    Merwyn

Maybe you are looking for