BPC 7.5 MS SP5 wrong numbers multiplying GET (A)*GET(B) in script logic

Hi experts,
We are migrating from BPC 5.1 MS to 7.5 MS SP5 and there have some scripts that are using GET function that retrieve wrong numbers. Particularly, it does not record the decimals figures.
Example1 (multiply): when A=2,3 and B=4,4, then AB=10,12. But doing this in script logic GET(A)GET(B)=10. It does not write the decimal figures.
Example2 (addition): when A=2,3 and B=4,4, then AB=6,7. But doing this in script logic GET(A)GET(B)=6. It does not write the decimal figures.
Particularly, the script we are executing is the following. This script worked ok at 5.1 but not at 7.5:
*XDIM_MEMBERSET ACCOUNTL= INFLA_AUX,INFLA_ACUM
*XDIM_NOSCAN ACCOUNTL = INFLA_ACUM
*XDIM_MEMBERSET CATEGORY=%CATEGORY_SET%
*XDIM_MEMBERSET CURRENCY=LC
*XDIM_MEMBERSET TECHNOLOGY = %TECHNOLOGY_SET%
*XDIM_MEMBERSET PEM=DESCENDANTS([PEM].[PEMTOT],999,LEAVES)
*XDIM_MEMBERSET TIME=DESCENDANTS([TIME].[XXXX.TOT],999,LEAVES)
*CALC_EACH_PERIOD    
*WHEN ACCOUNTL
*IS INFLA_AUX
     *WHEN TIME.YEAR
     *IS = PEM.YEAR
*REC(EXPRESSION=1,NOADD,ACCOUNTL=INFLA_ACUM)
            *IS < PEM.YEAR
*REC(EXPRESSION=0,NOADD,ACCOUNTL=INFLA_ACUM)         
            *IS > PEM.YEAR
*REC(ACCOUNTL=INFLA_ACUM,NOADD,EXPRESSION=GET(ACCOUNTL="INFLA_ACUM",TIME=PRIOR) * GET(ACCOUNTL="INFLA_AUX",TIME=PRIOR))     //in this sentence!!!!!!
          *ENDWHEN
*ENDWHEN
*COMMIT
We have SIGNED_DATA_FORMAT (25,10) in the application parameters.
Many thanks for your attention.
Best regards,
Arkaitz
Edited by: arkaitz_orozko81 on Apr 28, 2011 4:31 PM
Edited by: arkaitz_orozko81 on Apr 28, 2011 4:33 PM

Hello,
We have solved this issue.
First, we have change the script:
*SELECT(%PEM_APLICA%,[ID],PEM,"APLICA='Y'")
*XDIM_MEMBERSET ACCOUNTL=PROD_AUX,DISP_INP,HORA_AUX,CAPAC_AUX
*XDIM_NOSCAN ACCOUNTL= PROD_AUX
*XDIM_MEMBERSET CATEGORY=%CATEGORY_SET%
*XDIM_MEMBERSET CURRENCY=LC
*XDIM_MEMBERSET TECHNOLOGY=DESCENDANTS([TECHNOLOGY].[RENOVABLES],999,LEAVES)
*XDIM_MEMBERSET PEM=%PEM_APLICA%
*XDIM_MEMBERSET TIME=<ALL>
*WHEN ACCOUNTL
*IS CAPAC_AUX
//*IS *
     *WHEN SIGNEDDATA
     *IS <> 0
REC(ACCOUNTL="PROD_AUX",NOADD,EXPRESSION=GET(ACCOUNTL="CAPAC_AUX")* GET(ACCOUNTL="DISP_INP")* GET(ACCOUNTL="HORA_AUX"))
     *ELSE
*REC(ACCOUNTL="PROD_AUX",NOADD,EXPRESSION=0)
*ENDWHEN
*ENDWHEN
*COMMIT
And we have change the regional settings to "English (United States)".
Many thanks for your answer.

Similar Messages

  • Script Logic wrong results in migration to BPC 7.5M

    Hi Experts,
    We have an issue with Script Logic calculation after migration of BPC 7.0M to BPC 7.5M. At the beginning we thought that was the issue mentioned in SAP note 1515973, because we had SP03.
    Now we have SP07 and the problems persist. The result of a simply product between two numbers is wrong. For example in the next Default Script Logic:
    *WHEN TIME.GROUP
       *IS INPUT
    *WHEN CATEGORY
         *IS  <> "ACTUAL","B_ACTUAL"
              *WHEN ACCOUNTP             
                    *IS "M_SALES"
                        *REC(FACTOR=GET(ACCOUNTP="PRCT_SALES_BASIC"),ACCOUNTP="700200")
                        *REC(FACTOR=GET(ACCOUNTP="PRCT_SALES_PROMO"),ACCOUNTP="700230")
                        *REC(FACTOR=GET(ACCOUNTP="PRCT_SALES_LIMITED"),ACCOUNTP="700235")             
              *ENDWHEN
      *ENDWHEN
    *ENDWHEN
    *COMMIT
    Input:      M_SALES =           -195,75933
    Input:      PRCT_SALES_BASIC =      1
    Result: 700200 =           -195
    Are there some application parameter that defins de presicion of logic calculations?
    Some ideas? Thanks in advance.
    Best Regards
    Albert

    Hi Jörg,
    We changed to a new server with a multi-server architecture 64 bit (BPC Server and DB Server).
    Did you have the same problem? How do you resolve it?
    Thanks in advance.
    Best regards,
    Albert

  • Script Logic in BPC is not working properly

    Hi All,
    I have the BPC Microsoft version 7.0.114. I am trying to create a script logic to calculate price x units.
    I have an application called GYP with the following dimensions:
    PL (Account type) in this dimension are the units
    Time
    Category
    Entity
    Product
    RptCurrency
    I have another application called PRICE with the following dimensions:
    Price  (Account type) in this dimension are the prices
    Time
    Category
    Entity
    Product
    RptCurrency
    The script logic i created in the GYP application is as follows:
    *XDIM_MEMBERSET PL="Units"
    *XDIM_MEMBERSET PRODUCT=<ALL>
    *XDIM_MEMBERSET ENTITY=<ALL>
    *XDIM_MEMBERSET CATEGORY="Budget"
    *LOOKUP PRICE
    *DIM PR:PRICE ="PRICES"
    *ENDLOOKUP
    *WHEN PL
    *IS "Units"
    *REC(FACTOR=LOOKUP(PR), PL="Revenues")
    *ENDWHEN
    *COMMIT
    I also put in the default.lgf :
    *INCLUDE UnitsxPrice.LGF
    *COMMIT
    I have loaded data for units and price only for one product to validate the script logic but I'm not getting any calculated value in the revenues element.
    I have read a lot of documentation about script logic but i haven't found which could be the problem.
    Please, could you help me to know what i am missing to?
    Thanks in advance for all your help.
    Regards,
    Luisana

    Hi,
    Your script logic looks fine to me. However, I would request you to make a small change in your default logic.
    Lets say that you created the script logic with the name CALCULATION.LGF, then the default logic should look like below:
    *INCLUDE CALCULATION.LGF
    Notice that the name of the script logic should be consistent (and I have removed the commit statement from the default logic).
    Hope this helps.

  • I have entered the wrong numbers to put my phone in pass code lock.  However, I didn't set the autolock....how can I get the pass code lock reset?

    I have entered the wrong numbers to put my phone in pass code lock.  However, I didn't set the autolock....how can I get the pass code lock reset?

    Your only choice is to place the phone in DFU mode (search Google for instructions) and restore as a new device.  You will lose all your data.

  • Export Package / BPC 7.0 MS SP5

    Hi all,
    I work with BPC 7.0 MS SP5. I have an issue with the standard EXPORT package.
    My step 2 (Convert Data) failed and I have this error message : The file is empty.
    I use the transformation file standard (Export.xls).
    I have less than 1 000 000 000 intersections in my package selection.
    I take a calculated member on 1 dimension and only leaf members on the other dimensions
    My application has 9 dimensions + 1 dimensions with a double hierarchy.
    Somebody has the same issue ?
    Regards,
    Morgann

    please post this question to the MS platform this one is only used for BPC NW ..
    D

  • Unread VIP messages counter on iCloud shows wrong numbers

    Hi,
    I have VIP inboxes set up. They appear on my Mac, iPhone and iCloud.com. The unread VIP messages counter on my Mac and iPhone are showing the correct numbers of unread VIP messages. However, the counter on iCloud shows wrong numbers.
    Does anymore have the same experience?
    I deleted the VIP inbox on iCloud.com and re-created it. Then the issue was solved. Some days later, however, it started counting wrongly again.
    Example:
    Peter is a VIP for me.
    1. I receive 2 messages from Peter, so the unread VIP messages counter on my Mac, iPhone and iCloud.com raises to 2.
    2. I read both messages
    3. The unread VIP messages counter on my iPhone and Mac vanished, and so does the general unread mail counter.
    4. On iCloud.com, my general unread mail counter would also be 0 but the VIP unread mail counter would still be 2. The VIP inbox does not show any unread email, tough.
    Best regards,
    Marc

    I've reported this error twice via Apple's iCloud feedback page on the website - http://www.apple.com/feedback/icloud.html
    No solution as yet... but an earlier VIP bug (where, if the same contact sometimes sends as "@mac.com" and sometimes "@me.com", they had to have separate VIP mailboxes) was fixed. (At least, I think it was fixed: if you put all the relevant addresses against the same single contact in iCloud and delete any other instances of the contact with the same address, then iCloud creates one amalgamated VIP inbox for them. But I digress.)
    The mis-count bug has been around since the day VIP appeared - hopefully getting a bit embarrassing for someone on the iCloud team? Maybe someone at Apple reading this?

  • When calling my contacts I get connected to wrong numbers.  Other times my phone will call the contact

    When I call my contacts I get connected to wrong numbers.  Other times the phone rings & connects but silent on my end & the other party sees that I called but not connected.

    There are no settings in iPhones that determine how RECEIVING phones respond  In fact, it isn't possible for a sending phone to control how another phone responds when busy.  This is conrolled by the carrier and the receiving phone only.

  • Wrong numbers reported by pq of tmadmin

    Hi,
    pq command in tmadmin sometimes give the wrong numbers. Even the server is idle,
    it still shows there are messages in the queue. Also, the number of average length
    appears very high.
    Seems it's a bug of tuxedo. How to avoid it? Do we have any patch for this?
    I am using tuxedo6.5
    Thanks,
    Michael

    Thank you very much!
    BEA support said they are going to apply a patch.
    I have more questions regarding tmshutdown,
    If we do "tmshutdown -s ...",
    1. Will tuxedo wait until all the messages in its queue are processed before shutting
    down the server?
    2. Sometimes we have to use force shutdown "tmshutdown -s ... -kTERM", in this case,
    will tuxedo clean-up all the messages in its queue? Or the messages will be just
    keeping in the queue until a new server coming up?
    3. In MSSQ, if we use "tmshutdown -i ...", it will only clean the single instance
    but its queue, right?
    Thanks a lots!
    Michael
    Scott Orshan <[email protected]> wrote:
    There's a similar looking bug that was fixed in 7.1, having to do with
    servers killed because of service timeout. This is probably something
    you should report to Support. Have them look at CR071310. If they get
    enough requests for a fix, they might backport the fix into 6.5.
    They should verify that this is the same problem first.
         Scott
    michael wrote:
    This problem starts happening after we swithed to MSSQ and only happeningeverytime
    if we killed the instances ( use tmshutdown -i -kTERM) of a specific serverfor serveral
    times(for some reason, we have to kill a instance because of high CPUusage or tuxedo
    instance hanging). After that, the queue length and Avg. Len of this specificserver
    are then gradually growing to be very high even we don't have any messagein the
    queue.
    Thanks,
    Michael
    Scott Orshan <[email protected]> wrote:
    Tuxedo's queue counts are not incremented under lock unless you use
    tmadmin to set Accurate Statistics (shmstats ex), but there is quite
    a
    performance hit when you do that. This could account for the numbers
    being off, especially on a multiprocessor.
    michael wrote:
    Hi,
    pq command in tmadmin sometimes give the wrong numbers. Even the
    server
    is idle,
    it still shows there are messages in the queue. Also, the number of
    average
    length
    appears very high.
    Seems it's a bug of tuxedo. How to avoid it? Do we have any patch
    for
    this?
    I am using tuxedo6.5
    Thanks,
    Michael

  • Script Logic: Using a property in MDX *REC statement (BPC NW)

    Hi,
    Is it possible to use a Property in an MDX statement without using  *LOOKUP() function? I have script successfully working but it takes 15 minutes to execute and would like to speed it up.
    I understand that [DIMENSION].[MEMBER].Property is not valid syntax, and do not believe NW has any other functions to resolve the issue, except *LOOKUP which takes a long time.
    Specific Example is below:
    I have a piece of script that successfully splits JV Expense by customers. A Profit Share planning driver determines the percentage that each customer is entitled to. Typically this will be 100%, but could be 50% between two customers.
    The PROFIT SHARE planning drivers records, and PARTNER_INCOME transactional records are below:
    ACCOUNT
    ENTITY
    PARTNER
    SIGNED DATA
    PROFIT_SHARE
    UK_001
    PARTNER_A
    0.5
    PROFIT_SHARE
    UK_001
    PARTNER_B
    0.5
    PROFIT_SHARE
    UK_002_PLANNING_DRIVERS
    PARTNER_B
    1.00
    PARTNER_INCOME
    UK_001
    NO_PARTNER
    $5,000
    PARTNER_INCOME
    UK_002
    NO_PARTNER
    $5,000
    UK_001 has two partners that are each entitled to 50% of the $5,000 NET PROFIT.
    For UK_002, one one single Partner is entitled to 100% of the $5,000 NET PROFIT.
    Using script logic, you can scope the Profit Share account (PROFIT_SHARE) - , and use a *REC statement to multiply this by the driver. It would look like:
    *XDIM_MEMBERSET ACCOUNT = PROFIT_SHARE
    *WHEN ACCOUNT
    IS *
    *REC (EXPRESSION = %VALUE% * ([ACCOUNT].[PROFIT_SHARE],[PARTNER].[NO_PARTNER]), ACCOUNT = PARTNER_PROFIT_SHARE)
    *ENDWHEN
    This wouldn't be a problem if the Planning Driver is always stored on the same Entity that the Income is stored on, but for UK_002, the planning driver is stored on another Entity - which is stored in a the PLAN_DRIVER_REF property of the entity. It should use UK_002_PLAN_DRIVERS
    ID (Entity)
    PLAN_DRIVER_REF
    UK_001
    UK_002
    UK_002_PLAN_DRIVERS
    UK_002_PLANNING_DRIVERS
    In this scenario, we need to switch out the Entity used in the MDX, however I do not believe you can use a property in MDX - can anyone confirm?
    I have currently implemented the *LOOKUP functionality to loop through, changing each *LOOKUP partner for each loop.
    Lookup:
    *LOOKUP PLANNING_JV_US
    *FOR %LOOP_ASLS% = %ASL_LOOKUP_LOOP_VARIABLE%        
      *DIM LOOK_%LOOP_PARTNERS%:ACCOUNT = "PROFIT_SHARE"
      *DIM LOOK_%LOOP_PARTNERS%:PARTNER= %LOOP_PARTNERS%
    *NEXT
    *DIM ENTITY = ENTITY.PLAN_DRIVER_REF                   //   Use PLAN_DRIVER_REF Property of Entity
    *ENDLOOKUP
    Scope and *REC:
    *XDIM_MEMBERSET ACCOUNT = PROFIT_SHARE
    *WHEN ACCOUNT
    IS *
    *FOR %LOOP_PARTNERS% = %PARTNER_LOOKUP_LOOP_VARIABLE%      // 1000 Partners
    *REC(EXPRESSION = %VALUE% * LOOKUP(LOOK_%LOOP_PARTNERS%), PARTNER= %LOOP_PARTNERS%, ACCOUNT = TCOJVSHAR_CALC, AUDIT_ID = PP_EXPENSE_BY_PARTNER)
    *NEXT
    *ENDWHEN
    The problem with the above, is that because the Lookup is being generated for every single Partner, there are significant numbers of loops.
    Does anyone know of another way this can be implemented in Script Logic? Otherwise we'll need to explore BAdI route.
    Thanks,
    Nick

    Hi Nick,
    Use property in LOOKUP - will dramatically speed up the calculation without FOR/NEXT.
    Vadim

  • Line numbers in Script Logic editor

    Hi everybody,
    when using the default Script Logic editor in BPC NW I can not see any Line Numbers (or Column Numbers) in the edited script.
    When an error is detected by the system after validating the script, the error message sometimes refers to a certain Line Number where the error occured.
    Is there a better way than manually counting the lines from the top (which can be quite a task when editing, say 500 lines) ?
    Do I miss something here or are you all using alternative editors ?
    Please give me some input.
    Regards.
    Wolfgang

    Hi Nilanjan,
    thanks for the quick answer.
    That would mean that I always need to switch from BPC frontend Script Editor into BW and start a transacion and program there. I would have hoped, that simole line numbers would be a standard feature in the BPC frontend editor itself. Nevertheless...
    Best regards.
    Wolfgang

  • Rounding in NW BPC Script Logic

    Hi,
    BPC MS version has a keyword "ROUND" to round the numbers through script logic.
    What is the replacement to Round the amounts in NW BPC Script Logic.
    I tried using the same keyword "Round" but it did not work. 
    Appreciate your help.
    Thanks
    Anjali

    There is a HowTo guide showing how to implement this functionality as a BADI - [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/50daa919-5b80-2c10-babd-b75c6c64feed]
    Please make sure to search SCN and look through the HowTo guides before asking questions in the forums. HowTo guides can be found here: [http://wiki.sdn.sap.com/wiki/display/BPX/EnterprisePerformanceManagement(EPM)How-to+Guides]
    Ethan

  • In the new Numbers, How can I get a 2D stacked column chart to display only 1 column?

    In the new Numbers, How can I get a 2D stacked column chart to display only 1 column?

    This is one of those things that I find really strange about Numbers 3. The control for what you want to do is not where anyone would expect to find it.
    Select the Chart
    Click on Edit Data References
    Look at the bottom left corner of the Numbers window. It should say "Plot Columns as Series" or "Plot Rows as Series"
    Click on it and change it to the other

  • I was listening to music on my ipod shuffle when it went off.It hasn't turned on since then.When i connect it to the computer,the connection and disconection sounds play continuously without the ipod showing.What could be wrong or how can i get it to work

    I was listening to music on my ipod shuffle when it went off.It hasn't turned on since then.When i connect it to the computer,the connection and disconection sounds play continuously without the ipod showing.What could be wrong or how can i get it to work?

    Hello,
    I am currently an owner of an Ipod Touch 4th generation. I see you are having problems with your Ipod Touch, so I will try to find a solution to your problem.
    Hold down the Sleep/Wake and Home buttons for at least 10sec. or until Apple logo appears (Nothing will be lost, this is just a "Hard Reset")
    Hope that helps!
    If none of the above solutions work, can you please respond back ASAP as I will try to find another solution to your problem (This might even help others with the same problem!)
    Cheers!
    Pizza98704

  • :-( something went wrong Sorry, we can't get that information right now. Please try again later. If the problem continues, contact you

     
      i have ms exchange 2013
    given error web browser
    something went wrong
    Sorry, we can't get that information right now. Please try again later. If the problem continues, contact you

    Hi,
    I would like to verify when this issue occurs, accessing ECP or OWA. If it occurs when accessing OWA, check if all users have this issue. What's more, please take your time to post the screenshot of error information for my further research.
    Here is a kb about "Something went wrong" error for your reference.
    "Something went wrong" error in Outlook Web App may show an incorrect date
    http://support.microsoft.com/kb/2961715
    Hope this can be helpful to you.
    Best regards,
    Amy Wang
    TechNet Community Support

  • I just updated my iPad to OS5 and all of my apps are gone. What did I do wrong and how can I get them back? Several were paid for. Thanks

    I just updated my iPad to OS5 and all of my apps are gone. What did I do wrong and how can I get them back? Several were paid for. Thanks

    If you have failed to make sure that any apps purchased on the iphone were transferred to your computer before updating, then you will have to redownload.
    Open itunes store, click Purchased, under Quick Links.

Maybe you are looking for

  • Possible fix for HP Printers under Snow Leopard

    1. Install GPL Ghostscript from gplgs-8.64so-ub.dmg 2. Install Foomatic-RIP.pkg from foomatic-rip-4.0.2.211.dmg 3. Install hpijs.pkg from hpijs-3.9.2-ub.dmg 4. Add printer in System Preferences. Choose "HP Deskjet 4200 Foomatic/hpijs" from driver lis

  • Duplicate Entries in APEX Report

    Hello everyone, I'm generating an APEX report that selects records and the user assigned to them. The records are all unique in the main table, but I have to link 4 different tables together to get all the information I need. In one of the tables, th

  • How to tell which items are in iTunes library on disc but not in program library?

    I made a mistake the other night and I deleted some items from my iTunes library ... but NOT from disc. These items are still in my 65 gig iTunes library on disc.  Somewhere. I'd like to re-add these songs.  Is there any way to tell which songs in th

  • Media Center on Textual

    Hi All Got tx with Vista and Media centre never started. Upgraded to W7 but still the same. Have gone through system with Microsoft with no success. Could there be a conflict with the QuickPlay or other software. Have clean installed,  system restore

  • Photos fail on iphone sync on itunes

    when I sync my iphone to itunes the option does not appear more photos. what I do ?? because I want to move photos from my pc to the iphone!