LO-VC BOM Quantity explosion question

Hi SAP Guru's,
I have a special request from my client where they would like to explode a bill of material but subtract the final Qty based upon the Sales Order quanity.
For example
Top Level Product (BOM)
     Component:  12345   Qty. 1     
If I place and order for "Top Level Product" for a Qty of 10 pcs, the BOM component value should explode as 9
Here is what I have done as a test.  
1.  Created a new characterisic as: QUANTITY referencing STPO-MENGE.
2.  Created a dependency:  $SELF.QUANTITY = -1 (What this did was if the order was for 10pcs, the actual Componet value would then translate to -10.
3.  Tried another dependency: $SELF.QUANTITY = Sales_ORDER_LINE_QTY -1.   IF I updated the BOM - CS02 to reflect a Fixed Qty or RC29P-FMENG = 'X' this process worked well.
My first question is there an simple way to write the dependency so if I used $SELF.QUANTITY would give me the correct result = 9 for the component BOM?
Or is there a reference table and field that I could use in the CT04 characteristic that will automatically populate the Sales Order line item Qty?   I tried multiple fields, but none worked:  RCUKO - MENGE, VBAP-KMPMG and RV45A-KWMENG.
Thankyou

Not answered, just moved the question to the SD forum.  THanks.

Similar Messages

  • Validation of material BOM quantity at the time of production order confirm

    Hi,
    I want validation on material BOM ,when i confirm production order.
    Actually when i am going to confirm my production order by tcode CO11, In this screen,i click on "Goods Movement" button. According to confirmed quantity , consumed materials will display. Here i can change material quantities. And here i want some validation. I there any user exit for this screen.

    Hi,
             Exit Name Description
    PCSD0001 Applications development R/3 BOMS
    PCSD0002 BOMs: Customer fields in item
    PCSD0003 BOMs: Customer fields in header
    PCSD0004 BOM comparison
    PCSD0005 BOMs: component check for material items
    PCSD0006 Mass changes user exit
    PCSD0007 Check changes in STKO
    PCSD0008 WBS BOM: Customer-specific explosion for creating
    PCSD0009 Order/WBS BOM, determine URL page
    PCSD0010 Order/WBS BOM, determine explosion date
    PCSD0011 Knowledge-based order BOM, parallel update
    PCSD0012 Customer - Mat. number/mat. number during material exchange
    PCSD0013 Customer-specific processing of an explosion for BOM browser
    PCSD0014 Knowledge-Based Order BOM: Status
    BADI's are
    WORKORDER_CONFIRM
    WORKORDER_UPDATE
    WORKORDER_GOODSMVT
    <b>Reward points</b>
    Regards

  • BOM Re-Explosion at sales order created with referance to Contract

    Hi Experts,
      Need your advise in mapping below requirement.
    Our clinet is into service industry.
    The sales process is  Contract --> Sales Order --> Invoice.Currently all the services will be charged using a BOM.
    The BOM IS Created as below.
    BOM Header Material--- ABC
    BOM Components -
    ABC1
    Now because of additional tax requirements for the services we need to differentiate the services charged to the customer, thus we are planning to change the BOM Masterdata as below.
    BOM Header Material--- ABC
    BOM Components---- ABC2 , ABC3, ABC4,ABC5,
    Because of the change in BOM master data all the new contracts created will have the new BOM and its components.
    Our concern is how to convert the existing contracts. Business is asking even for the existing contracts if a sales order is created it should contain the new materials and taxes should be calculated based on the new materials.
    For the Legacy (Existing) contracts as few sales orders and invoices are created, we can not delete the old materials and add new materials.
    Is there any way to make the BOM Re explosion at sales order level .
    Ex: Conract created with old bom data and it has ABC and ABC1 materials in it, when a sales order is created system should read the new bom master data and explode it with the new materials.
    If we do it either through SAP Standard feature or by a user exit will there be any negative impacts on the existing transactions or will there be any problems as the materials in the contracts and sales orders will be different.
    Please share your thoughts and inputs on this.
    Thanks,
    Srini

    Hi All,
      When we ran the test cases the BOM is not Re-exploded in the sales order when created with referance to a contract. One  option we thought about is cancelling all the open contracts and creating new contracts for those, thus the new bom will be added to the contract. It looks very hectic as we have aroung 5000+ open contracts.
        Can any one suggest an alternative approach for this.
    Thanks,
    Srinivas
    Edited by: srini vasarao on Jun 27, 2011 9:02 AM

  • Can not put decimal quantity in BOM quantity

    Hi all,
                 while go to put decimal quantity in BOM quantity, sytem is not allowing me. It is only allowing me to put only integer number.
    with regards,
    partha

    Partha,
    Is it an error or warning message. Like Suhas said it might be due to User settings. Change the format for numbers to decimal (middle one) in User settings.
    IF it is a warning message it may be that the UOm does not support decimals as per customizing. Check in CUNI.
    Regards
    Ram

  • BOM quantity update in a confiurable material

    Hi All
    Material is a configurable material ,which is having a selection options in a sales order and based on the selection options there is characteristics BOM quantity gets updated based on the formulae.
    If you go to routing and double click on the operation to see the details , you will see the unit of measure conversion with the header and Operation fields. I want BOM quantity should get updated in the operation field (UMREN).
    I was using the Reference characteristics with PLPOD table and UMREN field to update the value in the UMREN field. And i created a procedure with a logic and is assigned to configuration profile and the Routing operation.
    Process is MTO process, Production order is generated when the sales order is created. i checked in production order after creating a sales order, UMREN field is not updated and dont know what where i am  doing mistake and i also checked in the Routing Master Data there also its not updating.
    Above mentioned is not an requirement but to calculate the costs accurately, we have to approach this way.
    Please suggest.
    Thanks,
    Quantum..
    Edited by: quantum on Sep 15, 2009 8:07 AM

    Hi,
    NO inventory figures are updated. The invoice only affects the financial postings and does not affect any stock quantites.
    By posting an invoice for a larger qty than was received you would increase the GR/IR clearing account qty so that the extra qty can be cleared if and when a further GR takes place.
    But NO stock quantities are ever affected during MIRO.
    Steve B

  • BOM quantity change (STPO-MENGE) resulting quantity less than 1

    Hi,
      Anyone have done a BOM quantity change (STPO-MENGE) where the resulting quantity is less than 1.  Please help.
      Thanks,
         Hazel

    Do you mean base quantity by saying header quantity?  I'm running variant configuration.  The base quantity is restricted to 1.  Moreover, changing the unit of measure is not an option.  Each is the official base unit of measure.
    Sample Scenario/Requirement:
    An order for a qty of 1000 requires a total 84 plates.  Each plate can yield a qty of 12.
    SAP uses the equation -->
    Current Component Qty =
                (required qty/base qty) * saved component qty
    Calculations:
    Step 1) Derive Current Component Qty
    Let required qty = order qty (VBAP-KWMENG),
              base qty = max yield per plate (given)
    Current Component Qty =
                 ceiling (VBAP-KWMENG/max yield per plate)
              = ceiling (1000/12)
              = ceiling (83.333333)
              = 84
    The Current Component Qty (84) is the qty used production orders and is equal to the Requirements Qty of the component (RESBD-MENGE)
    Step 2) Derive save component qty.  In Variant Configuration, save component qty is equal to STPO-MENGE.  Base quantity of 1 is assigned to the KMAT (configurable material).
    Since Current Component Qty =
          (required qty/base qty) * saved component qty
    by substitution -->
        84 = (1000/1) * saved component qty
    saved component qty = (84/1000)
    saved component qty = .084
    Issue/Problem:
    I have the above calculations correct in Variant Configuration.  To run a check, I do a production order simulation (CO01S) for a Total order qty of 1000 with today's Finish date.  When I click for components overview, it gives me a Requirements qty of the component of 83 and NOT 84.
    I'm not sure how SAP does the calculation in the background, but I was thinking; maybe, by increasing the number of decimals from 3 (.083) to 6 (.083333) would give me the 84 that I needed.
    Roberto

  • Can i enter BOM quantity 0

    hi
      i have approx. 100 alternative items for a particular raw materials. i do not want to use alternative item group. i want to put 0 in bom quantity fot all 100 alternative items.
    system does not allow to put 0 in bom quantity.
    is there any setting for BOM so that i can put 0 in bom quantity field

    Dear,
    Please refer these thread,
    https://forums.sdn.sap.com/click.jspa?searchID=18245760&messageID=4851840
    https://forums.sdn.sap.com/click.jspa?searchID=18245760&messageID=5850243
    Hope it will help you.
    Regards,
    R.Brahmankar

  • BOM quantity changes tracking issue - please help

    hi,
    we use Engineering change management and change BOM with reference to a change number .
    we need to have a report to know by inputtig the date and know on that date what are all the BOM changes are done using change number.
    if we only add a new BOM component we are getting the details ,
    when we modify the BOM component quantity we need to track the new quantity added and old quantity deleted with reference to that change number.
    example : for a BOM component  A, using some change number N if we modify the quantity from 0.5 to 
                   1 .
                   then we should get in our report with reference to the change number  N added quantity is 1 and deleted quantity is 0.5 . when we go by the tables AENR,STAS and STPO , against the change number N we are getting only the added quantity of 1 and we are not able to get the deleted quantity 0.5
    we input the  date in to table AENR and get change number AENNR for the selected date .Input this change number  to STAS  here we are able to see one record with X in the field LKENZ and one with out. from here we take STLTY,STLNR,STLKN and pass to STPO to get IDNRK,Quantity referring to the same change number .
    here in this table STPO we are not getting any record with field LKENZ=X,
    only added quantity record is there
    deleted quantity reference record is not there
    please help
    MADHU KIRAN

    hi,
    AUT10 is not giving the quantity deleted or added and coponent
    our major requirement is we need to have an ABAP report whose input is date and during that date using change number what changes ae doen to BOM we need to get as output
    AENR table gives AENNR -change number using which on the selected date BOM changes are done
    taking this AENNR from STAS table we can get the added , deleted details with respect to BOM number , etc..
    using this from STPO table if i try to get
    there i am getting only added components its quantity details only
    about deleted  with reference to the details available in STAS , in STPO  table entries are not getting updated
    today if i change BOM quantity using one change number , again the same components quantity i change after some days that addition onlly getting stored , deleted quantity(means old quantity ) is not getting stored against the change number
    plz help
    regards,
    madhu kiran.

  • Dependency to change BOM quantity + 1

    Hi,
    I have a scenario, where we want to change the quantity of BOM item to original quantity + 1 if a certain characteristic is fulfilled. Now I have tried $self.stpo_menge = 1 + mdata $self.stpo_menge, but what happens, is that i get multiples of the original quantity. Eg. if in BOM quantity is 1 pc and in order 2 pc, my component requirement should be 1 + 2 = 3 pc, but currently it is (1+1)*2 = 4 pc. Can you please help, which formula do I require to make the adding of the 1 pc to the final quantity?
    Thanks in advance!
    Anu

    Hi Anu
    based on your furmula it is working fine
    it will not work with Order qnty , if we use AFKO_GAMNG then  we need to match the material number also with STPO which is difficult
    what you can do is you fix it in formula with help of IF and ELSE
    if it is useful reward
    Thanks
    Bala

  • Sales BOM: Quantity correlation for deliv.group 001

    When creating a delivery for a sales BOM material assigned to delivery group, I'm getting a partial quantity. 
    Example is sales BOM material A requires 4 EA of subitem B.  Order created for 1 EA of material A, which requires 4 EA subitem B but there are only 2 EA of B in stock.  The corresponding delivery is created with a quantity of .5 for material A.  I get the following message in the delivery log:
    "Quantity correlation for deliv.group 001 from sls.order 0004831194 for deliv.item 000010"
    I'm expecting the quantity to be 1 on the sales order.  Any help is appreciated.

    Hi,
    I guess not. Obviously, if you don't have enough to deliver in full, then you can do one of the two; either deliver less (in this case half), or deliver none (maybe you can't deliver half because it is impossible).
    Here's something from the online documentation:
    Correlating Delivery Groups
    Items in delivery groups can be combined in the sales order to synchronize their delivery. You will receive a warning message when creating a delivery for a sales order if all items belonging to such a group cannot be delivered. If you then create deliveries using a delivery due list, all orders whose delivery groups cannot be completely delivered will be ignored in this process. In this case, the log supplies all appropriate information. If the delivery quantity is changed or if such an item is deleted in a delivery item belonging to a delivery group, you will receive a warning message. For further information on delivery groups, refer to Combining Sales Document Items for Delivery.
    In addition, the system will carry out a quantity correlation for groups of items when they are classified together by one of the following requirements:
    the items belong to a common delivery group
    the items have a bill of material structure
    If the order structure arose from a bill of material explosion, the relations in quantity of the items is based on component quantity. If this is not the case, it is based on the relation of the order quantities. The system does not correlate items classified as having fixed quantities.
    When creating deliveries, the system automatically carries out a quantity correlation. If you change a higher level itemu2019s quantity, the quantities in the dependent items will be adjusted on all levels if necessary. When you change a dependent itemu2019s quantity, the system generates a warning message. When you delete a higher level item, all subordinate items are deleted as well. When you delete a dependent item, the system generates a warning message. If the dependent item contains a quantity to correlate and is the main item of a batch split, you receive a note. You must decide manually for which batches the quantity change is to take place.
    The question really is, from a business point of view, in your example what would you like to do? Deliver 1 A or none?
    Regards,
    Mario

  • Quantity good receipt not match with the PO/ BOM quantity ( material subcon

    Dear Expert,
    When I did the first MIGO for material subcontracting the quantity is exactly the same (match)  with the PO and BOM,
    but when I did the second MIGO, the quantity is not the same anymore. There is variant between MIGO and the PO quantity
    what is the problem, and why does it happen?
    if can please do reply me as soon as possible
    Thanks
    Pauline

    Hi Pauline,
    What do you think of exactly? Component quantity or the quantity of the main item (F-30 material)?
    Please describe your problem more exactly (if possible trough an example) as well as the steps you did.
    remark:
    I would suggest that you should post such question in MM forum (your chance would be higher to get answer):
    SAP ERP - Logistics Materials Management (SAP MM)
    Regards,
    Csaba

  • BOM quantity and Base quantity

    Hi,
    I have the follwoing scenario in BOM.
    I have a plate size of 700 (OD) x 500(ID) x 60 (Thickness).
    I'll cut this plate in to following different items (Different material code) and qty
    A - 28
    B - 3
    C - 1
    D - 1
    E-  2
    How can I define in BOM in terms of Base quantity and Item Quantiy
    Kindly guide me .
    Regards
    Chandru

    Dear Rajesha,
    There is no relationship between A -28 and Size of the raw material.
    X- is plate size having the dimensions  OD x ID x Thickness - Raw material.
    From this raw material, I'm producing the following material
    A - 28 Nos
    B- 3 Nos
    C -1 No
    D -1 No
    E -2 Nos.
    All the 5 materials are called under one assembly. Raw material is same to produce five diff. items .
    Now how can I enter in BOM item and raw material details. Moreover this quantity classiffication will varies everytime.
    How I'll order the quantity  proportion after MRP to procure the raw material.
    Please clarify.
    Regards
    Chandru

  • Reg: Bom quantity

    Hi PP Guru's ,
    I have BOM for FERT in which I have included 2 other Assembly Boms after MRP when I checked in MD04 the quantity
    for FERT is coming correct to 2 Pcs But for Assembly it is coming 0.002 Pcs , Please give me your suggestion where
    I need to check this for Quantity coming in decimals for " PCS " and EA Base unit of measure.
    Regards,
    Jaya Vimal
    Edited by: jaya vimal on Jun 10, 2010 4:24 PM

    Hi Prasobh ,
    i dont have coponents under FERT Bom But I have many assemblies as Dependent and I have declared many assemblies as
    Phanton in FERT BOM so as to reduce no of Production Orders. My Fert Bom structure is as follows;
    FERT  >>>>>>> Halb 1( which contains many coponents ) -  given in the item detailsas Phantom " 50 " + Halb2 ( contains many componets , subassemblies )
    I have SO for only FERT only but no assembly part. When I am running MRP system should create planned order for FERT and
    Halb2
    Jaya Vimal

  • Equipment BOM quantity field as optional

    Hi Expert,
    Does anyone know how to set quantity field as optional in Equipment BOM transaction (IB01)
    Pls help. Thank you
    Rgds,

    Leni,
      The field selection for the quantity field is dependent on the item category,Transaction type, etc  of the BOM.The field selection attributes are fixed in tables TCS33. I don't think you can change this through config. However if you are in ECC 6.0 you could consider tweaking the resultant field selection attributes through implicit enhancements on the screen flow logic.
      However why would you want an item without quantity?
    Regards
    Narasimhan

  • Modification BOM Quantity during the Production order creation

    Hi ,
    I am using the next BAPI: BAPI_PRODORD_CREATE however I would like to modify the Quantity of the components during the creation.
    Does anyone know how I can do that? Because this BAPI has not the parameters to modify the quantity components.
    Regards,
    Isaias

    Dear ,
    You need to use BDC tool for modification of BOM qty .BDC ( Batch Data Communication )  is basically a tool to upload or modify  mass data from Legacy  to SAP in batch programming   ( for any Master Data like Material Master , BOM , Work centre ) .
    To know more about BDC , please refer the step by stepo procedure :
    http://www.sap-img.com/abap/learning-bdc-programming.htm
    http://wiki.sdn.sap.com/wiki/display/ABAP/DataTransfers-BAPI%2CBDC%2CALE%2CLSMW%2C+DX-WB
    http://wiki.sdn.sap.com/wiki/display/ABAP/BDCSession-AutomaticExecution
    Regards
    JH

Maybe you are looking for

  • Itunes wont open! help help help!

    i just upgraded my itunes to 7.3.1. it wont open at all! i've uninstalled and reinstalled and nothing happens! it just does not open at all and i'm getting really really frustrated. what versions of itunes work with the 30gb iPod video with color (al

  • Downloading issue - Adobe Acrobat 9.0 Standard

    I'm having some problems downloading my Adobe 9.0 Standard from my account. The product and the serial number are both displayed under My orders, but when I press Download it says I have nothing to download. I just spoke to the Technical Support and

  • BO Crashes if a report with clob with data close to 1500 characters is run

    Hi, We have been using BO 3.1 for our reporting needs and we have a report using a couple of clob columns. We have noticed that the Web I crashes when a report is run and the data record fetched contains close to 1500 characters. The Web I server goe

  • My Screenlock froze, how do I make it work again?

    My iPod screenlock isn't letting me through to my homepage, it did this two days ago but I got through. It's been on the charger for two days and it wouldn't let me open my home page, I have tried everything. How do you get it unfrozen?

  • WebDynpro and Business Workflow

    Hi there, I am planning on building a Form/Simple UI with WebDynpro to trigger a standard SAP 3-steps Workflow. My questions are: 1) What's the easiest way to trigger to workflow in WebDynpro? 2) Are there any standard WebServices that I could call t