Decimal place in Quantity field

Hello experts,
Got a query regarding decimal places in the quantity field of a sales order.
The material UOM is maintained as EA. I have checked the transaction CUNI, where the decimal place is maintained as ZERO. Still , Sales order / Delivery documents which i am creating is allowing decimal places for in the quantity.
For eg: material quantity of 50 EA in sales order, during the delivery batch splitting is getting splitted as 25.095 EA and 24.050 EA. Can you pleae advise the reason for this and how to go about this...
Thanks,
Safeer Rahman

Thanks for your reply....
But , as i have already told the decimal place field  is maintained as 0(zero) in CUNI for the UOM EA.... Still its allowing me to enter decimal values... for eg:. its allowing me to enter 50.038 EA. I don't know why its not giving an error message prompting me not to enter decimal values...
Any idea?
Thanks,
Safeer Rahman

Similar Messages

  • Decimal Places in qty fields

    Hi Experts,
    I'd like to know is it possible to set 4 decimal places in Qty fields, when I make GI for Sales Order.
    Regards

    Hi,
    Go to SPRO>SAP Netweaver >General Settings> Check Units of Measurement, then click on "Units of Measure" (T.Code: CUNI) and Select your Unit of Measurement  and go to details put number 4 "Decimal Places" field (you can put 0 to 14 decimal places.
    Regards.
    Chinna

  • Change the decimal places of a field in screen table control

    HI ,
    I have a MENGE field having data element as , BSTMG (decimals 3 ).
    This field MENGE , I have used in a table control. The value in this field is filled from a custom Z-table where the same data element BSTMG is used. So , for eq.) value in MENGE field is shown as 6.010
    But the requirement is that the value should be displayed as only 2 decemals i.e.)   6.01
    I dont want to change the domain of the field in the Z-table , to 2 decimal places , because the table is used in other developments also , so it will give a dump there which I have to correct in other developments also.
    So , is there any way to change the decimal places of a field in screen table control , without changing the domain , in the table from where the value is fetched... ????
    Edited by: abhijeet_7013 on Feb 14, 2011 3:18 PM

    Hi, create a structure in local program with same field names and change the TYPE with some 2 decimal domain of MENGE. Populate this local stucture and use it in TABLE CONTROL.
    Hope this helps...
    Cheers

  • Removing the decimal places of currency field

    Hi Gurus,
    I have a currency type field ( to be more specific a field like BSEG-WRBTR) .
    How do i eliminate the decimal places for this field.
    ie if the value is 345678.91, i need to make it 345678.
    Is there a standard keyword or something for this?
    Points will be given to all the helpful answers.
    Thanks,
    Nobin.

    You can use the FLOOR function to get the largest integer value without decimal.
    Like:
    DATA: W_RESULT TYPE I.
    W_RESULT = FLOOR( P_AMT ).
    Regards,
    Naimesh Patel

  • Decimal places in quantity depending on currency

    hi
    i m doing an alv list display in which i need to display a quantity field with 3 decimal places for some currencies, but for one particular currency such as 'AED'
    that field should display only 2 decimal places in the output.
    regards
    Zarina

    Hi Zarina,
    Populate decimals_out with 2 for this field while building the fieldcatalog.
      g_t_fieldcat-decimals_out = 2.
    Note: don't declare the field as currency which will overwrite above setting.
    i.e., don't use g_t_fieldcat-cfieldname in this case.
    ==============================================
      g_t_fieldcat-seltext_s =  'USD Equi'.
      g_t_fieldcat-seltext_m =  'USD Equi'.
      g_t_fieldcat-seltext_l =  'USD Equivalent'.
    g_t_fieldcat-cfieldname = ' '.
      <b>g_t_fieldcat-decimals_out = 2.</b>
      g_t_fieldcat-just      =  'R'.
      modify g_t_fieldcat index zindx.
    ==============================================
    Hope this helps you.
    Regards,
    Vicky
    PS: Award points if helpful

  • Changing decimal place of price field

    Hi Experts,
    Can any one let me know the impact of changing decimal place of 2 digit to 3 digit for the field NETPR & NETWR in EKPO table?
    Requirement is to maintain very negligible amount like 0.001 for some of the items in PIR, contract and PO.
    Suitable answer will be rewarded.
    Thanks & Regards,
    Pushparajh S.

    0,01 per 10 is certainly zero and this is not allowed.
    Where is this getting rounded? can you name the field?
    Of course it does not make sense if you just order a quantity of 1 haivng a price with 3 decimals when the currency allows only 2 decimals, because you cannot pay the 3rd decimal.
    such prices make only sense if you buy huge quantities. e.g. 20000 kg with a price of 1,255 Euro per KG,
    this is a total of 25100 Euro then, and here the 3rd decimal is about  100 Euro for the total quantity.

  • Determining decimal places in Amount field

    Dear All,
    I want to upload a file on app. Server. It has an Amount field.
    Requirement is to upload Amount field with right number of decimal places.
    How can I do this?
    Is there any Function Module or any other way for this?
    Please let me know.
    Thanks in advance.
    Kind Regards,
    Prasad

    Thanks a lot for quick replies.
    Actually, the field is WRBTR, for which decimal places depends upon currency key. For some it desplayed with 2 & for other with 3 decimals in actual transacion FB03. But, stored in database table BSEG with only 2 decimals always.
    This is the problem.
    I want to upload the same data as is diaplyed in the transaction.
    So, could u please help me for this?
    Best Regards,
    Prasad.

  • Decimal places of the field

    i have some fields of datatype  curr and domain wertv6/wertv7...which has 2 decimal places..
    but in my screen i'm getting 5 decimal places for all those fields....how is this happening?

    hi Anil,
    go to se84
    expand abap dictionary
    go to data element
    and write domain name = wertv6,data type = curr,decimal = 2
    you will find lots of data element.
    hope it solves your problem
    thanks
    Sachin

  • CUNI Decimal place - error message

    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.

    Hi Lakshmipathi,
    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.

  • Increase decimal places in the PO quantity and Price

    Hi All,
    Can the decimal places in the PO( ME21N) creation be increased more than 3 decimal places in quantity and price?
    I did changes in UOM's in CUNI, I increased the decimal places upto 14 but still it does not take more than three i-e., 0.001 maximum.
    Is there any other way to handle this?
    Request inputs on this.
    Note 569326 - ME9F: Customized decimal places are not taken into account........ found this OSS but this correction instruction is not for our pack level ECC 6.0
    Best regards,
    Sridhar

    hi
    In case if you are already working in production remember that decimal places should not change. It will affect all previous data.
    For your problem best solution is make order unit as 1000. So that your problem will solve
    e.g. instead of 2.009 inr for 1 Unit use 2009 inr for 1000 unit.

  • Error at Quantity Decimal Places Updation

    Hello Guyz
    The scenario is when i am trying to update the decimal place of Quantity then at the time of update its showing the error i.e client is already Connected to Company and I have checked that no client is connected with the Company.
    Thanks
    Ankit

    Hi,
    Please check whether there is any instance or SQL process which is in sleeping mode.  Even sleeping process can block the transaction of updating the decimal settings.
    Also, please be aware that once the decimals are increased, it is irreversible. You cannot decrease the decimal places afterwards.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • Problem while changing decimal places in SAP B1 2007

    Hi Experts,
    I want change the decimal places of Quantity type fields from 2 decimal places to 4 decimal places. But while changing it in Genral settings form ,it shows the error message "Cannot update while another user is connected to the company". it is working in SAP B1 2005B but not in SAP B1 2007
    Please help me if you have any solution on this issue..
    Thanking you in advance

    Paul,
    Please see SAP Note 1247060 as is discusses the fact that this did work in 2005, but the behavior was changed in version 2007 ...
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&;note_numm=0001247060
    Eddy

  • How to truncate the decimals in the ALV report for the quantity field

    Hi All,
    I have to display a quantity field and units of measure in the ALV output. If the units of measure eq 'PC' i should not display the decimal places for quantity in the alv output, otherwise i have to display the decimals in the output. How to do this....any help would be highly rewarded. I knew that for this type of cases decimal_o will not work.

    Hi,
    Declare one more Internal table same as output table. In that intead of that quantity field, declare field_name(15) type c.
    data temp type i.
    Loop at itab.
    if field = 'PC'.
    temp = qunantity field.
    field_name =temp.
    else.
    field_name = quantity field.
    endif.
    endif.
    endloop.

  • Price upto four decimal places

    Hi ,
    I am using Basic planning objects for estimation of project.
    I havea item whose price is to be calculated on percentage basis.For Example Price o item X is 0.25% of Value Y.But when I am putting rate of that item as 0.0025 ( INR )system doesnt excepts this is also same for quantity.Since the decimals are restricted upto 2 for Price & upto 3 for Quantity.
    How this can be solved ?
    Rgds

    Hi Shrikant
    I made the settings & tried to put in the Quantity field of ECP but following error is shown by system.
    Too many decimal places (maximum 3)
    Message no. DB739
    Diagnosis
    You specified 4 decimal places, but the field allows only 3 decimal places.
    System Response
    Unable to continue processing.
    Procedure
    Correct your input.
    Rgds

  • Validation of a quantity Field gives a run time dump

    I have an upload file which provide me with a quantity input field which i needs to validate for non characters and special characters.
    I have used a code which does a validation for the character or special character entry in the field but i am not able to check for '.' in the entry.
    the problem is if the user by mistake enters two decimal point which should only be one; the program goes for a dump.
    the below given code is what i have used for validation of the quantity field.
      IF NOT wa_final-actual_quan IS INITIAL.
        MOVE wa_final-actual_quan TO l_fld_quantity.
        TRANSLATE l_fld_quantity TO UPPER CASE.
        IF l_fld_quantity CA sy-abcde OR
                          l_fld_quantity CA '!~@#$%^&*"?><`|}{[]()+-='.
         *giving an error message
          v_flag1 = c_x.
        ELSE.
          CLEAR: l_fld_quantity1,l_fld_quantity2.
          SPLIT l_fld_quantity AT '.' INTO
                                      l_fld_quantity1 l_fld_quantity2.
          CONDENSE l_fld_quantity1.
          l_len = strlen( l_fld_quantity1 ) .
          IF l_len LE 10.
            IF NOT l_fld_quantity2 IS INITIAL.
              l_len1 = strlen( l_fld_quantity2 ).
              IF l_len1 LT 2.
              CONCATENATE l_fld_quantity2 '0' INTO l_fld_quantity2.
              ENDIF.
              CONCATENATE l_fld_quantity1 '.'  l_fld_quantity2(2)
                                          INTO l_fld_quantity3.
              CONDENSE l_fld_quantity3.
            ELSE.
              CONCATENATE l_fld_quantity1 '.' '00'
                                          INTO l_fld_quantity3.
            ENDIF.
            wa_zphyin-acqty = l_fld_quantity3.
    the requirement is that if the user enters the input for quantity it should only accept one decimal place in the field and if by mistake he enters 2 decimal points it should give an error stating :- invalid input for quantity.
    experts please guide as to how i can overcome the problem.
    helpfull amswers will be rewarded.

    Use try..catch..endtry block to handle the error.
    REPORT  Z_TEST2.
    data: l_num type p decimals 2.
    parameter: p_value type char10.
    start-of-selection.
    try.
    l_num = p_value.
    catch cx_root.
    write: 'Not numeric'.
    exit.
    endtry.
    write: 'Numeric'.
    Regards,
    Joy

Maybe you are looking for

  • How To:  Change iTunes media library location/folder

    *PLEASE READ THIS ENTIRE POST BEFORE ATTEMPTING THIS PROCESS. IT’S NOT ROCKET SCIENCE, BUT IT IS FAIRLY INVOLVED AND ENTAILS SOME RISK. THERE ARE SOME WARNINGS AT THE END.* || REQUIREMENT Move iTunes media (music, videos, podcasts) to another folder

  • IpodTouch 5 stuck in recovery mode, wont restore.

    My ipod is stuck in recovery mode, when i connect it to itunes and press "Restore Ipod" which then downloads iOS 6.1.2, when the ipod software update is complete im left once again with the "Restore Ipod" option which does the whole process again lik

  • Rsync - to compare remote directories

    Hi Friends, I did use the below syntax to compare remote directories , but it listed all the files in the source directories even if the files are same as in the target directory. rsync -avn -e 'ssh -l target user' target:path path Thanks, Revathi

  • Cover Flow Bugs

    I have a couple of issues with cover flow. One is that one disk album has two covers. The other is that there is no order to cover flow. Is there any way to fix these annoying bugs in what looks like it other wise might be a useful feature?

  • Another ClassCastException problem

    Hi, I am getting the following error whenever i try deploy my ear file. The ear file has entity , session and web components and the entity beans implement local interfaces. java.lang.ClassCastException: com.sun.enterprise.deployment.EjbExternalDescr