Value update incorrect

I am doing this:
rs.updateDouble("Amount",10.23);
rs.updateRow();
but the value at my MS SQL Server become:
10.2299957275391
rather than 10.23.
Please help.
Regards,
MingMan

float or double is not going to honor the precision, that is their limitation, if you understand the internal of float or double.
If you know the exactly precision to keep, for example 2 decimal, you can also times the float by 100 and store the value as long. But a table column type change is still unavoidable if you really want to do it right. But sounds like you are limited by that. :(
I am answering every question that I can provide some ideas. Yours just happen to have some tks. So please don't insult your support people.
--lichu                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Open Credit values are incorrect

    The open value credit values are incorrect. we have to run RVKRED77 every night to correct them. We have been unable to replicate the error so  the SAP  position is they need to replicate the error  in order to fix it. I can see the S067 strucures with the incorrect values. A further problem is that as the day goes on the values get corrupted and are not fixed until the correction is ran. I have been reviewing OSS note 124571

    Hi Dave,
    I was able to fix the issue by implementing OSS note 491718.
    As for the cleanup - ohhhh boy, I have been working on it for over a year and it's still not done. I can only manage one CCA per weekend. I run Z_CREDIT_VALUE_COMPARE (oss note 666587) every Friday for a given CCA to identify the customers with incorrect value. I then update a default variant for RVKRED77 and enter the CCA and the list of identified customers.  RVKRED77 is setup as a job (with the default variant) to be executed every Saturday night after the system backup.  This will ensure that users will not be in the system and not have any locks on SD tables.  Otherwise, RVKRED77 will fail since it cannot get a lock on SD tables.
    SAP has yet to come up with a better approach to correct these incorrect values and to prevent it from happening again.  However, SAP Solution Manager and central consistency monitoring (Data Consistency Cockpit) may help by notifying you as soon as this issue appears again.  You can read more on this in OSS note 1040893. 
    Hope this helps,
    Keyvan

  • Quantity/value updation query

    hi all
    PR-RFQ/Quotation-Price comparison-PO-GR-IR, when I am doing this process I want only update quantity only, I don’t want to update value updation
    Pls tell how it is possible is there any configuration required in this scenario
    Pls tell me as early as possible

    Dear Sandeep,
    You can use material type: UNBW when create a material master record, this standard from SAP that only update for Quantity.
    Regards,
    w1n

  • Asset values updation in Eco. Dep area 50

    Dear All,
    I have created one asset for Good will as on 01.02.2010 (go live date 01.02.2010) by using AS91,  and i updated APC cost and Acum Depreciation for Dep area 50 - Eco. Depreciation only.
    Right now my client want to add some new values (because of wrong value updated at the time of take over values)
    How can i do the additions for those assets. i have total 4 Dep. areas but this asset have only one dep. area 50 - Eco. Dep. , more over they run the Dep. for last year (FY - 1st Jan. to 31 Dec.) Please suggest me.
    Regards
    Radha

    Dear Murali,
    I have done all those things, and we updated some values for Good Will with Negative sign, but right now we have to add some Negative value in the same asset.
    EX: Asset no. 10001
    take over values 100000
    actual value      250000
    Right now i have to add 150000 in that asset
    Regards
    Radha

  • No Quantity/ value update at Movement type

    Hello All,
    At Material type level with valuation area SAP controls check / uncheck Quantity/ Value updating (OMS2)
    In our specific business scaenraios, we use material type (HALB) with valuation area combination with / without Quanity & Value updating. Hnece, above setting will not work in our scenario.
    is it possible to have control of Quantity/ Value updating by using a custom movement (ex: copy of 101 to 1Z1)?
    Really appreciate your thoughts!
    Thanks
    Siva

    Hii shiva, lots of threads are available regarding this .
    have u gone thru.plz search sdn, u will get good reply.
    quantity and value update
    Quantity update and value update in case of account assignment category
    Material Type that updates Value but no Quantity
    Quantity and value updates for stock.
    quantity/value updation query
    hope u will get sm idea.
    Note : Do not use SMS Speak.Avoid links while answering,try to give your own suggestions.
    Edited by: Jeyakanthan A on Jul 22, 2011 10:25 AM

  • Sort key '011' (site number) without value update in FI document

    Hi
    With regards to vendor master already with sort key 011(site number) was maintained. However, there is always no values update on assignment field in the accounting document. The accounting document was integrated thru MM module when logistic invoice verification done thru tcode MIRO.
    Can anyone please kindly help.
    Regards
    Kang Ring

    Hi ,
    As you are using Std sort key,there should be no problem as there is no other setting other than maintaining the sortkey in the GL.
    Please Check the  Sort key of the Gl in FS00 which is hitting  from MIRO and also confirm that you have maintain the Plant in the concern MM transactions you are referring.
    Regards
    Jabeen

  • Quantity/value updating

    Dear expert:
    i create a PO (with account assignment) with a material belongs to a material type has not set quantity and value updating. i get a material document when i do goods receipt against this purchase order. i know there will no quantity and value update, but i wonder where the data is stored. please give me some clue.
    thanks and best regards,

    Hi David,
    When you are creating PO with qty & value updating untick, system will ask for account assignment mandatory (ex: K cost centre) while creating PO & when you do GR the qty part will go to cost centre consumption & value will be booked for that cost centre used. you can see controlling document in GR, for PO without cost cenre you see accounting entries here you see cost centre entries.
    Regards
    Rang
    Message was edited by:
            Ranganath Mysore

  • Stock adjustment without value update

    Dear Experts,
    How to make inventory adjustments without value update. Like my client asks me to increase qty of a certain material whose value shoudnot get updated. My requirement is some movement type for stock increasing without generating FI docs.
    Thanks,
    Nagaraj

    Hi
    check this link [Physical inventory without accounting doc;
    Regards
    Kailas Ugale

  • Values update in T.Code : KSBT

    Hi,
    I need complete process (Document / details) on how the values updated in t.code : KSBT. Which is required to explain to the end user.
    Appreciated your quick reply.
    Regards
    Aparna

    Normally you update your cost center planning in by following steps:
    1- Overhead planning by KP06, you enter cost centes, cost elements and values (Can be manual or automatic through uploading of BDC"
    2-  Upload your planning hirarchy and sales planning (COPA)
    3- Transfer sales value from COPA to SOP by KE1K
    4- Run LTP (long term planning.  MC8G,MS01
    5- Transfer activity from LTP . KSPP
    6- Post statistical Key Figures (SKF). KP46
    7- Reconciliation of activity . KPSI
    8- Splitting of activity. KSS4
    9- Price Calculation. KSPI
    following above steps will update KSBT automatically.  On the other hand, if you know you activity rates and you want to update KSBT manually you can do that in KP26.
    I hope above will throw some lights
    Ahmed Zain

  • MAX_FIELDS_CST value is incorrect

    I am testing published Captivate 5.5 files with AICC test suite and getting an error.
    Looking into this b/c the LMS admin on this project said there might be issues with the files we delivered.
    Any suggestions on why this may be ocurring?
    AICC/CMI Test Suite - Ver 1.5
    Disclaimer:  Test results are not valid unless tests are conducted in an AICC authorized Independent Test Lab
       << AICC CBT Course Structure Format Test >>
    Apr 14 2013 21:56:19 < ==================< Begin Test >======================== >
    Apr 14 2013 21:56:19  Error [E20081] Description: MAX_FIELDS_CST value is incorrect for INPUT CST File
    Apr 14 2013 21:56:19  Warning [W00007] Description: Level exceeds 1 in input CRS file - Only Level-1 features are tested
    Apr 14 2013 21:56:19 < ==================<  End Test  >======================== >
    Apr 14 2013 21:56:19 <  >
    Apr 14 2013 21:56:19 < ====> Total Errors =  1   >
    Apr 14 2013 21:56:19 < ====> TEST FAILED  >
    Previously I had run the test suite and got about 5 errors regarding missing information.
    I simply found the fields in the project preferences and filled them in.
    Have no idea how to address this MAX_FIELDS_CST though.
    Help?

    Hello,
    As attachment you can find the VI I've created for demonstration.
    In the Screenshot you can find the OUTPUT Data.
    Expected Output:
    AI01: 24V
    AI02: not connected
    TC01: room temperature
    TC02: not connected
    TC03: not connected
    TC04: not connected
    Attachments:
    Demo_AI_Malfunction.zip ‏119 KB
    OUTPUT_Screenshot.PNG ‏15 KB

  • Mouse wheel value update

    Hello everyone
    I am trying to get the value from "mouse scroll" changed by mouse wheel. The attached code is very simple and seems to be right wired, but it's not working properly. If you run the VI and scroll up and down  mouse wheel, you will see that sometimes the value is updated on the indicator, sometimes don't. If you keep using the mouse wheel always on the same direction (i.e. up), the value on the indicator starts to increase but not after every single roll of the mouse wheel. Seems like a lack of sync between the while loop execution and the mouse wheel usage.
    Any ideas how to trigger the loop just after mouse wheel usage? I have to sync them.
    Thanks
    Dan07
    Attachments:
    Mouse Wheel Value Update.vi ‏10 KB

    Mike
    I got your Vis and did some modifications to adjust them to my code and everything is working like a charm. But I would like to understand what's going wrong with my code (the one that I attached on the first message of this thread). I did a very very very simple code that was supposed to do the jog, but it is not working. As I roll the mouse wheel the value on the indicator does not update in sync with the mouse wheel (sometimes it updates, sometimes don't). If I have my code working I can put it inside an event structure on the timeout case and use:
    Mouser Enter array - feed timeout with 10ms
    Mouse Leave array - feed timeout with -1ms
    Anyway, thanks for your code.
    Please, help me to understand what's wrong with mine.
    Aested, my VI works on my computer too, but the value on the indicator does not update in sync with all movements of mouse wheel.
    Thanks
    Dan07

  • Qty and value update

    hi all sapians,
    Can any one give me a very clear idea or story behind the check boxes of quantity and value update in OMS2 and for some material there boxes are checked and for some materials boxes are not selected.
    Edited by: MANI ROOPA SD/MM on Apr 21, 2008 8:09 AM

    hi
    Quantity Updating Specifies that the material is managed on a quantity basis in the material master record for the relevant valuation area.
    Value Update: Specifies that the material is managed on a value basis in the material master record for the valuation area concerned.
    The values are updated in the respective G/L accounts at the same time.
    as you said at for some material there boxes are checked and for some materials boxes are not selected
    the Qty and Value are updated based on valuation area
    Valuation Area
    Organizational level at which the material is valuated. A valuation area can be one of the following:
    Plant: All plants belonging to a company code, in which case the valuation area is the company code
    1: Based on valuation area and as required some material types are selected and some are not
    2: Based on material Type we select Qty and Value updation: like for NORM for your valuation area (and also might be for plant valuation) all boxes are selected and for material type KMATConfigurable materials it is not selcted
    regards

  • Material Type value update activation

    There is a requirement to convert a material type from only qty update to Value update . The transactions like procurement and consumption are happening for this material type .
    In case , Value update is also activated for this material type and accounting view is created for these materials , what will be the  implications during the cut over activities .
    The suggestions and information from the members , who have experience in the similar scenario are welcome
    Regards
    Mani

    Hi,
    It is very well possible to have materials with value updation only.
    It is useful when no inventory i.e no stock is to be maintained. Only value is the required.
    For eg: Pipeline material is directly consumed. No inventory is required to be maintained against it.
    Such materials are also called as non-stockable materials.
    These materials will always be procured against an account assigment category in PO. The value is directly posted to Consumption Account picked via Acc *** Category during GR.
    No stock/inventory account will be posted during GR.
    Regards,
    Komal

  • RG1 value update on Sales

    Hi Gurus,
    After a complete Domestic Sales process, RG1 register should be updated with quantity and value for goods removal from factory . In standard after updating ,extracting and retrieving the final report it is being noticed that value is not getting updated , only quantity is getting updated. Kindly let me know if i have missed any configuration for the value updation or else let me know the correct process to get the value updated.

    Sumit Ghosh
    Please note, as the query raised by you is related to CIN, therefore, we are moving discussion from SAP ERP Sales and Distribution (SAP SD) to Internationalization and Unicode
    Use Internationalization and Unicode for CIN queries or information sharing.

  • Characteristics value update in mass

    Hi Experts,
    I m seeking solution for characteristics value update in mass. We are already maintaining characteristics value for articles and now we have attached one additional characteristic value to article which need to be updated to all article.
    Is there any tool to update characteristic value to each article in mass ? Any existing BAPI to update characteristics value in mass?
    Hoping for best answer.

    Hi Sapahd,
    To create full article by using below given functional module.
    BAPI_MATERIAL_MAINTAINDATA_RT
    Regards,
    PS

Maybe you are looking for

  • How can I pull out the pics out of my iPod?

    The deal is that I accidently deleted the folder where I had my pics. So I wanna get the pics that I have in my iPod to my computer! SOmeone knows how to do this??? Thank's!!

  • How to subscribe to a group space in Oracle Web Center application

    Hi All, I am a newbie to Oracle Web Center and playing in and around with the Oracle WebCenter Spaces.. At the time of creation of Group Space in Oracle WebCenter Application, there are two options : 1. Adding the members by the owner of the group sp

  • Logon failed for NSP  AND how to get  hard ware key

    Hello , I have searched my whole PC for sap license.exe for NSP..... It seems that this program was not delivered with the installation CD. Is there any way to get license.exe for NSP.........? I installed entire thing on SAP like DSPDB AND SQL studi

  • N95 Camera Stopped Working

    Hi, My camera has stopped working on my phone. When I press the capture button it goes green for autofocus, but just makes a click and doesn't take a picture. The video function works, and the secondary camera works, but my main camera just won't tak

  • Admin Password NOT recognized & reboot from CD DOESN'T work

    I attempted to update Microsoft Word with a critical update and when it got to the password request I was given an error message saying "incorrect password". This password IS correct and has been the SAME password for two years and never changed. I h