How to get decimal notation in 'SU01'?

Hi guys,
You know that when we process the currency, it needs to know what the user have set the decimal notation.
You can run tcode 'SU01',click the tab 'default' to see it.
So how to get the user the setting?
Any function module ?
Welcome any ideas.
Thanks very much.
--James Liu

make use if table
USR01
USR01-DCPFM     XUDCPFM     CHAR     1     0     Decimal notation
possible values:
          1.234.567,89
     X     1,234,567.89
     Y     1 234 567,89
regards
Prabhu

Similar Messages

  • How to convert decimal notation to comma notation

    Hi Folks,
    I have an issue in converting decimal notation to comma notation for France.
    I have changed the decimal notation in SU01 from 123.4 to 123,4 but when i run some custom program written by me it is extracting output as 123.4 than 123,4.
    So i want to have the output of report to conver all numerical values(from decimal format to comma format) i.e., 123,4 format from the 123.4 format.
    Please help me in fixing this issue
    Edited by: Nishanth Kumar Reddy Chenchu on Apr 24, 2008 1:16 PM

    Hi Nishant,
    U can use the statement WRITE TO. This will write the data as per the user settings. When ever user changes his settings like decimal notations then this statement will write the data as per the current settings of the user.
    DATA: l_amount1 TYPE wrbtr VALUE '123.45',
              l_amount(16) TYPE c.
    WRITE:/1 l_amount1.
    WRITE l_amount1 TO l_amount.
    WRITE:/1 l_amount.
    Just copy paste above code in a sample program. First execute this program and note the output. Then change the user settings for decimal notations and log of from SAP(Because user settings will become active only after fresh login). Now execute ur report and see the difference. In this way u no need to change the program when ever user changes his settings.
    This thing not pnly applies for amount but also for date, time Quantity fields
    Thanks,
    Vinod

  • How to change Decimal Notation based on User settings programmatically?

    Hello All,
    Like cl_abap_datfm=>conv_date_ext_to_int  and cl_abap_datfm=>conv_date_int_to_ext which changes the date format ,is there any class/method which changes the number format......I mean decimal and thousand separator format. I have to do that based on the User settings which I am getting from USR01 table. But not getting any class/method where I have to submit the number along with the format to get the format as per user settings.
    Thanks in Advance.
    regards.
    Sarbajit.

    Hi Sarbajit,
    No need for FM. Try like below using 'Write To' statement,
    Declare a variable of type P.
    Move ur number to that variable.
    Then Write that variable to variable of type Char.
    Now Char variable will contain value according to the User Decimal Settings.
    PARAMETERS: num TYPE i DEFAULT 9999.  " Enter ur number
    DATA: qty TYPE p DECIMALS 3,  " Variable of Packed type
                ch(13) TYPE c.  " Character variable
    qty = num.          
    WRITE qty TO ch.     " According to Decimal format in SU01, value is written
    WRITE ch.
    Thanks,

  • Incorrect Decimal Notation

    Hello All ,
                  For some of our New Hires are facing Issues during Enrolling for Medical. It displays as u201C22,00u201D instead of u201C22.00u201D and it gives them an error after the election.
    I can do for single user through SU01 and save their Default settings, but what about if there are large number of New Hires.
    Is there a system setting that can be set so that all new users created will have the date/decimal format defaulted to something other than the normal, European format date/decimal.
    Please suggest.
    Thanks,
    CB

    Hi Chandresh,
    Refer the below links:
    Re: How to get decimal notation in 'SU01'?
    User Defaults on user creation
    Profile parameter can be changed for this -  zcsa/moddcpfm
    Rgds,
    Raghu

  • How to get the number of decimal places configured for a site column

    Hi,
    I have a column 'SampleNumCol' of type Number, the number of decimal places to be displayed is configured as 2.
    The column conatins a value, but when retrieved programatically is displayed as 5.00000000  instead of 5.00.
    I am retrieving this column using listitem.Properties[field.InternalName].
    I need to trim the decimals based on  number of decimal places configured for the site column.
    How to get the number of decimal places configured for a site column?
    Thanks in advance,
    dhijit

    Get the field as SPFieldNumber and then check DisplayFormat which returns
    SPNumberFormatTypes
    SPFieldNumber numberField = list.Fields.GetFieldByInternalName("YourNumberFieldName") as SPFieldNumber;
    SPNumberFormatTypes numFormatType = numberField.DisplayFormat;

  • How to do setting of  decimal notation and arithmatic and character note

    Hi colleagues
    I do have one problem
    And the following setting tried in SAP netweaver so do not give any hint for Netweaver
    The problem is stated as follows
    in output type in Germany they use , instead of . the dot signifies point that is .
    and we use , as a seperator in means suppose we have to write 2000 we write like wise means as per our requirement whether we need to mention 2.000 or 20.00 but in germany they use comma ,
    so in output type display point the problems are increasing and they are not getting solved.
    so it is the question of compatibility
    what went wrong i am unable to understand
    is there is any significance of country specific setting of decimal notation
    or any thing need hint towards the same.

    Hi
    For your output type assign a smartform and in the smartfrom write the program that the decimals should come like , instead of . then your requirement can be fulfilled
    Also check in OY04 wheather you can maintain or not
    Regards
    Srinath

  • How to tackle " . " or " , "Comma DECIMAL notations in text file uploading?

    Hi Experts,
    I hv to upload the text file via LSMW and creating the Purchse Orders.
    So, issue is with QUANTITY and VALUE fileds, bcoz, the text file may some times contain " . " as DECIAML or may some times " , "(comma-Europe) as DECIMALs.
    And some times this LSMW may run by US guys, where " ." is DECIMAL and some times Europe guys, where " , " is DECIMAL.
    So, request u that, let me know that, How to handle all situations? Is there any FM?
    thank u

    Hello Srinivas
    The easiest approach would be the organizational one:
    Assuming that all relevant values have at most two digitals then export all values without decimal sign and interpret the last two digit of any values as decimals values (this approach is used in many EDI messages).
    The second approach would be to include a "marker" about the decimal notation in the file.
    However, I would always recommend to use the simplest approach (= 1st approach).
    Regards
      Uwe

  • How to get 2 decimal place of an amount?!

    Hi. How to get only 2 decimal place of the said amount?!
    I use to_char(v_rec.amount, '999,999,999.99') however it is outputting more than 2 decimal place. Thanks!!
    1,048.7800205
    Edited by: 989873 on Feb 26, 2013 6:33 PM

    989873 wrote:
    Hi. How to get only 2 decimal place of the said amount?!
    I use to_char(v_rec.amount, '999,999,999.99') however it is outputting more than 2 decimal place. Thanks!!
    1,048.7800205above should NOT contain any comma
    it works OK for me.
    How can we reproduce what you report?
      1* select to_char(1048.7800205, '999,999,999.99') from dual
    SQL> /
    TO_CHAR(1048.78
           1,048.78

  • How do I get decimal alignment for Pages on my iPad WITHIN a table?

    I'm working with Pages on my iPad and I understand how to double-tap the ruler to enable decimal alignment within text. But how does one decimal align within a column WITHIN a table cell?

    Did you purchase the app on your iPad, or through iTunes on your computer?  If you downloaded directly to your iPad, the icon likely loaded onto a different page.  On your home screen, swipe your finger to the left and keep doing that until you find the page the App went to.  Once you see it and you want to move it to hour home screen, hold your finger on the App until it jiggles.  Then while holding the App slide to the left edge of the page and it will move to the next page back and so on and so on......

  • Decimal Notation in SU3 keeps on reverting after I changed

    Hi all,
    I am changing the decimal notation in the DEFAULT TAB at SU3 (user maintenance).
    the problem : the decimal notation always revert back to old selection despite i selected a new one, saved it, log out and login to get refresh.
    How do i stop the decimal notation from reverting to old one after I choose a new and saved it.
    Thanks
    William Wilstroth

    Hi all,
    Although my functional has submitted a request to SAP on this issue, but i still hope by letting this issue still open in this forums that there are still ideas for this weird problem... su01 not saving the latest decimal notation...
    I will get back to everyone if there is an update from SAP.
    Thanks
    William Wilstroth

  • List of users and their decimal notation settings in SAP system

    Hi all, i'm looking to get my hands on a list of all users in our SAP system and their respective decimal notation settings? I know that these can be mass changed using SU10 however I am unable to determine how to view a list of users and their settings.
    Thanks,
    James

    Hi James,
    You can find many useful reports, in SUIM transaction to see user details, but not decimal notation field. I don't know a report to show decimal notations, but as a workaround, in order to see the decimal notation, you can check "USR01-DCPFM" by using "SE16".
    Best regards,
    Orkun Gedik

  • ME13-Difference in the decimal notation in amount in conditions

    Dear All,
    I get this issue in the conditions of ME13(PIR). The value in the database(KONP-KBETR) has 2 decimal places, whereas in the screen, decimal notation is not present. i.e., the value looks like being multiplied by 100. This is present only in one system. The other system shows the value as it is in the database. This is common for all users.
    How can I change this? Is it some screen setting? Please help.
    Thanks,
    Sumanth

    The database always stores the values with 2 decimals, but  dependend on the currency settings the SAP programs that show the values to the user (except they are using SE16)  or calculate values, or printing puchasing documents   will take care to show it in the right form.
    If you develope your own programs, then you have to take care about this by yourself.

  • Configuring decimal notation  in SRM 7

    Hi ,
    We are on srm 7 ECS.
    How can we change the Decimal  notation to 1.234.567,89 at the SRM client level.
    I know we can change it in su01 for every  user ID , but I want to change it at teh client level, so that it appears the same for all users.
    Rgds
    Sumendra

    Hi Prakash,
    If you want to change the existing user decimal notation you need to modify  in SU3 t.code.
    In order to control the default settings while creating SU01 user id, BASIS team can maintain Access enforcer (please check with basis guys to know more about access enforcer).
    Also, Via SRM NW portal, you can personalize the settings from the following path
    NW portal --> Home --> Personalization --> SRM User settings
    Regards,
    Krish

  • Decimal notation for ESS

    Dear Expert,
    We are on ECC6 with EP7. When my user try to apply leave on the portal, the system show 1,00 day. Anyone knows how to change it to 1.00?  My users prefer to use dot instead of comma to separate the decimal.
    I have check on SU01 and the decimal notation shows correctly. However it just does not work in portal.
    Can someone help?
    Thanks
    Regards,
    Bryan

    Hi Brian,
    have you checked the language of the user? Notations and date formats are governed by the language on the user. If the language is not set in the backend, it will pick the default locale on the portal or the browser language.
    Cheers,
    Dion

  • New  Decimal Notation Format Required  For Indian Projects

    Respected Members,
    As at the user level or tcode SU01 only three decimal notations are provided.
    But for country India the decimal notation format is totally different.
    Given decimal notation format is
    1,234,567.89
    And the Required Format For India is
    1,23,456.78
    Becoz we mention the Rupees in this format only.
    And this second format is not available in SPRO also .
    How to create the desired decimal notation and add the corresponding functionality.
    And if we use the given format (1,234,567.89) then when we converting the amount in words through Function module
    SPELL_AMOUNT ,it is not converting properly even though we have maintain the entries in View V_T015Z.
    Suppose our amount is 1,00,000 that is One lakh but it will show in the output  ONE HUNDRED THOUSAND.
    I know that there is another function Module HR_ch_ something to convert in words according to indian currency.
    But it does not solve the issue properly.
    THis DECIMAL NOTATION format for Indian Projects is a BIG MESS.
    So kindly tell me any solution or it is the drawback of SAP.
    So that we can ask SAP to append this Decimal Notation and required Functionality for the Indian Projects.
    Kindly Send Your Valuable answer and Try To Make clear picture and SAP Technical People if Reading this thread then kindly give stress on the REQUIRED DECIMAL NOTATION.
    THANKS A LOT.

    Hi Manish please you can try this code
    REPORT ZAMOUNT_CONVERSION.
    DATA : RESULT1(20).
    PARAMETERS : NUM TYPE P DECIMALS 2.
    DATA : num2 type STRING.
    DATA :  col_amt(20) type n,"15
             col_b type i,
             num_1(20) type C,"15
             Length type i.
    num_1 = num.
    write : 'default format      :',num.
    uline.
    skip.
    IF ( num >= 999999999 ).
           write num_1 using edit mask 'RR__,__,__,__,______' to col_amt.
           CONDENSE col_amt.
           length = STRLEN( col_amt ).
           if length = 16.
             REPLACE first OCCURRENCE OF ',' in col_amt with space.
             write :/'amount indian format:',col_amt.
           else.
           write :/'amount indian format:',col_amt.
           endif.
    ELSEIF NUM < 999999999 AND NUM >= 9999999.
           write num_1 using edit mask 'RR__,__,__,______' to col_amt.
           condense col_amt .
           length = STRLEN( COL_AMT ).
           if length = 13.
             REPLACE first OCCURRENCE OF ',' in col_amt with space.
             write :/'amount indian format:',col_amt.
           else.
             write :/'amount indian format:',col_amt.
          endif.
    ELSEIF NUM < 9999999  AND NUM >= 99999.
           write num_1 using edit mask 'RR__,__,______' to col_amt.
           condense col_amt .
           length = STRLEN( COL_AMT ).
           write :/'amount indian format:',col_amt.
    ELSEIF NUM < 99999.
       data : dumy(10) type c.
       dumy = num .
       CONDENSE dumy.
       length = STRLEN( dumy ).
         if length <= 6.
           write :/'amount indian format:',num.
           else.
           write num_1 using edit mask 'RR__,______' to col_amt.
           write :/'amount indian format:',col_amt.
          endif.
       ENDIF.
       uline.
    create a function module with this code .hope this will solve the issue.

Maybe you are looking for