cancel
Showing results for 
Search instead for 
Did you mean: 

CUNI decimal place error message

Former Member
0 Kudos

Dear Friends,

Is there any way we can display an error message if a user enters more than the allowed decimal place per unit.

In CUNI we can control the display of decimals or the rounding of the decimals. Eventhough this is done the system still allows decimal places more than what is stipulated for that unit in CUNI.

But, the requirement is that the system should not allow the user to enter decimal places more than the allowed decimal place setings in CUNI. The system should display an error message.

Please let me know if this can be done per unit.

Edited by: Badrinath Murali on Jan 30, 2009 1:43 AM

Accepted Solutions (0)

Answers (2)

Answers (2)

JL23
Active Contributor
0 Kudos

if someone tries to enter more decimals than set in customizing, then I guess your materials have the wrong unit, otherwise the users would not get the idea to do it.

Can you give a real life example?

Former Member
0 Kudos

Hi Jurgen,

Please find my explanation below:

Scenario - 1

-CUNI - BTL (Bottel) - No.Decimal place display (T006-DECAN) = "0"

-Material - ABC - Base UoM = BTL and Sales Unit = BTL.

-When a user creates a sales order for the third party process the system allows decimal places in quantity field (e.g.) = 1.50 BTL

->The system should not allow the above process.

Scenario - 2

-CUNI - SH (Sheets) - No.Decimal place display (T006-DECAN) = "1"

-Material - XYZ - Base UoM = SH and Sales Unit = SH

-When a user creates a sales order for the third party process the system allows decimal places in quantity field (e.g.) = 1.5 SH

-> The system should not restrict the above process.

Is there any way this can be achieved per unit of measure? If we restrict the decimal notation per user, there would be no flexiablity in the useage of units per user.

JL23
Active Contributor
0 Kudos

If you dont want decimals in a purchase order, then you should implement rounding rules .

It is not possible to restrict anything with the decimal setting in CUNI.

You can read this in several OSS notes: start with 77525 - Quantity unit conversion in inventory management

Note 362932 - Conversion with proportion/product units is explaining an awful lot of things and has as well several related notes that are worth to read

former_member192897
Active Contributor
0 Kudos

ME 678 Purchase order unit &1 only permits fewer decimal places to Error may help you.