Decimals in unit of measure

Hi experts,
Although I have decimal places and decimal pl. rounding = 0 in CUNI for a unit of measure, the system allows me to use decimals. Does anyone know how to avoid this?
Thanks, Maria

Hi,
It is standard system behaviour to be able to input quantity with
decimal places during good movements, even if the corresponding unit of
measure has been defined with zero decimal places.
Please, kindly check the two attached notes 22043 and 77525, where it
is said that 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.
These notes can be found in service market place

Similar Messages

  • Decimals regarding Unit of measurement

    Dear Experts,
    I'm facing to an issue related to the following unit of measure : KM and DAY.
    I would like to add decimal places for these units of measure (3 places after decimal point) because actually it is 0 by default. I heard that it is not recommended.
    These above units of measure are used in our material masters. And there are some open purchase orders, contracts for these materials.
    Thank you for your help.
    Best regards,
    houcinne

    Hello Lakshman,
    I agree with you for not changing this table. I think it's risky. So I've decided to use another unit of measure such as H (hour) and M (meter).
    Best regards,

  • Decimal in Unit of Measure conversion

    Hi Gurus,
    I want to enter decimals in Unit of Measure conversion. System is giving the error that "Decimal not permitted". Actually the scenario is we have a material with KG as a base unit of measure. The ordering unit is "L" litre and the conversion factor is:
    1 Litre = 0.792 KG
    But when I am going to enter the conversion the system is not allowing to enter decimal. What I need to do in the configuration to enable the decimal entry.
    Earliest response will be highly appreciated.
    Thanks

    >
    Imran Khan wrote:
    > I have entered 1000 Litre = 792 Kg, but when I order 1Kg, system is converting it into 12.62 Litres.
    >
    > Thanks
    if 792 kg equal to 1000 ltr,
    then 1 kg equals to 1,263 ltr.
    when do you see this "conversion" to 12,62 litres? in ME21N after you entered 1 KG?
    if yes, then your order unit is probably set to liter, further check if you have a rounding profile in material master or info record, that causes the switch from 1,26 to 12,62

  • Unit of measure EA allows transactions in decimals ? Is EA indivisible?

    Unit of measure EA allows transactions in decimals ? Is EA indivisible?
    There are two scenarios. While creating a Bill of material - based on the configuration (see below) if you enter a quantity with decimals for a part number for which the Basic UOM is EA the system displays a message "Unit of measure EA does not support decimal places" THIS IS GOOD AS EXPECTED
    While transacting using MB1B, MB1C, MB1A, MFBF, MIGO or other transactions the system DOES NOT check and it is currently allowing us to post with decimals (1.25, 1.312) for part number for which the unit of measure is EA.
    Was not EA supposed to be an indivisible unit of measure? why is the warning message getting activated while creating or changing a BOM and why not while transacting stock?
    We have configured EA in the CUNI transaction as follows:
    Int. meas. unit      EA                                                  
    Commercial           EA              each                               
    Technical            EA              each                               
    Decimal places                                                          
    float. point exp.                                                                               
    ISO code             EA            
                                          Primary code                       
    Numerator            1                                                  
    Denominator          1                                                  
    Exponent             0                                                  
    Additive constant    0.000000       X Commercial meas.unit               
    Decimal pl. rounding                 Value-based commt                  
    Unit of meas.family

    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
    and
    Note 77525 - Quantity unit conversion in inventory management

  • T006-Decan change after users have used the TO unit of measure

    Currently in our system for TO (tonnes) it has T006-Andec as 3 and T006-Decan as 0 and it issues the users a warning message "Order quantity violates rounding rule" if they type in decimals in the purchase order quantity.  We have been asked to change T006-Decan to a 3 and do away with the warning message.  What happens if you change T006-Decan from 0 to 3 after users have already used the unit of measure (TO) in the R/3 SAP_APPL 470 system on materials, purchase orders, sales documents, receipts, etc...?  I don't want to impact our users in production since I do not where this unit of measure has been used.  Any advice is welcomed.  Thank you.

    Hi
    If you are changing the decimal places in T006 - DECAN , the number which was 1000 would show as 1,000... so previously it was 1000 tonnes now it will show as 1 tonne.... such things happen....Check with SAP before doing changes to the Standard UOM's...
    I am not able to find the correct SAP note for this.... but its there hope you get it
    Thanks & Regards
    Kishore

  • Decimal places in unit of measure in Sales order

    Hi,
    In the Sales Order application in PCUI, when I create a create an order for customer XYZ, and add product ABC for qty 1 which uses unit of measure PC, the qty is displayed with 3 decimals as 1,000 whereas if I use the unit of measure EA the quantity is displayed without the 3 decimals as 1. I need the unit of measure PC to not have the decimal places like in SAPGUI.
    Could anyone help me understand how this can be achieved?
    Thank you for help in advance.
    Regards,
    Priya

    To elaborate better.
    Again, use Tcode CUNI - Unit of measurement : Initial Screen.
    At initial screen, choose TIME from the list (where by default AAAADL- no dimensions is there).
    And click on UNIT OF MEASUREMENT button.
    In that you will find MON - Month.
    There go for details by selecting MON or select MON and press F5 from Key board.
    For MON unit maintain following parameter as per your requirement:
    -Number of decimal places for number display
    Use - This parameter determines the number of decimal places with which this measurement unit is displayed.
    -Base ten exponent for floating-point display
    Use - This exponent determines how the values for this measurement unit are formatted as floating point numbers.
    Examples - If the exponent is 3, the floating point numbers have the format xxx.xxxxE3.
    And deselect commercial meas. unit in application parameters section.
    I would suggest instead of changing standard settings of MON, you create ZMON in TIME dimension.
    Thanks & Regards
    JP

  • Currency appearing in unit of measure

    Hello All,
    We have a peculiar problem. The bw extraction delta is going into an error because the unit of measure field Ounit is being populated by the currency GBP. I checked table GLPCT there in the main screen it shows GBP however when i double click on the line the unit of measure shows "***"
    The issue is whether this is reult of change in customisation of it is plainly an error in data entry
    How do i resolve this issue
    Thanks
    Nelson

    Hi,
    Need to take help from ABAP consultant.
    Change the decimals from 3- 5 also need access key for same.
    Regards
    Gietesh

  • Numerator in Unit of Measure not big enough

    Hi,
    The numerator, field UMREZ, of the unit of measure has a maximun lenght of 5 digits ( maximum of  99999 ). But for certain conversion I need (in MM02-> aditional data->tab units of measure):
    120000 EA = 1 ROL
    How can I do this without entering something bigger than 99999?
    I have thought in three alternatives:
    1.- Modification of that data domain, so that it can be stored up to 999999.
    2.- Use decimals in the denominator , so that I have something like 12000 EA = 0,1 ROL.
    3.- With an auxiliar unit of measure EA2 ( created via CUNI, linked to EA): 10 EA2 = 1 EA :::::and then::::: 120000 EA2 = 1 ROL.
    I havent been able to complete the 2nd and the 3rd. ANd I want to avoid the first...
    Do you know if something like this can be done? if so, how????
    I have found post UOM conversion not big enough but I could not find any usefull answer in there ...
    Many thanks in advance.
    Aaron

    Hi,
    Yes, I had already read this note, thanks for the info anyways.
    They describe exactly my case:
    Example 3: Too large numerators and denominators
                           When 120000 CM3 = 0,2 tons (TO), you can no longer save numerator and denominator of conversion ratio 600000 CM3 = 1 TO as numerator and denominator may have maximally five digits.
                           Here, you must either select a larger volume unit or a smaller unit of weight: With DM3 the conversion ratio would be 600 DM3 = 1 TO, with KG the conversion ratio would be 600 CM3 = 1 KG.
                           Generally, the alternative units of measure and the base unit of measure should result in quantities that are in the same dimension since the conversion factors may not be larger than 99999/1 and not smaller than 1/99999.
    But I can not change the Basic Unit of Measure, because the Material has already movements, and I dont know how to create another unit of measure (let say EA2) linked to EA with a the value 1 EA2 = 10 EA. In this case I could use EA2 in the material with the conversion 12000 EA2 = 1 ROLL.
    Is this possible? How can I create this unit? in CUNI I can create a new UOM but I dont see how to link it with an existing one ( create a conversion between them ) .
    Thanks!!

  • DECIMAL PLACE UN UNIT OF MEASURE

    Dear Friends
    is ther any way to maintain decimal place during alternate  unit of measure.  FOr Ex 1  bar = 23.34 Kg. without rounding 100 bar = 2334 kg. i already maintained decimal in CUNI. still not able to maintain decimal.
    Thanks and Regards
    Madhavan

    Yes you should be able to maintain this. Ensure that you allow decimals for the UOM Kg in CUNI it should allow this conversion you are referring to. You should put decimal places for both display and conversion.
    Edited by: Hemalatha Raghavendran on Jul 20, 2009 4:33 PM

  • Changing number of decimal places for Unit of Measure

    Hi All,
    I have a requirement to convert a quantity in one unit of measure to another (custom) unit of measure.
    The issue is that the custom unit of measure has 4 decimal places (customer requirement). I found function module MD_CONVERT_MATERIAL_UNIT which does the trick for regular, 3 decimal places, UoM's. It won't output 4 decimal places since the output data type is EKPO-MENGE, which has 3 decimal places.
    Does anyone have experience with trying to convert material's UoMs into 4 or more decimal places?
    Thanks!

    <b>round_f_to_15_decs</b>  round variable of type f to 15 decimals
    Sometimes type F (float) is used to represent exact data (Amounts, Quantities):
    if values are to big to be represented as Packed (> 31 decimals)
    to significally improve performance of calculations, e.g. in statistical reports
    G_DECIMAL_PLACES_GET
    REPORT Z_ROUNDING .
    DATA: float TYPE f,
          amount TYPE p DECIMALS 2,
          correctamount TYPE p DECIMALS 2,
          chars(5) TYPE c value '1.005'.
    CLASS cl_abap_math DEFINITION LOAD.
    correctamount = chars.
    WRITE: / 'Exactly:', chars,
           / 'Correct Amount:',  correctamount.
    float = chars.
    amount = float.
    skip 2.
    WRITE: / '==== Usual Processing:',
           / 'Float:', float,
           / 'Decimals 3:', float DECIMALS 3,
           / 'Decimals 2:', float DECIMALS 2,
           / 'Amount:',  amount.
    float = cl_abap_math=>round_f_to_15_decs( float ).
    amount = float.
    skip 2.
    WRITE: / '==== Correct Processing:',
           / 'Float:', float,
           / 'Decimals 3:', float DECIMALS 3,
           / 'Decimals 2:', float DECIMALS 2,
           / 'Amount:',  amount.

  • Digits in Unit of Measure "%"

    Hi all,
    for one position we use "%" as unit of measure. In our developing-system I am able to enter a decimal number WITH comma. In our productive system that´s not possible.
    Does anyone know where to change that behaviour, i.e. if commas are allowed in a unit of measure?
    many thanks & best regards,
    Thomas Kejik (Vienna)

    Thomas,
    Such a message is received when the format of entered figure is not correct.
    You'd better, first, look at the format of your % UoM (CUNI t-code): number of decimals (if any) and digits total.
    It's very important because the definition of your UoM might be different in Dev & Prod. Especially if import of global settings (that includes UoMs) is done from underlying R/3 systems.
    Then try to enter the number with appropriate decimal delimiters, triades delimiters, number of decimals etc.
    Hope you'll be lucky!
    Edited by: Eugene Khusainov on Mar 11, 2008 9:03 PM

  • Rounding off unit of measurement

    Hi Experts,
    IWe are currently implementing ECC 600 for one of our client.
    Most of there products are items with unit of measure as Each (EA).
    Each unit is used for parts and hence it should not allow any decimal places like 1.4, 0.5, etc if the unit is EA.
    But in the standard SAP system available this check is not there and it allows to create PR, PO, GR, etc for such quantities. Allowing such unit of measure can cause problem later on.
    We need to block decimal place to be allowed for EA but could not find any settings for restricting this in Config (t.code CUNI). The field for decimal places is already blank and we have made no changes in the standard unit of measures.
    Kindly suggest how to achieve this, is there any setting we are missing?, is it that it is a bug in SAP and a note is released for the same?, if none of this than any work around or exits available.
    GANESHA
    Edited by: ganesh_pall on Nov 10, 2011 8:18 AM

    if your EA would be physically really an EA then the user would post any fractions.
    I personally feel that you have just used a wrong unit.
    a Wheel would for example have the unit EA, even it is technically possible to post with decimals, no user would really do it as it does not make any sense.
    but if you have a drum with 200 kg of a material, then you better use KG as base unit in case user remove the content from the drum partially.
    Technically SAP will always post with 3 decimals in inventory managment. you can hide the decimals from beeing displayed with settings in CUNI, but you cannot really restrict it.
    Better educate your users and talk to the guys who have done the movement which caused decimals to get knowledge why they have done it this way.

  • Unit of measure and mb1a issue

    Dear Experts,
    In our plant we are using Tape BOPP for taping the Boxes. So please tell me if we want to use unit of measurement as EA then what should we mentioned the component qty for one box in EA. At present our company has maintained the component qty as 0.4 EA for 1 box.
    And following the conversion factor which are maintained in mm01 through additional data screen.
    1 ROL     = 1 ROL
    65 meter = 1 ROL
    1 EA       = 1 ROL
    But while doing mb1a system is taking the qty as 1 EA instead of 0.4 EA. please suggest how to overall this problem.
    Regards,
    Phalgun patel

    The problem is that reservation is always made in the basic unit of measure (EA), which have no decimals in the standard SAP.
    You must choose between:
    a) using the smaller unit of measure (meters) as suggested by SAP, and EA an altenative UoM
    b) define a new UoM called ED or similar (transaction CUNI), which a copy of EA but allowing decimal places.
    Regards

  • How to Report on Alternate Unit of Measure

    Hi All,
        We recently implemented SAP for our Canadian operations. The Canadians want to see all our custom and standard reports in Alternate units of measure ( KG's & Ltr's ) but our reports only display in Lbs & Gal's. We were able to change our custom reports but is there any setting that SAP provides for the standard reports/transactions to display Alt UoM. We don't want to rush in and start changing standard reports. I'm sure, lot of you faced this situation before.
    Regards,
    Srini

    hi,
    use the FM UNIT_CONERSION_SIMPLE
    hope this helps
    check this code
    unit_in = itab-meins
    unit_out = 'GLL'.
        CALL FUNCTION 'UNIT_CONVERSION_SIMPLE'
             EXPORTING
                  input                = itab-meins
              NO_TYPE_CHECK        = 'X'
              round_sign           = ' '
                  unit_in              = unit_in
                  unit_out             = unit_out
             IMPORTING
              ADD_CONST            =
              DECIMALS             =
              DENOMINATOR          =
              NUMERATOR            =
                  output               = factor
             EXCEPTIONS
                  conversion_not_found = 1
                  division_by_zero     = 2
                  input_invalid        = 3
                  output_invalid       = 4
                  overflow             = 5
                  type_invalid         = 6
                  units_missing        = 7
                  unit_in_not_found    = 8
                  unit_out_not_found   = 9
                  OTHERS               = 10.
        IF sy-subrc <> 0.
          e_error = 1.
          EXIT.
        ENDIF.
    Message was edited by: srinu k

  • Alternate Unit of Measure of ETI

    How do you set up an alternate unit of measure to accept decimals.  We are currently using PC as a unit of measure and there are 3 decimal places.  There is a warning message that appears on the screen and we are being told this will cause issues in costing.  Any idea where I can find info on alternate unit of measures related to decimal places.  Have looked all over the net and can find nothing.
    Any help would be appreciated.  Am still a 'newbie' to the SAP world.
    Thank you.

    Decimal setting for UoM were done thru CUNI and you can maintain the relevant alternate Unit in additional Data of material master.
    Regards
    TGB

Maybe you are looking for

  • Please explain XSLT mapping from initial

    Hi Experts, I have Altova XMLspy but I dont know how to use it for doing XSLT mapping. Can anyone of you please explain a simple XSLT mapping in Altova so that I can try.I have checked many blogs related to XSLT mapping but didnt find my answers. If

  • I cant find a simple answer to this question.

    I get this stupid error when running an applet: java.lang.NoClassDefFoundError: website (wrong name: website/website) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:403) at java.security.Sec

  • Map Builder Labeling Links from Network Theme

    Hi, Map Builder cannot change labelig column for links('link_id' is default), I need column 'LINK_NAME' I change column manuly in metadata_view update user_sdo_themes set styling_rules = ' <label> <link column="LINK_NAME" style="T.ROAD NAME"> 1 </lin

  • Xp_cmdshell giving error

    HI All, I was trying to get the list of all the files in the folder,am getting an error saying " '\\file01\EDW\Perf\' is not recognized as an internal or external command, Please help declare @files table (ID int IDENTITY, FileName varchar(200)) inse

  • Automatic stop with record a video in a few second.

    I have EOS 60D with SD card #10 32 GB. when I record video, it automatic stop with in a few second. What should I do to solve this issue? Thanks