cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Quantity decimals 0.XXX does not match unit of measure EA customizing

Former Member
0 Likes
1,912

Hello Experts,

We are upgrading from SRM 4.0 to SRM 7.0. We have classic scenario with ECC as a backend system.

We have created SC with certain quantities to be ordered and UOM as 'EA'. PR and PO is created in ECC.

When we try to post confirmation with quantity: 0.03 EA, system gives error: 'Quantity Decimals 0.030 does not match unit of measure EA customizizng.

I checked the CUNI settings, they are as below:


Decimal Places 0

float point exp 0

Decimal Places rounding 0

Earlier in SRM 4.0, we also had similar CUNI settings, but we never received error message if quantity was entered in decimals for 'EA'.

I am not sure if this error message was suppessed in SRM 4.0. Is there any way to find it out?

Further, while SC creation, if I enter Quantity as 2.3 EA,

1. SRM 4.0 system consider it as '2.3' EA

2. While SRM 7.0 rounds it to '3' EA

Is there anything changed in SRM 7.0?  Are there any further settings apart from CUNI to be checked?

Can anyone pls advise what standard behavior would be?

Thanks,

Dhananjay

View Entire Topic
Former Member
0 Likes

Hey Can you share the screenshot as in my system I see the below settings in CUNI

Also from what I understand the Deci Place roudnding field should not be Zero

"if "Decimal pl. rounding" is set as 0, rounding will occur for UOM."

Now since you have maintained decimal places as Zero maybe that is causing an issue try with different settings .

Let me know your inputs ..

http://scn.sap.com/community/srm/shopping-cart-and-catalog/blog/2013/10/23/shopping-cart-quantity-ro...

Former Member
0 Likes

Hey

You may also check the below BADI

This badi is delivered as active and it overwrites the standard logic for rounding unit of measure in shopping carts.

You can deactivate this badi if you would like to keep the decimal places and rounding settings according transaction CUNI.BBP_ROUNDING_BADI overwrites the configuration maintained in CUNI.

1700884 - Quantity with decimal places is rounded in shopping cart