Displaying BOM With Sub Boms

I want to display the bill of material within its component's sub boms as well in one page as a view of hiearchy..How to do so?
Can anyone explain?

Hi,
Check whether T code CS11 helps you.
Nikhil

Similar Messages

  • Simple BOM with sub-items (very very urgent)--1 item & 2 subitem

    Hi all,
    i am creating a BOM with sub-items using  'BAPI_MATERIAL_BOM_GROUP_CREATE'. while  creating sub-item, it is taking only one subitem. but i am giving multiple sub-items per item.
    i am giving a program where i am assigning 2 subitems to one item.
    after tha bapi call, 1 subitem is creating.
    i have tried so many times by clearing the work area & calling the bapi for each sub-item.but it is creating only one sub-item only.
    i am giving an example of my report.plz correct it if i am wrong.it is veryt very urgent.
    any idea will be highly appreaciated.
    Regards
    pabitra
    REPORT ZTEST_CHIN message-id 01.
    This code will create a material BoM for the material
    MAINMATERIAL with the components COMPON1 and COMPON2.
    Data Declaration
    DATA:
        it_bomgroup LIKE bapi1080_bgr_c OCCURS 0 WITH HEADER LINE,
        it_variants LIKE bapi1080_bom_c OCCURS 0 WITH HEADER LINE,
        it_items LIKE bapi1080_itm_c OCCURS 0 WITH HEADER LINE,
        it_matrel LIKE bapi1080_mbm_c OCCURS 0 WITH HEADER LINE,
        it_itemas LIKE bapi1080_rel_itm_bom_c OCCURS 0 WITH HEADER LINE,
        it_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE,
        it_subitems LIKE bapi1080_sui_c OCCURS 0 WITH HEADER LINE,
        it_subitemas LIKE BAPI1080_REL_SUI_ITM_C OCCURS 0 WITH HEADER LINE.
    Fill the data
    Material BoM Group Header Data
    CLEAR it_bomgroup.
    it_bomgroup-bom_group_identification = 'BAPI_SMP_COL1'.
    it_bomgroup-object_type = 'BGR'.
    it_bomgroup-object_id = 'SIMPLE1'.
    it_bomgroup-bom_usage = '1'.  " YOU COULD CHANGE THE BOM USAGE TO YOUR
    it_bomgroup-ltxt_lang = sy-langu.
    it_bomgroup-technical_type = ' '.
    it_bomgroup-bom_text = 'Simple BoM - FM'.
    APPEND it_bomgroup.
    Header Details of the different variants
    CLEAR it_variants.
    it_variants-bom_group_identification = 'BAPI_SMP_COL1'.
    it_variants-object_type = 'BOM'.
    it_variants-object_id = 'SIMPLE1'.
    it_variants-alternative_bom = '01'.
    it_variants-bom_status = '01'.
    it_variants-base_qty = '1.000'.
    it_variants-valid_from_date = sy-datum.
    it_variants-function = 'NEW'.
    APPEND it_variants.
    Details of the materials of the different variants
    CLEAR it_matrel.
    it_matrel-bom_group_identification = 'BAPI_SMP_COL1'.
    it_matrel-material = 'BAPIBOMFG1'.
    it_matrel-bom_usage = '1'.
    it_matrel-alternative_bom = '01'.
    APPEND it_matrel.
    Linking subitems to the corresponding variants
    CLEAR it_subitemas.
    it_subitemas-bom_group_identification = 'BAPI_SMP_COL1'.
    it_subitemas-sub_object_type = 'SUI'.
    it_subitemas-sub_object_id = 'SIM1'.
    it_subitemas-super_object_type = 'ITM'.
    it_subitemas-super_object_id = 'SIMPLE1'.
    APPEND it_subitemas.
    Linking items to the corresponding variants
    CLEAR it_itemas.
    it_itemas-bom_group_identification = 'BAPI_SMP_COL1'.
    it_itemas-sub_object_type = 'ITM'.
    it_itemas-sub_object_id = 'SIMPLE1'.
    it_itemas-super_object_type = 'BOM'.
    it_itemas-super_object_id = 'SIMPLE1'.
    it_itemas-valid_from_date = sy-datum.
    it_itemas-function = 'NEW'.
    APPEND it_itemas.
    Details of the items of the variants
    CLEAR it_items.
    it_items-bom_group_identification = 'BAPI_SMP_COL1'.
    it_items-object_type = 'ITM'.
    it_items-object_id = 'SIMPLE1'.
    it_items-item_no = '0010'.
    it_items-item_cat = 'L'.
    it_items-component = 'BAPIBOMRW1'.
    it_items-comp_qty = '2'.
    it_items-valid_from_date = sy-datum.
    APPEND it_items.
    CLEAR it_subitems.
    it_subitems-bom_group_identification = 'BAPI_SMP_COL1'.
    it_subitems-object_type = 'SUI'.
    it_subitems-object_id = 'SIM1'.
    it_subitems-subitem_no = '0001'.
    it_subitems-INSTALLATION_POINT = 'ab1'.
    it_subitems-subitem_qty = '1'.
    APPEND it_subitems.
    CALL FUNCTION 'BAPI_MATERIAL_BOM_GROUP_CREATE'
      EXPORTING
        all_error         = 'X'
      TABLES
        bomgroup          = it_bomgroup
        variants          = it_variants
        items             = it_items
        materialrelations = it_matrel
        itemassignments   = it_itemas
        subitems          = it_subitems
        subitemassignments = it_subitemas
        return            = it_return.
    CLEAR it_subitems.
    it_subitems-bom_group_identification = 'BAPI_SMP_COL1'.
    it_subitems-object_type = 'SUI'.
    it_subitems-object_id = 'SIM1'.
    it_subitems-subitem_no = '0002'.
    it_subitems-INSTALLATION_POINT = 'ab2'.
    it_subitems-subitem_qty = '1'.
    APPEND it_subitems.
    CALL FUNCTION 'BAPI_MATERIAL_BOM_GROUP_CREATE'
      EXPORTING
        all_error         = 'X'
      TABLES
        bomgroup          = it_bomgroup
        variants          = it_variants
        items             = it_items
        materialrelations = it_matrel
        itemassignments   = it_itemas
        subitems          = it_subitems
        subitemassignments = it_subitemas
        return            = it_return.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    LOOP AT it_return.
      WRITE:/ it_return-type, it_return-id, it_return-number,
              it_return-message.
    ENDLOOP.

    Hi rich,
    Thanks. i will do the same.can u plz suggest me , where i am doing mistake in my coding to create sub-items in a BOM?
    Thanks & Regards
    pabi

  • Standard BOM with Alternative BOM

    Dear Experts,
    We are having a requirement of comparing Standard BOM with actual material consumption. We got Actual consumption. When we were trying to get the standard BOM component, standard Data source is not available. Then we searched in SDN and they are recommending to go with view option. We have created view with MAST,STKO and STPO tables. This view is not working when a plant is having alternative BOM. Further research on SDN reveals that we can use CSAP_MAT_BOM_READ functional module. When we executed this functional module, it is giving the standard BOM components and its Base Quantity. But we were not able to create Generic data source with this functional module.
    The requirement is urgent. Please help me with your experience.
    With Regards,
    Balachander.S

    when we were joining MAST, STKO and STPO, the alternative BOM was not taking care. Then we have linked STAS. It was sloved.
    With Regards,
    Balachander.S

  • Purchase Order With Sub Item Component List for BOM material..??

    Hi MM Experts,
    We want to create PO with a component list that should be appears under the main item.
    The component list is a mterial BOM.
    Ex:- bom MATERIAL - CATALOG1 (Non Stock Materials)
    COMPONENT 1 :-ABCD
    COMPONENT 2 :- XYZ.
    WHEN I ENTER THE BOM MATERIAL:- CATALOG1 IN /ME21N . Higher-Level Item-
    Automatically botom line should be appear component 1 , 2 as a Sub Item.
    how to configur this issue..?? Its a standard Ponot Subcontract
    Thanks,
    NAR.

    Hi!
    If you have correctly maintained the BOM in CS01, make sure that in ME21N you enter "L" as the item category, and then, in the field "material", enter the finished product (the header material in your BOM). Then, enter all other required fields.
    When all mandatory data has been completed in ME21N, go to the "Material Data" tab. Here you will see an icon named "Components". If you click this icon, the materials in your BOM will be listed here.
    So, please, do not expect the BOM to be displayed with mother and daugther segments in the item overview of ME21N. Instead, consider that you will only be able to see the components if you click the "Components" icon under the "Material Data" tab at item detail level.
    I hope this helps!
    Esther.

  • While trying to change a BOM with transaction CS02, a runtime error appears

    While trying to change a BOM with transaction CS02, a runtime error appears.
    In intial screen he entered material ,plant BOM usage and date valid from  after executed then id displayed item list in that he wantu2019s delete one item, he has been deleted selected item after that when he was saving he is getting runtime error
    Developer trace
    ABAP Program SAPLKED1_WRITE_CE4_BPS1                 .
    Source LKED1_WRITE_CE4_BPS1U01                  Line 30.
    Error Code SAPSQL_ARRAY_INSERT_DUPREC.
    Module  $Id: //bas/640_REL/src/krn/runt/absapsql.c#17 $ SAP.
    Function HandleRsqlErrors Line 775.
    RABAX: level LEV_RX_STDERR completed.
    RABAX: level LEV_RX_RFC_ERROR entered.
    RABAX: level LEV_RX_RFC_ERROR completed.
    RABAX: level LEV_RX_RFC_CLOSE entered.
    RABAX: level LEV_RX_RFC_CLOSE completed.
    RABAX: level LEV_RX_IMC_ERROR entered.
    RABAX: level LEV_RX_IMC_ERROR completed.
    RABAX: level LEV_RX_DATASET_CLOSE entered.
    RABAX: level LEV_RX_DATASET_CLOSE completed.
    RABAX: level LEV_RX_RESET_SHMLOCKS entered.
    RABAX: level LEV_RX_RESET_SHMLOCKS completed.
    RABAX: level LEV_RX_ERROR_SAVE entered.
    RABAX: level LEV_RX_ERROR_SAVE completed.
    RABAX: level LEV_RX_ERROR_TPDA entered.
    RABAX: level LEV_RX_ERROR_TPDA completed.
    RABAX: level LEV_RX_PXA_RELEASE_RUDI entered.
    RABAX: level LEV_RX_PXA_RELEASE_RUDI completed.
    RABAX: level LEV_RX_LIVE_CACHE_CLEANUP entered.
    RABAX: level LEV_RX_LIVE_CACHE_CLEANUP completed.
    RABAX: level LEV_RX_END entered.
    RABAX: level LEV_RX_END completed.
    RABAX: end RX_RFC
    In sm21
    Perform rollback
    Run-time error "SAPSQL_ARRAY_INSERT_DUPREC" occurred
         Short dump "090618 110101 donalda 11557 " generated
    Runtime Error          SAPSQL_ARRAY_INSERT_DUPREC
    Exception              CX_SY_OPEN_SQL_DB
           Occurred on     18.06.2009 at   11:01:01
    The ABAP/4 Open SQL array insert results in duplicate database records.
    What happened?
    Error in ABAP application program.
    The current ABAP program "SAPLKED1_WRITE_CE4_BPS1" had to be terminated because
    one of the
    statements could not be executed.
    This is probably due to an error in the ABAP program.
    What can you do?
    Print out the error message (using the "Print" function)
    and make a note of the actions and input that caused the
    error.
    To resolve the problem, contact your SAP system administrator.
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer
    termination messages, especially those beyond their normal deletion
    date.
    Error analysis
    An exception occurred. This exception is dealt with in more detail below
    . The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was
    neither
    caught nor passed along using a RAISING clause, in the procedure
    "RKE_WRITE_CE4__BPS1" "(FUNCTION)"
    Since the caller of the procedure could not have expected this exception
    to occur, the running program was terminated.
    The reason for the exception is:
    If you use an ABAP/4 Open SQL array insert to insert a record in
    the database and that record already exists with the same key,
    this results in a termination.
    (With an ABAP/4 Open SQL single record insert in the same error
    situation, processing does not terminate, but SY-SUBRC is set to 4.)
    How to correct the error
    The exception must either be prevented, caught within the procedure
    "RKE_WRITE_CE4__BPS1"
    "(FUNCTION)", or declared in the procedure's RAISING clause.
    To prevent the exception, note the following:
    Use an ABAP/4 Open SQL array insert only if you are sure that none of
    the records passed already exists in the database.
    You may able to find an interim solution to the problem
    in the SAP note system. If you have access to the note system yourself,
    use the following search criteria:
    "SAPSQL_ARRAY_INSERT_DUPREC" CX_SY_OPEN_SQL_DBC
    "SAPLKED1_WRITE_CE4_BPS1" or "LKED1_WRITE_CE4_BPS1U01"
    "RKE_WRITE_CE4__BPS1"
    If you cannot solve the problem yourself, please send the
    following documents to SAP:
    1. A hard copy print describing the problem.
       To obtain this, select the "Print" function on the current screen.
    2. A suitable hardcopy prinout of the system log.
       To obtain this, call the system log with Transaction SM21
       and select the "Print" function to print out the relevant
       part.
    3. If the programs are your own programs or modified SAP programs,
       supply the source code.
       To do this, you can either use the "PRINT" command in the editor or
       print the programs using the report RSINCL00.
    4. Details regarding the conditions under which the error occurred
       or which actions and input led to the error.

    Hi ,
    you are getting beacuse u are trying to do mass update to database.
    Please check that below note are applicable to your system.
    Note 453313 - DBIF_RSQL_ERROR_INTERNAL for mass insert
    Note 869534 - AFS MRP doesn't work properly with all BOM item categories
    Thanks Rishi Abrol

  • BOM with Item Category T

    Hi friends,
    The issue my user is having is that he has created a subcontracting PO ...and later while issuing thro MB1b 541... the system throws an error... PO HAS NO ITEMS..
    But PO has a BOM exploded ...when i check it has item category T instead of an L... By the time i could check CS03, the user has deleted the BOM .,so i suggested to create a new one with item category L...The issue got resolved.
    But my doubt is how this item category T has appeared in the BOM, since when i try creating a BOM with T i cannot enter matl code but my BOM which had popped in the PO had all details with matl code, desc , qty  and item category as T..
    Pls kindly advise and help me understand..
    Thanks
    nandu

    When creating your material BOM with Item category T, do not enter the material number.
    Only enter decripiton qty. and uom. This should allow you to create the BOM. You would then see this BOM in your Sub-Contract PO. I don't think it was possible you saw the material item in the BOM from your original T category items, as this would not be allowed per standard functionality, as you noted when trying to recreate the incorrect BOM.

  • Reg: Creation of BOM along with Alternative BOM

    Hi Experts,
    I have written the below code for creating BOM along with Alternative BOM, I'm getting the following error.
    W BAPI1080             028
    Error/warning when checking the structure of the BOM group with ID=
    A BAPI1080             002
    Basic data for (BOM) group available twice
    A BAPI                 001
    No instance of object type BOMGroup has been created. External reference:
    W BAPI1080             028
    Error/warning when checking the structure of the BOM group with ID=
    A BAPI1080             002
    Basic data for (BOM) group available twice
    A BAPI                 001
    No instance of object type BOMGroup has been created. External reference:
    Please find the piece of code below.
      SORT it_bom01 BY matnr idnrk posnr ASCENDING.
      LOOP AT it_bom01 INTO wa_bom01.
        AT NEW matnr.
          CLEAR:
            it_bomgroup[],
            wa_bomgroup,
            it_variants[],
            wa_variants,
            it_items[],
            wa_items,
            it_matrel[],
            wa_matrel,
            it_itemas[],
            wa_itemas,
            it_return.
        ENDAT.
    * Material BoM Group Header Data
        wa_bomgroup-bom_group_identification = 'IDENTIFICATION'.
        wa_bomgroup-object_type = 'BGR'.
        wa_bomgroup-object_id = 'ID'.
        wa_bomgroup-bom_usage = wa_bom01-stlan.
        wa_bomgroup-ltxt_lang = sy-langu.
        wa_bomgroup-technical_type = ' '.
    *   wa_bomgroup-bom_text = .
        wa_bomgroup-created_in_plant = wa_bom01-werks.
        APPEND wa_bomgroup TO it_bomgroup.
    * Header Details of the different variants
        wa_variants-bom_group_identification = 'IDENTIFICATION'.
        wa_variants-object_type = 'BOM'.
        wa_variants-object_id = 'ID'.
        wa_variants-alternative_bom = wa_bom01-stlal.
        wa_variants-bom_status = wa_bom01-stlst.
        wa_variants-base_qty = wa_bom01-bmeng.
        wa_variants-valid_from_date = wa_bom01-datuv.
        wa_variants-alt_text = wa_bom01-alt_text.
        wa_variants-function = 'NEW'.
        APPEND wa_variants TO it_variants.
    * Details of the items of the variants
        wa_items-bom_group_identification = 'IDENTIFICATION'.
        wa_items-object_type = 'ITM'.
        wa_items-object_id = 'ID'.
        wa_items-item_no = wa_bom01-posnr.
        wa_items-item_cat = wa_bom01-postp.
        wa_items-component = wa_bom01-idnrk.
        wa_items-comp_qty = wa_bom01-menge.
        wa_items-valid_from_date = wa_bom01-datuv.
        APPEND wa_items TO it_items.
    * Details of the materials of the different variants
        CLEAR it_matrel.
        wa_matrel-bom_group_identification = 'IDENTIFICATION'.
        wa_matrel-material = wa_bom01-matnr.
        wa_matrel-plant    = wa_bom01-werks.
        wa_matrel-bom_usage = wa_bom01-stlan.
        wa_matrel-alternative_bom = wa_bom01-stlal.
        APPEND wa_matrel TO it_matrel.
    * Linking items to the corresponding variants
        CLEAR it_itemas.
        wa_itemas-bom_group_identification = 'IDENTIFICATION'.
        wa_itemas-sub_object_type = 'ITM'.
        wa_itemas-sub_object_id = 'ID'.
        wa_itemas-super_object_type = 'BOM'.
        wa_itemas-super_object_id = wa_bom01-matnr.
        wa_itemas-valid_from_date = wa_bom01-datuv.
        wa_itemas-function = 'NEW'.
        APPEND wa_itemas TO it_itemas.
        AT END OF matnr.
          CALL FUNCTION 'BAPI_MATERIAL_BOM_GROUP_CREATE'
            EXPORTING
              all_error         = 'X'
            TABLES
              bomgroup          = it_bomgroup
              variants          = it_variants
              items             = it_items
              materialrelations = it_matrel
              itemassignments   = it_itemas
              return            = it_return.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
          LOOP AT it_return.
            WRITE:/ it_return-type, it_return-id, it_return-number,
            it_return-message.
          ENDLOOP.
        ENDAT.
      ENDLOOP.
    Thanks and Regards,
    Abdur Rafique

    Hi Sree,
    I used your code, I removed the levels because, i have only one level 'the lineitems'. Please find the modified code below. I'm not able to create the BOM, it throws an error as "BOM is recursive". I checked the header and item contents before passing to FM, it is correct.
    Please help me with the solution.
    REPORT  zbom_sdn.
    TYPE-POOLS: truxs.
    DATA: bom_header     LIKE cad_bicsk,
          bom_item       TYPE TABLE OF  cad_bom_item WITH HEADER LINE,
          bom_sub_item   TYPE TABLE OF cssubitem WITH HEADER LINE,
          dms_class_data TYPE TABLE OF cls_charac  WITH HEADER LINE,
          sap_field_data TYPE TABLE OF rfcdmsdata  WITH HEADER LINE,
          e_return       LIKE cad_return-value,
          e_message      LIKE message-msgtx,
          e_message_len  LIKE cad_return-message_len.
    DATA v_item  TYPE i.
    TYPES : BEGIN OF ty_data,
             matnr TYPE cad_bicsk-matnr," Material
             werks TYPE csap_mbom-werks," Plant
             stlan TYPE csap_mbom-stlan," BOM Usage
             datuv TYPE csap_mbom-datuv," Valid From
    *         posnr TYPE stpo_api03-item_no," Item Number
             idnrk TYPE stpo_api03-component," BOM Component
             postp TYPE stpo_api03-item_categ," Item category
             menge TYPE cad_bom_item-menge," Quantity
             bmeng TYPE stko_api01-base_quan," Base Qty
             stlst TYPE stko_api01-bom_status," BOM Status
             stlal TYPE csap_mbom-stlal," Alternative BOM
             alt_text TYPE stko_api01-alt_text," Alternative BOM text
            END OF ty_data.
    DATA : it_data TYPE TABLE OF ty_data ,
           wa_data TYPE ty_data.
    DATA:   wa_raw TYPE truxs_t_text_data.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.
    PARAMETER : p_file TYPE rlgrap-filename OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK b2.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
        EXPORTING
          program_name  = syst-repid
          dynpro_number = syst-dynnr
        CHANGING
          file_name     = p_file.
    START-OF-SELECTION.
      CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
           EXPORTING
    *       I_FIELD_SEPERATOR          =
             i_line_header              = 'X'
             i_tab_raw_data             = wa_raw     " Work Table
             i_filename                 = p_file
           TABLES
             i_tab_converted_data       = it_data[]  " Actual Table
           EXCEPTIONS
            conversion_failed          = 1
            OTHERS                     = 2 .
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CLEAR: bom_header, bom_item, bom_sub_item.
      REFRESH: bom_item, bom_sub_item.
      DATA : v_lineitem TYPE sposn VALUE '0000',
             v_slineitem TYPE sposn VALUE '0'.
      LOOP AT it_data INTO wa_data.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = wa_data-matnr
          IMPORTING
            output = wa_data-matnr.
    * fill BOM header
        CLEAR  bom_header.
        bom_header-matnr = wa_data-matnr. "'000000000200000016'.
        bom_header-stlal = wa_data-stlal. " Alternative Bom
        bom_header-werks = wa_data-werks.                       "'1000'.
        bom_header-stlan = wa_data-stlan.                       "'3'.
        bom_header-bmeng = wa_data-bmeng.
        bom_header-cadkz = 'X'.
        bom_header-stktx = wa_data-alt_text.
    *      bom_header-ztext = wa_data-text.
        bom_header-datuv = wa_data-datuv."'01.10.2010'.
    * fill item
        v_lineitem = v_lineitem + 10.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = v_lineitem
          IMPORTING
            output = v_lineitem.
    *    bom_item-upskz     = 'X'.     " If We hav the Sub items Enable it.
        bom_item-idnrk     = wa_data-matnr. "'000000000200000017'.
        bom_item-posnr     = v_lineitem.
        bom_item-postp     = wa_data-postp."'L'.
        bom_item-menge     = wa_data-menge.                     "'1'.
    *    bom_item-fmeng     = wa_data-fqty.
        APPEND bom_item.
        CLEAR: bom_item.
        AT END OF matnr.
          CALL FUNCTION 'CAD_CREATE_BOM_WITH_SUB_ITEMS'
               EXPORTING
                    i_bom_header   = bom_header
                    i_auto_posnr   = ''
               IMPORTING
                    e_return       = e_return
                    e_message      = e_message
                    e_message_len  = e_message_len
                    e_bom_header   = bom_header
               TABLES
                    bom_item       = bom_item
                    bom_sub_item   = bom_sub_item
                    dms_class_data = dms_class_data
                    sap_field_data = sap_field_data
               EXCEPTIONS
                     OTHERS         = 1.
          REFRESH bom_item.
          WRITE : e_message.
        ENDAT.
        CLEAR wa_data.
      ENDLOOP.
    Thanks and Regards,
    Abdur Rafique

  • BOM with Same Parent Number But Different WH

    Hello fellow SAP B1ers!
    I have a question and hope someone can help.  This point has us scratching our heads on how to do this.
    A customer has two warehouses (WH 1 and a newly-built WH5) producing the same product (Product A) but at different costs per warehouses.  They want to create two Bill of Materials (BOM) u2013 one for each warehouse.  For Example: BOM of Product A in WH1 and BOM of Product A in WH5.  The item cost is maintained at the warehouse level and, with it being a new warehouse, of course the item costs are different on the Item Master Data (Inventory Tab).  I cannot believe SAP B1 2007 cannot handle this, as this is Production 101 for any company.   Creating fake new and/or phantom products is certainly not the answer, because that could lead to an unbelievable amount of double work.  Besides, they want to be able to see the Product A information together.
    We have researched both SAP Help and Documentation and in both areas, it says (a direct quote) u2013
    If the parent item already has a Bill of Materials, the components are displayed. However, you can still create a new Bill of Materials for that parent item.
    So, how do we create a NEW Bill of Material for that parent item?
    We have tried to enter a new BOM with the parent item and WH5 and same components, but we receive an error that the item is already on the table.  When we use the duplication drop-down function, change the WH number on the header, and change the WH on the lines for components, the original BOM Product A WH1 is gone.  For some reason it also duplicates the components (but that is easily fixed).  I would imagine that a BOM table would need to have part of the key as ItemCode and WhsCode u2013 maybe a mistake in thinking?
    Can someone help us and tell us what we are missing???
    Many thanks for responses - Zal

    Hi Zal,
    Product Code is same as item code as it is unique so it is not possible to have two BOM  for same one item .
    I think help file to pointing towards special production order where you define new BOM for same product
    But I think it is too much work  if you have a lot.....
    So I think you have to look for add on to solve your issue ...
    A thought for  your problem 
    Thank you
    Bishal

  • How to update BOM with diff. ECN

    Hi Team
    During change in BOM using ECM, I am allowed to change it with same ECN.  If we change it with diff. ECN, it keeps the history of previous ECN.
    Foe example a BOM has 3 diff. items, which is created with ECN:   001.
    Now if we delete 2 items & add 1 item, then system displays all the items with respective change no.
    i.e. Total 6 line items are displayed.
    Pls suggest solution.
    Thanks

    Hi Bhushan,
    For your case you need to :
    Create a different Change Number through T Code: CC01 and create a new BOM (for the same material as it exists without ECN agaist any components) with this new change number. If you now delete / add some components (after you enter the BOM with this new ECN) ;it will be exclusively be recorded with this ECN.
    If you use the same ECN; and do further changes at the components; all chages till date will be recorded as you have mentioned.
    Thanks,
    Ravi.

  • Error with a BOM-Modification in ALE Target-System

    Hi Experts,
    I want to send/modify BOMs with ALE.
    Following Error appear in Display Logs (Target System):
    Start processing in API: CSAP_MAT_BOM_MAINTAIN
    Item (9) 0178 L 000000001060132813 1060132809 0000000000000  cannot be uniquely identified
    Item (10) 0220 L 000000001060102327 1060102322 0000000000000  cannot be uniquely identified
    End of processing in API: CSAP_MAT_BOM_MAINTAIN
    How can I resolve this ?
    Rewards if helpful.
    Regards,
    David

    Check this thread
    it is a Big Discussion on that.
    In first page and second page you can see solutions.
    /thread/747643 [original link is broken]
    one with patch and other with setting in Adobe.
    Regards
    Vijay babu Dudla

  • Alt Bom in Sub con PO

    Dear all ,
    How to use/ assign  alternate BOM in Sub contracting PO ?
    Regards ,

    A BOM is not exploded in the following situations:
    - No BOM is effective:
    -- On the explosion date and in the given area of validity 
       For the given effectivity parameters
    - The BOM has a deletion indicator.
    - The BOM is a multiple BOM, and has no alternative that matches the lot size for your required quantity.
    - No BOM matches the selection criteria of the BOM application you selected.
    - This is possible in the following situations, for example:
    -- The application does not take all BOM usages into account.
    For example, the application only takes BOMs that are relevant to production into account, so a BOM that is relevant to sales and distribution is not exploded.
    -- The application selects a specific alternative on the explosion date you require. The material master record supports alternative determination by Explosion date.
    If the specified alternative is not valid on the explosion date, the BOM is not exploded.
    -- The application takes production versions in the material master record into account, but no production version has a BOM that is valid on the explosion date you require. The material master record supports alternative determination by Production version.
    The system only explodes the BOM defined for the production version that matches the alternative and/or usage entered on the explosion date required. 
    -- The application only takes BOMs with certain status indicators into account. 
    For example, the application for MRP only explodes BOMs that have at least the status Explosion for MRP.
    Further checks:
    - Do the proper Scheduling in Routing (Backward/forward).  In md61 give the requirement in next month.check your in-house production, planned delivery time in md02 give MRP Control parameter Rexplode BOM and Routing.
    - Check BOM explosion data in MRP4 view of material master view ( Individual/Coll data).

  • BOM with Cross Selling

    Hi Guru's
    I have BOM material with 10 sub materials and i also want to have some 10 cross selling items with this BOM. i have configured all settings and in sales order cross selling logo coming but materials POP UP is not coming, when i click cross selling tab its not coming anything.
    My question is whether BOM material can have Cross selling?? if yes wat iam missing.
    Regards
    Ramki

    hi ram
    As far as my knowledge goes we can have cross selling with a BOM .material but we cant do BOM with cross selling
    Regards
    Srinath

  • Comparing  prices for a BOM with selling and distribution price

    Good day
    I have been working on a query to bring information for  a crystal report required by a client they want to compare the finished BOM with the selling price or distribution price of that BOM. I am not understanding a scenario where this BOM is sold to a particular BP price will definitely vary with BP depending on the terms and special prices. Can anyone help me enhance my query  to have valuable results.
    SELECT
    Distinct T0.Father AS [BOM Product N0.],
    T0.Code AS [BOM Item Component],
    T2.ItemName AS [BOM  Description],
    T0.Quantity AS [Component Qty],
    T0.Price AS [Comp Cost],
    (Select (t3.Factor * t0.Price * t0.Quantity)
    from OPLN t3
    where t3.ListName =  '1.selling price' ) [Selling Price],
    (Select (t3.Factor * t0.Price * t0.Quantity)
    from OPLN t3
    where t3.ListName =  '3.distPriceList' ) [Distribution Price],
    T0.PriceList AS [Comp Price List],
    T1.ListName AS [Price List Name],
    T2.AvgPrice
    FROM ITT1 T0
    INNER JOIN OPLN T1
    ON T0.PriceList = T1.ListNum
    INNER JOIN OITM T2
    ON T0.Code = T2.ItemCode
    Where T2.ItmsGrpCod NOT IN (101,110,105)

    Hi,
    Special price is in OSPP / SPP1 /SPP2 tables. Check the table to find the link.
    Thanks,
    Gordon

  • Error while creating BOM with FM CSAP_MAT_BOM_MAINTAIN

    Hi All,
    While creating the bom with the FM "CSAP_MAT_BOM_MAINTAIN" using change number i am getting the below error message.
    " Processing of this object is not supported with change number."
    Please help me out.
    Regards
    Suresh

    call function 'CSAP_MAT_BOM_MAINTAIN'
      exporting
        material                 = material
        plant                    = plant
        bom_usage                = usage
        alternative              = alternat
        valid_from               = y_date
    *   CHANGE_NO                =                   "<----Have u used this field for creating ?
    *   REVISION_LEVEL           =
        i_stko                   = l_stko
    *   FL_NO_CHANGE_DOC         = ' '
        fl_commit_and_wait       = 'X'
        fl_bom_create            = 'X'
        fl_new_item              = ' '
        fl_complete              = ' '
    * IMPORTING
    *   FL_WARNING               =
    *   O_STKO                   =
    CSAP_MAT_BOM_CREATE would be an ideal one for creation and CSAP_MAT_BOM_MAINTAIN for change
    Regards,
    Mithun Shetty.

  • Error while changing BOM with change number

    Hi ALL, Please help me with followed error message, I am using ECM. I created ECR and converted to ECO and then released.
    Object management record cannot be generated
    Message no. 29046
    Diagnosis
    You want to change the BOM with the entered change number.
    One of the following situations triggered this error message:
    1. The indicator that allows automatic generation is not set for object type BOM in the change master.
    2. The indicator generation only on initial creation is set for object type BOM
    3. You are processing a change request.
    System response
    The system checks whether the indicator object management record will be generated is set in the change master.
    If the indicator generation only on initial creation is set, the system checks whether the BOM exists in the system.
    Procedure
    If you are authorized to change the change master, execute the following steps:
    For 1.)
    Set this indicator for object type BOM or create the control record in the change master.
    For 2.)
    If the BOM already exists in the system and the generation only on initial creation indicator is set, the system can no longer generate the control record automatically.
    In this case you have to add the object control record to the change master first, then you can change the BOM in relation to the change number.
    For 3.)
    You cannot generate any object control records for a change request.

    Hi
    With your question regarding changing BOM with change number  it looks lke there may be problem in defining the Object types,objects.Moreover whenever converted to ECO you need to enter into cs02 tcode for changing the bom with relevant change number and valid from date.
    Hope this gives you a clear idea.let me know if you need anyfurther inputs.
    Regards
    Praveen

Maybe you are looking for

  • Advance payment report required

    Dear guru generally in our plant for advance payment we have to intimate the account department for release the payment against advance or PI or any other terms. i want the report which can show me that which supplier payment is pending (for advance

  • Problem with new firefox tabs and window focus

    Here's a problem that I've had for ages - sometimes it annoys me, other times I can live with it. Right now it's really p***ing me off.  :x I have selected 'a new tab in the most recent window' under FF's Preferences->Tabs->Open links from other appl

  • Where are the bootcamp drivers?

    Hi... My Bootcamp assistant keeps failing to save the WindowsSupport files to my USB flash drive, which seemingly resets the download - due to my sloooow internet, this is a major inconvenience. I've been searching my computer for "WindowsSupport" "B

  • Do I need a router to interface with my wireless laptop and printer, or can booth tooth.

    Im having a problem interfacing the HP B210 all in one wireless printer to my ASUS wireless Laptop. Do I need a router or can I some hoe make the wireless connection using my blue tooth on my laptop. Please help.

  • Auto Production order for SFG

    Dear Experts... We release somany order for 1 fg.. I mean we relase 1 order for Finished goods and another  4 to 5 order for Semifinished goods.. Is there any possiblity to auto release the SFG order while releasing the FG order... Pls reply....