[BPC 10] SPRUNCALCACCOUNT

Hi,
we are testing BPC 10 and are using the account based calculations. In BPC 7.5 we used the account transformation to transfer the profit from the P&L to the BS (run via the default.lgf). This worked fine, when we changed data in the P&L the system updated the BS, when we ran the default.lgf without changes, the BS stayed as it was.
Now in BPC 10, every time default.lgf is run, it adds the profit from the P&L into the BS, so if I run it once it is fine, if I run it twice, the BS shows double the profit etc. Our model is YTD (consolidation).
The script we use is simply
*RUN_STORED_PROCEDURE=SPRUNCALCACCOUNT([%APP%], [%CATEGORY_SET%], [%RPTCURRENCY_SET%], [%SCOPETABLE%], [%LOGTABLE%],[INCOME])
Has anyone got any experience with BPC 10 and has seen this before?

Hi,
I've had this issue with script logic but never with business rules. And I would expect that it does not happen with business rules, bceause if I need to write a script that deletes the data before running the business rule, I might as well just write a script that performs the function of the business rule which would therfore be obsolete. I don't believe that is how it should be.
Thanks,
Arnold

Similar Messages

  • SPRunCalcAccount and length of identifier

    Hello,
    I got an issue when i try to use the SPRunCalcAccount stored procedure. I got an error related to the length of an identifier. When i check the stored procedure in the 'Programability' part of SQL Server Manager i see it's suppose to handle 2000 char for the currency...  I only send a string of 580 and yet it refused to execute it.
    Do you have any clue about that ?
    Thank for reading,
    Best regards,
    Damien
    Call no. 1, logic:G:\BPC\Data\WebFolders\Consolis\FINANCE
    ..\AdminApp\FINANCE\CalcAccount.lgx
    signeddata is YTD
    Building sub-query 1
    Query Type:0
    Max members:
    Executing SPRUNCALCACCOUNT [FINANCE],[ACT], [HCNDG_DKK,HCNDG_EUR,HOLD_EUR,HPADG_EUR,LDWBG_EUR,PCPHG_EUR,RAIL_EUR,RAIL_WAQ_EUR,RESA_EUR,RESA_WAQ_EUR,RFRA_EUR,RMAR_EUR,RMAR_MAD,RSATG_EUR],[SPSCOPE_158579],[SPLOG_737962]
    error running stored procedure SPRUNCALCACCOUNT [FINANCE],[ACT], [HCNDG_DKK,HCNDG_EUR,HOLD_EUR,HPADG_EUR,LDWBG_EUR,PCPHG_EUR,RAIL_EUR,RAIL_WAQ_EUR,RESA_EUR,RESA_WAQ_EUR,RFRA_EUR,RMAR_EUR,RMAR_MAD,RSATG_EUR],[SPSCOPE_158579],[SPLOG_737962]:The identifier that starts with 'HCNDG_DKK,HCNDG_EUR,HOLD_EUR,HPADG_EUR,LDWBG_EUR,PCPHG_EUR,RAIL_EUR,RAIL_WAQ_EUR,RESA_EUR,RESA_WAQ_EUR,RFRA_EUR,RMAR_EUR,RMAR_MA'is too long. Maximum length is 128.

    I would try to run the process in smaller buckets, using the Key Identifier, which is the 1st column in teh Translation Account table.  The use of the identifier goes into the SPRUNCALCACCOUNT string after the SCOPE and LOG table statements.
    Try and let us know.

  • SPRUNCALCACCOUNT CALC-030 No TIME Extract

    Hi,
    I was running a DM package to execute SPRUNCALCACCOUNT. I found an error after the DM package was finished.
        excerpt from log file:
    Executing SPRUNCALCACCOUNT
    'WJEFD','ACTUAL','LC','SPSCOPE_240831','SPLOG_597360','BSSTEP1'
    SPRunCalcAccount Version 7.105
    *ERROR* CALC-030 No TIME Extract
    What does this error mean? And how can this be fixed?
    BTW, the code in the script logic file is as follows:
    *RUN_STORED_PROCEDURE =
    SPRUNCALCACCOUNT('%APP%','%CATEGORY_SET%','%RPTCURRENCY_SET%','%SCOPETABLE%','%LOGTABLE%','BSSTEP1')
    *COMMIT
    FYI. I'm using BPC 7 MS
    Best Regards,
    Sunny

    Hi,
    I'm having the same issue and i do have %time_dim% in my modifyscript. The log information is below, can someone provide any insight? Thanks.
    Executing SPRUNCALCACCOUNT FINANCE,ACTUAL,USD,SPSCOPE_807623,SPLOG_47478,ROLLCPNI
    SPRunCalcAccount Version 7.0.114
    ERROR CALC-030 No TIME Extract
    Time to run stored procedure:1.7 sec.
    call 1 completed and data posted in 2.6 sec.
    Run completed in 2.7 sec.
    End time --->4:16:22 PM  -  Date:4/1/2010
    SPRunCalcAccount Version 7.0.114
    ERROR CALC-030 No TIME Extract
    Modifyscript
    'DEBUG(ON)
    PROMPT(RADIOBUTTON,%CHECKLCK%,"Select whether to check work status settings when running logic.",1,{"Yes, check for work status settings before running logic","No, do not check work status settings"},{"1","0"})
    PROMPT(SELECTINPUT,,,"Please select category, entity and time for income to CPNI",%CATEGORY_DIM%%ENTITY_DIM%%TIME_DIM%)
    TASK(Execute formulas,USER,%USER%)
    TASK(Execute formulas,APPSET,%APPSET%)
    TASK(Execute formulas,APP,%APP%)
    TASK(Execute formulas,SELECTION,%SELECTIONFILE%)
    TASK(Execute formulas,LOGICFILE,%APPPATH%\..\AdminApp\%APP%\Kia_InomceToCPNI.lgx)
    TASK(Execute formulas,RUNMODE,1)
    TASK(Execute formulas,LOGICMODE,1)
    TASK(Execute formulas,CHECKLCK,%CHECKLCK%)

  • SPRUNCALCACCOUNT - Connection failure

    Hi,
    We are using SAP BPC 7.0 SP6 on SQL Server 2005.
    I am currently looking at SQL Server 2008 for a future upgrade.
    In testing when I run packages which use SPRUNCALCACCOUNT I get a connection failure message
    error running stored procedure SPRUNCALCACCOUNT [STARS],[ACTUAL],'LC',[SPSCOPE_537233],[SPLOG_737904],'FR': Connection failure
    the DTSX packages were either replaced with ones from AppShell or recreated using the AppShell as a template.
    On this test server we have also changed the password on the installed user as a test for another issue.  I hope that this has nothing to do with the problem.
    Does anyone have any ideas how to rectify this issue.  I have tried adding the debugging, but that does not give any extra information.
    Regards,
    Mark

    Raman,
    Thanks for the reply.
    The following steps were followed to change the password.
    1. Change password
    2. reset login credentials in "SAP Server Manager"
    3. eset login credentials in SQL Server (MSSQLSERVER)
    4. reset login credentials in SQL Server Agent (MSSQLSERVER)
    5. reset login credentials in SQL Server Analysis Services (MSSQLSERVER)
    6. reset login credentials in SQL Server Reporting Services (MSSQLSERVER)
    7. reset login credentials in SQL Server Integration Services 10.0
    8. reset login credentials in all scheduled tasks (there are none, but don't forget)
    9. Reboot server
    Do you see anything missing from this checklist?
    Regards,
    Mark

  • SPRUNCALCACCOUNT able to execute without Currency dimension?

    Hi,
    I have an application, which doesn't have currency dimension. I'd like to use SPRUNCALCACCOUNT for copying values to cash flow statement.
    According to the example written in the Administration Guide, I need to put currency parameter in addition to application set, category etc.
    *RUN_STORED_PROCEDURE=SPRUNCALCACCOUNT([LEGALAPP], [ACTUAL], [USD],
    [%SCOPETABLE%], [%LOGTABLE%],[Transformation group],[MAXSTATUS])
    Is the currency dimension a must? I tried running it without putting currency and it doesn't work. Is there any workaround?
    Thank you!
    Sunny

    I would be very surprised if it works without a currency-type dimension. It doesn't look like anyone on the forum here has experience with this; you may want to confirm with SAP support.
    I would guess that the stored proc behind the scenes is looking up the name of the currency-type dimension, and then dropping that "USD" parameter into a SQL query's where clause in something like:
    ... select someStuff from mbrMyCurrencyTypeDimensionName where ID = 'USD'
    If you're feeling adventurous, you might try to change one of your existing dimensions to a currency-type dimension, if that's possible. It would only work if the calculation makes sense by passing a single member of that chosen dimension into the SP.
    A few versions back, I'd recommend playing with the system_constants.lgl file in the adminapp\application folder, to trick the BPC SQL logic in this way. The following would tell the system that the currency-type dimension is now named Product:
    *FUNCTION CURRENCYDIM=Product
    However, I think that these days, the stored procs all take their dimension-type metadata from tblDimension in the database, and not that system constants file.
    Otherwise, your only other choice may be to add another dimension to the app -- even though it only has one member, LC. Not ideal, but maybe it's still worthwhile if your calcs can be done using the Account Transformation rules.

  • How to use the RateEntity dimension in SAP BPC?

    Hello everbody,
    I am implementing a consolidation process using SAP BPC. I want to use the RateEntity dimension, to translate a same currency into different exchange rates depending on the company.
    I want the company which ID is GFU (which is from Brazil) in LegalEntity dimension is converted using a special exchange rate. I have added a GFU member in RateEntity dimension, and I have entered the exchange rates for the member GFU and for the member Global in RateEntity dimension.
    But the problem is that after I run the FX Restatement package, converted data for this company is not the proper one, because Global exchange rates have been used instead of GFU exchange rates. Does anybody know why? Do I have to do anything else? 
    Thank you very much for your time

    Do you see the search functionality in the upper left of the screen?
    Okay, now type in ecatt, press enter and in the next screen filter on blogs.

  • How to hide member Account dimension from BPC Administrator for Reporting

    Hi experts, i need to hide some members of the Account dimension for reporting, because those members dont use it anymore, but i dont want delete them.
    The question is: Does it exist any propierties for this dimension type that allows hiding members in reporting without set members in the BPC for Excel?
    I can create a report which contain the members i want to show, but if any change occurs (client desire) the report is outdated.
    Thank you in advance
    Ignacio Vazquez

    Ignacio,
    There is no function like that.
    You can choose below two options.
    1. Create a property like  'NOUSE'  and set a value 'Y' for unused member
         When you create EVDRE report, set a filter against that property that has value 'N'
         then those members will not be shown at the report.
    2. Create 'NOUSE' parent member and put members under this parent member.
    Maybe option 1 is more easier to do that.
    I hope it will help you
    James Lim

  • Using a variable in an allocation routine in SAP BPC 7.5NW

    Below is a very simple BPC allocation routine I wrote.  The data originally sits on a dummy profit center and needs to be allocated to all itu2019s relevant profit centers. These relevant profit centers can be derived from the profit center hierarchy (BPC_ + ID of entity).
    When I hardcode the Profitcenter and the entity, the routine works (as below). But what I really want is that it works variable as in the line that I commented out. Any idea whether this could work (BPC 7.5NW)  ? If not, I am afraid I need to go to ABAP, which is really a pitty
    //ALLOCATION PROCEDURE CONVERSION RATE
    //=====================================
    *RUNALLOCATION
    *FACTOR=1
    *DIM SEBACCOUNT WHAT=CONV_RATE; WHERE=<<<; USING=<<< ; TOTAL=<<<
    //*DIM PROFCENT WHAT=DUMPC; WHERE=BAS(BPC_"%ENTITY_SET%");USING=<<<; TOTAL=<<<
    *DIM PROFCENT WHAT=DUMPC; WHERE=BAS(BPC_OKB);USING=<<<; TOTAL=<<<
    *DIM ENTITY WHAT=OKB; WHERE=<<<; USING=<<< ; TOTAL=<<<
    *ENDALLOCATION
    Thanks
    Nico

    Gersh,
    It works now. I have implemented the below code (ENTITY needed to contain the variable as well). The relationship profitcenter and entity is very important as it derives the relevant profitcenters from the profit center hierarchy (e.g. all profitcenters under the legalentity node).
    //ALLOCATION PROCEDURE CONVERSION RATE
    //=====================================
    *FOR %ENT% = %ENTITY_SET%
    *RUNALLOCATION
    *FACTOR=1
    *DIM SEBACCOUNT WHAT=CONV_RATE; WHERE=<<<; USING=<<< ; TOTAL=<<<
    *DIM PROFCENT WHAT=DUMPC; WHERE=BAS(BPC_%ENT%);USING=<<<; TOTAL=<<<
    *DIM CATEGORY WHAT=FCSTCUR; WHERE=<<<; USING=<<< ; TOTAL=<<<
    *DIM ENTITY WHAT=%ENT%; WHERE=<<<; USING=<<<; TOTAL=<<<
    *ENDALLOCATION
    *NEXT
    Thanks
    Nico

  • Error while creating a new Dimension/Model in BPC 10.0 NW

    Hello Experts,
    I am using BPC 10.0 NW system.
    When I try to create new Dimensions or Models I get the following Error Message.
    "Error in Admin module or a component used by Admin module.
    Failed to create SAP NetWeaver BI InfoObject for dimension."
    I am assigned to all the needed task profiles to create Dimensions and Models.
    Please assist me to resolve this issue.
    Thanks & Regards,
    Archana

    Thanks Roberto.
    The error was coming because while creating the user id "SAP_ALL" Profile was not assigned. So I was not able to create Dimensions and models.
    Now the issue is solved.

  • Type Mismatch error while saving a BPC Report using eTools

    Hi,
    Iam getting a 'type mismatch' error when trying to save a BPC Excel  workbook using eTools>Save Dynamic Template >Company>eExcel. I am saving it as an .xlsx file.
    Can anyone please help out and let me know why I am getting this error.
    Thanks
    Arvind

    Hi,
    You need to save the file as .xls extension.

  • Help needed in BPC 10 Member Formula

    Hello Experts,
    We are in BPC 10 NW SP 11.
    Facing below error in report for Ratios hierarchy after
    member formula is built.
    Formulas is related to ratio
    IIF([ACCOUNT_GL].[RE_IREV]=0, NULL, [ACCOUNT_GL].[RE_IAADJ]/[ACCOUNT_GL].[RE_IREV]);SOLVE_ORDER=10
    RE_IREV is Income node
    RE_IAADJ is expense node.
    I have tried formula by removing square brockets for ACCOUNT
    DIM member. Still no success.
    Surprisingly, same formula, same hierarchy works fine in
    another Model.
    I have also compared measures in both the models, both are
    identical.
    Error in the report as below.
    Server message:
    code: UJO_READ_EXCEPTION_018
    severity: error
    description: MDX statement error: Value RE_IREV
    /CPMB/WADNXJI for characteristic /CPMB/WADNXJI unknown
    log id: KoFXP08mHM3X08002fJHZW
    DATAVALUE: Value RE_IREV /CPMB/WADNXJI for characteristic
    /CPMB/WADNXJI unknown
    MDX: WITH  MEMBER
    [Measures].[PERIODIC] AS 'IIF([/CPMB/WADNXJI               
    PARENTH2].[2/CPMB/ACCTYPE]="INC",-[Measures].[/CPMB/SDATA],IIF([/CPMB/WADNXJI                 PARENTH2].[2/CPMB/ACCTYPE]="EXP",[Measures].[/CPMB/SDATA],IIF([/CPMB/WADNXJI               
    PARENTH2].[2/CPMB/ACCTYPE]="AST",([Measures].[/CPMB/SDATA],
    CLOSINGPERIOD([/CPMB/WADBQQD               
    PARENTH1].[LEVEL02])),IIF([/CPMB/WADNXJI                 PARENTH2].[2/CPMB/ACCTYPE]="LEQ",-([Measures].[/CPMB/SDATA],
    CLOSINGPERIOD([/CPMB/WADBQQD               
    PARENTH1].[LEVEL02])),-[Measures].[/CPMB/SDATA]))))' SOLVE_ORDER=3  MEMBER [/CPMB/WADNXJI                 PARENTH2].[RE_ALAE_RATIO] AS
    'IIF([/CPMB/WADNXJI               
    PARENTH2].[RE_IREV                         /CPMB/WADNXJI]=0,
    NULL, [/CPMB/WADNXJI               
    PARENTH2].[RE_IAADJ                      
    /CPMB/WADNXJI]/[/CPMB/WADNXJI                 PARENTH2].[RE_IREV                         /CPMB/WADNXJI])'
    SOLVE_ORDER=10  SELECT NON EMPTY  {[/CPMB/WADBQQD                 PARENTH1].[2013.Q1                         /CPMB/WADBQQD]
    ,[/CPMB/WADBQQD               
    PARENTH1].[2013.Q2                         /CPMB/WADBQQD]
    ,[/CPMB/WADBQQD                 PARENTH1].[2013.Q3                         /CPMB/WADBQQD]
    ,[/CPMB/WADBQQD               
    PARENTH1].[2013.Q4                         /CPMB/WADBQQD]
    ,[/CPMB/WADBQQD               
    PARENTH1].[2013.TOTAL                      /CPMB/WADBQQD] } * {[/CPMB/WADNXJI                 PARENTH2].[RE_ALAE_RATIO]
    ,[/CPMB/WADNXJI               
    PARENTH2].[RE_ALL_RATIOS                   /CPMB/WADNXJI] ,[/CPMB/WADNXJI                 PARENTH2].[RE_COMBINED_RATIO]
    ,[/CPMB/WADNXJI               
    PARENTH2].[RE_EXPCOMM_RATIO] ,[/CPMB/WADNXJI                 PARENTH2].[RE_LOSS_RATIO]
    ,[/CPMB/WADNXJI               
    PARENTH2].[RE_OTHERCOMM_RATIO] ,[/CPMB/WADNXJI                 PARENTH2].[RE_STAT_COMB_RATIO]
    ,[/CPMB/WADNXJI               
    PARENTH2].[RE_STAT_EXP_RATIO] ,[/CPMB/WADNXJI                 PARENTH2].[RE_TOT_EXP_RATIO]
    ,[/CPMB/WADNXJI               
    PARENTH2].[RE_TOT_LOSS_RATIO] ,[/CPMB/WADNXJI                 PARENTH2].[RE_ULAE_RATIO] } ON
    0  from
    [/CPMB/WAMSZKS/!!O/CPMB/WAMSZKS]
    WHERE ( [Measures].[PERIODIC] ,[/CPMB/WAD3OFZ                 PARENTH1].[ACTUAL]
    ,[/CPMB/WAD0VHV               
    PARENTH1].[ALL_CHANNELS                    /CPMB/WAD0VHV] ,[/CPMB/WAD021F                 PARENTH1].[LEGAL                           /CPMB/WAD021F]
    ,[/CPMB/WADME7W                 PARENTH1].[ALL_DATASRC                     /CPMB/WADME7W]
    ,[/CPMB/WAD0DZ0               
    PARENTH1].[FGI                           
    /CPMB/WAD0DZ0] )
    V1:Value RE_IREV /CPMB/WADNXJI for characteristic /CP
    V2:MB/WADNXJI unknown
    V3:
    V4:
    Thanks,
    Senoy

    Hello Vadim,
    Thanks for the reply.
    I am able to process ACCOUNT_GL dimension.
    Also, I am using standard TIME dimension.
    I found that the virtual provider(created by using source of data for my model) too is showing the error, when I place above member formula.
    I am attaching the error messae when I try to do list records in the virtual provider.
    When I remove the member formula, everything is fine
    Thanks

  • Can we enter data in multiple currencies in BPC

    Hi all,
    In BPC, is it possible to enter data in transaction currencies other than in local currency?  For example, if the local currency of an entity is USD, but I need to enter data for the same Accounts in EUR, MYR and SGD as well and not have the system translate the amount in local currency to EUR, MYR and SGD.
    Thanks.

    Hi Tara,
    Thanks for your response.
    There are several reasons why we might need to enter the data in various currencies other than the local currency.
    Firstly, like you have mentioned, we need to enter the local as well as the translated currency amounts for accounts that have to be translated at historical rates.  Examples of such accounts will be equity account as you have pointed out.  If I understand you correctly, you are saying that it is possible to enter an amount in translated currency in addition to entering the amount in local currency?
    Secondly, due to requirements of a relatively new accounting standard, companies need to quantify the sensitivity of any exposures to a foreign currency to foreign exchange rates changes. 
    For example, the local currency Entity A is USD and it has a bank deposit in SGD 200.  If the exchange rate at report date is USD 1 to SGD 2, the SGD bank deposit will be translated and reported as USD 100.  Accounting standard requires the company to quantify how much the company will stand to gain or lose if the foreign exchange goes up by 10% or goes down by 10%.
    Thirdly, accounting standard also dictates that company discloses exposures to all currencies for financial instruments not denominated in the functional currency of the entity.
    Regards

  • Not able to refresh data in Xcelsius from BPC

    Hi,
    I have created a simple xcelsius dashboard with refresh button and data grid.
    When I click reload in the preview mode am getting the log on screen where I am trying to connect to the address  http://servername in the EPM connection.
    But I am not able to log on with BPC user id and password.
    am using BPC MS 7.5
    please give me your expert advice.
    thanks,
    Bala
    Edited by: Bala on Jun 15, 2011 3:08 PM

    Hi Bala,
    Please review the How To Guide for this topic (note that this is for BPC 7.5 NetWeaver):
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/8034121d-8419-2e10-229a-99ec678b64c5
    Regards,
    Zane

  • SAP Server Manager Error after BPC installation on domain controller

    Hi, I have installed BPC on a domain controller with windows 2003 server (english version). When I launch diagnostic in the "SAP Server Manager"  I have the following error message " Current user Name does not have permission for Adminitrators group" . I think that the application it's taking the local user (the diagnistic show that de current user is "server name\user name" instead of "domain name\user name" but I login with the domain Administrator ( this server is a domain controller don't have local users).
    Thanks

    Hi
    I have the same issue that you had.
    "I have installed BPC on a domain controller with windows 2003 server (english version). When I launch diagnostic in the "SAP Server Manager" I have the following error message " Current user Name does not have permission for Adminitrators group" . The application it's taking the local user (the diagnistic show that de current user is "server name\user name" instead of "domain name\user name" but I login with the domain Administrator ( this server is a domain controller don't have local users)."
    Can you please let me know how you solved this ?
    thanks & regards
    Lokesh

  • Not able to see the result in particular column of BPC report

    Dear All,
    I have problem in one of the BPC report where I am not able to see the result into one column but rest of the users are able to see the result for same column in same report without any issues.
    Generally, I used this report frequently but having such problem from last few days. Excel has created any logs which I need to clear? Please advice.
    Request your help to resolve such problem please.
    If you need any information, please let me know.
    Thank You
    Kind Regards
    Anukul

    Hello Anukul,
    In the report what type of data you are trying to check in that column. can you please brief about report.
    And also please check the excel cell format (right click and check it is a numeric or character), which may help to resolve this issue.
    Regards,
    Rajesh.K

Maybe you are looking for

  • ITunes Makes Me Log in Every Time I Open It

    iTunes v. 12.0.1.26 and Yosemite updates recently installed. 2012 27" iMac iTunes makes me log in every time I open it. I thought the problem was fixed in THIS THREAD and it was a very helpful set of instructions by Linc but the problem keeps recurri

  • Fetching AR open items and customer's credit limit to Collateral Management

    Hi Is there a badi that you can use to fetch receivables data (open invoices/items and credit limit) from FI-AR to Collateral Management System? Answer: The badi Get Receivables has to be used BAPI1010_6 u201ECreditAccountDetail Other bapi of interes

  • How to print all lines in alv report?

    hi i am using the functions 'FP_JOB_OPEN'  and 'FP_JOB_CLOSE'  in order to print the form i want it to be printed without prompting me the 'PRINT' window and pushing the ok button . is there a way to do that ? i put reqimm = 'X' and nodialog = 'X' bu

  • Mod_rewrite for Tomcat 5?

    Hi all I'm learning JSP right now; till now I worked with PHP, and with my used WAMP (XAMPP) I had the possibility to use the Apache mod mod_rewrite to rewrite URL's. Can I use this module also for Tomcat? I tested it with a .htaccess file in a folde

  • HP Recovery Manager Back Up Disc Problem

    I backed up my HP Pavillion P-6240F computer files using HP Recovery Manager to create  backup discs. I am using Window 8.1  operating system. When I tried to restore this data, I used the .exe file to start the process. During the 3rd disc the proce