Multi level BOM explosion

Hi,
For multilevel BOM explode I have to use the "Functional Module" CS_BOM_EXPL_MAT_V2. I checked it in system but I didnt understand which input parameters I need to give (Which are mandatory) as ther are lot of input fields available.
Please suggest whether this Functional Module is fine OR there is any other way? also suggest about the input field data.

Dear
Function module CS_BOM_EXPL_MAT_V2 is used for BOM explosion for a given material. It belongs to function group CSS4 u2013 BOM explosions. This function module can explose multi-level BOM with a given validation date.
You need to specify necessary input parameters to call this function module, such as CAPID u2013 App ID, DATUV u2013 Validation date, MEHRS u2013 Multi-level, MTNRV u2013 Material number, STLAL u2013 alternate, STLAN u2013 BOM usage.
Some useful tables you can provide to your ABAPer and discuss the same .
TABLES: MARA,                               "Master Data
        MAKT,                               "Matl Desc.
        MARC,                               "Plant Data for Matl.
        MAST,                               "Bom to material link
        STKO,                               "Bom Header
        STPO.                               "Bom Item
Refer : Multi-level BOM explosion using CS_BOM_EXPL_MAT_V2
Regards
JH
Edited by: Jiaul Haque on Jan 3, 2011 10:24 PM

Similar Messages

  • Multi-level BOM explosion using CS_BOM_EXPL_MAT_V2

    Hi All,
    I would like to know, if anyone has used the function module 'CS_BOM_EXPL_MAT_V2' to prepare a report to read multi-level BOM just like CS12. If anyone has, can you please let me know how we can read the individual materials in the BOM from this FM.
    Hope my question is clear, await inputs.
    Vivek

    Hi vivek,
    We use this code to restrict the BOM line item for particular movements. C if that can help u out.
    CALL FUNCTION 'CS_BOM_EXPL_KND_V1'
        EXPORTING
          capid                       = ''
          datuv                       = sy-datum
          emeng                       = 1
         mehrs                       = 'X'
          mtnrv                       = i_mseg-matnr
          stlal                       = '1'
          stlan                       = '1'
          stpst                       = 0
          svwvo                       = 'X'
          werks                       = i_mseg-werks
          vbeln                       = aufk-kdauf
          vbpos                       = aufk-kdpos
            VERID                       = ' '
          vrsvo                       = 'X'
          IMPORTING
            TOPMAT                      =
            DSTST                       =
         TABLES
           stb                         = ZStb
            MATCAT                      =
        EXCEPTIONS
          alt_not_found               = 1
          call_invalid                = 2
          material_not_found          = 3
          missing_authorization       = 4
          no_bom_found                = 5
          no_plant_data               = 6
          no_suitable_bom_found       = 7
          conversion_error            = 8
          OTHERS                      = 9
      IF sy-subrc <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      SORT zstb BY mtart.
      LOOP AT zstb.
        IF zstb-mtart = 'Material type ' OR zstb-mtart = 'Material type ' .
        ELSE.
          DELETE zstb .
        ENDIF.
      ENDLOOP.
      CLEAR: v_menge, v_matnr, v_bwart, vv_menge, vvv_menge, zstb.
      LOOP AT zstb.
        SELECT menge matnr bwart
        INTO   (v_menge,v_matnr,v_bwart)
        FROM   aufm
        WHERE  aufnr = i_mseg-aufnr
        AND    werks = i_mseg-werks
        AND    matnr = zstb-idnrk
        AND    ( bwart = '261' OR bwart = '262' ).
              and    meins = 'FT2'.
         LOOP AT zstb.
          SELECT SINGLE matnr INTO vv_matnr FROM mara  WHERE  matnr = v_matnr
                                       AND mtart = zstb-mtart.
          IF sy-subrc = 0.
            CASE v_bwart.
              WHEN '261' .
                vv_menge = vv_menge + v_menge.
              WHEN '262' .
                vvv_menge = vvv_menge + v_menge.
            ENDCASE.
          ENDIF.
             ENDLOOP.
        ENDSELECT.
        CLEAR vf_menge.
        vf_menge = vv_menge - vvv_menge.
        CLEAR vv_menge.
        CLEAR vvv_menge.
    Regards,
    Vishal

  • Multi level BOM explosion in CS11/12/13 Cost of items are not displayed

    Hi,
      I want to display cost of the components in CS11 / CS12 / CS13 T.codes Std SAP will not display the cost of components. for this they have given note 177006 and asked to change some manual correction. In the post processing of the note they have asked put "your_display_profl" This is making me confusing I wanted know whether I want to create a new display pofile using CLVL t.code or can I make the correction as said by SAP "your_display_profl". Could some body guide me in this regard.
    Regards
    Ramana

    >
    Venkata Ramana wrote:
    > Hi,
    >
    >   I want to display cost of the components in CS11 / CS12 / CS13 T.codes Std SAP will not display the cost of components. for this they have given note 177006 and asked to change some manual correction. In the post processing of the note they have asked put "your_display_profl" This is making me confusing I wanted know whether I want to create a new display pofile using CLVL t.code or can I make the correction as said by SAP "your_display_profl". Could some body guide me in this regard.
    >
    > Regards
    >
    > Ramana
    Ramana,
    Which version of SAP you are using, if its below 4.6c, then
    You need to have custom Display and Print Profile defined through CLVL transaction and used in the modification proposed.
    If your version is 4.6c onwards then,
    If you want to use the variable list then you need to have the You need to have custom Display and Print Profile defined through CLVL transaction and used in the modification proposed with IF.
    If you want to use the ABAP ALV based output, then you should not implement the IF... ENDIF query of the suggested modification concerning the user-defined list profile; instead you should set the local L_MBWLS parameter to 'X'
    I hope you need to work with your ABAP person to clearly understand this correction Instruction and Implement as required.
    Regards,
    Prasobh

  • Gneration of multiple Production Order from multi level BOM

    Hi Experts,
    My customer has multi level BOM. meaning child item also has its own BOM - 4 Level.
    FG-Pack - Make
          FG - Make
               SFG - Make
                    RM - Buy
    Their process is once they create Production Order for final Finished Good, System should also create Production order for child which it self are of make type and has own BOM defined in system.
    They wish that once the create Production order for FG-Pack, system should automatic generate production order for FG and SFG as both of these has BOM defined and are of procurement type Make.
    So first they will close the chile production order and receives qty. in ware house, they will issue this child qty. against main production order, and then completes the main production order.
    So they remains informed about the child item stock.
    My question is SAP Business One supports creation of multiple Production Order?
    BR
    Samir Gandhi

    Hi Samir Gandhi,
    There is no build-in function for this task. You need add-on or SDK for the job.
    If the sub level BOM items are phantom, you can create a big production order including all sub BOM components. That is system supported.
    Thanks,
    Gordon

  • Multi Level BOm is not working in SAP afs

    Hi Experts,
             I am facing issue in MRP.For multi level bom's ,Requirements is not getting generates.Is there any settings is there to active multi level bom for afs materials.
    please suggest solution
    Thanks and Regards,
    Deepika.

    Hello Deepika,
    As we know AFS materials are planned at SKU level (Grid and stock categories)  you can use AFS MRP (/N/AFS/MD02) only.
    Please refer OSS note Note 981747 - FAQ - AFS Production Planning
    Question 5 Made-To-Order Planning -Multi-Level (MD50) does not work for AFS Materials and Sales Orders containing AFS materials.
    Answer: Made to Order Multi level planning functionality was never enhanced for AFS and hence transaction MD50 is not supported.
    Steps are as,
    1. Create a MTO/PTO sales order for an AFS material.
    2. Run AFS MRP using transaction code /AFS/MD02.
    3. Convert the planned order to production order.
    Best Regards,
    R.Brahmankar

  • Product Costing - Standard Cost Component Split on Multi Level BOM's

    Hi,
    We are the process of introducing SAP for all back office and manufacturing activities.
    I am currently trying to verify that the product cost calculation for Multi-Level BOMs in our Legacy system matches the cost roll up or cost estimate in SAP at not only a Total Cost Level but the cost component split must be accurate also. So far, all the costs roll up correctly at a total cost level but I have noticed one issue:
    When I run a cost estimate for a single level BOM the cost estimate will split the components accurately into Material, Labor, Fixed Overhead and Variable overhead, However, when this component is then used in the next level of manufacturing all the Labor, Fixed Overhead and Variable Overhead Cost is grouped under Material.
    Q1.) Is there a SAP setting or config change that will keep the previous Labor, Fixed OH and Variable OH cost in these categories as the material is rolled up to finished product level?
    Q2.) Is there a standard report / view where I can see the Finished Goods Standard Cost split by each of there rolled up Components? This would need to split the Total Material, Total Labor, Total Fixed OH and Total VO required to make the Finished Product. 
    Q3.) Is there a standard report / view where I can see the added value (Absorption) by component split (Labor, Fixed OH, Variable OH) for every Manufactured Part?
    Any help you can provide would be greatly appreciated.
    Thanks & Regards,
    Brian

    Actuall I just tried again and it did ask for me S number and I put it in and I did not have "authorization" to access
    Error Message - Access denied (R/3)
    What happened?
    You do not have permission to access this Object
    What can you do?
    Please contact a consulting adminstrative
    Error code: WEBSMP106-20080214172231-0015
    Error details: 2491DD9-702/1A053/3162-71A9CFA5-3CB9265-2992F9
    Service Name: SAPIDB
    Service Server: WEBSMP106
    Process-ID: 4640
    Thread-ID: 6020
    Sorry for any inconvenience.
    Your SAP Service Marketplace Team

  • RE: how to explode multi level bom ?

    hi sd experts,
    I really appreciate if anyone explain me how explode multi level BOM
    if possible pls send me best practices
    thanks
    regards
    shabnum

    Hi Shabnum,
    For ex:
    main material is 101(material No)
    Subitems for 101 are: 102,103, 104 & 105
    102 also has 2 two sub items i.e., 106 & 107
    I created material masters for all the items i.e., 101 to 107 and posted stocks and maintained prices individually in VK11.
    I created BOM in CS01 seperately for 101 & 102
    I changed the Item Category Group for both the main items 101 & 102 from NORM to ERLA and tried creating the Sales Order.
    For 101 BOM is exploding correctly in order but for 102 it is not exploding.
    If I enter both the materials 101 & 102 as 2 line items then BOM is exploding for both the materials.
    Then do the Config in :
    Pls check the Item category configuration for your header material for the following field:
    Structure Scope: whether it is A or B...A is for explode single level & B is for explode multi-level bill of material. In your case, it should be maintained as "B"
    This would work for you
    Reward if it helps
    Regards
    Srini

  • Difference Between Summarized & Multi Level BOM Comparison

    Hi Colleagues,
    Could you please help me on this? I would like to know what is the difference between Summarized BOM & Multilevel BOM Comparison.
    Currently I am using Tcode CS14 to compare the BOM but I could not find the differences. Also I am using FM CS_BOM_EXPL_MAT_V2 to explode the BOM so I would like to know the difference to write a report for this.
    Thanks & Regards,
    Nagaraj

    Hi,
    Refer this link which explains clearly the Difference Between Summarized & Multi Level BOM Comparison
    http://help.sap.com/saphelp_45b/helpdata/EN/ea/e9befc4c7211d189520000e829fbbd/frameset.htm
    After going through  this link on the left hand side there is heading for BOM compariso,under that 4 sub headings are there please refer that
    hope this will help,if you have any query revert back
    Edited by: Girish  Adaviswamy on Apr 15, 2009 5:40 AM

  • For  MTO scenario,multi level bom is not working sap afs pp

    Hi Experts,
                  We are implementing MTO scenario for our client. I have maintained  strategy group for FERT is 40 and strategy group for HALB and ROH are 20.
                   For single level BOM , requirements is not getting generates properly.
                  I would like to know What are all the settings is required to create AFS BOM.(single and multi level)
                   Please suggest me.
    Thanks & Regards,
    Deepika.

    Hello Deepika,
    As we know AFS materials are planned at SKU level (Grid and stock categories)  you can use AFS MRP (/N/AFS/MD02) only.
    Please refer OSS note Note 981747 - FAQ - AFS Production Planning
    Question 5 Made-To-Order Planning -Multi-Level (MD50) does not work for AFS Materials and Sales Orders containing AFS materials.
    Answer: Made to Order Multi level planning functionality was never enhanced for AFS and hence transaction MD50 is not supported.
    Steps are as,
    1. Create a MTO/PTO sales order for an AFS material.
    2. Run AFS MRP using transaction code /AFS/MD02.
    3. Convert the planned order to production order.
    Best Regards,
    R.Brahmankar

  • Import multi-level BOM into Oracle

    We have a client requirement to create BOM based on level using Pl/Sql, Data will be coming in the below format:-
    Item Description      BOM LEVEL
    a               *1*     
    aa               *2*     
    aaa               *3*     
    aab               *3*     
    aaba               *4*     
    aabb               *4*     
    ab               *2*     
    aba               *3*     
    abb               *3*     
    we want the above data in table to be inserted in below format:
    Assembly Item     Component Item
    a               Aa
    Aa               Aaa
    Aa               Aab
    Aa               Aac
    A               Ab
    Ab               Aba
    Ab               Abb
    Aab               aaba
    Please suggest.
    Thanks,
    Urvashi Arora
    Edited by: user10992307 on 08-May-2012 23:07

    When you look at one row in your source data, there is no way to tell what is the parent item for the component you are looking at.
    So you will have to write a program that walks thru the data and builds parent=child relationship. It will be a tricky program but once that is done, all you have to do is to insert into bom interface tables and Oracle will take care of the rest.
    Oracle BOM interface will take care of building a multi-level structure.
    Sandeep Gandhi

  • Query for a Multi level BOM

    For a parent item, I require all the child items that are there in multi - level BOM

    Hi Hema
    This query not give you exactly what you need, but can give you an idea of who to get the result you want.
    select S0.ItemCode, S0.ItemName, isnull(sum(S5.Quantity * S6.AvgPrice), isnull(sum(S2.Quantity * S3.AvgPrice), S0.AvgPrice)) 'Costo del artículo'
    from OITM S0 left join OITT S1 on S0.ItemCode = S1.Code
                left join ITT1 S2 on S1.Code = S2.Father
                left join OITM S3 on S2.Code = S3.ItemCode
                left join OITT S4 on S3.ItemCode = S4.Code
                left join ITT1 S5 on S4.Code = S5.Father
                left join OITM S6 on S5.Code = S6.ItemCode
    group by S0.ItemCode, S0.ItemName, S0.AvgPrice
    order by S0.ItemCode
    Hope this help you
    Slds.,
    Esteban

  • MRP RUN- KIT BOM explosion not working

    We setup one layer BOM’s for our maintenance KITs as parent material and components as child material.  For  example KIT is TS10000-K1 and components are TS10001, TS10002 etc setup as next layer with in the BOM. Both KITS and components are defined as material types ERSA (Spare parts). These one layers BOMs are setup as production BOMs and expected to create purchase requisitions for KITS and components by exploding BOMs during MRP runs. We use purchase requisitions and convert them into POs to procure both KITS and components. We DO NOT USE Panned orders and Production orders. 
    The safety stocks / reorder point are considered as demand for KITS and components as we do not have any external demand for KITS and components.  
    MRP run is creating purchase requisitions automatically for both KITS and components as per safety stocks and reorder point defined in MRP Views of Material Master. This is working as expected.  
    The issue is: KIT BOM’s are not exploding to generate purchase requisitions for the dependent components of KIT BOM. Please suggest the way to resolve this issue. 
    Split valuation: Also we plan to use split valued KITS with both new and refurbished. So we need BOM explosion for split valued KITS
    also (after the 1st issue is resolved).   
    I verified the following items to make sure the required configuration and data setup is defined correctly.
    1) Planning file activated Plant - OMDU 
    2) Executed MRP run with Total Planning - MDBT and MD02 (single item, multiple levels)
    3) BOM explosion for MRP activated- OS23 
    4) MRP type in MRP1 view- PD and VB (I tried both separately but BOM is not exploding).
    5) Procurement type “F” (MRP 2 view) and lot size “EX”  
    6) Planning strategy in MRP 3 view (tested w/o planning strategy and with strategies 10 and 40. But BOM is not exploded)
    7) BOM status and usage (status is active and usage is for production-CS02 and OS20)  
    8) BOM Validity date (Valid) 
    9) BOM structure in CS12 (BOM is exploding in CS11) 
    10) Availability check  
    11) Selection of BON ID to have BOM usage indicator assign (OS31).
    12) No alternate BOMs or production versions or work scheduling view are used.
    Please review the above 2 issues and suggest any workable solution. Thanks in advance!
    NOTE: I extensively used MRP with multi-level BOM explosion in my earlier projects without any issue. However the above issue is a  bit strange  why one layer BOM is not exploded in this case. 
    Regards
    Srini  

    Hi
    Thanks for your response. I reviewed all SAP notes and none of them are applicable to my scenario.
    1808396 - BOM changes not considered by MRP: I have not changed BOMs.
    1781324 - MD11: Valid BOM alternative is not found. We do not have alternative BOMs.
    1791009 - No BOM explosion after changing production version: We am not using production versions.
    Our Material KITS are PM spare assemblies set up as BOMs and consists of individual spare parts as components. We are creating purchase requisitions and not planned orders. We are not using PP functionality/Production orders.
    MRP is generating purchase requisitions for KITS and components as per ROP and safety stocks. In other words it is working as expected.  The issue is BOMs which are parent assemblies are not exploding to the next lower level components.
    Please note that I am not getting any error messages when MRP is executed.
    Regards
    Srini.

  • 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

  • BOM Explosion level

    Hi,
    Can u pls anyone tell.....to how many levels we can explode BOM???...any definite no......
    rgds
    Saravan

    Hi,
    Multi level bom is a Bom which it has different components at different level..for example:
    - A ( finished material)
    - B ( semi finished)
    - C ( Raw material)
    When you run the MRP, Bom will explode upto last level and it will plan the requirement of each individual material.
    What ever may be the kind of BOM to be created transaction codes are as below:
    - CS01 : BOM create
    - CS02: BOM Change
    - CS03: BOM display
    Pre requisites are material master record for the materials.
    What you have to keep in mind is:
    1. BOM creation is through CS01 only.
    2. When you have to create multilevel BOM, you have to carry craetion of BOM level by level.
    3. First create BOM for assemblies (means materials which are produced inhouse, means materials with procurement type "E" in the material master MRP 2 view).
    4. Finally create BOM for the finished product using these assemblies as components.
    5. When you see the BOM of finished part after creation through CS03, you can find these assemblies with a tick mark in the field "Assembly".  When you double click you can see the susequent BOM of these  assemblies.
    6. Example would be for a vehicle suppose engine, front wheel, back wheel are the "E"parts.  Create BOM first for these engine, front wheel and backwheel with respective material components.
    Then create BOM for vehicle with these three "E".
    When you see the BOM of vehicle after creation, you can see a tick mark against these E parts which shows that they have BOM furtehr down and you can double click and see the components of these .
    regards,
    Anup.

  • How to restrict BOM explosion in Quotation and Sales  Order

    Dear all,
    How can we restrict BOM main item explosion in Sales Order.
    this BOM main item is having special order items which have to generate purchase requisition (item category - BANC),
    with out exploding bom main item, can we generate a  purchase requisition for BOM subitems, can any body explain me that how can we do that.
    your suggestions will be highly appreciated.
    thank you
    Raghu Ram

    Hi Raghu Ram,
    The BOM explosion is controlled by item category.
    In the item category configuration screen, under "Bills of Material/ Configuration", you can see "Structure Scope" field.
    Select the one which is applicable to your case:-
    "blank" - Do not explode material structure
    A - Explode single-level BOM
    B - Explode multi-level BOM
    C - Configuration, no BOM explosion
    D - Configuration, poss. with BOM explosion
    E - Structure from Customer_Function (product selection)
    Hope this helps
    Regards,
    Nicole

Maybe you are looking for

  • Msi x79 xpower II . Bios permanently corrupted

    Hi i have a really bad situation on my mobo BIOS A and B corrupted. Can boot just from "multi bios button" Bios present V2.7 Used the "MSI Forum HQ USB flashing tool" with package you posted (150) but still no success. I also tried the M-flash method

  • Connecting to an old Airport Express in Yosemite

    Hi, I have a first gen Express and I wanted to connect it to my network. I have Airport Utility 5.6 working though Mahler's launcher: http://coreyjmahler.com/2014/10/16/airport-utility-5-6-1-on-os-x-10-10-yosemite/ My problem is that when I try to co

  • How to connect to Oracle?

    Hello Everyone, I am new to Oracle - but I have done some work with SQL Server. So I started an application in C# and I want to open a connection to the Oracle Database ( I downloaded the Express Edition of 10g) However when I go to the top of my fil

  • Alias 2 sudden vibration pattern change

    My alias 2 has typically given me three medium length vibrations for a text or anything.  As of today, it now vibrates for 5 short bursts followed by a long burst ranging from 15 to 25 seconds upon receiving a text.  What to cause this? How to fix it

  • Please can somebody help- my iPhone is stuck in a loop after downloading IS6.1

    Hi, wondering if anybody can help please I upgraded my phone to IS6.1 - please note that I have always stuck to apples software and never tried to jailbreak it On sat the phone just switched off despite having 20% battery left and wouldn't switch bac