Multilevel BOM

Hi  All.
We are makinga  Z report in which a part of the information is about the multilevel BOM.
Now i need to show all the components in the multilevel BOM along with their BOM levels (something like CS11).Can anyone please suggest the tables for the same

Dear Gautam,
Check with this Functional Module, CS_BOM_EXPL_MAT_V2             BOM explosion for material in SE37,for developing the report.
But again the input quantity for this report should be limited because if the input amount is more means,the report may take much
time to execute the multi-level BOM report for the given material codes.
Check and revert back.
Regards
Mangalraj.S

Similar Messages

  • Display multilevel BOM for multiple materials

    Hi,
    I am to trying to display multilevel BOM explosion for multiple BOMs valid to custom date. Then I would like to export this list of all components to Excel.
    Best solution would be if to create QuickView to do this.
    So far I have been able to Join tables MAST - STPO, this shows me only one level of BOM (sort of like CS03 transaction) not a multilevel view (CS12). Is it possible to modify this to display multilevel view?
    Thank you,
    Tomas

    Dear Thomas,
    in order to have a multilevel Bom explosion you must use only fm : CS_BOM_EXPL_MAT_V2 because you won't succeed to have a multiplevel with a simple query.
    I advise you set MEHRS = X for active multilevel logic.
    Let me know if i have been useful for you
    Daniele

  • Multilevel BOM Explosion

    Hi All,
    I am using one Function Module "CS_BOM_EXPL_MAT_V2" for multilevel BOM
    explosion.
    Input parameters for Function Module..
    1. Finished Goods(Material)
    2. Application.
    3. Explosion Date
    4.Plant
    5.BOM Usage.
    6. Alternate BOM.
    Output  we are intresetd in
    1.MNGKO..Our assumption was this qty is the  final actual qty .....which comes after multiplicatio at all level...
    But in some case we find this qty as 0...
    Can any one please help in understanding the standard FM ..
    Tausif.

    Hi All,
    I am using one Function Module "CS_BOM_EXPL_MAT_V2" for multilevel BOM
    explosion.
    Input parameters for Function Module..
    1. Finished Goods(Material)
    2. Application.
    3. Explosion Date
    4.Plant
    5.BOM Usage.
    6. Alternate BOM.
    Output  we are intresetd in
    1.MNGKO..Our assumption was this qty is the  final actual qty .....which comes after multiplicatio at all level...
    But in some case we find this qty as 0...
    Can any one please help in understanding the standard FM ..
    Tausif.

  • Can the routing create FM CP_BD_DIRECT_INPUT_PLAN   for multilevel BOM

    Dear Friends ,
    Need help for the implementation of function module CP_BD_DIRECT_INPUT_PLAN  .
    The function module works fine when BOM is single level but in case of multi level BOM it does not create the routing documents .
    & gives the following errors
    No entry in field PLMZD-STLKN although entry is required
    When we pass the node number then we still get this error .
    No valid material component found .
    Wanted to make sute that can above FM module can be used for multilevel BOM or we have to use the  BAPI  BAPI_ROUTING_CREATE.
    Thanks ,
    Anurag .

    You must pass the PLMZ_DI-VORKN parameter.
    Edited by: albert liu on Sep 23, 2008 11:50 AM

  • Implement Bill of Material with Multilevel BOM

    Dear Sir,
    As per my requirement, i want to create an multilevel BOM.
    I explain my requirement in above steps.
    1) Create BOM with Assembly Type because we assembled an parent items with component items.
    2) then on base on BOM we want to create an Production Order.
    So, can you please tell me the exact procedure to implement whole production module as per my requirement.
    Thanks & Regards,
    Nishit Makadia

    Hi,
    As already replied that, not possible to create production order for assembly type BOM. Only possible by production type BOM.
    Test below in test DB and let me know result.
    As per your example, you want manufacture a pen, that requires cap, body, ink.
    So your BOM looks like,
    Pen -  Parent item -- 1 EA
    Cap - Component -1 EA
    Body - Component -1 EA
    Step 1:
    1. Create item master data for above items with selecting as inventory, sales and purchase item ( ticket all three boxes at item master data)
    2. Select serial or batch as per your requirement under manage item by field
    3. Select issue type manual
    Step 2:
    1. Create production BOM by using above parent item and components.
    Step 3.
    1. Choose standard production order in production order window
    2. If you select pen as product , then BOM automatically added to production order.
    3. Issue and receive to complete process
    Like that you can have multiple BOM for same parent item.
    Thanks & Regards,
    Nagarajan

  • To create Multilevel BOM---- BAPI (urgent)

    Hi all,
    i am using BAPI_MATERIAL_BOM_GROUP_CREATE to create a <u><b>MULTI LEVEL</b></u> BOM in sap. but i am not getting any field for <b>LEVEL</b> in this BAPI.so,  can i create a multilevel bom without a level ?
    can u plz suggest, how can i use this BAPI to create a <b>multi level</b> bom?
    is there any field relating to assembly indicator (stlkz) in this BAPI?i am not getting this field.plz suggest.
    any idea will be highly appreaciated.
    Regards
    pabitra

    Hi eswar,
    Thanks for ur help. i am getting some error while creting a BOM using that BAPI.
    errors are
    1) Error/warning when checking the structure of the BOM group with ID =
    2)Alternative  does not exist for material assignment to material BAPIBOMFG1
    is it mandatory to pass the bom group id to this bapi?
    In bomgroup structure , i am not passing anything to BOM_GROUP field.
    is it mandatory to pass this data? i am giving my coding below.plz suggest , where i am making mistake. it is urgent.
    regards
    pabitra
    report z_bom_create
           line-size 132
           line-count 65
           no standard page heading.
    *-- DATA DECLARATION--
    include <icon> .
    *---Tables
    tables : s076, t100, marc .
    *---Types
    types : begin of t_upload,      " Upload file data
             col1(18),
             col2(10),
             col3(30),
             col4(12),
             col5(50),
           end of t_upload,
           begin of t_split,
           location like stpu-ebort,
           end of t_split.
    data:begin of i_return occurs 10.
    include structure bapiret2.
    data:end of i_return.
    types:begin of t_item."occurs 10.
    include structure BAPI1080_ITM_C.
    types:end of t_item.
    types:begin of t_subitem." occurs 10.
    include structure  BAPI1080_SUI_C.
    types:end of t_subitem.
    types:begin of t_header." occurs 10.
    include structure  BAPI1080_MBM_C.
    types:end of t_header.
    types:begin of t_bomgroup." occurs 10.
    include structure  BAPI1080_BGR_C.
    types:end of t_bomgroup.
    types:begin of t_variant." occurs 10.
    include structure  BAPI1080_BOM_C.
    types:end of t_variant.
    *--- Tables
    data: i_upload type standard table of t_upload, " to hold data
          i_upload1 type standard table of t_upload,
          i_split type standard table of t_split,
          i_item type standard table of t_item,
          i_subitem type standard table of t_subitem,
          i_header type standard table of t_header,
          i_bomgroup type standard table of t_bomgroup,
          i_variant type standard table of t_variant.
    data: wa_upload  type t_upload, " to hold file data,
          wa_upload1 type t_upload, " to hold plan data,
          wa_split type t_split,
          wa_item type t_item,
          wa_subitem type t_subitem,
          wa_header type t_header,
          wa_bomgroup type t_bomgroup,
          wa_variant type t_variant.
    data:v_matnr like mara-matnr,
         v_start like sy-index,
         v_count(3) type c.
    *--Constants
    data: c_dot type c value '.',
          c_x type c value 'X',
          c_comma type c value ','.
    -------Selection Screen Design -
    *Selection screen for input of upload file address
    selection-screen skip 2.
    selection-screen begin of block blk1 with frame.
    parameters     : p_file like rlgrap-filename obligatory .
    parameters     : p_matnr like mara-matnr obligatory,
                     p_werks like marc-werks obligatory memory id wrk,
                     p_stlan like afko-stlan obligatory default '1' .
    selection-screen end of block blk1.
    ---AT SELECTION SCREEN -
    at selection-screen on  value-request for p_file.
    *--For popup  to select file.
      perform f_give_help.
    at selection-screen on  p_matnr.
      perform f_check_matnr.
    -----START OF SELECTION -
    *--Data upload using WS_Upload.
    perform f_get_data.
    perform f_get_bom_data.
    perform f_get_bom_data1.
    perform f_call_bapi.
    *&      Form  f_give_help
          text
    -->  p1        text
    <--  p2        text
    FORM f_give_help.
    call function 'WS_FILENAME_GET'
           exporting
                mask             = ',.,..'
                mode             = 'O'
           importing
                filename         = p_file
           exceptions
                inv_winsys       = 1
                no_batch         = 2
                selection_cancel = 3
                selection_error  = 4
                others           = 5.
      if sy-subrc <> 0 and  not sy-msgty is initial.
        message id sy-msgid type sy-msgty number sy-msgno
        with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    ENDFORM.                    " f_give_help
    *&      Form  f_check_matnr
          text
    -->  p1        text
    <--  p2        text
    FORM f_check_matnr.
    CALL FUNCTION 'BAPI_MAT_BOM_EXISTENCE_CHECK'
      EXPORTING
        MATERIAL              = p_matnr
        PLANT                 = p_werks
        BOMUSAGE              = '1'
      VALID_FROM_DATE       =
      VALID_TO_DATE         =
      TABLES
        RETURN                = i_return.
    ENDFORM.                    " f_check_matnr
    *&      Form  f_get_data
          text
    -->  p1        text
    <--  p2        text
    FORM f_get_data.
    call function 'WS_UPLOAD'
       exporting
      CODEPAGE                      = ' '
          filename                      = p_file
          filetype                      = 'DAT'
        tables
          data_tab                      = i_upload
       exceptions
         conversion_error              = 1
         file_open_error               = 2
         file_read_error               = 3
         invalid_type                  = 4
         no_batch                      = 5
         unknown_error                 = 6
         invalid_table_width           = 7
         gui_refuse_filetransfer       = 8
         customer_error                = 9
         others                        = 10
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    ENDFORM.                    " f_get_data
    *&      Form  f_get_bom_data
          text
    -->  p1        text
    <--  p2        text
    FORM f_get_bom_data.
    delete i_upload where col1 is initial.
    delete i_upload where col1 cs 'ITEM'.
    read table i_upload into wa_upload with key col1 = 'FINISHED GOOD:'.
    if sy-subrc = 0.
    v_matnr = wa_upload-col2.
    if v_matnr <> p_matnr.
    message e001(zl) with p_matnr.
    endif.
    else.
    message e000(zl).
    endif.
    ENDFORM.                    " f_get_bom_data
    *&      Form  f_get_bom_data1
          text
    -->  p1        text
    <--  p2        text
    FORM f_get_bom_data1.
    loop at i_upload into wa_upload where col1 CS 'FINISHED GOOD'.
    v_start = sy-tabix + 1.
    loop at i_upload into wa_upload1 from v_start .
            if wa_upload1-col1 cs 'FINISHED GOOD'.
              exit.
            else.
    perform f_split_upload_data.
         endif.
    endloop.
          endloop.
    ENDFORM.                    " f_get_bom_data1
    *&      Form  f_split_upload_data
          text
    -->  p1        text
    <--  p2        text
    FORM f_split_upload_data.
    if not wa_upload1-col5 is initial.
    if wa_upload1-col5 cs c_comma.
    split wa_upload1-col5 at c_comma into table i_split.
    loop at i_split into wa_split.
    v_count = v_count + 1.
    endloop.
    if wa_upload1-col4 <> v_count.
       wa_upload1-col4 = v_count.
    endif.
    clear wa_upload1-col5.
    clear wa_split.
    loop at i_split into wa_split.
    wa_upload1-col5 = wa_split-location.
    append wa_upload1 to i_upload1.
    endloop.
    else.
    append wa_upload1 to i_upload1.
    endif.
    else.
    append wa_upload1 to i_upload1.
    endif.
    ENDFORM.                    " f_split_upload_data
    *&      Form  f_call_bapi
          text
    -->  p1        text
    <--  p2        text
    FORM f_call_bapi.
    clear wa_upload1.
    wa_header-material = p_matnr.
    wa_header-plant = p_werks.
    wa_header-bom_usage = p_stlan.
    append wa_header to i_header.
    wa_bomgroup-bom_usage = p_stlan.
    wa_bomgroup-created_in_plant = p_werks.
    append wa_bomgroup to i_bomgroup.
    wa_variant-alternative_bom = 1.
    wa_variant-base_qty = 1.
    wa_variant-valid_from_date = sy-datum.
    append wa_variant to i_variant.
    loop at i_upload1 into wa_upload1.
    wa_item-item_no = wa_upload1-col1.
    wa_item-item_cat = wa_upload1-col2.
    wa_item-component = wa_upload1-col3.
    wa_item-comp_qty = wa_upload1-col4.
    append wa_item to i_item.
    wa_subitem-subitem_qty = '1'.
    wa_subitem-installation_point = wa_upload1-col5.
    append wa_subitem to i_subitem.
    endloop.
    CALL FUNCTION 'BAPI_MATERIAL_BOM_GROUP_CREATE'
    EXPORTING
      TESTRUN                  = ' '
      ALL_ERROR                = ' '
      TABLES
        BOMGROUP                 = i_bomgroup
        VARIANTS                 = i_variant
       ITEMS                    = i_item
       SUBITEMS                 = i_subitem
        MATERIALRELATIONS        = i_header
      ITEMASSIGNMENTS          =
      SUBITEMASSIGNMENTS       =
      TEXTS                    =
        RETURN                   = i_return.
    if  i_return[] is initial.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    *write: /'BOM created:', stpo-stlnr.
    else.
    *if not i_return[] is initial.
    loop at i_return.
        IF i_return-TYPE = 'E'.
       errmsg-type = i_return-type.
       errmsg-line = i_return-message.
       append errmsg.
          ULINE /1(108).
          write:/ icon_led_RED as icon, i_return-MESSAGE.
          ULINE /1(108).
        ENDIF.
        IF i_return-TYPE = 'W'.
       errmsg-type = i_return-type.
       errmsg-line = i_return-message.
       append errmsg.
          ULINE /1(108).
          write:/ icon_led_YELLOW as icon, i_return-MESSAGE.
          ULINE /1(108).
        ENDIF.
      ENDLOOP.
    *write: / i_return-id, i_return-number, i_return-message(80).
    *endloop.
    *write: /'Error'.
    endif.
    ENDFORM.                    " f_call_bapi

  • Error in multilevel BOM transfer using CN33

    Dear all,
    I am facing one issue in BOM transfer to the project using transaction CN33.
    Here we are transferring multilevel BOM to the project.
    We are having BOM structure as FERT material A below which we have material B and below B i have material C. Now while transferring we are transferring all A, B as well as C to project.
    While transferring BOM in selection parameters i am selecting both Multilevel as well as Prel. requ. indicator.
    When we do MRP run, for component C planned order are getting generated twice whereas for Component D the planned orders are getting generated thrice.
    Regards,
    sudhir

    Hi,
    I would prefer- direct BOM material(Header) assignment in Project, and it generates requirements properly after MRP Run, instead of transferring all materials to project through CN33.
    Venkatesh

  • Availability check for multilevel BOM

    Hi friends,
    is a Availability check for multilevel BOM in SAP-ERP possible
    regards
    Markus Streif

    Hi Markus,
    Please check the given link also.
    how availability check works in case of  multilevel product
    Multilevel ATP
    Availability check for components
    Hope this helps.
    Regards,
    MT

  • Calculation of scrap quantity in multilevel BOM

    Hi Gurus,
    Can some one explain me how the system calculates the Scrap quantity in multilevel BOM.
    Thanks in advance.

    Answered.

  • Routing for Multilevel BOM

    Hai Techies,
    I have a question here with respect to routing. In case of Multilevel BOM how will the routing should be done.
    For Eg in my top level material if i have few semifinished materials which in turn have BOM for them. Then should we need to have each routing for each semifinished materials and one for the finished good.
    Could you please advice how it should be or how it can be?
    Regards,
    Kris.S

    Hi Gurus,
    My company does not allow Engineer to construct BOM in SAP. MFE Engineers only perform ECO to change BOM in PLM systems. Upon approve and release in PLM, this information will be transfer to SAP as BOM.
    Having pre-defined BOM in SAP and un-editable. we will only able to create routing on existing SAP BOM which is a multilevel. BOM A consisted of BOM B and BOM C which BOM B is a make part (in house manufacturing) and BOM C is a Purchase part. BOM B explored to BOM G and H where BOM G is also a MAKE part and BOM H is a make part. Under BOM G and H are all purchase material.
    A - B - G
            - H
        - C
    So does it need to create routing for A, B, and G only?
    Regards...

  • Report for Cost of Multiple products with Multilevel BOM explosion

    Hi,
    Our client has a requirement of a report showing standard cost estimate of multiple FG products, with multi-level BOM explosion.
    In short, the requirement is to get a CK13N report for multiple products.
    Has anyone come across such requirement? The requirements seems to be very normal.
    But, I have not seen any standard report for the same. If there is any, please suggest.
    or suggest a better solution for the same.
    Thanks in advance. Pts guaranteed.

    Hi,
    I totally agree with you that this is a totally vague requirement.
    However, let me share the reason for such client requirement.
    We have a customer, for which we produce certain parts for select models. Now, the arrangement with customer for pricing is based on the raw material and other production cost for all such parts. Based on the fluctuations in cost, the pricing would be finalised.. on a monthly or quarterly basis.
    For this purpose, the customer requires to know the raw materials used in each of the part.
    Individually it could have been managed. But the price change in terms of % is decided at global level and not for each part.
    Please suggest

  • Vendor number in CS12 Multilevel BOM Help?!?!

    Hi Friends,
    I've have a trouble with TCode CS12.
    Any one can tell me when the vendor number will populated in CS12 ?
    I've tried many case but this TCode does not show the vendor number.
    Thanks in advance.
    Hau

    Hi
    These BOM explosion reports will not display all the fileds available in the layout.
    I have tried Max. for one of the client requirement.
    In this contextI have contacted SAP also byv raising OSS issue.
    Finally I have gone for customized report.
    Regards
    YMREDDY

  • Regarding Multilevel BOM

    HI All,
        I want to know from which tables i will get the data for multi level sales order BOM. In CSK1 transaction i can see the data for BOM in multiple levels.I want to know from which tables i can get that data...and what is input for the table (measn flow) to get the data.
    Thanks,
    Kishore

    Hi
    See the tables
    <b>MAST
    STKO
    STPO</b>
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Multilevel variant configuration without BOM explosion

    Hi!
    We have the following problem:
    We use BOMs with variant configuration in SD and NO BOM explosion. Means, enter the BOM-head material in the SD line, go to the configuration screen and configure the multilevel BOM. There are classes and attributes on every level in the multilevel BOM structure.
    After finishing the variant configuration, we save the SD order. If we enter the new SD order again with VA03 and go to the configuration of the SD line, the system forgot every attribute value on levels other than the BOM-head. We see the structure of the selected BOM materials, but no previously entered configuration value on other levels.
    Do we make something wrong, or is this a SAP standard "feature" ?
    Thanks,
    Richard

    Hi,
    This is a standard feature.The values which you will select for the configurable material,you will not able to see when you got to VA03.
    Reward points if helpful.
    Regards,
    Amrish Purohit

  • Multilevel sales BOM explosion

    Hi Experts,
    Can you please guide for multilevel sales BOM explosion.
    for example: 1 finished products
    2 semifinished assigned to it
    1 raw material is assigned to 2 semifinished.
    Can you please help me in this Issue.
    Thanks
    Venkat

    Hi Venkat,
             Make search in FORUM, you will find very good thread with detailed explanation incl:Customization for Multilevel BoM.
    Note: I have searched its available, still not providing the link because i want you to make search by yourself.
    Regards,
    ReazuddinMD

Maybe you are looking for

  • How to start a report on the reports server from a pl/sql procedure

    I would like to start or queue a report on the reports server / cartridge from within a serverside pl/sql procedure along with passing report parameters. Can I use the package utl_http and if yes, how? null

  • MacBook Pro crashes when closing lid while in windows 8.1

    I use a late-2011 MacBook Pro with Mavericks for work and run Windows 8.1 as my daily driver via Boot Camp. I've been running this setup for about a month without incident, but within the past week whenever I close the laptop it starts acting really

  • Not able to print label getting standard text as it appears in so10

    Hi, I have a  so10 object ,script contains only one window i.e main and we call so10 object  in script  by using statement    'Include &standrdtxt& object text id ST lang EN' ( standrdrxt contains text name)but instead of printing label it is printin

  • Withholding Tax Configuration

    Dear Friends, The users have a very peculiar requirement for Withholding Tax deduction, in the sense that at the time of recording the AP Invoice, the Withholding Tax is required to be recognized but the same is to be deducted only at the time of mak

  • Spry Data and Accordion

    Hi, I having a problem with spry and accordion. If I do this (1a) then the accordion no longer works. 1a.       <div id="Accordion2" class="Accordion" tabindex="0" spry:detailregion="data">         <div class="AccordionPanel">           <div class="A