Format of currency incorrect

Hi
I have several smartforms which are dispaying various amount fields which are all listed in the Global Definition settings under the tab 'Currency/Quant.Fields' and referency a currency field.
I have a problem where in one particular smartform I am doing exactly the same thing execpt the currency format is not displaying correctly as the other forms.
In this particular case we are displaying Zambian Kwachas and the format should be 1,000 which is displaying in all forms but the trouble form is displaying 1.000 - with a fullstop instead of a comma.
In debug the amounts between the forms are all the same and there is nothing unique which should make the formats different.
Does anyone know why this one would print with an incorrect format?
Thanks.
Regards
Lyndon

Hi Guys
Thank you both very much, this is a very big help. Murphey's law is that our Dev system is down so I can't test this. I think that it might be a combination of both SU01 and the SPRO settings, in SU01 the settings are correct whereas is SPRO the settings are wrong, maybe that is why some forms print correctly while others are wrong.
Thanks!

Similar Messages

  • Formatting a currency field

    I have a currency formatted field that completes a calculation.  Is there a way to format a field so that if the answer is $0.00, that it will not show and print?

    The only way I could get it to take the validation is to type the following:  if(+event.value==0)event.value="";
    But when I put that in my field - it still prints $0.00.  Is it because my formula is not addition but multiplying two fields? 
    You mentioned that I may have to change some field values first?  The two fields that my original formula is figuring are formatted for a number and the second field is formatted for currency.  So the total is in a field formatted for numbers - with a $ sign and a space before the number.  I have about 30 lines figured for this, but even when I have no entry in either one of the fields, I still get a $0.00.  I really do not want anything to show up unless there is an entry in that field.

  • Does the new Numbers allow for formatting for currency?

    I have just updated my computer to Yosemite and updated Numbers and Pages as well.  Is there somewhere that I can format the cells to e.g. currency, as in the older versions?
    Thank you

    On the View menu, Show Inspector. Then in Inspector (right side pane) click Cell at the top and then set Data Format to Currency.

  • Format mask (currency)

    Hello guys,
    I was wondering what would be the correct place to set a format mask (currency) using Jheadstart 10.1.3.
    Regards,
    Maik Verbaan

    Hi Maik,
    We have a "regular expression" field to validate the item, and an error that can be thrown if the input does not comply with the regular expression.
    Regards,
    Evert-Jan de Bruin
    JHeadstart Team

  • Formatting numbers currency export to excel

    All
    I have the following SQL in my code.
    select trader, tradername, billingranacc,BILLINGPREFRANACC,LASTLOGINDATE, '€' ||to_char(billingamount,'99G999D99') Amount,substr(BILLINGPREFRANACC,1,1) as "R&NLocation"  from exlink_trader_import where usertype = 'Internal' and isbilled = 'Yes' and isdeleted = '0'Now the report picks up the € sign but when i export to excel it does not, can someone help with this ?

    Hi stranger colleague Ben
    The CSV codification is one but not the one issue that can affect the unexpected output of your report.
    But if you are viewing correctly the € symbol in your report, and the automatic CSV codification is enabled, sure you are in the usual case that makes more difficult the work of foreign developers and DBAs.
    Time before I resolved the wrong CSV output (“â‚ 600.00”) instead of the correct (“$ 600.00”) simply turning ON the automatic codification, but only after being managed many NLS parameters, and database character sets. We have different currency, keyboards, measure units than Americans, and have to read more chapters in documentation books. This is more pain if you are far to domain the English language!.
    Ben: you are getting the wrong output using the “ '€' || to_char (billingamount, '99G999D99')” format in the query, Have you checked using “billingamount” in the query, and defining the FML99G999D99 or FMU99G999D99 format in the report column numeric attribute?, You should seen the correct € output in the CSV file although you haven’t defined the automatic codification.

  • DiskPart Format : Parameter is incorrect

    I am trying to format a virtual disk & I get an error. I have selected the partition to operate on & ran the format command in a variety of ways [recommended, ntfs, fat, also combined with quick].
    I can't for the life of me figure out whats wrong. Is it that DiskParted is bugged here? or am I missing something?
    This issue happens in Windows 8.1 & Windows 10 Beta. Never tried 7, but I assume the same would occur
    DISKPART> list disk
    Disk ### Status Size Free Dyn Gpt
    Disk 0 Online 167 GB 1024 KB
    Disk 1 No Media 0 B 0 B
    * Disk 2 Online 200 MB 0 B
    DISKPART> list partition
    Partition ### Type Size Offset
    * Partition 1 Primary 198 MB 64 KB
    DISKPART> format fs=ntfs unit=4096 quick
    0 percent completed
    DiskPart has encountered an error: The parameter is incorrect.
    See the System Event Log for more information.
    DISKPART> format recommended
    0 percent completed
    DiskPart has encountered an error: The parameter is incorrect.
    See the System Event Log for more information.

    Hi RandomClown,
    Format command could be used directly from the CMD Window, no need to under the Diskpart Session.
    You may try to format in this way:
    format <Volume> [/fs:{FAT|FAT32|NTFS}] [/v:<Label>] [/q] [/a:<UnitSize>] [/c] [/x] [/p:<Passes>]
    More information, please check:
    Format
    To use the Diskpart command, we need first select(not the list command, use the select command) the disk that we want to format, for example,
    To use the command line to bring a disk online, create a partition, and format it, you may try the following commands:
    C:\> Diskpart
    DISKPART> list disk
    DISKPART> select disk (id)
    DISKPART> online disk (if the disk is not online)
    DISKPART> attributes disk clear readonly
    DISKPART> clean
    DISKPART> convert mbr (or gpt)
    DISKPART> create partition primary
    DISKPART> select part 1
    DISKPART> active (if this is the boot partition)
    DISKPART> format fs=ntfs label=(name) quick
    DISKPART> assign letter (letter)
    DISKPART> list volume
    More information about Diskpart command, please see:
    DiskPart Commands.
    Best regards
    Michael Shao
    TechNet Community Support

  • Formatting a currency in different format for 2 company codes

    Hi,
    I have two company codes(MCFL and MIL) in Indian project, now my requirement is to maintain different currency format which means company code specific.
    In PO print I wanted to show as different format.
    Is it possible to do setting in customizing level.
    Regards,
    Vadamalai A

    Hi,
       You can set the decimal notation format at user level. Go to Su3 - Defaults tab and maintain the format at user level.
        If you want different format in printout, then you need to put the logic in the smartform only, to validate the country and pout the corresponding format.
        Revert back if your question is different.
    Regards,
    AKPT

  • Formating long currency field

    Hi all.
    I'm looking forward to format the output of a long currency field. I would like to display it without decimals and using the dot separator, for example: in database i have the value 1234567891011,1234 then display 1.234.567.891.011,1234 is there any function module to archieve this?
    Regards.

    Hi,
    No Need of Function Moudule you can do it with ABAP code..
    Here is the Example for this..
    data: amount(15) type c value '200,000,000.000'.
    while sy-subrc = 0.
    replace ',' with space into amount.
    endwhile.
    condense amount no-gaps.
    write:/ amount.
    Change code according to your requirements for dots and space.
    Reward Points if It is Helpful.
    Regards,
    Bohra.

  • Make calculated fields default to blank - format with currency when filled

    Hi!
    I'm creating a standard invoice. quantity x price = subtotal...
    I don't want a column of zeros strewn across my page, so I found a simple bit of javascript online render the fields blank when valued at zero:
    if (event.value == 0) {
    event.value = ''
    My 'working' knowledge of javascript is limited at best... but that seems to do the job nicely. The next problem arises when I then try to format these fields as currency.
    The simplest way to do this is through the format tab in the field properties, but doing so seems to remove the formatting applied through scripts since that would be a different formatting option.
    So it would seem if I'm going to use a script to render the feilds blank, I'll also need to use a script to format the feilds as currency?
    Any suggestions?
    Thanks

    Ah ha! Always nice when the solution is simpler than expected.
    Working perfectly now, thanks!

  • Output Format for Currency

    Hi There,
    I have set defaults as '1,000.00' for currency output in the own data but in the output of report it is showing like '1.000,00'.
    PS: there is no formating statement in the program as well.
    Any advice friends, how can I make it in required format.
    Regards,
    Shabbar

    HI ali ,
    yeah u can do thi sin scripts ..
    take a look at this ..
    Country-Dependent Formatting: SET COUNTRY The formatting for certain field types depends on the country settings. These field types include, for example, date fields and number fields that include either a decimal point or the ‘thousands’ separator character. The formatting options defined in the user master record are usually the ones used here. To choose a formatting option other than the one specified in the user master record, use the SET COUNTRY control command. The country-dependent formatting options are stored in the T005X table. Syntax: /: SET COUNTRY country_key You can enter the country key either as a literal value enclosed in quotes or as a symbol.
    /: SET COUNTRY 'CAN' /: SET COUNTRY &country_key& Use a blank country name to revert to the setting found in the user master record: /: SET COUNTRY ' ' This SAPscript command actually calls the corresponding ABAP command internally. This guarantees the effect of the SAPscript command to be identical with that of the ABAP command
    regards,
    VIjay
    Message was edited by:
            vijay k

  • Character format  to currency format conversion?

    Hai,
    I have a field (char16) with value in the form 9800.50. How do I convert it into standard SAP currency type ( of the format 9.800,50 ) Is there any function module available ?
    I have tried the FM "CHAR_FLTP_CONVERSION". But it can't convert decimals (like 9800.50)
    Kindly help me. Thanks in advance..
    Deepak.

    Hi,
    Try this.
    Call function 'BAPI_CURRENCY_CONV_TO_INTERNAL '
    Exporting
    currency = 'USD'
    Amount External = V_Amount
    Importing
    Amount External = V_Amt
    Reward if helpful.
    Regards,
    ramya

  • Formatting Negative Currency using the Java.Util Locale

    Hi....
    I am using the Locale file to get the currency code of a specified country. The code is given below.
    public String setCurrency(String _currency){
    Locale locale = new Locale("","PG");
    NumberFormat format = NumberFormat.getCurrencyInstance(locale);
    this.currency = format.format(Double.parseDouble(_currency));
    return currency;
    When i pass a negative value as the currency (-200) the string which returns will be as (PGK200) and when i pass a positive value it will be as PGK200......
    How can i format this so that when i pass a negative value, the returned String will be -PGK200 ??
    If there is anyone who knows how i can get this done please reply soon....
    Thanks in advance.
    Regards
    Nuwan.

    Check this out:import java.text.DecimalFormat;
    import java.text.NumberFormat;
    import java.util.Locale;
    public class CurrencyEg {
        private String currency;
        public String setCurrency(String _currency){
            Locale locale = new Locale("","PG");
            //NumberFormat format = NumberFormat.getCurrencyInstance(locale);
            DecimalFormat format = (DecimalFormat)NumberFormat.getCurrencyInstance(locale);
            format.setNegativePrefix("-PKG");
            format.setNegativeSuffix("");
            format.setPositivePrefix("PKG");
            format.setPositiveSuffix("");
            format.setMaximumFractionDigits(0);
            this.currency = format.format(Double.parseDouble(_currency));
            return currency;
        public static void main(String args[]) {
            CurrencyEg eg = new CurrencyEg();
            System.out.println("200 -> " + eg.setCurrency("200"));
            System.out.println("-200 -> " + eg.setCurrency("-200"));
    }I don't know how valid it is to cast and mess about with the format - but it gives exactly the output you were after:200 -> PKG200
    -200 -> -PKG200

  • Formatting as currency causes unexpected quit

    Just like the title says, every time I format a cell as currency, it causes Numbers to unexpectedly quit. Is there any fix for this?

    Unusual problems like the ones you report here in this topic and the other one you posted arise from a combination of factors involving updates to iWork and OSX. There was a glitch in an early update to Snow Leopard that involved a font, and using the Software Update feature regularly never fixed it. Only downloading and installing the Snow Leopard Combo Updater solves that problem.
    There was also a required update to iWork in order to run properly with Snow Leopard. Running Software Update will fix this unless there is a problem with Software Update finding where the iWork apps are located.
    You must have both the cleaned-up update to Snow Leopard and the latest version of Numbers 09 to avoid the kinds of problems you are reporting. It's odd though that some students' computers are affected and not others, unless the administration of the computers is lax.
    Take a look at the software maintenance history on your machines and see if you can identify any anomalies.
    Jerry

  • How do I hide the "US" and the "$" sign in a Cell formatted as Currency?

    I do not need to show that the neumbers in a cell are "US Dollars" so how do I hide the two symbopls "US $"?

    If you don't want any currency symbol (there are many to choose from) to display in front of your number, choose the Number format instead of Currency in the right panel (which you get to by clicking the Format brush (upper right).
    SG

  • Script to Format as Currency & Ignore Commas

    I am working on fields that eventually will be summed. I have some custom keystroke scripts, so I have had to use javascript to do the formating (I want currency). Here's what I have so far:
    this.getField(event.target.name).setAction("Format", 'AFNumber_Format(2, 0, 0, 0, "$", true)');
    This is working for me, an when you type "1" into the field, it makes it into "$1.00", which is what I want. However, if I type in "5,000" it reads that as "5" when everything is summed up. I can only figure it is reading the comma as a decimal point. I thought the above code indicates that it should use commas as the seperator value (hence the 0 in that attribute's place in the formula). I just can't crack this problem. Any ideas or code? Thank you in advance.

    Actually the script was running fine. This is what I ultimately came up with to solve the problem.
    Formatting
    AFNumber_Format(2, 0, 0, 0, "$", true)
    Keystroke Script
    event.value = event.value.replace(",","");
    Message was edited by: jbash83 edited to remove unrelated code

Maybe you are looking for