Rounding base requirement quantities of produciton orders

Hello,
We are using component scrap in BOMs for components that are tracked with EA as base unit of measure. This causes fractional requirement quantites for these components in MRP. Also in MB26 or MB1A we are facing fractional quantities. We do not want to post goods movements with fractional quantites for the materials that have EA as base UoM. Our requirement is to supply these transactions with quantities that are rounded to integers?
We tried using an alternative UoM that has 0 decimal places. In components' master data, we assigned these UoM to unit of issue. MRP seems to work fine, producing requirement quantities as integers. In produciton orders converted from planned orders, requirement quantites are also integers. Whereas in produciton orders created with CO01 and CO10, although unit of entry (ERFMG) is calculated with no decimals, base requirement quantity (BDMNG)  is fractional and it is being used in transactions MB1A and MB26. At the point of goods issue, system exhibits an odd behaviour of showing the UoM as unit of issue but taking the quantity from base requirement quantity.
Entering a rounding value of 1 to these components did not work either.
We thought we could manipulate requirement quantities prior to kitting or during goods movement with the help of user exits. However for the sake of sticking with the standart we'd rather solve this problem with customization. Any help will be appreciated.
Thanks,
Ozgen CANAN

Thanks Jiaul,
The alternative UoM I explained before has decimal rounding value of zero. However this does not prevent base quantity to be fractional. Changing the decimal rounding value of EA to 0 is not applicable since it is being used widely. Changing directly the base UoM of components related with component scrap would not work either as far as I have read and according to the note 931971.

Similar Messages

  • Query for calculating raw material requirements for the remaining quantities in sale order.

    Dear SAP Experts,
    Clients requirement :
                                         Client wish to know the quantities of raw materials needs to run the production order inorder to complete the remaining quantities in sale order.
    Need Clarification:
                                  I"m using the below query for this requirement. I wish to know whether this query suits for my clients requirement or not. If its so, I need to know how to group by T4.[Code] (Raw material Name)   and need to get the sum of    T4.[Quantity]  (BOM quantity)      and  (T1.[OpenQty]*T4.[Quantity]) as TOTALQTY under each raw material group
    SELECT T0.[DocNum], T0.[DocDate], T0.[CardCode],T0.[CardName], T1.[ItemCode], T1.[Dscription], T1.[Quantity] as salesorderQty , T1.[OpenQty], T2.onhand, T4.[Code] as Raw material Name,T4.[Quantity] as BOMQTY,  (T1.[OpenQty]*T4.[Quantity]) as TOTALQTY FROM ORDR T0  INNER JOIN RDR1 T1 ON T0.[DocEntry] = T1.[DocEntry] INNER JOIN OITM T2 ON T1.[ItemCode] = T2.[ItemCode] INNER JOIN OITT T3 ON T2.[ItemCode] = T3.[Code] INNER JOIN ITT1 T4 ON T3.[Code] = T4.[Father] WHERE  T0.[DocStatus] ='o' 

    You're posting in the Portuguese B1 space.
    You might want to post in the English one: SAP Business One Application

  • Requirement quantities changed in production orders.

    Hi experts ,
    My dillemma is how would I know if some one keeps changing the requirment quantities in the component overview of the production order . Kindly advise .
    Kind Regards
    Ayaz A Khan

    Dear Ayaz,
    You need to activate OCM for changes
    Check the node SPRO --> Production --> Shop Floor Control --> Operations --> Change Management for Production Orders (OCM). Here you can configure what all changes to be recorded.
    Check this Note
    [https://service.sap.com/sap/support/notes/390635]
    Regards
    Madhu

  • Rounding up component quantities during Production Confirmation

    Hello gurus. I have the following situation.
    I have a BOM for finished product "X" that contains a component "Y" and a box "Z". The box fits 16 of these pieces. So in the BOM I type a usage quantity of .062 for component "Z" (I'm limited to 3 decimals).
    Then I create a Production order for X for 32 pieces. The component overview correctly shows me requirements of 32 pieces of "Y" and 2 pieces of "Z".
    The problem is; when I confirm this order in CO11N; as long as I report 32 pieces, I get a required quantity of 2 pieces for "Z", but if I want to report a partial quantity of 23 pieces, then it tells me I only need 1 piece of "Z".
    I still need to use the 2 boxes but the system is rounding down to 1 piece. Only if I type 24 pieces or more, it puts it up to 2 pieces.
    Is there a way to make SAP always round UP these quantities. Instead or rounding down/up depending on the quantity?

    Hi Fernando,
    I had the same problem.
    If u keep the component quantity in fraction, the system will create more procurement proposal.
    We need to keep the base quantity of the BOM header more and avoid the fraction in component qty. This will increase your accuracy when high amount of quantity requirment.
    Anyway for the small amount system will do round off.
    By practically also for 23 quantities you need 2 Boxes. ( as you said   for 16 qtys one box).
    Regards
    Bala

  • LTP: how to increase the simulative requirements quantities?

    Hello SAP experts,
    Is there a way to increase a little bit the simulative requirements quantities, without using the scrap% (which has an impact on the finished material price)?
    I have investigated the use of safety stock to increase the components demands, but obviously, in LTP, it is not considered as additional demand... But maybe I missed something...
    Please, can you help me on that case?
    Thanks in advance.
    Regards,
    Rudy

    Hello Mario, thank you for your reply.
    In fact, we have a demand, but the users are always ordering a little bit more that the results given by the LTP.
    Now, we would like to have full control and full visibility on it.
    So, the first idea was to define a scrap percentage that would increase a little bit the quantities.
    But we can't use it, because it has an impact on the costing side for the material price, I think.
    So, the second idea was to use the safety stock.
    Unfortunately, LTP does not seem to see the safety stock as a demand (like in operative planning), but more as an opening stock...
    Then, the 3rd idea was to use the rounding profile to add a percentage on the quantity, but it only applies on purchase orders, and not planned orders... No luck again...
    So, none of our 3 ideas can be applied here! And I am searching for another good idea...

  • Daily Requirements--MRP Segment- Sales order

    Dear all,
                   In MRP3 view of Material Master  i am using the availability check as 01 -daily requirements ?
    When i create  2 sales order(make to stock) with the same delivery date , the system grouped the requirement and shown as one requirement in md04.
    Here  When i click the mep element i am not able to see the 2 sales orders ?
    Is there any setting required........
    In the same case when i create the  2 production order it was shown as 2 mrp segments ...
    When  i check the raw material it is  showning  as individual dependant requirements (though i set the availability check as 01)
    Please reply me your comments and suggestions..........
    Best Regards ,
    Kumar

    Hi,
    There is no relation between them as ind/coll indicator use to requirements are allowed for the dependent requirements of the material
    Individual requirements
    Requirement quantities of the dependent material are stated individually.
    Collective requirements
    Requirement quantities of the dependent material are grouped together.
    Availability check 01 and 02,
    01 and 02 are the checking group. Availability check is carried out with the help of these checking group and checking rule. Checking group 01 and 02 are maintained on the material master. 
    01 - Individual requirement -For this system generates transfers the requirement for each  order to the MRP .So that MM can either produce or procure.
    02- Collective requirement.-In this all the requirements in a day or in a week are processed at a time.  System stores all req and passes on to the MRP in MRP run.In this system performance is high however you can not do the backorder processing whereas in other you can do.
    Hope clear to you.
    Regards,
    R.Brahmankar

  • Rounding off value problem in sales order

    Hi All,
    This is related to a rounding off value problem in sales order.
    The problem is described by an example which is as follows -
    Selling Price of Material A = Rs. 176.76
    Excise charged = Rs. 21.80
    Total Price = Rs.176.76 + Rs.21.80 = Rs. 198.56
    On this total Trade Discount (ZDTD) having access sequence,is calculated  at the rate of 4% = Rs. 7.94
    But the condition base value after the discount is showing Rs.198.60 instead of Rs.198.56
    I want the system to reflect the value as Rs.198.56 intact and it should not round up to the nearest value i.e. Rs. 198.60
    Why is this happening? Is it possible to reflect the exact value? If yes what is needed to be done?
    The commercial round off is activated for the DIFF Condition Type.
    Looking forward to some valuable suggestions.
    Thanks & Regards
    Priyanka Mitra

    Hi Ramesh,
    Thanks for your suggestion but the problem has been solved by me.
    Regards
    Priyanka Mitra

  • Error -5002, Update quantities in purchase order? (INV1.Quantity) Line[2]

    We are trying to create Invoices using the SDK tool for a clients interface. Everything goes ok, except at the point where we add the document, we get the following message:
    Error -5002, Update quantities in purchase order? (INV1.Quantity) Line[2]
    Any ideas? We have searched the SAP notes, but nothing is available. Are we missing anything?
    We are running on Version 6.50.098
    Thanks
    Marios

    Hello Marios,
    This error occurs because the last line you are trying to add to the Marketing Document is an empty line. It is a new functionality in Version 6.5 that the document object automatically comes with one document line so if you are adding just one line you do not need to use oDocument.Lines.Add,                                           
    It is only for the second and subsequent lines of marketing documents that you require the method oDocument.Lines.Add. Note 722693 describes the issue.                 
    Regards,
    Lisa

  • Base price calculation in sales order using Routines.

    Dear all,
    I have a requirement related to usage of routine in pricing procedure. The requirement is as given below.
    A base price for a material is entered in the contract manually using a customized condition record.Later a sales order will be raised with reference to contract. now we need to bring the price entered in the contract to sales order after some calculations done using a customized "Z TABLE"
    We are trying to use routines to trigger to calculate the base price in the sales order.
    Please suggest what type of routine to be used in such cases(ex formula,pricing etc)
    Also please go through the below mentioned example for better understanding.
    Contract price : Quantity 3: base price 10,000 per day Total : 30,000 perday
    ZTABLE : number of days per month will be maintained in the table based on the working days.
    Sale Order : Quantity 1 : Month working days 23 total 2,30,000 (We need to calculate this total and display as base price in sales order)
    Please suggest how to address this using routines.

    Dear Mudigonda,
    As per your scenario you are creating sales order with reference to the contract and here in contract you are maintaining the manual price . that means the same manual price has to copy to sales order level then as per the calculation rule it will multiply with your Z table value .
    For this requirement you can make some changes in copy control from contract to sales order, here at item category level you have to change pricing type to 'B' so that what ever your manual price value will populate to sales order level after that due to calculation rule value will change .
    Regards,,
    C.B Reddy.

  • Produciton order status TECO, but WIP is not equal to zero

    Dear Expert,
    In OKGC,
    1000     0     000002     REL     2     WIP Calculation on Basis of Actual Costs
    1000     0     000002     DLV     3     Cancel Data of WIP Calculation and Results Ana
    1000     0     000002     PREL     1     WIP Calculation on Basis of Actual Costs
    *1000     0     000002     TECO     4     Cancel Data of WIP Calculation and Results Ana
    We checked produciton order status TECO (CO03)
    but WIP is not equal to zero (KKAO)
    Also, we found production order status show "rel" status in KKAO.
    Why order status in CO03 is TECO, but show "REL" in KKAO?
    Thanks in advance.

    Hi,
    We also had similar issue that the WIP is not equal to zero even though the status of the Process Order is DLV/TECO. When we analyzed, we found that few of the operations/resources/activityeps are not yet confirmed in the same month for the order. These operations/resources/activityeps are confirmed in subsequent month, then WIP got automatically Zero.
    Also refer the SAP Note 530563 - WIP calculation: Status DLV and TECO. Which provide the details for how WIP will get calculated.
    Thanks & regards,
    ADI

  • Rounding when any discount in sales order

    hi Gurus,
    Please help me for pricing condition when create sales order.
    when creating sales order there are some sales order the condition should be:
    if there is discount(condition type : ZD23) should be rounding if there is no discount rounding should be off.
    in which exit or routine i have to be modified?
    Currently i try to add routine by VOFM code.
    FORM KOBED_600.
    *{   INSERT         TZRK908033                                        1
           sy-subrc = 4.
          check: XWORKF NE '0.00' OR XWORKF NE SPACE.
           check: t001r-reinh ne 0.
           sy-subrc = 0.
    *}   INSERT
    ENDFORM.
    but it's not work because above code just work for no discount condition. or any suggestion for my requirement?
    anyone can help me please?

    hi Archana Kumari  thanks for reply.
    I think my problem is different from the link that you have post.
    my problem is
    1.sales order 000001
        10. item 001 -> no discount
        20. Item 002 -> no discount.
    1.sales order 000002
        10. item 001 -> has discount
        20. Item 002 -> has no discount
    the rounding should be happen in sales order 000002 and will not happen in sales order 000001.
    in which routine should i define code for activate the rounding.
    please help me.

  • Changing quantities in sales order with reference to quotation

    Hi,
    Quotation has been created for Product -- A, 10 quantities.
    Sales order created with reference to quotation, system copies 10 quantity in sales order.
    How do you restrict in sales order end user should not change quantities, system should not allow for changes by end user. If end user changes Qty system should give an "Error message", so that sales can not be saved.
    Could you suggest solution ASAP.
    Thanks in Advance.
    Regards,
    vamsi.

    Normally You will have a warning message set for this. under class V1. if you want the error to be hard error then you would have to hard code it in a user exit under mv45afzz "userexit_save_document_prepare" where u can check if the quantities in the quote and sales order are different and create a hard error.
    the other option which I am not sure if it is possible is to propose the eror in message class v4 which you can control thru customisation under SPRO>SD>message settings
    reward points if it helps
    regards
    Biju

  • View requirements for delivered sales orders in MD4C.

    MD4C shows requirements for open sales orders and other related data but if a delivery has been created for the order which covers complete sales order item quantity it is excluded in the report.
    I want to view such requirements too. Is there a possibility of the same and how?
    Or any other transaction where this can be seen?
    Regards,
    Sonal Murbade

    Hi,
    When a delivery is completed (e.g. bu PGI). the requirement is not needed any more and it's deleterd in table VBBE or VBBS, so, you can not see it in requirement list any more.
    You sill can see the order in table VBAP(sales order) or table LIPS (delivery).
    BR

  • Requirement type in sales order

    hi sap gurus,
    i want to know how requirement type is configured and how it conmtroll the scenario in MAKE TO ORDER scenario. previously i have seen that with requirement type in sales order Procurement tab, system determine the planning statergy and it determine the special stock type of material, e.g. E for sales order stock and Q is for project stock. but i want to know whether this is correct or not and how this is happenning i.e. what is the configuration and assignment.
    please help at earliest.
    biplab rout

    Hi,
    Check this thread
    Re: Requirement type
    Re: requirement type and requirement class
    Thanks,
    Raja

  • Requirement in third party orders

    Hello Sap Gurus,
          Here is my requirment. I create an order for a material with item category as (TAS) with quantity as 10. Now the vendor here only wants purchase order to be created with minimum quantity of 20 . And i want to do partial billing to the customer.
    Purchase requisition is created with default 10 quantity now how can i change the quantity in purchase order when i am creating po with reference to the PR.
    Any ideas.
    Regards
    Gopi

    Hi,
    When you create a purchase order using the purchase request corresponding to the third-party sales order line, SAP automatically updates the purchase order number in the document flow of the sales order. Any changes in the quantity thereafer in the purchase order automatically updates the confirmed quantity in the corresponding schedule line on the third-party sales order, but the reverse way is not allowed. Any changes in the quantity in the sales order does not change the purchase order quantity.
    It is therefore always suggested to make changes in the purchase order and not in the sales order.
    You can also use report SDMFSTRP to fnd any quantity diferences that exist between the sales order and the purchase order.
    In your case follow this way
    1. create sales order for 10 qnt.
    2. PR gets created for 10 qnt.
    3. PO gets created for 10 qnt.
    now  change PO qnt manually to 20...system automatically changes PR required qnt and sales order confirmed qnt to 20.
    4.Do partial Migo(Virtual GR) for 10 qnt each twice.with ref to PO.
    5.Do Miro twice for 10 qnt. with ref to PO.
    6.Create billing for 10 qnt twice in vf01.
    Regards,
    Siraj

Maybe you are looking for