Difference in decimals places in Query

Hi experts,
I want to know if Jose and Pablo work with the same decimal places, because I have differences between a multiplication in the query and when i do by myself.
Explample
I have two number
A = 18.144110554
B = 183,793,370.49
A*B:
As result in the Query = 3,334,767,233.25
As result manually = 3,334,767,233.26284
My problem is that then I make a sum with a lot of multiplication in the total, I have a big difference, so this is a problem how excel take decimals places or what?
Other question:
SAP takes the number, makes the calculation and show the result with the decimals places that you say in the query, or when put the result in excel it takes the configuration of excel, and trunk or round and then show it.
Thanks. Regards, Andres

The calculation is done on the server and the result of this calculation is sent back to  excel. The calculation takes place with the maximum number of deciaml places defined in your keyfigure. If it has 9 decimal places then the calculation is done with accuracy to 9 decimal places. So an round error can occur. This reslut is sent back to excel and dispalyed in the format you want. You can check if the problem is sent by excel or by the server. Try to execute the query in transaction rsrt and check there the results.
Regards,
Juergen

Similar Messages

  • Decimals Places

    Hi
    Our Clients request for an improvement to allow multiple Decimal Places settings for different purpose in transactions entry and Report printing instead of one single Decimals setting for all transactions and Reports Printing.
    Currently the limitation of 2 Decimals Places causes lots of rounding differences when quantity is more than 2 Decimal Places.  However, increasing the Decimal Places for Total Amount will affect all Display in Reports which are not desirable.
    Kedalene Chong

    this only works only when it's a userfield you added by code: oItem.Add
    and it also only works when you assign the value by yourself.
    in this case you can make the DataSource bigger - vb6 snippet:
    oForm.DataSources.UserDataSources.Add "dsField", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 30
    oForm.Items.item("txtField").Specific.DataBind.SetBound True, "", "dsField"
    oForm.Items.item("txtField").Specific.String = strValue
    when strValue has 6 decimals now there's enough place in the field.
    regards
    David

  • Decimals Place - for Currency wise

    Hi Experts,
               I have a query regarding Decimals places Settings in Export Invoice.
              If i see the condn value in vf03, it shows 0.0234 for usd . But in KONV table the same value shows 2.34 USD. How can i change into four decimals places in Konv table.
             how can i make it 4 decimals places in smartforms. I am using vf31 for taking Export invoice.
    With Regards,
    Neptune.M

    Hi,
    DATA : t_amount(16) TYPE p value '1000'.
    DATA : l_amount(16) TYPE p.
    CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
      EXPORTING
      CLIENT                  = SY-MANDT
        date                    = sy-datum
        foreign_amount          = t_amount
        foreign_currency        = 'EUR'
        local_currency          = 'USD'
        TYPE_OF_RATE            = 'M'
    IMPORTING
      EXCHANGE_RATE           =
      FOREIGN_FACTOR          =
        LOCAL_AMOUNT            =  l_amount
      LOCAL_FACTOR            =
      EXCHANGE_RATEX          =
      FIXED_RATE              =
      DERIVED_RATE_TYPE       =
    EXCEPTIONS
      NO_RATE_FOUND           = 1
      OVERFLOW                = 2
      NO_FACTORS_FOUND        = 3
      NO_SPREAD_FOUND         = 4
      DERIVED_2_TIMES         = 5
      OTHERS                  = 6
    IF sy-subrc  0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    WRITE : l_amount.
    please reward if useful.

  • In-Place Hold Query Based on Assigned Policy

    Is it possible to create an "in-place hold" query that places a hold on all items matching an "assigned policy/personal tag?' If so, how do you do it?  We have three possible assigned polices. If staff do not select a policy, their
    email is purged in 90 days. If they do select a policy, it's an important message and we want to place it on an In-Place hold for the duration of the Assigned Policy.

    I don't think so.  The cmdlet used to create an in-place hold is New-MailboxSearch.
    https://technet.microsoft.com/en-us/library/dd298064(v=exchg.150).aspx
    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

  • Where to place oracle query?

    Hi,
    I have followed evnafets suggestions when setting up tomcat for connection pooling. Everything works fine when I place the query in the jsp, but I would like to do this correctly and keep all sql code out of the view.
    Where would I place the query, in a configuration file or would it go into a servlet ?
    Thanks,
    Alan
    Message was edited by:
    shadow_coder

    Thank you for your time, it is greatly appreciated by
    us new to java web-apps.
    ---warning --- beginning of rant ---
    It almost seems hopless, i'm not sure how anyone can
    possibly master or even learn all this,
    it wasn't enough to learn basic java, then learn how
    to use a servlet container (Tomcat 5.0), and then
    figure how to make it connect it to oracle9i, and
    seamlessly integrate this with the Apache2.0 web
    server. (I won't go into the Apache2.2 ordeal i had!)
    oh, then when you want to upgrade to Tomcat 5.5
    scratch everything you know, things are now
    different!
    I thought all I had to do now was learn just enough
    about jsp to use jstl with javascript for client side
    validation, or learn jsf and just bypass the whole
    javascript thing.
    now, I find out I probably should use Hybernate, but
    once I do this i'll find out Struts was the better
    way to go, or Spring would have suited my situation
    best.
    -- end of rant ---
    man, i needed to get that out, I feel much better :)
    AlanAmen brother. I'm travelling the same road you are to Java App development. I feel your pain. I think you've got the right mindset, however: As I continue to learn, one thing I've been cognizant of is keeping things in a logical place, decoupled as much as possible from other "pieces". This rule of thumb allows me to say "Okay, I'll probably learn a better way to do this on Wednesday, so if I keep things segmented, it'll be easy to switch pieces in and out."
    I doubt I'll ever get back to that "switch pieces in and out" phase, but it's good to know that it was organized as best as can be at the time of development. Keep the code comments in there, document as needed, test and test again. You'll be fine. :)
    Nice rant, by the way. You speak for me, too. :)

  • I want to place a query in main menu

    Hi Experts
    I want to place a query in main menu but it is not in a crystal report format? How should I be able to do that in SAP 8.8?
    Please guide me further in this matter.

    Hi Bhavesh.....
    If it is the case of only SQL Query then it is not possible to take it under standard module but you can definitely take it in User Menu.
    But if it is the case of Crystal Report then you can anyway include it under standard module list.....
    Regards,
    Rahul

  • Difference between Storage Grain and Query Grain

    What is the difference between Storage Grain and Query Grain ?
    In the query below:
    Select quarter, YearAgoSales:
    Query grain: quarter
    Time Series grain : year
    what is the Storage Grain ?
    As mentioned in Help Guide, Storage Grain is "grain of the aggregate source".
    Regards,

    storage grain: by its name is the grain of your source.
    query grain: by its name is the grain at which you define your query.
    based on the example you mentioned:
    Though you have a source at day grain, you are querying at quarter level (which corresponds to query grain)....
    mark posts promptly
    -bifacts
    http://www.obinotes.com

  • Difference between showed decimals in a query and in a workbook

    I have my query set so that all the KF have to be shown with two decimals. When i execute the query it displays it perfectly. But when i execute the workbook to which my query is attached, it displays the numbers as it wishes: one column with 1 decimal, other with 6 and the other with 3.
    Why would it do so?
    I tried to delete the query and insert it again, but no luck..

    Hi,
    Trying changing the key figures decimal places and them setting them back to what you want. Then save. The query editor assignes the decimal places based on the order in which they are changed. Make sure that if you want a certain KF to have a certain number of decimal places that you change it after you change the decimal places for the characteristic or structure you are comparing it against.
    Cheers,
    Rusty

  • Decimal places in Query generator

    Hi All,
    I am observing a weird behavior in Query generator's execution of a simple sql query. the query is :
    Select 0.002834
    now, in the general settings - display - amounts , I put the decimal value as 4 or 6,  then only it prints 0.0028 or 0.002834.
    else it prints 0.00 (if the decimal place is 2). it should ideally have nothing to do with the display of amount. any idea?
    (the effect is shown only after you change the decimal display, update it and close and reopen the SAP application.
    Thanks,
    Binita
    Edited by: Binita  Joshi on Apr 12, 2010 4:03 PM

    Hello Binita,
    >I have tried converting it to numeric(19,4) and numeric(19,6) but still the result was same.
    Check your decimal places settings in
    \Administration\System Initialization\General Settings\Display tab
    Check the following values:
    - Units (For meaurement)
    - Decimals in Query
    Now let' s say,
    - Unit set to 6 decimal places
    - Decimals in Query set to 2
    run the following query in query generator:
    select cast(0.000245 as decimal(19,6))
    result will be
    0.00
    run the same query as FMS on item master data in any measurement field (lenght)
    select cast(0.000245 as decimal(19,6))
    result will be
    0.000245
    Now set the - Decimals in Query set to 6 on  \Administration\System Initialization\General Settings\Display tab
    run the following query in query generator:
    select cast(0.000245 as decimal(19,6))
    result will be
    0.000245
    This is a normal habit of SAP B1 rounding engine / displaying engine.
    Regards
    J.

  • Difference of decimal place in SAP R/3 and BW

    Hello SAP experts,
    I am extracting purchasing data from SAP R/3 using datasource 2LIS_02_SCL.
    In BW I see a difference of one decimal place.
    In RSA3  amount is shown as 17.350,00
    Whereas in PSA above value is displayed as 1.735,000
    Decimal notations are same in both R/3 and BW.
    Please help me to understand the reason behind difference in values.
    Thanks and Regards
    Shilpa

    Hello All,
    The issue is resolved. The difference in Amount is due to different decimal configuration settings in TCURX table in both R/3 and BW. Ideally these settings should be same in R/3 and BW. If decimal settings doesn't match misalignment has to be taken care of either in ETL or during query design.
    Thanks and Regards
    Shilpa

  • Difference between Decimal places for  Quatities and Units

    Can anyone please explain the difference between the followings -
    1. Number of Decimal places for  Quantities, and
    2. Number of Decimal places for Units
    In SAP B1 2007B General Settings.

    Hi,
    The Decimal places in the general setting indicates
    Amounts:Display of row and document details
    Prices:Display for price fields in documents,item  data,price lists
    Rates:Display of decimals in currency calculation
    Quantity:Display of quantity in documents and item data
    Percent:Display used in calculation of tax amounts and discounts
    Units:Display used in units(UoM) of items.
    Also refer these note:[737880|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&note_numm=0000737880]
    Hope this is helpful

  • Difference: SAP BW Report iview - Query iView - URL iView

    Hi,
    I want to show BW reports on the portal. Can anybody suggest me the different ways of doing it ? And also let me know about checklist of steps that need to be performed.
    Can anybody tell me the difference between showing BW reports through URL iviews, showing reports through Query iView and showing reports through SAP BW Report iView ?
    Which one can i use for showing BW reports taking into consideration the implementation of SSO between the two? I tried the URL iView (using the Web URL of reports generated by BW) but it asks for Username/password. Is that the problem with SSO. How can i check if SSO parameters have been set or not. I have imported the verify.der to BW System and added that to ACL. Is there anything else which is required?
    Thanks in advance.
    Rgds,
    MA

    Hi Manoj,
    I feel BW report iview will solve your problem. You can create a query sting in BW query designer and give the same in BW query  string text area while creating BW report iview.
    In the case of an url iview you are just giving a URL link of the BW report (this will ask for username/password).
    But, in the case of a BW report iview you can view the required query as an iview (user mapping can be successfully done in this case) You should give fully qualified domain name in Was server option while creating the system.
    While using the logon ticket Login id of both the system (ie BW and Portal) should be the same.
    Refer the link for SSO using logon ticket)
    User Mapping-based Single Sign On
    Regards,
    Vinod

  • Difference btn View and a Query

    Hello there,
    I am having difficulty conceptualizing the difference btn a view and a query.
    I searched the forum but did not get very useful information.
    Can someone explain in plain language how a view is different from a query?
    Thank you.

    Hi Kara,
    Have you seen this thread:
    Re: What is view
    And also this one:
    Re: Difference: query- report- view- workbook
    Hope this helps...
    Message was edited by: Bhanu Gupta
    Thanks for pointing that out. I have changed them, plese try again.

  • SD Pricining Condition Up to 7 Decimals Places

    Hi All,
    I want to maintain condition record up to 7 decimal places. In normal scenario we can maintain up to 2 decimal places and can be customized upto 5 decimals . How I can achieve this requirement ?
    Please help me .......
    Thanks & Regards
    N. N. Tiwari

    The simple work around is that in VK11, you maintain the price per ten thousand. 
    Let us assume, the selling price of Material A is 5.123456, your VK11 screen should be
    Material A::::::::::51234.56::::INR::::10000::::PC
    thanks
    G. Lakshmipathi

  • Decimals places to 4

    In my layout I am using 0AMOUNT and US$4 with 4 decimals.  When I key a number into the layout, regardless of what it is, it is correct in the layout.  However, when I look in the cube or query, if the value I put in the layout is equal to or less than .0040, it appears as 0.  If I put in .0041 or higher, I see that value in the layout and also in the cube and query.
    Thanks,  Keith J

    Keith,
    I think you used note 460652 to change length and decimals of domain RSKYFAMO and overlooked that it is not allowed to change the number of decimals. Here only 2 decimals are allowed. In SAP systems currencies always have two decimals, exceptional currencies are maintained in table TCURX. So all currencies not in TCURX have 2 decimals.
    So in BW systems currencies on the DB have always 2 technical decimals, how this value is interpreted comes from default 2 or the TCURX settings. So the system get confused if you change technical decimals since this is always assumed to be 2.
    Be careful to change TCURX settings when you have data on the DB, since as explained above the data will be interpreted in a different way.
    Example:
    1 EUR on DB 1.00, no TCURX entry
    1 JPY  on DB 0.01, TCURCX setting 0 decimals
    Regards,
    Gregor

Maybe you are looking for

  • Final Cut Pro has quit on me.

    Very abruptly this evening, I was unable to open Final Cut Pro at all. Same with Soundtrack Pro, DVD Studio Pro, and Motion. I don't know what could have caused it. Can anyone offer any advice? Thanks in advance.

  • System copy for R/3 4.7 MSCS

    Hi all, Currently we are planning a system copy using R3Load import/export on R/3 4.7. Below is the details: Target : New PRD with clustering MSCS & OFS configured (both win & oracle 64 bit) Source: Old PRD with clustering MSCS & OFS configured (both

  • Bringing over Custom EQ settings in iPod

    When updating your iPod from iTunes, is there a way that the iPod can bring over the EQ's that you've customized in iTunes? For me this would be wonderful. The EQ selections in the iPod are very basic and could use some true graphic equalizing tweaki

  • ADF on WebLogic 12c 12.1.2 requires a database

    hi Some recent forum messages suggest that ADF on WebLogic 12c 12.1.2 requires a database : at https://forums.oracle.com/message/11104301#11104301 "BrianFry wrote: ... The JRF domain template is the one that contains ADF libraries, so to configure st

  • Little help with keyframes and Armorbot

    armor bot ranks software gives you an actionscript that sends the score you want directly online, I have successfully finished it but in the game if i enter a number like 200 and a name like "yair" it works out just fine but when i put a variable lik