Component relationship in bill of material

hi......
what is the table to find out the parent and child component relation in bill of material ?

Hi,
You could query the table ALL_CONSTRAINTS. Please follow this link, it may help you:
http://stackoverflow.com/questions/85978/query-a-tables-foreign-key-relationships
Regards,
Mario Alcaide
http://marioalcaide.wordpress.com

Similar Messages

  • Check a material is component of a bill of material itself

    Dear All
    I have to check whether a particular material is a component of Bill of material itself.
    How is it possible.
    Any pointers would be helpful.
    Points for sure.
    Thanks in advance.
    Dinesh

    Hi Dinesh,
    HI,
    BOM is stored in table MAST and its materials in STPO table.
    Do the following,
    Enter the BOM material Number in MAST for say plant 0001.
    Now it will display the details with a BOM Number(Field STLNR).
    Now go to STPO and enter this BOM Number got from the previous
    table. It will display the materials which are available in
    BOM under field IDNRK(Component
    Write a simple ABAP program based on these 2 tables. Check the below code, where you can put the materials which you want to exclude in s_IDNRK and BOM in s_mATNR and plant in p_WERKS.
    *& Report  ZTEST01
    REPORT  ZTEST01.
    TABLES: MAST, STPO.
    DATA: BEGIN OF I_CS07_H OCCURS 0,
           MATNR LIKE MAST-MATNR,
           WERKS LIKE MAST-WERKS,
           STLAN LIKE MAST-STLAN,
           STLNR LIKE MAST-STLNR,
          END OF I_CS07_H.
    DATA: BEGIN OF I_CS07_I OCCURS 0,
           STLNR LIKE STPO-STLNR,
           POSNR LIKE STPO-POSNR,
           IDNRK LIKE STPO-IDNRK,
           MENGE LIKE STPO-MENGE,
           MEINS LIKE STPO-MEINS,
          END OF I_CS07_I.
    SELECTION-SCREEN: BEGIN OF BLOCK B1.
       SELECT-OPTIONS: S_MATNR FOR MAST-MATNR OBLIGATORY,
                       S_IDNRK FOR  STPO-IDNRK .
       PARAMETERS    : P_WERKS LIKE MAST-WERKS OBLIGATORY.
    SELECTION-SCREEN : END OF BLOCK B1.
    START-OF-SELECTION.
    SELECT * FROM MAST INTO CORRESPONDING FIELDS OF TABLE I_CS07_H
                            WHERE MATNR IN S_MATNR
                            AND   WERKS EQ P_WERKS
                            AND   STLAN EQ '5'.
    SELECT * FROM STPO INTO CORRESPONDING FIELDS OF TABLE I_CS07_I
                                        FOR ALL ENTRIES IN I_CS07_H
                                        WHERE STLNR EQ I_CS07_H-STLNR
                                        AND   STLTY EQ 'M'.
    LOOP AT I_CS07_H.
      WRITE: /1 '|',
              2(20) I_CS07_H-MATNR COLOR 7,
              120 '|',
             /1(120) SY-ULINE.
    LOOP AT I_CS07_I WHERE STLNR = I_CS07_H-STLNR.
      WRITE: /1   '|', 2(18)   I_CS07_I-POSNR COLOR 5,
              21  '|', 22(40)  I_CS07_I-IDNRK COLOR 5,
              63  '|', 64(20)  I_CS07_I-MENGE COLOR 5,
              85  '|', 86(24)  I_CS07_I-MEINS COLOR 5,
              120 '|',
             /1(120) SY-ULINE.
    ENDLOOP.
    ENDLOOP.
    Thanks & Regards,
    Nagaraj Kalbavi

  • Alternate Bill of Material

    Hi Experts,
    I have following scenario
    FG :   A
    Bill of material : X, Y & Z
    I have maintained Component as alternate bill of material for FG: A
    X, Y & Z  are maintained as alternate bill of material 1 , 2, 3
    Please let me know whether Stocks under alternate bill of material  Y & Z are considered for MRP run

    Hi,
    Do you have any idea which BAPI we need to use for creating Alternate BOM if we need to create Alternate BOM from third party application using RFC ?
    I have used BAPI_MATERIAL_BOM_GROUP_CREATE but after creating Test data using SE37 I am not able to view Alternate BOM using CS03 module.
    Please help.
    Regards,
    Surya

  • More than 3 decimal in Bill of Material component quantity

    I want to know whether we can use more than 3 decimals in quantities in Bill of Material. I heard that it was an issue in SAP but is that issue still exist in ECC 6.0.
    Regards

    Dear,
    During maintaing the unit of measure in T-code CUNI we can define No. of decimal places to which rounding should be performed which specifies the number of decimal places to which this measurement unit should be rounded.
    System will not allow more than 3 decimal places in satandard SAP.
    You can use a larger base quantity of 100 or 1000 in the BOM header (instead of 1).
    That would eliviate your issue with the 3 decimal places in the component quantity.
    SAP always takes the base quantity into account during requirements calculation.
    Hope clear to you.
    Please refer this link,
    [Decimal in Bill of Material|Re: Decimal Points in BOM]
    Regards,
    R.Brahmankar

  • Personalization on Bills of Material - Component Yield Field

    Hi,
    Does any know how I can setup a personalization on the Bills of material form for the component yield field in R12? Form is BOM_BOMFDBOM.
    I am trying to do two things.
    1) If any users goes into a BOM and changes the component yield for an component with "Data" in their description to anything other than .25, they receive a warning message. This part I was able to do.
    Trigger event = WHEN-VALIDATE-RECORD
    Trigger object = B_INV_COMPS
    Condition = :B_INV_COMPS.COMPONENT_YIELD_FACTOR != .25 AND (:B_INV_COMPS.ITEM_DESCRIPTION LIKE '%DATA%' OR :B_INV_COMPS.ITEM_DESCRIPTION LIKE '%Data%')
    2) When a user adds a new component to the BOM and the component contains the word "Data" in its description, a warning message pops up to notify them to update the component yield to .25. This is the one I cannot figure out. Any help here would be greatly appreciated.
    Thanks
    Rich

    Hi,
    Does any know how I can setup a personalization on the Bills of material form for the component yield field in R12? Form is BOM_BOMFDBOM.
    I am trying to do two things.
    1) If any users goes into a BOM and changes the component yield for an component with "Data" in their description to anything other than .25, they receive a warning message. This part I was able to do.
    Trigger event = WHEN-VALIDATE-RECORD
    Trigger object = B_INV_COMPS
    Condition = :B_INV_COMPS.COMPONENT_YIELD_FACTOR != .25 AND (:B_INV_COMPS.ITEM_DESCRIPTION LIKE '%DATA%' OR :B_INV_COMPS.ITEM_DESCRIPTION LIKE '%Data%')
    2) When a user adds a new component to the BOM and the component contains the word "Data" in its description, a warning message pops up to notify them to update the component yield to .25. This is the one I cannot figure out. Any help here would be greatly appreciated.
    Thanks
    Rich

  • Can clicking on a component in a pdf mark the number in a corresponding bill of material ?

    Hi,
    I have a production drawing with graphics and a bill of material. Is there a way with a product like Adobe Writer when clicking on the grahics that a corresponding number in the bill of material is selected ?
    We need this functionality for a spare parts catalog.
    Any ideas are welcome.
    Best regards,
    Bernard Wielfaert

    My gosh, friend this is so awesome..I just tried it and it works.. how did you figure this out btw? So I have another problem.. in FFox when someone sends me an email with an photo in the email and I try to right click it is saved as a Firefox doc and not as a photo and I can't open it..any suggestions? I right click on the photo the picture library opens but on the photo line it's a Firefox document..???

  • Planning Bill of Material to explode forecast in ASCP 11i.10 .

    I like to know if in addition to product familly and model bill of material , the planning bill of material can be used to explode forecast to lower levels and through several levels optionally in ASCP 11i.10 ?

    Yes, Planning items and related BOM structures should be supported in 11i10 ASCP. The process is fundamentally the same as it is for Model items.
    A key consideration is how you want to consume the resulting forecasts. Planning items are never entered on sales orders, so you will be consuming forecast at the component level below, which are typically models.
    You may also want to consider product family relationships for these items. You can consume the forecast at that level and then explode to the lower level items.
    For true subassemblies or component forecasting, it is often better to use safety stock in the short term and use a demand time fence to drop the forecast for product family members during that period.
    Regards,
    Kevin Creel
    www.inspirage.com

  • Explode Bill of Material on Purchase Order

    When we create a standard NB purchase order, we would like to explode a bill of material for the 1 finished goods material and create MRP requirements for the warranty materials on the BOM.  Basically, we want a requirement there so we can create a PO for these warranty materials.  We have looked at subcontracting, but we are not wanting to supply these materials to a subcontractor we just want to purchase them from a vendor and bring them into our inventory.
    We realize that we can explode the BOM if we start with a planned order.  However on alot of occasions we skip over the planned orders and purchase requisitions and manually create the PO.
    Does anyone know of a process to explode the BOM from the PO? or maybe a user exit on the PO that would allow us to do this.  
    We are currently on version SAP 4.6C.
    Thanks,
    Mark

    Hi James,
    As you rightly mentioned, the purpose of a BOM is to contain a list of materials. To create   
    a sales BOM. use T.code CS01.
    Here you give the usage as 5 - indicates sales and distribution as there can be production boms also with a different usage.
    After you enter inside give the components that make up your main material, say music system containing
    Itemcat          material               Qty  
    l               2 mt wires                2
    l               speaker                   2
    so on, then save it.
    For each of these you should have a material master created. For the main item ie., music system select the item category group as " ERLA " for header level pricing and
    " LUMF " for item level pricing.
    Maintain item category determinations in VOV4 as
    <b>For item category group ERLA</b>
    OR + ERLA                         -
    >  TAQ ( Header level pricing )
    OR + Norm +     + TAQ (higher level item cat ) -
    > TAE
    <b>For item category group LUMF</b>
    OR + LUMF                         -
    >  TAP ( Item level pricing )
    OR + Norm +     + TAP (higher level item cat ) -
    > TAN
    This will setup the scenario you wanted. Now when enter music system in sales order with "  1 " quantity it will explode as
    2 wires
    2 speaker
    as was the component quantity mentioned in CS01.
    Hope it helps. Please reward if useful.
    Thanks & Regards
    Sadhu Kishore

  • Bills of material[BOM]

    Dear all,
    hi, i have got a dought in bills of material, i shall be very much pleased if some one helps me out of this.
    using the transaction code CS01, i have created the 'BOM' for the material 'computer' giving the components as 'keypad' and 'CPU'. after creating the required thing i have saved the data.
    later on when i tried to creat a sales order using this data, the components are not getting displayed in the sales order.
    what i have to do to get the components displayed in the sales order.
    please do help me out.
    Regards,
    Sushmitha.

    Susmitha,
    below is whole process for sales BOM-
    Sales BOM Implementation 
    A bill of material (BOM) describes the different components that together create a product. A BOM for a bicycle, for example, consists of all the parts that make up the bicycle: the frame, the saddle, wheels, and so on.
    Process Flow
    When you enter the material number of a bill of materials that is relevant for sales order processing, the system displays the material that describes the whole bill of materials as a main item. The individual components are displayed as lower-level items.
    There are two ways to process a bill of materials in Sales. Once you have entered a bill of material in a sales order, the system runs pricing, inventory control, and delivery processing at:
    - Main item level if the material is assembled, or 
    - Component level if the material is not assembled
    The type of processing used by the system is determined by the item category group that you enter in the material master record for relevant materials.
    Processing at Main Item Level 
    If you want the system to carry out pricing, inventory control, and delivery processing at main item level, enter ERLA in the Item category group field of the Sales: sales org. 2 screen in the material master record of the finished product. This means that the components only function as text items and are not relevant for delivery. The following graphic shows how a bill of material is processed at main item level.
    Processing at Component Level
    If you want the system to carry out pricing, inventory control, and delivery processing at the component level, enter LUMF in the Item category group field of the Sales: sales org. 2 screen in the material master record of the finished product. In this case, only the components are relevant for delivery. During processing the system automatically creates a delivery group. The latest delivery date among all the components becomes the delivery date for the entire delivery group.
    REWARD IF U FINDS THIS AS USEFUL...
    Regds
    MM

  • Bill of material related data.

    Dear experts,
    I want to know is their any standard  datasources to extract Bill of material related data(Material,Component) to BI.As the data in standard tables like MAST,STPO,STKO.
    Pts will be assigned.
    With Regards,
    Meiyappan

    Hi,
    Check these links:
    Hope these links would be of some help
    http://help.sap.com/saphelp_erp2005/helpdata/en/ea/e9b7234c7211d189520000e829fbbd/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/d1/2e4114a61711d2b423006094b9d648/frameset.htm
    http://www.sap-img.com/sap-sd/sales-bom-implementation.htm
    http://www.sap-basis-abap.com/sappp007.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/43/40b8aeaa5bba4d9a81c7332119a4b4/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/6eeedf6d44f242902eafc361924026/content.htm
    Sasi

  • What is BOM(Bill Of Material) In Material Management(MM)

    Hi,
    i am part of Data Migration Project involving SAP And Peoplesoft Systems. We are doing Data Mapping Activity SAP as Target System And PeopleSoft as source system Now we are continuing with BOM (Bill Of Material) in MM Module. I have few doubts regarding Functionality of BOM Any one please Explain me what is Bill Of Material And What kind of Things it Deals WIth. Who Bills for the Material. Explain me some basic Things Abt BOM as i am a Technical Consultant i am totally Unaware of the Functionality Thanks in Advance.
    Thanks
    kiran.B

    Hi ,
          Bill of material (BOM)
    A list of all of the items that make up a product or assembly. The list has a formal structure and states the name, quantity, and unit of measure for each component. A comprehensive product life-cycle management solution should offer support for the following categories of BOM: feature and requirements structures, material BOM, document structures, equipment BOM, functional location BOM, sales order BOM, and work breakdown structure BOM. 
    Defining Bill of Materials
    Use
    Use the procedure to add and view Bill of Materials.
    Procedure
           1.      Choose Production ® Bill of Materials.
           2.      On the Product No. field, press TAB to choose the item, which you want to define as a parent item, from the list of the Item Master records. You can also choose New on Choose from List to create a new master record.
    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.
           3.      Select the relevant BOM type from the list as described in Bill of Materials Types.
    Choose the Production type to be able to include the product in the MRP run and to process standard production orders.
           4.      Enter data for the finished product and the components. For details, see Bill of Materials Window.
    If the BOM contains more than one component with the same serial or batch items; combine the items in a single component with the appropriate increased quantity. This will prevent possible errors in the batch or serial quantities.
           5.      Choose Add to save the Bill of Materials.
           6.      Choose OK.
    Sometimes production gives rise to waste. If, for example, you manufacture the table, this process gives rise to sawdust.
    You add sawdust as an additional component (by product). Enter a negative value in the Quantity field of the sawdust component.
    When you complete and confirm the production of the desk, this component is put into stock. On the contrary, the rest of the components are removed from stock when you complete and confirm production.
    Please reward if useful.

  • Bill of Material Structure

    Are there any negative ramifications to structuring a FERT to a FERT in a bill of material?

    Hi,
    There are no any negative ramifications to structuring a FERT to a FERT in a bill of material.
    If your product structure is like that then you can go ahead for structuring FERT as component of other FERT in a BOM.
    Regards,
    Narresh

  • PM - Equipment BOM VS Maintenance Bills of Material

    Hi,
    In Materials planning,  Using maintenance bills of material have  advantage , know that there's Equipment BOMs
    & Functional location BOMs.
    When & How to use the Functional Location BOM ?
    When & How to use Equipment BO?
    Can we use normal production BOM (CS01) replace all this equipment BOM / FL BOM?
    TQ.

    Hi,
    Production BOM will have the Materials in Header as well as in Item level. Even BOM usage will be defined as Production.
    In Equipment / FL BOM, BOM will be created against the Technical Objects. These BOMs will be used in Maintenance Orders. In these BOMs, components of the Equipments (For example, equipment will be motor. Components may be capacitor, rotor, casing, etc.,) will be mentioned with the qty.
    Based on the type of motor, components can be different type. So BOMs will be maintained by the MDM people. Maintenance Planner will create the Maintenance Order & BOM will enable him to select the right component (There may be different type of rotors in Material Master, but based on Motor type, rotor should be selected in Maintenance Order).
    As Maintenance Planner will not aware of the type of component, BOM will help him to select the right component.
    Regards,
    Maheswaran.

  • Bills of material

    Dear SAP gurus,
    my client wants the unit of measure in bills of material is Kg. The have the quantities in mili grams too.. so they want justise to this issue. Pls help

    Dear,
    Please maintain the unit of issue in material master. Now when you add this material in the matrerial list in BOM you can enter this unit of issue.
    Ex. Base unit -
    KG.
    Or,
    Maintain the Conversion factor between Base unit of measure (Mill-GM) and Alternative Unit (KG) for that Material at Material Master (MM02).
    Assign the issue Unit as KGs at "Work scheduling View" or "General plant data View" of Material master (MM02)
    Now , alternative unit of measure (KG) will come automatically when include the Material as Component at BOM (CS02). (Material List)
    Regards,
    R.Brahmankar

  • Loss qty related Bill of material move to scrap location automaticaly at the time of process order confirmation

    Hi experts,
    I need one  clarification, i am raise one process order in COR1 - Qty 1000 kg, reservation completed against the process order bill of material main storage location ( 0001 & 0002 ) To Production storage location ( 0004 ) through MB21 with mvnt.type 311, store person also moved the bill of material main storage location ( 0001 & 0002 ) To Production storage location ( 0004 ) through MB1B.
    Issue is at the time of confirmation i am enter the OK qty or packed qty in yield column - 950 kg , remaining 50 kg is enter in loss column.> Go to confirmation bill of material qty calculated at only for related in yield qty. Remaining loss qty related bill of material not consumed it is available in production storage location ( 0004 ),then one by one raw material and packing material qty moved to scrap location through MB1A - 541 Mvnt type.
    If any other way for easy reservation and goods issue against the process order main storage location to production storage location.
    I need at the time of confirmation enter yield qty related BOM qty consumed in 261 consumption, remaining loss qty related BOM qty taken scrap mvt.type  541 in automatically if it is possible for any customization at the time of loss qty enter related bill of material qty also posted in scrap  ?
    Kindly help me for the issue !
    Thanks & Regards,
    N.Umapathy

    Hi
    In Standard practice the scrap generated during the production process should be maintaid as negative qty and with differnent material codes which acts as BY Product.
    In your case when you maintain the scrap percentage for BOM components , it will copied to the production order with adtditional qty and it will be consumed when you do confirmation and Goods moevement and at the same time the Scrap material is generated/received  with movement type 531( not 541) as by product received out of production.
    You can maintain the same BOM component as By product in BOM system will generate the stock to a different SLoc but the cost will be wrong.
    Regards,
    Anupam Sharma

Maybe you are looking for

  • Multiple monitors

    what is the best way to connect my 2010 macbook pro to my HDTV? I just don't know whats great

  • Report Launchpad in HR administrator

    I  AM configuring the new report launchpad (ABAP based )  in HR Administrator, using transaction LPD_CUST. And wonder  How to export manager desktop reports to the new launchpad? For MSS we have used Convert MDT Data to MSS reporting Launch pad in sp

  • Need to upgrde db patch from 16.0.00.01 to 02

    Hi All, What are the steps to follow to upgrade patch from 16.0.00.01 to 16.0.00.02. Regards, Karthik.

  • Stock Posting  for Previous Period

    Hi all, In case, there is a need to update stock for previous period (Stock Transactions: Initial Quantities Stock Tracking and Stock Posting /Stock Posting List ) e.g.  Update stock at 31/12/08 where there are stock movements within 2009, there is a

  • The mother not permited to up the vcore more than 1.65v

    Hi! The mother is not permited too pass the vcore 1.65v. if i put more the pc turn off ( 1.675v, 1.7v). i need put the fbs more than 118. if i put more the cpu need more volt. please help my !! I have the latest bios version. [Edited by Danny to make