BOM Explosion query

Hi,
Actually we required to have exploded BOM structure.
Can any one have query to find all level of BOM explosion.
Regards,
Rakesh Mishra

Hi Rakesh,
Please try below query, it may serve your purpose..
You need to put Organization_id and Assembly item name in the query.
Please mark this answer as correct or helpful, if it satisfies your requirement.
Query:
select CONNECT_BY_ROOT msi.PLANNER_CODE FG_PLANNER,
CONNECT_BY_ROOT bill_item_name FG_ITEM,
CONNECT_BY_ROOT msi.DESCRIPTION FG_DESCRIPTION,
BILL_SEQUENCE_ID,
CONNECT_BY_ROOT COMPONENT_SEQUENCE_ID,
component_item_name,
msi2.DESCRIPTION,
msi2.ITEM_TYPE CMP_TYPE,
msi2.PLANNER_CODE COMPONENT_PLANNER,
QUANTITY_PER_ASSEMBLY,
bfg.WIP_SUPPLY_TYPE,
supply_locator_name,
end_effective_date
from apps.bomfg_bom_components bfg,
apps.mtl_system_items msi,
apps.mtl_system_items msi2
where
msi.ORGANIZATION_ID = 254
and msi.ORGANIZATION_ID = msi2.ORGANIZATION_ID
and msi.ORGANIZATION_ID = bfg.ORGANIZATION_ID
and msi.inventory_item_id = bfg.ASSEMBLY_ITEM_ID
and msi2.inventory_item_id = bfg.COMPONENT_ITEM_ID
AND(end_effective_date IS NULL OR end_effective_date >= SYSDATE - 1)
start with bill_item_name = '4036084' --- use a sub select to get it for all the Fg's
connect by prior component_item_name = bill_item_name
ORDER BY BILL_SEQUENCE_ID ;
Thanks in advance,
Avinash

Similar Messages

  • BOM Explosion Query Thru SQVI

    Hi Experts,
    We want to make a Query of BOM explosion, suppose we require 100 Nos X, 200 Nos Y, 200 Nos Z, where X,Y,Z are my FG Material. We want to put all the three FG in one go, and the child components required quantity get populated. Which Tables we have to use and in what order. Kindly suggest. Or any other method.
    Full Points for helping answers.
    GR

    Hi,
    You can use the Function Module: CS_BOM_EXPLOSION for BOM Explosion.
    It is better to use this FM in SAP query than SQVI.
    Take the help of your ABAPer.
    Regards,
    Siva

  • BOM EXPLOSION IN SUBCONTRACTING SCENERIO

    Hi,
    To all Experts,
    This is regarding the bom explosion in subcontracting P.O(scenerio).Scenerio prob. is explained as follows -
    1) I have an assembly which includes the semifinish & raw materials.
    2) By cs11 it explpodes whole BOm
    3) When i made P.O. for job work order(subcon.), in mateial data view it displys only the semifinish components(i.e. component or explode bom) ,but not the raw,which we want to send to vendor.
    so due to above,how we can determine, what the material we are sending to vendor?
    In short i want to explode the bom in po,in which it displys the semifinish as well as its raw.
    So please suggest a propper solution for above query.
    Hoping suggestion quickly
    Thanks in advance
    Manish

    Hello Manish,
    Could you please tell me how you have resolved this problem. I have the similar requirement.
    "want to explode the bom in subcontracting po,in which it displys the semifinish as well as its raw."
    we are exploring the PHANTOM ASSEMBLY but still no luck.
    When i set at BOM item level - Phantom Assembly off indictor and  Spec. Procurement 50
    system is still requesting for transfer of Phantom Assembly instead of components to the vendor.
    Thanks in advance

  • How to calculate  extended quantity in BOM IMPLOSION QUERY

    Hi guys,
    I have given an assignment to create BOM  item where used report, For this purpose I am using an BOM implosion API  (PACKAGE.PROCEDURE = BOMPIINQ.IMPLODER_USEREXIT)
    I am calling this API like this-
    declare
      V_SEQUENCE_ID    number;
      v_err_msg        VARCHAR2(80);
      v_err_code       NUMBER;
      V_DATE           VARCHAR2 (30);
    begin
    delete BOM_SMALL_IMPL_TEMP;
    -- V_SEQUENCE_ID:=142354;
    SELECT BOM_IMPLOSION_TEMP_S.NEXTVAL INTO V_SEQUENCE_ID FROM SYS.DUAL;
    SELECT TO_CHAR (SYSDATE, 'YYYY/MM/DD HH24:MI') INTO V_DATE FROM DUAL;
    BOMPIINQ.IMPLODER_USEREXIT (
            SEQUENCE_ID => V_SEQUENCE_ID,        
            ENG_MFG_FLAG => 1,                   
            ORG_ID => :org_id,             
            IMPL_FLAG => 1,                    
            DISPLAY_OPTION => 1,                    
            LEVELS_TO_IMPLODE => 10,             
            ITEM_ID =>:item_id,           --34077520002
            IMPL_DATE => V_DATE,
            unit_number_from =>null,
              unit_number_to=>null,               
            ERR_MSG => v_err_msg,
            ERR_CODE =>v_err_code,
            organization_option =>1,
            organization_hierarchy =>null,
            serial_number_from =>null,
              serial_number_to =>null
    end;
    Now I query the table BOM_SMALL_IMPL_TEMP and it shows the data as per the structure of the item where used.
    NOW ALL I WANT IS I WANT TO CALCULATE EXTENDED QUANTITY  (PARENT-QTY * ITS_CHILD_QTY)
    CURRENTLY IT SHOWS ONLY COMPONENT QUANTITY. HOW CAN I CALCULATE EXTENDED QUANTITY LIKE WE DO IN BOM EXPLOSION?
    Can any one help me on this?
    Thanks,
    Himanshu Gupta

    Thanks , Yes it works but need to work out.
    I have used rather calling API and then query using this-
    select t1.*,
    DECODE(T1.PART,T1.PART,(SELECT DISTINCT SEGMENT1 FROM MSI WHERE INVENTORY_ITEM_ID = T1.PART)) LOWEST_ITEM,
    DECODE(T1.PART,T1.PART,(SELECT DISTINCT DESCRIPTION FROM MSI WHERE INVENTORY_ITEM_ID = T1.PART)) LOWEST_ITEM_DESC,
    t2.segment1 PARENT_ITEM,
    T2.DESCRIPTION PARENT_DESCRIPTION,
    T2.ITEM_TYPE PARENT_ITEM_TYPE,
    DECODE(T2.ORGANIZATION_ID, 125, 'MU1', 126, 'MU2') ORG_CODE,
    T3.ITEM_COST,
    T1.QTY*T3.ITEM_COST EXTENDED_COST
    from
    (select t.*
             from (WITH t AS (SELECT distinct SYS_CONNECT_BY_PATH(a.parent_item_id, '\') || '\' || a.current_item_id || '\' as path,
                                              a.component_quantity qty_per_assembly
                                FROM BOM_SMALL_IMPL_TEMP1 a,
                                     mtl_system_items_b      b
                               where a.parent_item_id = b.inventory_item_id
                                 and b.organization_id = a.organization_id
                               START WITH b.item_type IN ('SA','FG MFG')
                              --CONNECT BY  a.current_item_id = PRIOR a.parent_item_id
                              CONNECT BY nocycle a.parent_item_id = PRIOR
                                         a.current_item_id)
                    SELECT root_part, part, SUM(qty) AS qty
                      FROM (SELECT SUBSTR(t1.path,
                                          2,
                                          INSTR(t1.path,'\', 1, 2) -
                                          INSTR(t1.path, '\', 1, 1) - 1) as ROOT_PART,
                                   SUBSTR(t1.path,
                                          INSTR(t1.path, '\', -1, 2) + 1,
                                          INSTR(t1.path,'\', -1, 1) -
                                          INSTR(t1.path, '\', -1, 2) - 1) as PART,
                                   (SELECT EXP(SUM(LN(t2.qty_per_assembly)))
                                      FROM t t2
                                     WHERE t1.path LIKE t2.path || '%') AS qty
                              FROM t t1
                             GROUP BY t1.path)
                     GROUP BY root_part, part) t
                   where t.part = :lt_part
           ) t1,
          mtl_system_items_b t2, CST_ITEM_COSTS T3
    where t1.root_part = t2.inventory_item_id
    AND T1.PART = T3.INVENTORY_ITEM_ID
    AND T2.ORGANIZATION_ID = T3
    .ORGANIZATION_ID
       --and t2.item_type = 'FG MFG'
       and t2.organization_id = :lt_org;
    and now it is running perfectly

  • BOM explosion while MRP run

    hi all
    I have a FERT for which raw materials are assigned in the BOM. but while running MRP, the BOM is not being exploded and the list doesnt show the raw materials.
    I have checked in the Overall maintenance of the plant parameters in MRP in SPRO and the required paramenters are maintained.The scenario is MTS - strategy 10.but still the BOM is not exploded.
    Could anyone solve my query
    Thank you in advance
    chandra

    Hi Chandra,
    Could you please check if there was an exception message "50 or 52"? If so then it can be beacuse for the BOM explosion date system is not able to get a BOM.
    If there were no exception messages then check in MRP4 view of the FERT material for dependent requirement defination. This should be blank.
    Hope this helps..
    Regards,
    Prasobh
    Reward your points if this was helpful.

  • BOM Explosion for Multiple Process Orders

    Hi,
    I hope someone can assist me with the following: Is there a report I can run or transaction I can do to have BOM explosion for multiple Process Orders? I would like to input process orders for a week and see the BOM details per PO.
    Thanks

    Dear Sukendar,
    1.For this requirement you have to go for a Z report and you can give the Functional Spec's to prepare
    this report to your ABAP consultant.Prepare the input format,logic of the program and the output format.
    In the logic part you can make use of this Functional Modules's CSAP_MAT_BOM_READ or 
    CSEP_MAT_BOM_READ  or CS_BOM_EXPLOSION   or CS_BOM_EXPL_MAT_V2 .
    2.Using CEWB helps you to identify all the material that's having the BOM,but here the report does not
    shows you the level by level by BOM for a FERT.
    Check and revert back.
    Regards
    Mangalraj.S

  • BOM Explosion needed on PO and/or Delivery for Stock Transfer PO Process

    Good afternoon,
      I have been researching the SDN and web for a solution to my problem to no avail so far. 
    The business problem I need to solve is the requirement for our STPO process to explode certain BOM's that are transfered from one company/plant to another company/plant in order to record batch/serial # component information by the delivering plant on the delivery and verification of the batch/serial # in the receiving plant during MIGO processing of the delivery.  This is needed by our Service Mgmt department in order to track servicable items within the Finished Good (medical devices industry).
    It appears on the SDN that a BOM can not be exploded on a non-Subcontracting PO (which would be ideal for us), but barring this problem, we are trying to have the BOM explode in the Delivery created from the STPO via the VL10B transaction.
    The STPO generates a Delivery doc with type NLCC and item category NLC.  I have maintained the material master for the BOM material to have an Item Category Group of ERLA, and I have modified Item Category Determination in configuration in Logistics Execution for deliveries to include ERLA, usage V, and NLC as default item category.  But, the deliveries generated from the STPO still do not explode, like what normally happens if the delilvery of the BOM was created from a standard Order.
    The components for the BOM need to be displayed on the Delivery (if not the STPO), so the cleark can record the Batch/Serial #'s for each component.  Then when the receiving plant posts the Goods Receipt for the delivery a user exit we have (based on movement type and material document code) builds a Service Mgmt table that is then processed to De-install the BOM and components from the former plant and install the BOM and components at the receiving plant (and then subsequently at the ultimate customer's location when a normal sale is made), generating a new Functional Location.
    Has anyone here had to do anything like this before?  Would any of you have any ideas on how this BOM explosion might work on the PO or Delivery?
    Thanks in advance.
    Scott.

    No responses to this question.
    Subject dropped.

  • BOM Explosion needed on Delivery for Intercompany Stock Transfer Order

    Good afternoon,
    I have been researching the SDN and web for a solution to my problem to no avail so far.
    The business problem I need to solve is the requirement for our STPO process to explode certain BOM's that are transfered from one company/plant to another company/plant in order to record batch/serial # component information by the delivering plant on the delivery and verification of the batch/serial # in the receiving plant during MIGO processing of the delivery. This is needed by our Service Mgmt department in order to track servicable items within the Finished Good (medical devices industry).
    It appears on the SDN that a BOM can not be exploded on a non-Subcontracting PO (which would be ideal for us), but barring this problem, we are trying to have the BOM explode in the Delivery created from the STPO via the VL10B transaction.
    The STPO generates a Delivery doc with type NLCC and item category NLC. I have maintained the material master for the BOM material to have an Item Category Group of ERLA, and I have modified Item Category Determination in configuration in Logistics Execution for deliveries to include ERLA, usage V, and NLC as default item category. But, the deliveries generated from the STPO still do not explode, like what normally happens if the delilvery of the BOM was created from a standard Order.
    The components for the BOM need to be displayed on the Delivery (if not the STPO), so the cleark can record the Batch/Serial #'s for each component. Then when the receiving plant posts the Goods Receipt for the delivery a user exit we have (based on movement type and material document code) builds a Service Mgmt table that is then processed to De-install the BOM and components from the former plant and install the BOM and components at the receiving plant (and then subsequently at the ultimate customer's location when a normal sale is made), generating a new Functional Location.
    Has anyone here had to do anything like this before? Would any of you have any ideas on how this BOM explosion might work on the PO or Delivery?
    Thanks in advance.
    Scott.

    No responses to this question.
    Subject dropped.

  • BOM explosion in subcontracting PR

    Hi...
    I have one issue of BOM explosion in subcontracting PR.
    I have created BOM, routing & PV. Production version maintained in info record.
    While creating manaul subcontracting PR , BOM is not exploded giving error message as "Not possible to determine any components".
    I have checked validity of BOM, PV found ok.
    Also Proc. type X & Spl. proc type 30 maintained.
    Any suggestion to the problem appreciated
    Regards
    Tushar

    Dear Tushar,
    Check this link
    [Sub contracting PO - BOM components are not seen;
    Regards
    Madhu

  • 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

  • BOM Explosion Number in Sales Order

    Hi Experts,
         For a make-to-order case, I would like to assign a predefined BOM explosion number with fixed key date to a sales order item. Instead of manually assigning the BOM explosion number to the sales order item, is there any way to let the system automatically assign the BOM explosion number?
         As I read from SAP Library under the BOM Explosion Number (Fixed Key Date), it states "The system can automatically specify the BOM explosion number when entering planned independent requirements or customer independent requirements or when entering the sales order." So is there any configuration to be done in advance to enable the BOM explosion number to be automatically assigned to sales order item?
    Thanks,
    SW

    I tried also setting up the material and its BOM determination by specifying only 1 BOM out of multiple BOMs. Still,
    1. When I add the said material into sales order line and save the sales order, the BOM explosion number value never appear automatically in the sales order line.
    2. When I run the planning on the sales order through MD50, the planned results do not have the BOM explosion number attached.
    I think your advice is more applicable to selection of a BOM from multiple BOMs instead of determining the fixed key date based on appropriate BOM explosion number, correct me if I am wrong.
    Regards

  • BOM explosion in sales order

    Hi Experts,
    I have met a problem in BOM explosion in sales order.
    I have maintained the BOM with usage 5 and the conversion between header material and component of the BOM. But in the sales order entry, no matter how many qty I entered for the header material, after the BOM explosion, the qty of component is 1.
    Can anyone help?
    Regards,
    Emily

    Hi,
    Go to CS02 and select ur bom and go to components give 1 that means 1;1
    hope u get it
    regards,
    sadanandam kasarla

  • Bom explosion in sales order mrp(MD50)

    Hi Experts,
    In sales order MRP i.e. MD50 Getting the planned orders for header material(Finished goods) generated but for raw materials (BOM items) Purchase requisitions are not getting generated.
    Details:
    Header material A and raw materials B and C.
    In material B in MRP 4 coll/ind indicator is 2 And same indicator for C is blank.
    Now when we are running the MRP sales order based it will generate the purchase requisition for C only but not for B.
    In OPPQ we have done the setting for sales order BOM explosion.
    Can anyone please throw some light what is the setting missing in customization or in front end?
    Thanks in advance.
    Regards
    Vilas

    Dear,
    If you select individual requirement then system will not consider available stock and generate Proposals for every single requirments. Check in MRP4 view Individual / Collective .
    Also you will find PR and Plan order with account assignment of Sales order (in case of MD50).
    - If you select collective requirement then system will not generate planing proposals through MD50.In that case you have to go for individual MRP (MD02 / MD03)
    Please try and come back.
    Regards,
    R.Brahmankar

  • BOM explosion in Sales order with material variants

    Dear all,
    we would like to work with Variant Matching in the Sales Order. Additionaly we would like to explode the BOM....according to the SAP help this is not possible....
    http://help.sap.com/erp2005_ehp_06/helpdata/en/bd/05a7d69d3211d190380000e8a49aad/frameset.htm
    Does anybody of you has any ideas how and where to make this happen?
    Thanks for your help and kind regards
    Jan

    Hi,
    I have gonethrough the SAP link referred by you but never come across with any problem in type matching during Sales order even if the BOM explosion is set for Multilevel in Configuration Profile provided the other pre requisite set up was perfect.
    Regards
    Brahmaji D

  • 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.

Maybe you are looking for

  • IE 11 on Windows 7 Enterprise 32 and 64 bit

    I'm testing IE 11 for sites my company uses to conduct business. I've tested IE on both Domain joined and non-domain joined work stations. I have an issue where IE 11 doesn't display the notification bar for certificate errors, downloads, or ActiveX

  • IMac and second display help.

    I am currently thinking about getting a second display for my iMac. Because my iMac is only 17" i need a bigger screen. I have 3 questions- 1. Can i use my imac as the second display and have my new display as the main screen displaying the menubar a

  • Icloud storage purchase...

    So I got 25 gigabytes (5 free and 20 for 40$) in May and now the same amount would cost $12? ..... Does the 20 Gig for 0.99 a month actually give you 25 or just 20 Gig??   If it is 25 Gig, is there any way to get the current pricing??? 

  • How to drag and drop an Image between two JPanels inside a Split Pane

    I'm tring to do that, and my actual problem is as follows: I drag the Image from the bottomPanel but I can't drop it in the topPanel, I'm using this classes: import java.util.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; import

  • Enabling process keys on R/3 side

    Hi All, I have done an enhancement for 2lis_02_itm with few fields. I have successfully completed this work and i can see the records in RSA3. Now the client is asking that during testing they found that the process keys are not enabled in R/3 side.T