cancel
Showing results for 
Search instead for 
Did you mean: 

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

former_member207039
Participant
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

rupesh_brahmankar3
Active Contributor
0 Kudos

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

Answers (2)

Answers (2)

former_member207039
Participant
0 Kudos

Hi Rahul,

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

former_member207039
Participant
0 Kudos

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!