Problem in formatting a Numeric Field(Urgent)

Dear All,
I hava a variable of type p decimals 2 in my driver program.
a value of 12.50 is assigned after calculation in Me23n.
when displying the same in sap script it's displying like 12,50 instead of 12.50
I saw in my default settings(SU01)              
it's like 1,234,567.89.
In debug mode i found it's like 12,50
how to solve this.
help is highly appriciated
thanks in advance
Arun

Hi Arun,
1 /: SET COUNTRY 'IN'
  Try with country setting command
  in sapscript.
2. Such formattings also depend upon the country.
3. T005X
   Check out this table for such settings.
   XDEZP field is important.
Regards,
Amit M.
Message was edited by: Amit Mittal

Similar Messages

  • How to format a numeric field in ES2 ?

    Hi...
    I'm trying to format a numeric field in LiveCycle designer using six digit and allowing zero's "000000"…
    I went to patterns for setting the format, unfortunately I couldn't know how figure it out?
    I’ve tried this pattern: null{}|zero{000000}|num.integer{}
    It didn’t work!
    what actually I’m looking for is six digit at all time for instance if enter value of 1 in the field expect to appear 000001 ,and if i enter value 567 the appearance will be 000567 in the field and so on...etc.
    Another issue is how to validate a range of numeric value like 000001-999999 so that the input will be only restricted by those values…
    Hope this is clear! And sorry for my bad English
    Best Regards...

    Hi,
    could you please share your solution?
    I have a similar problem. I need to allow zeros before my integers to be inputed to the form.
    thanks.
    Please see my posting here:
    http://forums.adobe.com/thread/870306?tstart=0

  • OBIEE Presentation Services : Default formatting for numeric fields

    Hello all.
    I need help in setting default formatting for numeric fields in criteria. If a user adds an numeric field, it does not have any formatting associated with it. I want to know how do you set default formatting (for example if user adds sales measure it should appear in default format like $1,000 or even with decimal places).
    Please help.
    Thank you.

    Hi,
    1) We have so many subject areas. If we select "system wide default for this data type", is this change going to reflect in all subject areas.No should do this subject area wise.
    2) Will this effect if we migrate from dev to prod environment.Yes it will effect.
    I hope u will follow this to-
    http://forums.oracle.com/forums/ann.jspa?annID=939 :)
    Regards,
    Srikanth

  • Format of numeric field cannot retain via Live Office

    In Webi, I changed the format of an numeric field to 2 decimal places.  When I retrieved this field to Excel via Live Office, I found the format of 2 decimal places cannot be retained.  It ended up displayed in 1 decimal places.
    I found when a webi report exported to Excel, the format can be retained.  
    Does anyone know if this is a product design or product issue? Thanks.
    Regards,
    Gloria

    Hi Gloria,
    I had a look at this in XI release 3.0 and received the same issue. The only way I could get this to work was to use the FormatNumber() method. This returns the value as a string, which live office represents with the trailing 0.
    So if the cell value was 12345.6, then FormatNumber([my cell]; "#,##0.00") will display 12345.60. This will display correctly in Excel (except that it is justified as text) when brought in by live office.
    This more of a work around than a fix, so you may want to raise a case.
    Regards
    Alan

  • How to define the format for numeric field ?

    Hello
    I have Amount field and I would to define the format to be ( XX.XXX,000 )
    How can I do this ??
    I'm new in ADF and need your help ..
    rgrds
    Edited by: moh3li_pal on Mar 1, 2010 8:05 AM

    i have the same problem i try with pattern "###,###.##" but the application adf is the inverse "###.###,##" , this a bug or the pattern errornious.??Hi Joaquin. This is not a bug, although this is a little difficult to explain without face-to-face communication :D The confusing thing here is the difference between the 'special pattern characters' and actual output characters (which are chosen based on your locale).
    If you check the Java DecimalFormat class (which provides the rules for formatting) you'll see the following:
    Using , in the pattern = Grouping separator
    Using . in the pattern = Decimal separator or monetary decimal separator
    According to your locale, the grouping separator is '.' and the decimal separator is ','. So the pattern you have specified does dictate that you should get the result you have found.
    You either need to change your locale settings (best option) or cheat by switching the , and . in your pattern.

  • Format Numeric Field

    I format a Numeric Field with: 88/99/8888, and now i need a script to make sure that "99" is not greater than 12.
    Can someone help me out on this please?

    Why not simply use a date control. The user would pick the date from a calendar and you woudl not have to do any checks.
    Conversely use a date object would allow you to set a display and edit pattern that would match the date format you want hence having all of this done for you.
    If you must go the route you are going here is a simple example of javascript that you could use:
    //create a variable to hold the string
    var str_temp = TextField1.rawValue;
    //Test to see if the string is > 12
    if (str_temp.substr(3,2) > "12"){
    //The string is graeter than 12 so let the user know
    app.alert("You cannot enter a value greater than 12");
    //Put the cursor back in the offending field
    xfa.host.setFocus("TextField1");
    Assuming the field that holds the date is TextField1 and the code is running on some other event in the same context as TextField1.

  • Displaying no default zeroes for the numeric field in the table display.

    hi folks,
         I am binding a table in the context which has some numeric fields. I'm  displaying the same table which has some records for editing purpose. But the problem is that the numeric  field column is being displayed with zeros if it doesnot have any value in it. Can u explain how to disable the zeroes by not displaying them by defualt when there is no value for the numeric field.
    regards,
    Ramu

    set the format of the context attribute TEST is the context attribute name
    data: lr_info type ref to if_wd_context_node_info.
    data: ls_prop type WDY_ATTRIBUTE_FORMAT_PROP.
    lr_info = wd_context->get_node_info( ).
    ls_prop = lr_info->GET_ATTRIBUTE_FORMAT_PROPS( name = 'TEST' ).
    LS_PROP-NULL_AS_BLANK = 'X'.
    lr_info->sET_ATTRIBUTE_FORMAT_PROPS( name = 'TEST'
                 FORMAT_PROPERTIES = ls_prop ).
    Abhi

  • Entering Zero in Numeric Fields

    Can someone please help me as to how to format a numeric field to
    enter '0'.
    e.g. a client enters 0122
    How do I format the diplayed text to be 0122.

    To get rid of the separators have to select "integer" for the fields format (see binding palette).
    How long are the numbers a user can enter to the field?
    A pattern can only match one case.
    So num{9999999} will display 121587 as 0121587 and 123 as 0000123.
    If you want a leading zero to every entry then you will need scripting.

  • MS Excel automatically converts numeric fields to date format

    I have at least 2 different spreadsheets where this happens.  I maintain them for months, adding, changing, deleting data.  They contain lots of data elements (numeric, text, date, etc).   Some columns are all numeric, some all dates,
    etc.  Then suddenly when I open the spreadsheet, my numeric formatted data has been converted to date format.  I see lots of # signs in cells, which is an indication that this happened, and selecting an affected cell shows a date, generally in the
    early 1900s, depending on the original numeric value that was in the cell.  I convert the fields back to numeric, but sometime later the same problem occurs -- numeric fields are now date formatted.  I cannot identfy any specific change that I make
    that would cause this.  And I only recognize it as having occurred when I open the spreadsheet, not anytime during its maintenance.  I am using MS Excel 2007 SP2 in a Windows XP SP3 environment.  The machine is well maintained and updated /
    kept current by our corporate IT group.  I have done numerous Internet searches and cannot find anything like this in any other blog.  Thanks for your help.

    Hi,
    Were some of the these data imported from a .csv file? As far as I know, data formats cannot be saved in .csv file. If this is the situation, try this:
    Save a copy of your .csv file changing the extension of your file from .csv to .txt
    open excel.
    go to DATA --> Import external data --> Import data --> browse to find the .txt file you made earlier
    The text import wizard should open.
    Click on delimited, click next
    click comma, click next
    You should now see all columns appear with heading GENERAL --> highlight the columns with the values that are changing to date and click TEXT (top right) instead. The heading of these columns should now change to TEXT.
    click finish
    Excel will now treat the column as text when it imports the data and will not change them to dates
    If this is not the situation, this issue might be caused by some add-ins.
    Start Excel in safe mode:  Press and hold the
    CTRL key, and then click the Excel program to start. Then, click File > Open to open the Excel file.
    If the problem does not occur in the safe mode, this issue might be related to some third-party add-ins in the Office program, we can try to disable them.
    Best Regards,
    Sally Tang

  • Problem with pattern numeric field

    Hi All.
    I tryed to format numeric field with patterns num{zzzzzzzzzzzzzzzzzzz9} or num{99999999999999999999}. But when I enter 20 numeric characters like 12345678901234567890 as a result I got 12345678901234567000. How fix that problem?
    Thanks.

    The result you're getting is correct, because you pattern only allows a period to separate the decimal places.
    Try the following edit pattern:
    num{zzzzzzzzzzz9,99}|num{zzzzzzzzzzz9.99}
    and this display pattern:
    num{zzz.zzz.zzz.zz9,99}

  • Problem in Numeric Field

    I have set a numeric field with following things:
    Object > field > patterns > display > $1234.21
    It works well but when I set expand fit width, it expands but not show "$" and " .00". It just show like 12340000000000.
    Or sometimes It shows black + sign right bottom corner though it shows correct format. Where have I made a mistake?
    In addition, I have set float type data format.

    Hi, sorry I misunderstood your question.
    1. remove the edit pattern
    2. Add this script in the enter:Event
         this.rawValue = null;
    3. Add this script in the exit:Event
    if (this.rawValue === null)
         this.rawValue = 0;

  • PROBLEM: Text in numeric field

    Hi =)
    ..I'm having a problem with some (not all) numeric fields in a form.
    In the troubled ones I can type letters in them. When I exit the field it's displayed an error message and the field is cleared.
    How can I make the field accept only numeric characters when typing?
    I just don't understand what I changed to make this happen..
    If someone has a clue, please tell me something.
    Thank you =)

    Usually as long as your TextField is a NumericField Type in the object field properties, only numeric characters can be entered...
    if you can type in letters and the object type property is still NumericField, you probably should delete the object and recreate it...
    Otherwise, if the object type property is not a NumericField, change it to NumericField...
    If non of these options is your solution, try changing the validation pattern...
    Hope this help!

  • SQL Server Report Builder Numeric Field Formatting

    I am creating Reports in SQL Server Report builder.
    When I set format of any number fields, in design it is displaying sample value.
    For e.g. If I set format 0.00 to one numeric field, it started to display 12345.00
    I have 10-12 fields in design, it caused very much confusion.
    Is there any solution to change this?
    When I open report in Visual Studio, it doesn't display like that.
    Check Following screenshots:
    In Report Builder:
    In Visual Studio:

    Hi Harsh10,
    If I understand correctly, there are two placeholders in each textbox in the report. You want the second placeholder which contains numeric field to format as 0.00. If in this scenario, we can refer to the following steps:
    Right-click the second placeholder which contains numeric field in each textbox to open the Placeholder Properties dialog box.
    Click Number in the left pane.
    Select Number with Decimal places ‘2’ in the Category drop-down list.
    Reference:
    Formatting Text and Placeholders (Report Builder and SSRS)
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Format numeric field as user enters value

    I have a numeric field that I want to be formatted as 999-999999-999 so that when users enter 12-digit part numbers, the field automatically formats the value that they have entered. Is there a way to format their value as it is entered so that when they type the fourth number, a hyphen is placed between the third and fourth digit?
    Additionally, is there a way to allow a numeric field to have a default value with letters? I want to have a default value of "xxx-xxxxxx-xxx" but I don't want to allow the user to enter anything but numbers in the field. I tried using a text field, but I can't get it to reject letters and only accept numbers.

    Hi,
    You can define a display format pattern of "num{999-999999-999}" that will add the hyphens in once they leave the field, or maybe having three fields with the comb option set and hyphens between them would suit more?
    You can use the null display pattern to display any sort of text in a numeric, date, or whatever field.  Have a look at this sample, Adobe LiveCycle Designer Cookbooks by BR001: Adding Ghost Text to LiveCycle Designer form
    Regards
    Bruce

  • Problem with Action Builder and Numeric Field

    Here's my scenario:
    I have a form with a numeric field for the PO Amount and a text field for the Role.  I tried to create an action builder to do the following:
    Condition - When numeric field PO Amount is less than 250,000
    Result - Set Value of Role to be Manager
    When I enter an amount less than 250,000, nothing appears in the Role text field.
    Any help is appreciated!  Thanks!

    Hi,
    this is not so difficult.
    You have to use the script editor (about windows)
    Then you have to mark your numeric field.
    Then you have to select "EXIT" and "JAVASCRIPT".
    Then you have to copy the following script:
    (I come from germany and I don't know which amount you mean because in german is this switched 1,000.00 $ is in german 1.000,00 $) This is the only thing which you adapt maybe.
    if(this.rawValue <250)
        TextField1.rawValue = null;
    }else
        TextField1.rawValue = "Manager";
    Hope it will helps,
    Mandy

Maybe you are looking for

  • How do I extract a substring when I know what become before and after it

    I am able to get the HTML source of a web page and I want to get certain information from it. I am trying to extract a 1 or 2 digit number but sometimes it is not there but I know that this comes exactly before the number if it exists or not "</td>  

  • Is it possible to send an automated message to answer when you can't put yours hand on your phone ?

    Read this now : I would like to have an answering machine for my Message app, meaning I'd love if Messages could just answer back to any incoming message when I'm just not able to message back (i.e. : I don't have my phone with me, I'm working and no

  • Production order qty change tracking

    Dear gurus, In a production order qunatity change should be tracked.Say for eg prodn order qty is 100.User is changing  to 200.As a client requirement they want he change historya of PIR change history.The same tracking reuired for Component change q

  • AirPort Express in client mode with WEP

    I just bought an AirPort Express that I'd like to use in client mode so I can stream music from my laptop to my stereo. I have an existing wireless G network supported by a Netgear WGR614v4 router, using 64-bit WEP encryption. My laptop is a Dell Stu

  • User Exit when notification completeion

    Hello Experts, I need to make a validation at the time a PM notification is complete, like IWO10004/EXIT_SAPLCOIH_004 at order completion. Does anybody has an idea if SAP has that functionality? If yes - what's the name of the function? Regards, Avi