Skip to Content

Decimal problem while coverting base unit to produciton unit in order confirmation

Hi Experts,

Need your help here.

The base unit of product is L, while production unit is KG. 850 KG = 1000 L.

Order created for 28000 KG. as per calculation, qty is converted to 32941.1764705882 L, and hence rounded to 32941.176.

When performing confirmation via COR6N, Yield qty is shown as 32941.176 L. However, in the goods movement screen, the qty is converted to 27999.999 KG. Is there any way to populate 28000 KG?

We don't want to touch master recipe as they are already created with unit L. Changing them to KG will be a massive effort.

Appreciate some other suggestions.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Sep 12, 2019 at 07:21 AM

    Hello,

    It is issue with rounding of decimal places.

    You should limit the number of decimal places for rounding (field T006-ANDEC) in Customizing in Transaction CUNI. Or you need to implement a BAdI WORKORDER_GOODSMVT in which it will round off according the logic.

    Or use modification from SAP note 659868 - Rounding problem for components w/ batch management reqmt

    Best Regards,

    R.Brahmankar

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 13, 2019 at 07:21 AM

    Thanks Rahul,

    Decimal places for rounding are already 3.

    SAP note 659868 does not seem relevant as we are processing GR and not GI.

    I will look into BADI WORKORDER_GOODSMVT and come back with the result soon.

    Many thanks again!

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 05, 2019 at 08:48 AM

    Hi Rahul,

    Thanks for your help. I used the BADI to round off the qty in case decimals are .999. Closing this thread now.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.