Re-costing of header material when Sub-item material BOM is updated

Hi ,
A sales order is created with a header material (HM) and coressponding sub items (SM1 & SM2 ) got populated automatically from the BOM.Now the costing for this three line items happened as expected i.e.,
For example :
Header  Material : HM
          Sub item1 :-      SM1
          Sub item2 :-      SM2
              MAP of Sub item 1 > SM1  = 20 USD
              MAP of Sub item 2 > SM2  = 30 USD
Costing in the main line item appears as 50 USD ( 20 + 30 USD) .
Now business go to the transaction CU51 and make the changes in the sales order BOM subitem1 ,material SM1 by adding or deleting items in the BOM. After that they are trying to re-cost the sales order and it is observed that only the corresonding sub item (SM1) is getting re-costed with new value.But the header item HM is not getting updated with the new values it still have the old values .
It would be really helpful if you can let me know what is the issue for this.
Thanks!
Regards,
Dileep.

Dear Pushpalas,
IF my understanding is correct then the sub-items is only to split up the exact component quantity and it's usage in the exact
production or assembly process for information or understanding purpose.
Sub-items have no operational function in the BOM. They are not copied to the production order. However, you can use sub-
items to help you create programs for your company (for example, automatic assembly programs).
http://help.sap.com/erp2005_ehp_05/helpdata/EN/ea/e9b1aa4c7211d189520000e829fbbd/frameset.htm
Regards
Mangalraj.S

Similar Messages

  • No costing at header material of a production order

    Dear Friends,
    We maintained a finished material as valuated . I don't want to cost the header material of the production orderand want to cost only the components and activities. But i don't want to create the header material as non valuated . Please suggest how to do this.

    Thanks for the reply.
    There are actually two plants assigned separately to two company codes and which are in turn come under a same controlling area. One is a Customer and other is a subcontractor. The customer will send some components for assembly to the subcontractor through a sub contract PO.
    The subcontractor will create a sales order and run MD50 and execute the assembly by adding some more components to the assembly.Now my requirement is to capture the cost of the assembly activity and also the components which the subcontractor adds for assembly.

  • Item Category do  ot change for sub-item in BOM

    Hi Friends
    I create main item using MM01, Gen item cat. grop in basic data 1 in ERLA and Item cat. group in Sales org. 2 is LUMF
    and similarily i created other items useing MM01 (for making sub item of main item) Gen Item Cat grop in basic data 1 is NORM and Item cat group in Sales Org. is also NORM.
    When i create sales order (OR) and enter main item only, when i press enter (green button at right top), BOM automatically explode and Item Category of main item change to TAP main item become in display mode BUT ITEM CATEGORY of sub items do not change (it remains the same as TAN), i should also change to TAE
    and also when i save this document it shows error at bottam that prising PR00 is missing. When i edit and give price of each sub item, i can save document and all prices which i am giving just now is automatically added in net value at header lavel.
    Please any one can advice me where i am doing wrong
    Rajesh
    Email: [email protected]

    HI,
    Please check in customizing.IN assign item category menu
    S.doc typeitem cat. groupUsageHigh lvl itemiem cate.
    ORERLA   TAQTAE.
    IN MM01 ERLA and LUMF can not be assigned to same material.They are alternative item category group.
    ERLA  is used when you want to price Main item  in BOM and sub-item are not priced.
    LUMF is used when main item in BOM is not priced but sub-item(individual component) are priced.
    In SAles org vie 2- you have assigned LUMF,that is each sub-item is priced.hence you are able save the document.Since  You have  maintained price in VK11 for each sub-item and item category of sub-item is not getting vhanged from TAN to TAE.
    But if you maintained ERLA in Sales org view 2 and redo all steps,your problem will be solved.
    vrajesh

  • PGI for both main and sub items (Sales BOM)

    Hello SD friends,
    I'm trying to map some BOM scenario.
    Only main item should be relevant for princing.
    Here's what I've done :
    1. Create sales BOM via CS01
    2. Maintain item category group ERLA for main item and NORM for sub item MM01
    3. Maintain item category TAQ for main item and TAE for sub item VOV4
    When I wanna do PGI, system creates material document only for main item.
    Which means that PGI has not been done for sub items.
    Is there any way to make PGI possible for both main and sub items ??
    Regards,
    Bahia.

    Can you clear, that why you want to issue both Main item/Sub Item, where your pricing is @ main item level.
    in Main item level Pricing, Main item itself includes components. Once you issue the main item. from Inventory this main item wil be reduced.
    Eg:  In Case of Main Item- Computer (Assume Components - Monitor , Keyboard , CPU & Mouse)
    Price for Computer - $1200.   Component prices individually- $300 , $100, $700, $100 - These prices applicable only when you sell as BOM at Subitem level Pricing Or Seperately )-
    In SO: - Order Computer (System explodes Components to verify,which are the subitems consists in Main Item)
      DEL:-  Components will be copied in Delivery , but not for dispatch (Sch Line Cat:CT has these controls)
    Inv: Only Main item will be displayed for print.
    NOTE:  for your requirement, you can change the Schline Category from CT - CN- which is relevant for delivery with movement type i601 -in SO. Then you can dispatch components & these components will not copied into Invoice ,as they are not relevant for billing.
    If you want CN has to determined automatically, maintain Schline Category determination accordingly.
    Hope it helps,
    Any info, please revert

  • How to create a single sub-item SD BOM

    Hi All,
    I know how to create Sales BOM.
    In both
    Above Structure (ERLA)  & Below Structure (LUMF)
    Now i want to create sub item bom for a particular sub item. (eg. I have A,B & C sub items but i want to create order only sub item A)
    [ let say-
    i have a laptop in Above Structure (ERLA) & HD,Processor & other laptop component int below structure (LUMF) level.
    Now i want to create Bom only HD .
    when i will create bom only HD price will fetch in order,delivery & billing
    How to do this process .
    Please help me
    Thanks In Advance
    Santanu Giri

    It looks some important info is missing.
    - what is the BOM structure ? What level is the  pricing / Delivery carried out? Iam sure it cant both i.e. pricing @ main item - sub item  because you have mentioned ERLA & LUMF.
    As you already aware-
    Item cat group ERLA is only used in main item MMR, if the main item is relevant for pricing / delivery. & then sub item item cat group should be NORM.
    similarly, if you want to delivery subitem & price is @ subitem level, then main item ,item cat group LUMF ,sub item item cat group NORM.
    now explain your requirement in a better way as possible.
    Thanks,
    Reazuddin MD

  • Problem with MATNR in greying out sub-items of a BOM material in VA01

    Hi All,
    I'm trying to grey out the fields material number, quantity and UoM in VA01 for a sub-items of BOM material using the user exit USEREXIT_FIELD_MODIFICATION in the include MV45AFZZ.
    CHECK vbap-pstyv EQ 'TAE'.
    IF screen-name = 'RV45A-KWMENG' OR
    screen-name = 'VBAP-MATNR' OR
    screen-name = 'VBAP-VRKME'.
    SCREEN-INPUT = 0.
    ENDIF. " IF screen-name = 'RV45A-...
    Now, the problem is that the fields Quantity and UoM are greyed out but not the Material number field. I've also tried using the enhancement "V45A0003" the same problem still persists

    i think the field name is MABNR not MATNR for material number
    Message was edited by:
            Naresh Reddy

  • How to change the header of Material BOM in a program for alternative BOM ?

    Requirement: An Inbound IDOC creates /change/delete Alternative Material BOM. The Alternative Material BOM can have alternative values from 1 to 99.
    ISSUE: I am good with CREATE and DELETE BOM. The issue is with CHANGE of header Material BOM. The fields which we need to change in the header is the base quantity, BOM status, Lot Size from and Lot Size to. Please note that I am able to change the item details of the BOM with FM CSAI_BOM_MAINTAIN. I find no FM /BAPI which would change the header of a material BOM.
    Please NOTE that I am using BAPI_MATERIAL_BOM_GROUP_CREATE to create alternative Material BOM. This has a parameter in TABLES called "VARIANTS" which has a field CS_FUNCTION which can have value from NEW/CHG/DEL .Also ,there is another parameter in TABLES called "ITEMASSIGNMENTS" which has a field CS_FUNCTION which can have value from NEW/CHG/DEL which implies this FM will allow us to change the BOM. But this does not work when I use it for CHANGE scenario with CHG value. I debugged this BAPI and observed it requires a STNLR(Bill of Material) value . This field is not there in any of the structure. I am not sure if I am passing the right parameters to it.
    Let me know if the parameters are passed correctly for CHANGE scenario.
    Also let me know if there is any other way(FM/BAPI)  to update the Header of the Material BOM ?
    Here is the code I am using:
    *& Report  ZTEST_S_E
    REPORT  ZTEST_S_E.
    * This code will create a material BoM for the material
    * MAINMATERIAL with the components COMPON1 and COMPON2.
    * Data Declaration
    DATA:
    it_bomgroup LIKE bapi1080_bgr_c OCCURS 0 WITH HEADER LINE,
    it_variants LIKE bapi1080_bom_c OCCURS 0 WITH HEADER LINE,
    it_items LIKE bapi1080_itm_c OCCURS 0 WITH HEADER LINE,
    it_matrel LIKE bapi1080_mbm_c OCCURS 0 WITH HEADER LINE,
    it_itemas LIKE bapi1080_rel_itm_bom_c OCCURS 0 WITH HEADER LINE,
    it_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
    * Fill the data
    * Material BoM Group Header Data
    CLEAR it_bomgroup.
    it_bomgroup-bom_group_identification = 'BAPI_SMP_COL1'.
    it_bomgroup-object_type = 'BOM'.
    it_bomgroup-object_id = 'SIMPLE1'.
    it_bomgroup-bom_usage = '1'. " YOU COULD CHANGE THE BOM USAGE TO YOUR
    *NEEDS
    it_bomgroup-ltxt_lang = sy-langu.
    it_bomgroup-technical_type = ' '.
    it_bomgroup-bom_text = 'Simple BoM - FM'.
    APPEND it_bomgroup.
    * Header Details of the different variants
    CLEAR it_variants.
    it_variants-CHANGE_NO  = '500000000349'.
    it_variants-bom_group_identification = 'BAPI_SMP_COL1'.
    it_variants-object_type = 'BOM'.
    it_variants-object_id = 'SIMPLE1'.
    it_variants-alternative_bom = '01'.
    it_variants-bom_status = '01'.
    it_variants-base_qty = '2.000'.
    it_variants-valid_from_date = sy-datum.
    it_variants-function = 'CHG'.
    APPEND it_variants.
    * Details of the items of the variants
    CLEAR it_items.
    it_items-bom_group_identification = 'BAPI_SMP_COL1'.
    it_items-object_type = 'ITM'.
    it_items-object_id = 'SIMPLE1'.
    it_items-item_no = '0010'.
    it_items-item_cat = 'L'.
    it_items-component = '030790490'.
    it_items-comp_qty = '2'.
    it_items-valid_from_date = sy-datum.
    APPEND it_items.
    CLEAR it_items.
    it_items-bom_group_identification = 'BAPI_SMP_COL1'.
    it_items-object_type = 'ITM'.
    it_items-object_id = 'SIMPLE1'.
    it_itemas-change_no = '500000000138'.
    it_items-item_no = '0020'.
    it_items-item_cat = 'L'.
    it_items-component = '030790490'.
    it_items-comp_qty = '3'.
    it_items-valid_from_date = sy-datum.
    APPEND it_items.
    * Details of the materials of the different variants
    CLEAR it_matrel.
    it_matrel-bom_group_identification = 'BAPI_SMP_COL1'.
    it_matrel-material = '030790490'.
    it_matrel-bom_usage = '1'.
    it_matrel-alternative_bom = '01'.
    APPEND it_matrel.
    * Linking items to the corresponding variants
    CLEAR it_itemas.
    it_itemas-bom_group_identification = 'BAPI_SMP_COL1'.
    it_itemas-sub_object_type = 'ITM'.
    it_itemas-sub_object_id = 'SIMPLE1'.
    it_itemas-super_object_type = 'BOM'.
    it_itemas-super_object_id = 'SIMPLE1'.
    it_itemas-valid_from_date = sy-datum.
    it_itemas-function = 'CHG'.
    APPEND it_itemas.
    * Create variants
    CALL FUNCTION 'BAPI_MATERIAL_BOM_GROUP_CREATE'
    EXPORTING
    all_error = 'X'
    TABLES
    bomgroup = it_bomgroup
    variants = it_variants
    items = it_items
    materialrelations = it_matrel
    itemassignments = it_itemas
    return = it_return.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    LOOP AT it_return.
    WRITE:/ it_return-type, it_return-id, it_return-number,
    it_return-message.
    ENDLOOP.
    Let me know if the parameters are passed correctly for CHANGE scenario.
    Also let me know if there is any other way(FM/BAPI)  to update the Header of the Material BOM ?

    Try doing something like this:
    class MyJTextArea extends JTextArea {
        public boolean keyDown(Event evt,int key) {
            if(key == 13 || key == 10) { // or whatever ascii codes enter may have
                // move carret to next line
            } else {
                super.keyDown(evt, key);
    }which means you have got to catch the enter-key before the actutal JTextArea does this.
    p.s. look at my post, maybe you can help me, too.
    http://forum.java.sun.com/thread.jsp?forum=5&thread=465803&tstart=0&trange=100

  • On VA01 transfer an value from Condition type Z000 from sub-item to main it

    Hi,
    I want to create a sales order and I have one main item an one promotion  (sub-item) item without determination price. I want to transfer cost price from VPRS form sub-item to an Z000 contidion to main item for tranfer this value to CO_PA for a field value different from VPRS field value.
    How can i do this?
    Thanks in advance.
    Catarina Alves

    Hi,
    In copy controls of Del to Bill - VTFL .... in the item screen copy control.... u have a button called cumulate coast set this for the item u need to transfer i.e to item category of subitem u have.
    Reward if helpful
    Please find the help for this "Cumulate Cost" below -
    Cumulate cost
    This field is used in the main item to control whether the cost value (usually condition type VPRS) is to be copied from the relevant sub-items. The following cases are taken into account:
    Free of charge sub-items (free goods)
    Batch split items
    Bill of material components
    This function is needed especially if the sub-items involved are not relevant for billing. In this case the costs of these sub-items do not appear in CO-PA or the statistics.
    Reward if helpful
    Krishna

  • Update of cost in the material master

    Hi all,
    From the purchasing point of view,In the normal process Cost in the Material master gets updated from purchasing documnents automatically.In this case,manually if the cost is changed in the purchase order affects the cost in the material master.My requirement is this should be done automatically after receiving the vendors confirmation of list of material costs.There may be chance of change in the cost of the materials.so the costs of the materials which were changed should get updated in the material master automatically(VPRS).
    Ie changing of the costs of the materials in the purchase order should be reduced .How this will done??
    If we have more than 2000 line items in the purchase order,it will be quite little bit difficult to update each material cost in the purchase order .
    Thanks in advance..
    Regards...VM

    Hi,
    Normally material will be valuated with two types of price controls S -standard price and V-moving avaerage price.
    A std price as its name indicated it is std and will not chnage.
    A moving average price will chnage accordingly with the change in the material price.
    Normally it will be better create a info record for the material and vendor combination for the plant or purchase organisation with a info update indicator in the purchase order will serve your pupose .
    With the proper settings at SPRO system creates info record during creation of PO if it does not exist or updates the existing record if it has one with the latest price details in the form of last purchasing document so that these details get defaulted during creation of PO.
    However you can create a outline aggrement so that a PO can be created with reference to that.
    Or you can create a condition record for the price for your combination so that it can get defaulted.
    The price which is there in PO will not be defaulted to material master.
    Or time to time you can review the prices and maintain via MR21.
    Regards,

  • Error when Uploading Items on a Delta Run

    Hi,
    I tried to upload new items with the "Force initial transport" unticked and I got the following Log:
      06/18/2007 10:50:35 (UTC+8): Package 0001 received and saved 
      06/18/2007 10:50:36 (UTC+8): processing of package 0001 started 
      06/18/2007 10:50:39 (UTC+8): catalog header data updated 
      06/18/2007 10:50:42 (UTC+8): catalog model data updated 
      Error when deleting item 5F953A4645A9FA34E10000000A0000EC (ID) 
      Catalog update was terminated
    How come Items are being deleted on an Upload?
    Please help.

    Hi
    Which CCM version are you using ? Try to post what the failure message that you are getting for the Transaction ST22.
    <b>Please go through the follwoing SAP OSS Notes and pointers below -></b>
    Errror while uploading the supplier catalog data
    Note 828553
    Notr 841441
    Note 936122
    Catalog upload with errors ?   :-(
    Error when publishing a catalog
    Re: CCM  related - How to delete the item from a catalog?
    Hope this will help.
    Regards
    - Atul

  • Disappear sub-items Va01 Va02 va03

    Hi,
    i have the next problem. We have a item in sales order that explode (BOM) subitems.
    Oue customer doesn`t want to see the subitems in sales overview or item overview. They only want to see in structure tab (and in gray status).
    Some body can help me.
    I don`t want to see sub-items in a sales order (it depends of the item category).
    We proved with USEREXIT_FIELD_MODIFICATION, but we don`t know how to disappear all the subitems.
    Thanks

    hi,
    thanks for the information.
    But the problem is that i need BOM explode. But our customer doesn´t want to see the sub-items in the sales order items. But the problem is that there are sub-items with BOM again, so i have three levels in my sales order:
    Level 1      Main item
    Level 2          Sub-item
                        Main sub-item
    Level 3                    SUb Sub items
    They onlu need to see Main item and main sub-item. It depends of the category items.

  • Mass change through CS20 at sub item level

    Hi,
    Can we change BOM at sub item level through CS20.
    If any input pl. provide..
    Regards
    Tushar

    Hi,
    You can not change the sub items of BOM through CS20.
    Only item details can be changed here.
    Thanks
    SISL !!

  • PO-Freight cost (header, diff currency with items) not distributed when GR

    Dear Gurus,
    I've one PO with freight cost at header level (1000 VND). In the PO, this freight amount shown to be distributed successfully to line item (value base, line item 1 is 300 VND, line item 2 is 700 VND). But when doing GR, the freight cost of each line item is NOT distributed but equals the total freight amount (line item 1 is 1000 VND, line item 2 is 1000 VND).
    In this PO, vendor is international vendor, goods in USD. Freight cost is in local currency (VND)
    The configuration for this freight cost condition is at Header level, Group Condition ticked; Calculation type: Fixed Amount; Scale Basis: Value. When the currency of freight cost and goods are the same (all in USD), I have no error as above.
    Please help to solve this issue.
    Thanks.

    Hi
    I am facing the same problem in my client. It would be great if you can share how you resolved the issue of Freight Cost
    Regards
    Athar

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

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

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

  • Material Determination in BoM sub item

    Hi All,
    In our current SAP system;
    1. In quote if there is BOM material, it won't explode and it shows as one line item i.e BOM header.
    2. Now in the BoM for one sub item there is a material determination set up.
    Issue:
    When i create a order with ref to quote now BoM gets exploded and material determination is NOT taking place, I was told it Is possible to activate determination in reference mode. Any idea how i can activate this?
    Note: When I create an order with no reference BOM gets and exploded and materail determination also takes place with no issues.
    Yash

    Hi.
    Refer :
    SAP Note 486680
    SAP Note 549341
    Regards,
    Anji

Maybe you are looking for