Add a group of  number  in double

I have a for and get a few input value , and every text input 's size is 8
then when the form submit get the total so I have
a_total = Double.valueOf(FormateData(field_one)).doubleValue() + Double.valueOf(FormateData(field2)).doubleValue()
+ Double.valueOf(FormateData(field three)).doubleValue() + Double.valueOf(FormateData(field 4)).doubleValue();
then if the total is lest then 7 digit it work fine , when it over 8 digits then the double turn to something like 7.001000099E7, Google mention Big Decimal but not ideal how to handle it !

http://download.oracle.com/javase/6/docs/api/java/text/DecimalFormat.html
http://download.oracle.com/javase/6/docs/api/java/lang/String.html#format(java.lang.String,%20java.lang.Object...)
http://download.oracle.com/javase/6/docs/api/java/util/Formatter.html#syntax

Similar Messages

  • Updating group account number into BSEG

    Hello experts,
    our client is currently implementing a group chart of account - going live during the fiscal year. Is there a possibilty to update the records already posted in BSEG (FAGLFLEXA) with the new group account number? Is there an approach in standard SAP?
    Regards
    Maria

    Thanks a lot Atif,
    but with the settings in FB00 I cannot add the Group account number into Entry view nor in General ledger view. Right?
    I'm looking for the solution that will add BSEG-ALTKTinto those two view.
    Thanks, Filip

  • Group account number missing FB03/FB03L

    Dear Gurus,
    I have a problem with FB03/FB03L. The NewGL is active.
    In the both FB03 and FB03L the group account number (BSEG-ALTKT) cannot be displayed in Entry view nor in General ledger view. If I switch the view to a list (Goto -> Display as list) the  group account number can be dispayed.
    Did somebody solve this issue before me?
    Thanks,

    Thanks a lot Atif,
    but with the settings in FB00 I cannot add the Group account number into Entry view nor in General ledger view. Right?
    I'm looking for the solution that will add BSEG-ALTKTinto those two view.
    Thanks, Filip

  • KA03--Group Account number what for

    hi all,
    in the Cost Element setting, there is a tab for the Group Account Number setting,
    what's the functionality of this?
    Is this value defult from the GL account master data group account number(two place same number)?
    If we add this GL code to the account grouping(KDH2 ), is this filed nust need to input?
    Please advise thanks

    Go to T Code OB13 and then double click on the Chart of Accounts you are using and remove the Group Chart of Accounts mentioned over there and save it. After that, you should be able to save the g/l account without any Group Account number.

  • How to add Document group  in t code S_ALR_87012082 for dynamic selection.

    Hi Gurus,
    I Need to add  Document group  in t code S_ALR_87012082  for dynamic selection.
    Currently here two groups are showing , Vender and Comp Code. i need to add Document group  there. Kindly guide me in this.
    Thanks in advance.

    Hi
    Pls follow below report
    *S_ALR_87012103 - List of Vendor Line Items *
    In dynamic selections you can find Document number, there you can give the range
    Reg
    Vishnu

  • Add field group to Asset Master Data Screen Layout

    Hi Gurus !!
    Does anybody know how to add field group in SPRO(Define Screen Layout for Asset Master Data)?. I have created my layout by coping 1000, but then I need to add Fund Center in Time-Dependent data logical field group.
    Thanks a lot,
    Sasha

    I don't think you can add a funds center to the Time dependent tab.
    Instead you need to use Derivatuon strategy. Use tcode FMDERIVE for strategy and FMDERIVER for GL accounts to cost center and cost centers to asset numbers or number range. From here the system derives teh funds center.

  • How to add new group entry in Cisco Vpn using powershell

    I am working on a powershell script to connect cisco vpn using powershell, I am able to connect to vpn but not sure how to add new group to vpn. I am using the following script$vpn_profile = 'Test'
    $username = 'TestUser'
    $userPassword = ConvertTo-SecureString -String "Password" -AsPlainText -Force
    $credentials = new-object -typename System.Management.Automation.PSCredential -argumentlist
    $username,$userPassword
    $password = $credentials.GetNetworkCredential().Password
    Set-Location 'c:\Program Files (x86)\Cisco Systems\VPN Client'
    .\vpnclient.exe connect $vpn_profile user $username pwd $password
    Write-Host "You Are Connected"
    cd "C:\"

    Have you entered .\vpnclient.exe /? to see if it will return information about other switches you can use with this executable? Other than connect, I was able to track down a few without actually having the executable (http://www.scribd.com/doc/40108893/Cisco-VPN-Client-Command-Line).
    That said, I do not believe that there is a switch that will help you create a connection. These are either done manually through the GUI, or can be likely be added by supplying a properly formatted file in the proper place.
    If you're using the version of the Cisco VPN client I think you are, then your connection settings, or profiles, are stored in individual .pcf files somewhere on your computer (likely in the Cisco directory). These are simple, text-based files. Find one
    on your computer, save it with another name, and then modify it manually. If you really want to use PowerShell, then use this opportunity to learn how to create and edit basic text files using PowerShell. If you have a standard connection file, then you can
    put that file onto remote computers any number of ways. If a .pcf file exists in the proper place when the VPN client is opened, then it likely will not prompt for a new connection.
    Update: Added more info; clarified

  • Vendor acct group and number range in the MDC vs MDS

    IN MDM 3.0 when a new BP with vendor as role is created via UI in MDS the vendor is created with a generic BP number range in the MDS.  The down stream MDC's all have different vendor account groups with different number ranges assigned in each MDC..  example...
    client     type of vend   acct grp      num range
    MDC1      purch vendor     com2      1000000-1999999
    MDC1      acct vendor      act1      2000000-2999999
    MDC2      purch vendor     pur1      2400000-2499999
    MDC3      purch vendor     POV1      3599999-3599999
    How does MDS know when it distributes the vendor to the MDC's what account group and number range to create the vendor with in the MDC's.  The MDC cannot change all its existing master data that has been created already with the account groups and number ranges becuase field variants have been established.  Where is this mapping contained MDS or XI and how is it done.

    The number range in the MDS is determined by the value in the "Grouping" combo-box.  This combo-box is populated by values entered in IMG activity Master Data Objects -> Business Partner -> Business Partner -> Basic Settings -> Number Ranges and Groupings -> Define Groupings and Assign Number Ranges.  Each value must have an associated number range and one of the values must be defined as the standard grouping in case the user doesn't select a grouping.  This is how numbering occurs in the MDS.  Unfortunately you cannot assign more that one grouping to a new BP.
    Now, for the MDCs.  When sending a new BP to an MDC, for example an R/3, there must be an external number range setup in the MDS for that MDC and it shouldn't conflict with any number range in that MDC. 
    IMG Activity Master Data Exchange -> Central Settings -> ID Mapping -> Make General Settings for ID Mapping allows you to define which number range you want to use for a specific object type in a specific system (e.g. KNA1 (customer) in system R/3_100). 
    So far this isn't sufficient for you because you have 2 number ranges for MDC1 in your example. 
    In the IMG activity I just mentionned, there is also a possibility to add an additional parameter which allows you to assign a number range for each unique object-type/system/additional parameter combination.  By putting the account group in the additional parameter field, this allows you to assign number ranges per account group.
    What remains to be done is to use this information in the XI Mapping for BP to R/3 Vendor.  The first thing is for the XI Mapping to map the MDS account group to the MDC account group.  Then the XI Mapping must call the MDS to create a new ID-Mapping between the BP and the Vendor.  During this call, the XI Mapping must provide all the usual parameters as well as the account group.  This will ensure that the correct number range will be selected so the correct vendor id will be generated.  This id will then be used in the ID Mapping.
    If you need to create the Vendor for multiple account groups, then you will have to implement special logic to map the MDS account group from the BP to the many MDC account groups needed for the Vendor.
    Hope this helps!

  • Not valid phone number or group list number

    Ever since we switched from copper lines over to VOIP, when some people dial my number, they get the message that my number is "not a valid phone number or group list number".  I can make calls from my number and other people can call me, but some people cannot.  Has anyone else had this problem? 

    Hi,
    Thanks so much for help me one big step.
    I change to the following you suggested:
    onChange="javascript:istelnum(document.getElementById('P555_ADMIN_HM_PHONE').value)"
    it not work.
    I change to the following it works.
    onChange="javascript:istelnum('P555_ADMIN_HM_PHONE');"
    But after the message shown 'Invalid Phone number'
    the message box not closed.
    Therefore, I add a 'return false' after the alert statement. The message window is closed but from now on, no matter what I type even a good phone number, it gives me the 'Invalid Phone number'
    Please help.
    Thanks.

  • Error  in Creation of Group Account Number Through FS00 or ob_glacc11

    Hi
    Experts
    I am creating group account number in fs00 nothing but group chart of accounts that can be done individually in fs00 or through ob_glacc11. There is balance in all the G/L accounts but for some particular G/L accounts the system is through.
    I am maintaining three ledgers one is for 16 periods, second one for 48 periods, third one is for 365 days.
    while running FS00 i am getting an runtime error : Packed field contains incorrect BCD format.
    DO glt0-rpmax  TIMES
         varying  saldo from glt0-hsl01 next glt0-hsl02.
         gesamtsaldo = gsamtsaldo + saldo.
    ENDDO.
    when i trace FS00 This glt0-rpmax is having value of 48. (periods) .
    please give me a solution how can i get the solution.
    Thanks in advance.

    Hi,
    You have activated group account number. If you have any grp account number of your company please provide the group company account number.
    Else if you dont want to give group account number
    In T-code: OB13 remove group chart of accounts from your chart of accounts
    Best Regards
    Ashish Jain
    Message was edited by:
            Ashish Bohara

  • I get nothing but error messages, -"Your IMAP server wants to alert you to the following: 113 that mail is not available" or 364? there are hundreds stacked up.You must give answers to how to fix these when we do "search" add the error code number

    I get nothing but error messages, -
    "Your IMAP server wants to alert you to the following: 113 that mail is not available"  or  the same with:  364? 
    Now there are hundreds stacked up on my desktop.
    I cannot find the answer anywhere. You need to  give answers to how to fix these errors because when I  "search" "error code" or the number there is NOTHING. NOTHING!  Yet you give us these stupid error codes
    then you do not give us ANYTHING on how to fix these. These error codes make me so mad it makes me hate outlook, and hate the developers and hate microsoft.  How in the world can you give us ERROR codes without the explanation of what
    to do or how to fix it. You need to  add each  error code number in your "search" then explain what it is and how to fix it.  I am not a tech. I am a lawyer. I have googled the entire string of error code and nothing is clear.
    So, for the last several years, I get these error codes. Also, there is another error code that won't go away--it is the password error code that asks if I want to store the password. Yes, so I say YES. but it pops back. I am sick of this. This is the reason
    I hate Microsoft and I love google. #1 they respond to error, #2 them try to fix them you do not. I paid the full price to buy the OUtlook 2010, almost $500 just to get outlook, and all I got was error codes. I could not even open it because all I would get
    was that error codes and NO ONE knew how to fix them. WHAT IS YOUR PROBLEM that you cannot fix the stupid error codes that you imbed? PLEASE HELP

    Hi,
    I understand how frustrated you are when facing such an issue, maybe I can provide some suggestions on the problem.
    Based on the description, you should be using an IMAP account setup in Outlook. As for the error message, usually it's caused by a corrupted message on the Server. I suggest you logon the Webmail site, check if sending/receiving emails works well.
    If you find any unusual emails that cannot be read or sent, try deleting them to try again.
    I also suggest you create a new profile to setup the IMAP account:
    http://support.microsoft.com/kb/829918/en-us
    Contact your Email Service Provider to get the correct and latest account settings, since you have been using Outlook for years, some settings may have been changed while you haven't been informed.
    For the steps to setup an account in Outlook 2010, please refer to:
    http://office.microsoft.com/en-001/outlook-help/add-or-remove-an-email-account-HA010354414.aspx
    I hope this helps.
    Regards,
    Melon Chen
    TechNet Community Support

  • I want to add LOV of Contract Number in quality plan.

    need helping query to add LOV of Contract Number in quality plan which is dependent on invoice number

    FYI - the OP has failed miserably to provide even enough information for us to recommend the proper forum.
    Is it:
    {forum:id=82}
    {forum:id=83}
    {forum:id=210}
    {forum:id=137}
    or something else?

  • How do I use a button to add "1" to a number?

    I'm sure this is so simple that I'm going to be smacking my forehead when someone gives me the answer but for the life of me, I can't figure out how to do this.
    I'm making a simple pdf that lists ticket prices for an event. I want the button to add one to the number of tickets ordered every time it's clicked. I need the starting value to be "0" tickets. How do I do this?

    Hi,
    Use a variable to strore the value. In the click event of the button increment the value. In the click event of the button, you can put the following code.
    var count +=1;
    Thanks,
    Bibhu.

  • Is there a way to make a number of cells add to a certain number. I need 5 or 6 cells to add to 1700. If one of the cells becomes 0, I need the other cells to change so the bottom number stays at 1700.

    is there a way to make a number of cells add to a certain number. I need 5 or 6 cells to add to 1700. If one of the cells becomes 0, I need the other cells to change so the bottom number stays at 1700.

    Okay then. If your seven numbers are in column B then the formula next to each number in column C would be
    =IF(B=0,0,1700/COUNTIF(B,">0"))
    This assumes all non-zero numbers are positive numbers. The sum will be 1700.

  • How to find out the Group Delivery Number from STO

    User performed WA08 to create Vendor PO and STO for stores.
    When GR was carried out on the Vendor PO, multiple Delivery Order were auto-generated.
    Now, is there a place whereby User could identified the Group Delivery Number which
    links all the DOs generated based on either
    a. The STO number  OR
    b. The vendor PO number OR
    c. the allocation table.
    Can some assist?

    Hi,
    Please check these tables
    LIPS...
    VBELN: for Delivery Number
    VGBEL: for STO Number
    with the above chk this.
    VBSS...
    SAMMG: Group Number
    VBELN: Sales and Distribution Document Number
    Regards
    GK.

Maybe you are looking for

  • Itunes 10.4 won't install on 10.6.8 via software update

    everything is in the titel, won't update via software update and regular download on the apple website

  • Want help with "Could not set up your CS Live account. Try again later."

    Hi Folks I've got an NFR of CS6 and I'm trying to give Adobe Story a shot. Seems it requires online content and a CS Live account to do anything. But when I try to create one it dies with the error message: Account setup not completed Could not set u

  • One month unlimited world-wide not working

    I have taken advantage of the Skype offer for one month's free world-wide use that was offred as part of the thw Windows 8 upgrade. I tried to ring a Switzerland mobile number but it rejecetd it based upon my current balance (Non one month free). I l

  • Render Graphics everytime I make a change!!?!?!

    I've read many of the threads about rendering, how you must match the project/squence settings to your clip settings to avoid rendering (that wonderful "Writting Video" bar). This makes sense for camera footage....match your footage format to your se

  • DVD Drive Opens by itself

    For the past couple months my DVD drive keeps opening by itself after booting up and random times. I tried the BIOS update (tried F29, F24. F22) that I saw in  few forums but it keeps happening. Model is dv6t-7000. Thanks for the help.