cancel
Showing results for 
Search instead for 
Did you mean: 

Decimal is accepting in UOM: EA

Former Member
0 Kudos

Dear All,

I have created material with UOM as Each. No alternate units are maintained. Base unit, order unit, Issue unit is same as EA only. In CUNI setting , decimal place & decimal rounding is zero.

While prepare the purchase order, system is allowing to create the purchase order for 10.5 EA. While receiving the material, system is accepting to enter the quantity as 9.75 EA also.

Is this the standard system behaviour OR any config settings are required. Could any one pl help on this issue.

Thanks & Regards,

R.Saravanan

Accepted Solutions (1)

Accepted Solutions (1)

JL23
Active Contributor
0 Kudos

you cannot restrict this behaviour with CUNI customizing, you can only check and stop this in a user exit.

SAP inventory managment allows and stores 3 decimals for any unit of measure. You can only define how it will show the value to the users and how it will round the decimals if it calculates the conversion. But if you enter manually with decimals, then SAP will not round this.

please read OSS Note 931971 - Decimal places in stocks and stock postings

Answers (1)

Answers (1)

esther_hernanz
Contributor
0 Kudos

Hi,

There is no rounding performed when you make a goods movement and the system does not stop the user from entering a quantity with decimal places.

There are problems like the possible use of alternative units of measure, which have as an immediate consecuency a situation like the following one:

A material has PC as the base unit of measure and this is set to allow 0 decimal places.

This material also has an alternative unit of measure ABC, where 3 ABC is 1 PC.

If a posting is made for 1 ABC the system will post 0,33 PC, regardless of what is set in customizing.

Also, please, consider the note 95869.

If the fields affected are defined as quantity field (type QUAN) it is not possible to change the number of decimal places to any other than the one defined in the ABAP/4 Data Dictionary in the domain of the field.

You can double check this point by having a look at the fields affected.

As said before, these fields are defined as quantity field (type QUAN):

In SE11, enter the Database table MSEG and click on 'Display'. Look for the field name ERFMG.

You will see that, for this field ERFMG, the Data type in the ABAP Dictionary is QUAN.

Double click in the data element ERFMG. You will see here the Domain, with the following data available:

Domain name MENG13

Data type QUAN

Decimal places 3 <<<<<<<<<

Sorry for not having better news!

Esther.