Problem with ROUND in *WHEN/ENDWHEN

Hi, experts!
We use SAP BPC 7.5 sp05 MS version on SQL Server 2008.
We have  accounts with value
AC1 = 27
AC2 =  6
AC3 =  5
and want calculate AC4 = (2AC1 - AC2 - AC3)/2, the result should be as AC4 = (227 - 6 -5)/2 = 21,5
we use following Script
*XDIM_MEMBERSET P_ACCT= AC1, AC2, AC3
*WHEN P_ACCT
*IS AC1
*REC(EXPRESSION = (2*%VALUE% - GET(P_ACCT = "AC2") - GET(P_ACCT = "AC3"))/2, P_ACCT = AC4) 
*ENDWHEN
*COMMIT
After exution of script result is rounding, and AC4 = 21
We check fact tables specification for Application  on SQL Server, and field SIGNEDDATA has type decimal(25,10)
Also then we save values with decimal number (1,25 ; 1,3333 etc) from Excel it saves and displayed correct.
Best regards,
Iaroslav

I try 4 examples for AC5 = 3 and get following results,
*REC(EXPRESSION = %VALUE%/2, P_ACCT = AC4)   --- result  AC4 = 1
*REC(EXPRESSION = %VALUE%*0.5, P_ACCT = AC4)   --- result  AC4 = 1
*REC(FACTOR = 0.5, P_ACCT = AC4)                              ---- result AC4 = 1.5
*REC(FACTOR = 1 / 2, P_ACCT = AC4)                            ---- result AC4 = 0
I think bug in EXPRESSION and in  division " / " .
Thank you

Similar Messages

  • Problem with internet. When i open System preferences, Network, message drops down: 'your network settings have been changed by another application'. I click OK, but it drops a message again and again, preventing me to do anything about the setting.

    Problem with internet. When i open System preferences, Network, message drops down: 'your network settings have been changed by another application'. I click OK, but it dropps the message again and again, preventing me to do anything about the setting.

    A Fix for "Your network preferences have been changed by another application" Error 
    In the Library/Preferences/SystemConfiguration/ folder delete the following:
    com.apple.airport.preferences.plist
    NetworkInterfaces.plist
    preferences.plist
    com.apple.nat.plist
    You will have to re-configure all your network settings since deleting.
    (10.4.10)
    Use Software Update to update your OS to last version of Tiger.  Install all the other updates that goes along w/it.

  • I am suddenly having a problem with my iMac - when I try to restart or shut down, it hangs on a gray screen, and I have to hard reset to turn it off.  How do I fix this?

    I am suddenly having a problem with my iMac - when I try to restart or shut down, it hangs on a gray screen, and I have to hard reset to turn it off.  How do I fix this?

     
    http://support.apple.com/kb/TS2570 Mac OS X: Gray screen appears during startup 

  • Hi, i have a macbook air and i've been having problems with the camera when i'm using skype. i know im no the 1st one and i'd like to know when apple or someone 'll do something about this.

    hi, i have a macbook air and i've been having problems with the camera when i'm using skype. i know im no the 1st one and i'd like to know when apple or someone 'll do something about this.

    Try reinstalling Combo Update.
    http://support.apple.com/kb/DL1676
    Best.

  • I have a problem with my ipad when choosing software update it is continously loading the message checking for updates without showing any results

    I have a problem with my ipad when choosing software update it is continously loading the message checking for updates without showing any results  

    Hello SuzMiller
    Check out the article for the troubleshooting steps for issues with email on your iPhone and iPad.
    iOS: Troubleshooting Mail
    http://support.apple.com/kb/ts3899
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Problems with color matching when printing...

         Hi, I work for a small family business in the P.O.P. industry.  We currently have myself and one other designer, we both take illustrator files that have come from the graphic design firm that we contract with and get them ready to print on our Vutek QS3200.  However ever since acquiring the printer we have begun to run into problems with the colors when printing.  When the files are exported off of my computer, I use either .tif or .pdf files, they print as they should, the colors seem to match the proof and everything goes smoothly.  However when the other designer exports a file, he tends to do mainly pdfs, the colors tend to be extremely different from where we want them.  Also we will get very strange results, such as yesterday he kept getting a faint yellow 1/2" border around his prints.  After I believe 3+ hours of him trying, I was given the original CD and instructed to try.  After 15-20 minutes of making the changes that we needed to make (adding a new price point) and ripping, mine printed perfectly. 
         We both use Macs, both have CS3 Design standard, only differences between the computers are mine is newer and a bit faster, and I'm running OS 10.5.6 and he has 10.4.  He has also at some point loaded various color profiles, whereas my CS package is just whatever the default is when I loaded it.  When we were being trained he grabbed the color profile off of the Colorburst RIP server and loaded onto his computer, plus I believe he has a couple for freelancing purposes on there as well.  My thought is that these profiles are somehow corrupting the files that are going through that computer, but I honestly am lost with it at the moment.  He believes the problem lies within the fact that he does not have the newer OS, I honestly cannot see that as having any effect on this at all.  I was wondering if anyone has run into any similar problems, or if anyone might have any advice on this issue?  I would really like to be able to solve this, as I was hired to do mainly structural design for the P.O.P. and I'm having to put in a lot of overtime to get my work done along with the additional work that I'm having to do.
    Thanks for your time

    I've got a few years experience calibrating large format printers.  First, the Yellow sounds like a file problem.  I used to work with two workstations, one PC ( RIP station ), and one Mac ( file prep station ).  I tend to agree with you in that the OS is probably not the problem.  But, any Colorburst profiles should remain in the RIP, not in the originator application.  My workflow consisted of creating EPS files that were based on established color settings in their given applications ( i.e., Illustrator, Photoshop ) which were interpreted by the RIP which had it's own calibrated profile ( perhaps more than one based on how many different substrates were being used ).  Your partner may be complicating things by incorporating a RIP profile prematurely.  If there are deviations big enough to be noticed, there has to be something in the application color settings that is causing some type of corruption.  This could lead back to the operating system, but I would think it lies somewhere in Bridge or the application color settings.  Start there.  You should seriously consider implementing a calibration system if you do not have one already.  Another slight possibility is the driver's ability to interpret files coming out of Leopard vs. files coming out of Tiger.  It may benefit you both to be in the same operating system dynamics, using the same driver versions and RIP profiles.  At the very least, match everything that is currently working successfully and put them on both machines.  If there is still a noticeable problem in color matching, then something is seriously wrong and you should call in a prepress profiling expert.  Hope this helps.

  • Good evening I would please help me, IGood evening I would please help me, I have problems with flash player when update on my computer Flash Player for windows 8, gives me error in the installation that is not apply on my computer. Please help. Thank You

    Good evening I would please help me, IGood evening I would please help me, I have problems with flash player when update on my computer Flash Player for windows 8, gives me error in the installation that is not apply on my computer. Please help. Thank You

    First, confirm that ActiveX Filtering is configured to allow Flash content:
    https://forums.adobe.com/thread/867968
    Internet Explorer 11 introduces a number of changes both to how the browser identifies itself to remote web servers, and to how it processes JavaScript intended to target behaviors specific to Internet Explorer. Unfortunately, this means that content on some sites will be broken until the content provider changes their site to conform to the new development approach required by modern versions of IE.
    You can try to work around these issues by using Compatibility View:
    http://windows.microsoft.com/en-us/internet-explorer/use-compatibility-view#ie=ie-11
    If that is too inconvenient, using Google Chrome may be a preferable alternative.

  • Is there a bug or problem with increased noise when exporting pictures out of Lightroom 4?

    Is there a bug or problem with increased noise when exporting pictures out of Lightroom 4?

    As you are asking about it, looks like you do see a problem. So if googling does not provide a solution, you should describe the issue in detail so we can try to help out.

  • Problem with a design when open in firefox like

    problem with a design when open in firefox like http://3a6aayer.com/Default.aspx

    What kind of problems do you have?
    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.

  • I have a problem with Apple store when installing large application: The system crashes. Any suggestion?

    I have a problem with Apple store when installing large application (example xCode): The system crashes.
    It begun with 10.8 usualy with few tries it work but with 4.6 no succes.
    Any suggestion?

    If you have more than one user account, you must be logged in as an administrator to carry out these instructions.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Select the most recent panic log under System Diagnostic Reports. Post the entire contents — the text, please, not a screenshot. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header and body of the report, if it’s present (it may not be.) Please don't post shutdownStall, spin, or hang reports.

  • I have problem with my mic when i make call the others cannot hear me but the mic is ok

    i have problem with my mic when i make call the others cannot hear me but the mic is ok i checked it out and it works dont know what to do help me !!

    Hello Sabbir Khan,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/ts2802
    Can't hear through the receiver or through speaker, and can't be heard
    iPhone: Can't hear through the receiver or speakers
    http://support.apple.com/kb/TS1630
    Best of luck,
    Mario

  • Having problems with texts width when viewed in Firefox

    I My site is OK when viewed in Chrome and Safari, but in Firefox, the width of paragraphs is becoming very long and all is displayed wrong.
    I need a clue where to look to fix. I have not , or very little knowledge of HTML code. So I rely on the DW CS5 interface.
    Thanks,D.

    Thanks Nancy ,
    I'll try,
    Should I just paste your info between the brackets, I guess.
    I am not so good with this but I need to spent a bit of time to fix this
    old web site while another one is being designed.
    Yes the images are too big, I'll reduce them, and optimize. This was
    done in a rush..
    D.
    Le 14-02-23 18:07, Nancy O. a écrit :
    >
          Re: Having problems with texts width when viewed in Firefox
    created by Nancy O. <http://forums.adobe.com/people/Nancy+O.> in
    /Dreamweaver support forum/ - View the full discussion
    <http://forums.adobe.com/message/6149874#6149874

  • Problem with Thunderbird email: When I send email using a mailing list, with my email included in the list, the message shows up in my Sent list and others rece

    Problem with Thunderbird email:
    When I send email using a mailing list, with my email included in the list, the message shows up in my Sent list and others receive it but it does not come to my email Inbox. The same problem occurs when I send the email to the mailing list addresses individually. When I send a simple test message to myself, I do receive it in my Inbox. Can you help me??
    Bob Greenman

    Are you using either cc or bcc? Is googlemail involved? Some email providers suppress cc's and bcc's to oneself since you will have a copy in your Sent folder.

  • TS2755 I am having a problem with getting notified when I receive a call or a text.  My phone will not ring or vibrate.

    I am having a problem with getting notified when I receive a call or a text.

    Hi BigBroMAC,
    The first thing I would check is Do Not Disturb mode, as this will cause that behavior:
    iOS 6: Using Do Not Disturb
    http://support.apple.com/kb/HT5463
    If that isn't the issue, this article has slightly different symptoms but the troubleshooting would be the same:
    iPhone: Can't hear through the receiver or speakers
    http://support.apple.com/kb/TS1630
    Before you do step 10, however, I recommend resetting all settings to see if that helps.  To do that, choose Settings > General > Reset > Reset All Settings.
    I hope this helps!
    - Ari

  • HT4623 I downloaded the ios 6 on my iphone. I'm having problems with applications. When I open any application, in seconds then closes and returns to the home screen. What could be happening?

    I downloaded the ios 6 on my iphone. I'm having problems with applications. When I open any application, in seconds then closes and returns to the home screen. What could be happening?

    Did you change any AppleID accounts or anything?  I've seen this happen when changing accounts or certain restore situations.
    If you are using iCloud you should be able to reset your phone to Factory Defaults and restore from iCloud, but it always makes me nervous.

Maybe you are looking for

  • Automatic creation of Production order when credit limit lock got released

    It seems that production order will be created only when the sales order is created without credit lock error from the first. Once credit lock happened, even if user release the lock, production order will not be created automatically anymore. Is the

  • Whats the fieldname and table name for purchase order delivery date

    hi all,     whats the fieldname and table name for purchase order delivery date   thanks and regrads

  • I need help with rollovers

    I'm trying to create rollovers for my header for my web-site.. I want each letter to change to a different color when rolled over..but I don't need it to be linked to any sites I just want it as a graphic element.I'm designing in MUSE I have the text

  • Get attachments from pdf

    I have a problem that is urgent. I want to extract attachements from a pdf file using java apis. I started from an example buf the BIG problem is that i don't have a documentation for certain java classes.<br />A piece of my code:<br /><br />PDFDocum

  • LENOVO G580 HOT KEY NOT WORKING

    Sir, I bought lenovo laptop g580 my model no is  WB0208030S.. i bought one month before... now the hot keys for brightness, volume , wireless are not working... i can't operate my hotkeys which is now harder to activate wifi for me ...when i press Fn