Formatting Amount field

Hello,
If the input amount is 1230.40 then how can I display this amount as 1230.40. I want to display Trailing zero for the amount 1230.40  but it always displays as 1230.4
I am using display pattern "num{zzz,zz9.99}".
Thanks in advance!
M..

Hi,
try this display pattern num{zzz,zz9.99} and this edit pattern num{zzzzz9.88}.

Similar Messages

  • Number formatted Amount field not working in Excel 2010

    Hi,
    We have BI reports in EBS 11.5.10.2 designed using word 2007 RTF templates. The output is selected to write to Excel so that they can calculate on amount fields. Recently we upgraded to Office 2010 and the amount filed which has number format when downloaded to Excel will not allow to use functions like Sum. If i deleted the table column and add the column back, then it works. Is anyone runing into similar issues....

    Interesting to note this is still a problem, but even more interesting is as to why Excel works fine the first time you bring in the xsd, but not after you save it.  I found information that says it's related to resolving externally referenced xsds,
    which is fine, but again, why does it work the first ime and not the second?   If it were a problem with external xsds then it should never work at all so I think that answer is bogus.
    Something has to be getting corrupted on the save and it's not important enough to MS to spend the time to fix it.

  • How to maintain the amount field format after GUI_DOWNLOAD

    Hi everyone.
    I have this problem on my object.
    The format of field ERFMG in table AUFM is 3.921,569.
    After I SELECT it INTO an internal table it becomes like this 3921.569
    I would display this internal table in ALV and its ok. Its format is 3.921,569 The format is also not changed when I download it into an excel file using LIST -> EXPORT -> LOCAL FILE -> SPREADSHEET.
    However my program should automatically download to local if the user tick a checkbox in the selection-screen. It will use function module GUI_DOWNLOAD. When this is used, the format of ERFMG changes to 3921.569 again, since it is using my declared internal table.
    How will I use GUI_DOWNLOAD without changing the format of amount fields like ERFMG? What are my other options to do this?
    The Decimal Notation in my User Profile is already set to 1.234.567,89
    Thank you in advance.

    Hi Cris,
    To get the output in the user format for the decimals, try the following code.
    data: wg_dec(7) type p decimals 2.
    data: wg_dcp type usr01-dcpfm.
    data: wg_dec_str(10) type c.
    wg_dec = '111135.67'.
    select single dcpfm from usr01
            into wg_dcp
           where bname = sy-uname.
    move wg_dec to wg_dec_str.
    if wg_dcp ne 'X'.
      replace all occurrences of '.' in wg_dec_str with ',' .
    endif .
    write:/ wg_dec, wg_dec_str.
    I dont feel there is any other option where you can change the decimals format as per the user profile.
    While giving the output of decimal values in a list, the system automatically displays it in the profile set by the user.
    This code will help you to set the decimal value as '.' or ',' as per the user profile.
    Note: It wont add the unit separator for hundreds and thousands. Again you have to do that manually.
    Hope this proves of some help to you.
    Regards,
    Pulkit

  • Amount Field format problem

    Hi,
    I am uploading G/L entry using STD program RFBIBL00.
    In input excel file I am getting amount as 1000.1
    When i upload excel to Internal table field (Type C) it is 1000.1
    I am passing this value as it is to BBSEG-WRBTR.
    Program creates BDC Session. But when I execute BDC session in foreground/backgorund, the amount field show 1000,1
    and gives error "Input should be in the form __.___.___.__~,__"
    My current decimal notation at user level is 1,234,567.89
    I tried passing amount to BBSEG-WRBTR in all possible formats but no use.
    If i pass amount without decimal. i.e 1000, it works fine.
    BBSEG-WRBTR is char16 field.
    Any idea, what could be the problem?
    This is very urgent.
    Thanks &  regards,
    Umesh

    I am pasting code.
    Whatever commented, all tried.
    FORM convert_amount  USING    p_dcpfm   TYPE xudcpfm
                                  p_in_amt  TYPE c
                                  p_waers   TYPE waers
                         CHANGING p_out_amt TYPE wrbtr_bi.
    Input amount will be in 99999.99 format
      DATA: lv_amount TYPE wrbtr.
      lv_amount = p_in_amt.
      p_out_amt = lv_amount.
    CLEAR p_in_amt.
    WRITE: lv_amount CURRENCY p_waers TO p_out_amt.
    CONDENSE p_out_amt.
    WRITE p_out_amt TO p_out_amt LEFT-JUSTIFIED.
    CASE p_dcpfm.
       WHEN ''.    "1.234.567,89
         TRANSLATE p_out_amt USING '.#'.
         TRANSLATE p_out_amt USING ',.'.
         TRANSLATE p_out_amt USING '# '.
       WHEN 'X'.   "1,234,567.89
         TRANSLATE p_out_amt USING ', '.
         CONDENSE p_out_amt NO-GAPS.
       WHEN 'Y'.   "1 234 567,89
         TRANSLATE p_out_amt USING ',.'.
         CONDENSE p_out_amt NO-GAPS.
    ENDCASE.
    ENDFORM.                    " convert_amount

  • Thousand Separator is Not Appearing in Amount Fields iRecruitment

    Hey Guys,
    My requirment is to show comma as thousand Separator for example 10,000 but its showing 10000.
    I am facing this issue in all amount fields in iRecruitment like Vacancy Page (Min Propose and Max Propose) and Offer Page.
    I set the below profile options
                  Currency:Thousands Separator = Yes
               ICX: Numeric Characters = 10,000.00
    and
             Preferencess > Regional Section > Number Format  = 10,000.00
    I am using EBS 12.1.3 and i cleared cashe but still no effecet. Is there any other setting need to be done?
    Please Help
    Regard
    Mazhar Hussain

    i am also thinking same about it, but right now my CSI is has been expired so i cnt log SR that why i asked here if someone even experience it.
    Regards
    Mazhar Hussain

  • Thousand Separator is Not Appearing in Amount Fields in iRecruitment

    Hey Guys,
    My requirment is to show comma as thousand Separator for example 10,000 but its showing 10000.
    I am facing this issue in all amount fields in iRecruitment like Vacancy Page (Min Propose and Max Propose) and Offer Page.
    I set the below profile options
                  Currency:Thousands Separator = Yes
               ICX: Numeric Characters = 10,000.00
    and
             Preferencess > Regional Section > Number Format  = 10,000.00
    I am using EBS 12.1.3 and i cleared cashe but still no effecet. Is there any other setting need to be done?
    Please Help
    Regard
    Mazhar Hussain

    When i go through Patch Description
    Patch Applicable for versions:
      Iprocurement R12
    5. Dependant Applications:
      None.
    6. Patch to be applied:
      Server.
    7. Patch applicable only when a particular application installed:
      Oracle Iprocurement.
    Its say that Patch for  Iprocurement so how can i apply this patch for iRec?
    Regrds
    Mazhar

  • Amount field data type?

    I have rows coming in with three column values I need on the export, I don't want to change the export process that is in place ...and I can't change the import formats...
    I would like to concatenate them and put them in the "Amount" field...can this be done?
    Suggestions?
    Jz

    You won't be able to do it in the Amount field because without using some sort of seperator i can't see how you will parse the values out later and this will give you issues at import with non numeric data type exceptions. Also if you can't change import formats you are extremely limited as this is where any sort of data manipulation is traditionally done.
    Edited by: SH on May 13, 2011 8:39 PM

  • Amount field in smartform

    Hi Experts,
    I am developing smart form for invoice.In output it is displaying amount field like this
    123.44,65 instead of 123,44.65.(I.e full stop is coming in place of comma and vice versa).
    please help me.
    Thanks,
    Santosh

    Hi
    In order to convert the amount field  we need to check first user settings . Even though the User setting value is 'X' .
    The amount will not display correclt .
    For this proper soultion is change the format according to country settings .
    for that we need to give the syntax set country countryid.
    this syntax will look into T005X if the country id is avaliable  it will fetch the decimal notation provided.
    if not provided you need to provide the syntax
    SET COUTNRY SPACE . Here space will check the user settings and change the correct settings.
    Please  provide the SET COUNTRY SPACE before where you are trying to display . ie using flow logic -> program lines
    or in driver program  where you are trying to calculate .
    I have done the same thing when i had this problem for Purchase order smartform.
    Thanks
    Hariharan.

  • Amount field with dollar symbol?

    Hello
    I have a AMOUNT field on my_form. Because of good compatibility/data transfer i have defined it as a DECIMAL FIELD 12,3.
    Data transfer is btwn my_form and back end system SAP / Oracle. Fine.
    But, user want to have the below requirement:
    Say, for example, user entered 10000 dollars, once user EXITs that field, adobe will make it formatting (bcz its defined as DECIMAL field) as 10,000. Fine
    But, users want to see it as $10,000 (If its USA) if its Europe Euro / local currency symbol as prefix.
    Pls. let me know how can achieve my requirement (is it Pattern related or JavaScript will do it)?

    On the object palette select the display pattern (click the little down arrow on the left of the button)
    Then select num.currency()

  • Transfer amount fields to app. server using fieldsymbol

    Hi,,
    I am facing a strange problem while using fieldsymbols .Here is my requirement.
    I have a custom table records ( which also contains amount fields ) in fieldsymbol , which i need to transfer to application server . But when i am trying to transfer to file , using  Transfer <final> to p_file , amount fields are not getting converted to characted format and program is going to shortdump. After that i tried assigning this <final> to another fieldsymbol , of type c (using casting ) , records were able to transfer to file but the amount fields are not being converted to readable format (i.e unknown symbols , like #p## ) .
    I even tried SAP_CONVERT_TO_TEX_FORMAT to convert the contents to text format but i am unable to transfer with fixed length to application server file..
    As it is a dynamic program , i am using fieldsymbols instead of internal tables.
    Can anybody please help me transferring amounts also to appl .server file , with fixed length..
    Thanks in advance..

    Hi
    The <field symbols> doesn't change the format of the field, so you need to convert it in char format before transfering it to file.
    DATA: WA TYPE STRING.
    MOVE <FINAL> TO STRING.
    TRANSFER WA TO P_FILE.
    Max

  • Error entering amount field.

    Hi Friends,
    I am facing a strange issue while entring amount field in screen. The default setting for decimal notation is
    123.45
    While posting a document if I wrongly enter amount as
    123,45
    it is showing error message as Input should be in the form __,___,___,__~.__ which is alright. But when I correct the input value to correct format as 123.45 its still showing the same error.
    It seems some variable is not getting cleared. This issue is not specific to document posting but I am facing this issue for all transaction in SAP. What is the work around to get this issue corrected.
    Warm Regards,
    Praveen

    Hai Praveen,
                         You are right. The field to which you are entering the data, is not getting cleared. So the next time you try to enter the data, it is considering the previous data. So, consult your ABAP Consultant and the corrections done.

  • Alignment required in to display the  Amount field

    Hi Friends,
    kindly help me facing problem in to display the amount using decimal places also
    nedd to display the Pretax and aftertax amount for that purpose
    written below code . 
    it is picking amount fields but the amount is printing like this
    pretax                  aftertax
    $ 34.67               $     0.00
    $ 21.64               $   120.90->
    I need to display amount fields in order like, thens, hundreds, thousands like.
    read table lt_final into ls_final with key bplan = 'PRD'.
       if ls_final-pretx = 'X'.
         pretax = ls_final-eecst.
         write pretax to lv_pre.     "#EC UOM_IN_MES
         concatenate c_dollar lv_pre into lv_dollar.
          shift lv_dollar right deleting trailing space.
    *Pretax totals
         lv_pretax = lv_pre.
         read table out_pay1 with key name = 'PRETAX'.
         check sy-subrc = 0.
         out_pay1-value = lv_dollar.
         modify out_pay1 index sy-tabix.
         clear out_pay1.
       else.
         aftertax = ls_final-eecst.
         write aftertax to lv_after. 
         concatenate c_dollar lv_after into lv_dollar1.
          shift lv_dollar1 right deleting trailing space.
    Aftertax totals.
         lv_aftertax = lv_after.
         read table out_pay1 with key name = 'AFTERTAX'.
         check sy-subrc = 0.
         out_pay1-value = lv_dollar1.
         modify out_pay1 index sy-tabix.
         clear out_pay1.
       endif.
    Thanks,
    Sai

    Hi Daya,
    I would like to print two amount values with decimals.
    like :  like Pretax      after tax
                                   $      0.00
          $   3.45             $  120.67
          $   0.00             $      0.00
    I created using right justification one paragraph format with two tabs
    60.00              ch           Right
    68.00              ch           Right
    But my program output is comming like this.
    any one please help me.
    Program output:
    Pretax               after tax
                                   $    0.00
          $   3.45           $  120.67
          $   0.00             $    0.00
    Thanks,
    Sai

  • Formatting amount to 2 decimal places without rounding the value

    Hi 
    My requirement is to format the amount field, when I am using the simple type and setting the format as ###,##0.00 then it is rounding off the value.  Foe example say the amount is 3,567.236 in this case it rounds it off to 3,567.24 which I do not want we want the value to display as 3,567.23.  Does anyone have any idea how this can be achieved.
    Thank you
    Regards,
    Preet

    Use the following :
    BigDecimal bigDecimalh = new  BigDecimal("22.335642");
              bigDecimalh = bigDecimalh.setScale(2, BigDecimal.ROUND_DOWN);
    Regards,
    Himanshu

  • Difference between two amount fields

    Hi,
         I have got two amount fields and I need to find the difference between those two.
    They are in below formats
    1.800,00
    18,00
    Is there any FM to find the difference.
    Thanks,
    ABAPer.

    What if the two values are type c?  So the commas etc. are really in the value.  He'll have to convert to type P first, then subtract.
    Again - it's programming that solves this - not "function module".  How do you think function modules get written in the first place - by programming!

  • User defined function to check the NULL and 0.00 value in a Amount field

    Hi Experts,
    I have one scenario in which i have amount field in Data type.
    I have to create one UDF which will do the following thing.
    1. If the amount field is Null it should throw an exception in mapping.
    2.If the amount field is 0.00 it should throw an exception in mapping.
    3. For all other cases it should pass the amount value to the target.
    Can anyone provide me the code For this UDF.
    Thanks in advance.

    Hi,
      You can add this logic to the UDF. Here var1 is the input string.
    java.math.BigDecimal b=new java.math.BigDecimal(var1);
              if(b.compareTo(new java.math.BigDecimal("0.00"))<=0)
                   //write your logic for values less equal to zero
    One small request, if you think your question has been answered, properly and correctly, could you please kindly if possible close down this thread. It helps people who look for solutions to similar problem.
    regards
    Anupam

Maybe you are looking for

  • Why is my spell checker not working in a document using Word 2003

    I have a word document in Word 2003  .   I was altering it and noticed that from page 3 to 6 the spell checker does not work. I transferred the pages into another another file still didn't work .  Just copied a paragraph still didn't work.  So I then

  • Transfer Pictures from Imported Album to Camera Roll

    How much ever i search the net i havent found an answer for this problem. I seem to fall in to a vicious cycle of coming back to square one. Please help me with the following question please. 1). I am using ipad with camera connection kit for transfe

  • DVD Burner Doesn't Fit!! Any others?

    Just bought a LaCie 16x LightScribe internal DVD+-R double layer burner since it was recommended on this site, and now come to find it doesn't fit by millimeters due to the mirrored doors. Any other DVD burner suggestions? I mean, a size that actuall

  • L430 Brightness controls not working FN-(F8/F9)

    Hi folks, I have a problem that can't resolve and hopefully you experts could assist on this issues. My new L430 has an fn key option (fn-f8/f9) to adjust the screen brightness and it doesn't work as intended. I tried reloading the hotkey features in

  • Podcast library won't stop updating

    Just last Thursday I updated my 5th gen. iPod Touch to 8.0.2 (meanwhile connecting for the first time to my new MacBook Air). Ever since then, when trying to access my podcasts on the iPod, the spinning wheel comes up and it just says, "Updating libr