Hyperion business rules and calc scripts

Hi...can anyone differentiate HBR and Calc scripts.. what is the advantage HBR got over Calc scripts.. replies will be highly appreciated

Hi
there are many you can easily get answer reading thro documentation.
major difference is the runtime prompt in HBR , which differentiates Calc script.
however I recently learned that you can put run time prompts in calc scripts lusing VBA macros.
good luck.

Similar Messages

  • Error while running Business Rules and Calc scripts

    We are trying to run calc script in a report and we received the error saying that " An error occured while running the specified cacl script.Check the log for details", we received the similar error when working with Business rules.
    This started when we tried to point JVMMODULELOCATION in essbase.cfg to null from its existing link to a java path.
    This error persists even after we changed the config file to its original one.
    Hyperion 9.3.1
    Oracle 10g
    Weblogic 9
    Solaris 10 64 bit
    john , please help. i will provide ytou with the exact error messages.. please tell me what this means ---> This started when we tried to point JVMMODULELOCATION in essbase.cfg to null from its existing link to a java path
    what is that JVMMODULELOCATION for??
    thankyou,
    Rciky

    Hi,
    Here is details on what the JVMMODULELOCATION is :- http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/techref.htm
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Business Rules and Calc Manager

    Can anyone help with these questions:
    1) Are you supposed to be able to run business rules from/via Smart View?
    2) Since HBR is being decomm'd in 1.2.2 and Calc Manager fully replaces it, are you supposed to be able to run Calc Mgr calcs from/via Smart View
    3) Can you create Run Time Prompts in Calc Manager for an Essbase (not Planning) connection only? Since you can in HBR surely you can in Calc Mgr? It was greyed out in my test.
    Thanks
    Steve

    Hi Steve,
    To date Smart View only runs rules against Essbase when using Hyperion Planning. Using rules in conjunction with forms is one of the value propositions of Hyperion Planning.
    The guide is pretty clear the RTP's are for Planning only.
    Suggest you take a read through the Calculation Manager admin guide available at: http://docs.oracle.com/cd/E17236_01/epm.1112/cmgr_admin.pdf
    And the full EPM product docs are always nice to have on hand from http://www.oracle.com/technetwork/middleware/performance-management/documentation/index.html or from the quick link area on my blog.
    Regards,
    John A. Booth
    http://www.metavero.com

  • Hyperion Business Rules and Essbase

    I have an allocation business rule that uses the DATACOPY command to copy data from one cost center to another. I would now like to have the sum of 2 cost centers copied into the allocation cost center. In an Essbase calc script, I accomplished this by FIXing on some dimensions and then:
    DATACOPY cc1 TO alloc_cc;
    alloc_cc = alloc_cc + cc2
    This works fine in a calc script, but the business rule does not like the "alloc_cc = alloc_cc + cc2" line. How do I accomplish this task in a business rule?
    Thanks.
    Terri T.

    when I validate, I get this message.
    Detail:Cannot calculate. Essbase Error(1200354): Error compiling formula for [alloc_cc] (line 13): expected type [NUMBER] found [STRING] (["CC2"]) in function []
    Edited by: Terri T on Jan 30, 2013 11:07 AM

  • HI John: Advise for Business Rule or Calc Script

    Hi John,
    I need your Advice regarding Business Rule as earlier i took all ur advice seriously and also succeeded; This is toughest area for me.
    1) Any useful document which help me to understand Business Rule apart from HBR admin pdf ?
    1) Any Blog/Source/PDF/PPT especially for Planning Business Rule ?
    Thanks for any Help.
    Regards
    N Kumar

    Hi,
    Well business rules are really just calc scripts with a few additional features.
    So to understand business rules a good place to start is looking at calc script functions and commands, the essbase technical reference includes details on all this :- http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/techref.htm
    If you get stuck on calc scripts then the essbase forum is also a good place to ask for advice as there are many experts on there.
    I have not seen many sources for information relating to just business rules.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Calc script, Business rule and business rule macro

    Hi John,
    Can we use calc script , BR sequence and a BR macro against different databases at a single go.
    In one calc script or BR sequence or BR macro itself can i calculate 2 databases

    If possible could you not start every post with my name, there are lots of others helping on this forum and they provide excellent answers
    Calc Scripts run against one database.
    Sequences can contain multiple business rules, in the launch variables you can set the database to run against for each rule (outside of the planning application though)
    Macros are called from a business rule and are run against the database the calling rule is being run against.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Planning ,Business rules and Reporting Analysis Backup

    Hi
    Currently we have migrated our Hyperion Planning EPMA 11.1.1.2 applications from TEST to PROD on windows 2003 Server (2 boxes).Essbase Server on UNIX and Application Server is OAS.We need to take backups on daily basis for Hyperion planning, BR's ,Reporting Analysis , Financial Reporting and Essbase , Open LDAP.
    But now We are taking only backups for Essbase and Open LDAP by using maxl script and Backup.bat file (Scheduled in Windows Scheduler)
    As per the documentation we are going to take the backups for the Hyperion planning, BR's ,Reporting Analysis , Financial Reporting also.
    Our concerns are
    1)Is there any BAT files for planning , BR'S and Reporting like open LDAP Backup.BAT
    2) If doesn't have how can we move ?(not manually, Using Windows Scheduler)
    3) Is there any necessity to create new Batch scripts for this action?
    Could you please any one help me out.
    Thanks in advance

    Hi,
    There are no other batch scripts I am aware of, you will have to create any new ones.
    In regards to backing up with business rules and planning, that would be mainly be backing up the repository.
    You can also use LCM to export your objects and this can be called from command line.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Sharing information between Hyperion Business Rules

    I am trying to share information between two Hyperion Business rules in EAS console.
    Suppose for example , I calculated a value and stored in local variable in one Business Rule.
    I would like to have this information in another business rule.
    Any idea about the possiblities.?
    I tried to use Global Variables in EAS but the Global variables are fixed and cannot be changed.
    Thanks ,
    Rajan

    Can you make a HBR local variable the target of a value? Doesn't that local variable have to resolve to a member in an Essbase database sooner or later if it's going to receive a data value from a formula?
    Or did you create a local variable as Real and then used that as the target? Maybe that would do it? (Obviously I've never done this.)
    Could you create a temporary place in the database to stick it and then delete it?
    Something like:
    1) Local variable = some kind of formula/calc
    2) No Account->No Product->No Scenario->whatever = Local Variable value. The point is an unused member that will let you set a value without overwriting permanent numbers. That shouldn't be too hard to find in a Planning app.
    3) In HBR #2, go after that member combination and number from #2, stick it into a local variable, and set that location in #2 to #Missing.
    Kind of painful, but it shouldn't really be that tough. You will need to make sure you create the block in #2.
    Regards,
    Cameron Lackpour

  • Planning application Business rules and Rulesets are disappearing

    Hi,
    Our Planning application Business rules and Rulesets are disappearing after services refresh.
    *2011-09-28 09:45:24,740 WARN Thread-16 com.hyperion.calcmgr.common.GenericLogger - [Hyperion][Oracle JDBC Driver][Oracle]ORA-00001: unique constraint (EPM11_CALC.UKCALCMGRDEPLOYEDVIEW1) violated*
    2011-09-28 09:45:24,740 WARN Thread-16 com.hyperion.calcmgr.common.GenericLogger -
    com.hyperion.calcmgr.common.CalcMgrLog4jLogger$HBRLogThrowable
         at com.hyperion.calcmgr.common.CalcMgrLogger.warning(Unknown Source)
         at com.hyperion.calcmgr.excp.DatabaseException.<init>(Unknown Source)
         at com.hyperion.calcmgr.excp.DatabaseException.<init>(Unknown Source)
         at com.hyperion.calcmgr.excp.DatabaseException.throwException(Unknown Source)
         at com.hyperion.calcmgr.database.DBDeployView.add(Unknown Source)
         at com.hyperion.calcmgr.database.DBDeployedView.setDeployedStatus(Unknown Source)
         at com.hyperion.calcmgr.database.DBRepositoryManager.setDeployStatus(Unknown Source)
         at com.hyperion.calcmgr.core.CalcMgrServer.setDeployStatus(Unknown Source)
         at com.hyperion.calcmgr.core.CalcMgrServerService.setDeployed(Unknown Source)
         at com.hyperion.calcmgr.core.DeployManager.updateDeployStatus(Unknown Source)
         at com.hyperion.calcmgr.abl.planning.PartialDeployer.deploy(Unknown Source)
         at com.hyperion.calcmgr.abl.planning.PartialDeployer.deploy(Unknown Source)
         at com.hyperion.calcmgr.abl.core.DeployThread.run(Unknown Source)
    2011-09-28 09:45:24,740 WARN Thread-16 com.hyperion.calcmgr.common.GenericLogger - Error while executing query: 'insert into CALCMGRDEPLOYEDVIEW (PRODUCTTYPE, APPLICATIONNAME, APPLICATIONID, PLANTYPE, CALCTYPE, OBJECTID, OBJECTTYPE, NAME, DEPLOYTIME, BODY) values(?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'
    2011-09-28 09:45:24,740 WARN Thread-16 com.hyperion.calcmgr.common.GenericLogger - [Hyperion][Oracle JDBC Driver][Oracle]ORA-00001: unique constraint (EPM11_CALC.UKCALCMGRDEPLOYEDVIEW1) violated
    java.sql.SQLException: [Hyperion][Oracle JDBC Driver][Oracle]ORA-00001: unique constraint (EPM11_CALC.UKCALCMGRDEPLOYEDVIEW1) violated
         at hyperion.jdbc.base.BaseExceptions.createException(Unknown Source)
         at hyperion.jdbc.base.BaseExceptions.getException(Unknown Source)
         at hyperion.jdbc.oracle.OracleImplStatement.execute(Unknown Source)
         at hyperion.jdbc.base.BaseStatement.commonExecute(Unknown Source)
         at hyperion.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source)
         at hyperion.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source)
         at com.hyperion.calcmgr.database.DBDeployView.updateDB(Unknown Source)
         at com.hyperion.calcmgr.database.SqlTable.insertDB(Unknown Source)
         at com.hyperion.calcmgr.database.QueryContext.insert(Unknown Source)
         at com.hyperion.calcmgr.database.QueryContext.insert(Unknown Source)
         at com.hyperion.calcmgr.database.DBDeployView.add(Unknown Source)
         at com.hyperion.calcmgr.database.DBDeployedView.setDeployedStatus(Unknown Source)
         at com.hyperion.calcmgr.database.DBRepositoryManager.setDeployStatus(Unknown Source)
         at com.hyperion.calcmgr.core.CalcMgrServer.setDeployStatus(Unknown Source)
         at com.hyperion.calcmgr.core.CalcMgrServerService.setDeployed(Unknown Source)
         at com.hyperion.calcmgr.core.DeployManager.updateDeployStatus(Unknown Source)
         at com.hyperion.calcmgr.abl.planning.PartialDeployer.deploy(Unknown Source)
         at com.hyperion.calcmgr.abl.planning.PartialDeployer.deploy(Unknown Source)
         at com.hyperion.calcmgr.abl.core.DeployThread.run(Unknown Source)
    2011-09-28 09:45:24,740 WARN Thread-16 com.hyperion.calcmgr.common.GenericLogger - Error while executing query: 'insert into CALCMGRDEPLOYEDVIEW (PRODUCTTYPE, APPLICATIONNAME, APPLICATIONID, PLANTYPE, CALCTYPE, OBJECTID, OBJECTTYPE, NAME, DEPLOYTIME, BODY) values(?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'[[Hyperion][Oracle JDBC Driver][Oracle]ORA-00001: unique constraint (EPM11_CALC.UKCALCMGRDEPLOYEDVIEW1) violated
    com.hyperion.calcmgr.excp.DatabaseException: Error while executing query: 'insert into CALCMGRDEPLOYEDVIEW (PRODUCTTYPE, APPLICATIONNAME, APPLICATIONID, PLANTYPE, CALCTYPE, OBJECTID, OBJECTTYPE, NAME, DEPLOYTIME, BODY) values(?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'[[Hyperion][Oracle JDBC Driver][Oracle]ORA-00001: unique constraint (EPM11_CALC.UKCALCMGRDEPLOYEDVIEW1) violated
         at com.hyperion.calcmgr.excp.DatabaseException.throwException(Unknown Source)
         at com.hyperion.calcmgr.database.DBDeployView.add(Unknown Source)
         at com.hyperion.calcmgr.database.DBDeployedView.setDeployedStatus(Unknown Source)
         at com.hyperion.calcmgr.database.DBRepositoryManager.setDeployStatus(Unknown Source)
         at com.hyperion.calcmgr.core.CalcMgrServer.setDeployStatus(Unknown Source)
         at com.hyperion.calcmgr.core.CalcMgrServerService.setDeployed(Unknown Source)
         at com.hyperion.calcmgr.core.DeployManager.updateDeployStatus(Unknown Source)
         at com.hyperion.calcmgr.abl.planning.PartialDeployer.deploy(Unknown Source)
         at com.hyperion.calcmgr.abl.planning.PartialDeployer.deploy(Unknown Source)
         at com.hyperion.calcmgr.abl.core.DeployThread.run(Unknown Source)
    java.sql.SQLException: [Hyperion][Oracle JDBC Driver][Oracle]ORA-00001: unique constraint (EPM11_CALC.UKCALCMGRDEPLOYEDVIEW1) violated
         at hyperion.jdbc.base.BaseExceptions.createException(Unknown Source)
    Thanks
    Radhika

    This post may be helpful - Re: Business Rules are disappearing from forms in Hyperion Planning v 11.1.1.3
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Enable/select/change to Business rules from Calc Manager in App settings

    Hi all,
    Somehow we are Unable to Expand the Planning Node in Essbase Administration Services (EAS) Console When Creating Business Rules. I am not sure is it
    I am not sure, is it because of one of the application has calc settings as calc manager in under application settings in dev environment, but in other environment all applications set it as Business Rules.
    I was trying to change from Calc Manager to Business rules in App settings, but it is grayed out and not able to change to Business rule from calc manager.
    Please suggest me.
    Thanks,

    If it say been set incorrectly then you may need to update one of the relational tables for the application.
    Table - HSP_SYSTEMCFG
    Field - CALC_ENGINE_OPTIONS
    Values - 1=HBR, 2=CalcMgr
    Restart the planning application web app service after making changes.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Updatig External ID for a business rule or associated script

    Good Afternoon,
    Is there a way to update the External ID of a business rule and it's associated script after it has been saved.
    Thanks,
    Kyle

    Hi Kyle,
    It's not possible to change the External ID after it's been saved. It's the same behavior you see with script definitions.
    Regards,
    Vikram

  • Upgrade Business rules with Calc Manager

    Hello Gurus,
    Recently performed an upgrade from 11.1.1.3 to 11.1.2.2 by replicating the Database to a new database machine.
    I had Business rules in 11.1.1.3 and did not perform any steps to migrate the rules to Calculation manager in 11.1.2.2
    The doubt I have is,
    1. Are the business rules automatically upgraded when performing upgrade by EPM system configurator (since the database is replicated)
    2. If so, how do I see the business rules in 11.1.2.2 environment? How can I use migrate feature option.
    Thanks
    HyperionEPM.

    From 11.1.2.2 documentation:
    Upgrade Wizard
    If your application used Oracle Hyperion Business Rules, the Upgrade Wizard automatically converts Business Rules business rules to Oracle Hyperion Calculation Manager business rules. Release 11.1.2.2 supports onlyBusiness Rules business rules as the calculation module.
    Notes:
    •Classic application administration is now called Oracle Hyperion Planning application administration (versus Oracle Hyperion EPM Architect application administration).
    •The Upgrade Wizard automatically upgrades applications having Oracle Hyperion Business Rules business rules, converting them to Calculation Manager business rules. However, the Upgrade Wizard does not automatically convert Release 11.1.2.1 applications having Oracle Hyperion Calculation Manager business rules. For those upgrade instructions, see the Oracle Enterprise Performance Management System Installation and Configuration Guide.
    Business Rules Maintenance Release and Upgrade Installation PrerequisitesIf you are using Business Rules, you must migrate to Calculation Manager rules in Release 11.1.2.2. Before migrating business rules, you must perform prerequisite tasks. Note that these tasks are required if you are applying the maintenance release or if you are upgrading.
    To prepare to migrate Business Rules, perform the following tasks in your current Business Rules environment before installing Release 11.1.2.2:
    1.in Business Rules, within the Rule Editor, remove the associated outline (that is, the design time location) from each business rule. After you do this, the Associated Outline drop-down list should display the text, Select Outline.
    2.On the Locations tab of the Rule Editor, ensure that each business rule has a valid launch location, which must be an absolute location. Although “All Locations” is valid in Business Rules, when you migrate business rules, you must provide the details of a specific launch location (that is, the application type---Planning or Essbase, the server name, the application name, and the database or plan type). If you want a business rule to be valid for multiple launch locations, you must provide the details for each location. The locations must be in different applications; you cannot migrate the same business rule to different plan types in the same application within Calculation Manager.
    If the rule is a part of a sequence, then the launch location of the rule within the sequence must be one of the launch locations listed in the Locations tab of the rule.
    3.On the Access Privileges tab of the Rule Editor, ensure that each business rule has security defined for a specific location or locations and not “All Locations.” If multiple locations are defined for a business rule on its Locations tab, you must add security for each location individually.
    4.Do not modify rules in Calculation Manager until migration is completed.
    5.If you are using Business Rules with Planning, as a precaution, create a backup of the rules: Use Administration Services to export the rules to XML in Business Rules format. If you are upgrading from 11.1.1.3 or 11.1.1.4, also export the rules to Calculation Manager format. EPM System Configurator exports the rules during database configuration for use during application upgrade.
    6.If you are an Essbase-only Business Rules user, you must export business rules. To export the Essbase rule from Business Rules:
    a.From Administration Services Console, right-click the Business Rules node and select Export.
    b.Export the rules in Business Rules format and then select all of the Essbase rules in the repository. If you are upgrading from 11.1.1.3 or 11.1.1.4, also export the rules to Calculation Manager format.
    c.Specify the location to save the XML file, and then click OK. If you are upgrading, the location should be a shared drive that is accessible from the upgraded environment.
    Make a note of the location. You import the file later in the process.
    Migrating Business Rules to Calculation Manager for use with Planning
    If you applied the maintenance release to move from Planning Release 11.1.2.0 or 11.1.2.1 to Release 11.1.2.2, and you were using Business Rules rules, you must migrate the rules to Calculation Manager rules.
    Before you migrate, ensure that user directories and native users with the same SID are available when you upgrade Shared Services.
    Ensure that the Planning applications are upgraded to the current release and are available in Calculation Manager under SYSTEM View.
    To migrate Business Rules rules to Calculation Manager rules:
    1.In Calculation Manager, select the migrated Planning application, and then select Migrate.
    The data that was exported during database configuration with EPM System Configurator is imported to Calculation Manager.
    2.Repeat for each Planning application.
    3.Deploy the rules from Calculation Manager to Planning. See the Oracle Hyperion Calculation Manager Designer's Guide.
    After migrating business rules and rules security, if any of the rules had multiple launch locations and you migrated to more than one location, Calculation Manager creates a rule for the first migration, and shortcuts for all subsequent migrations. If the rule had rule-level variables, for the shortcuts that are created in the application in the new environment , its variables are moved to the Plan level. In this scenario, test rules in your environment to ensure that they work as expected.
    If you still have problems, raise an SR and we can get on a call to figure out why the rules are not coming over.
    -Sree

  • Business Rules and BPM

    Anybody here knows the difference between Business Rules and BPM..
    We can do pretty much everything with a Business Rules Engine as we would do with BPM , then in which scenario should we use BPM and in which scenario should we use Business Rules Engine?
    Ofcourse Business Rules Engine has more complex set of rules than any BPM product in the market for .eg. ILOG Business Rules...

    BPM and a rules engine are different. Both are important, but they have different uses.
    Oracle BPM Studio is used by Business Analysts and Developers to model processes, integrate underlying components (including business rules) and develop user interfaces.
    There's an Engine that executes the processes that have been modeled. It sends the work item instances to the right person or persons with the right data when the work item reaches an interactive activity in the process. Similarly the Engine has invokes the underlying components specified in the process when the work item instance reaches an automatic activity.
    There's an out of the box Workspace runtime that lets end users manage and run their work item instances as they flow throughout the processes.
    We can business rules inside the processes, but one does not replace the other.
    Dan

  • Problem with balance carry forward business rule and automatic adjustments

    Hi All,
    I faced with issue when run BCF business rule and consolidation process. According sap courses BPC440 members with A(automatic adjustments) type should carry forward automatically, and I(imputable), M (adjustments) members should carry forwarded by bcf business rule.
    When I set up my BCF business rule I use property "Category_for_ope" in Category dimension. But this rule not work properly, then I use notes:
    1784365 - Category_for_ope property should not effect Consolidation.
    1902677 - The property category_for_ope shall work for consolidation
    After applying those notes, system work as I aspect. After i run consolidation first time system carry forward my automatic adjustment from Category "Expected" to "PLAN_Y0" and this is correct!!!. But when i run consolidation process second and third time system duplicated automatic adjustments in Category "PLAN_Y0".
    Someone can help me with this Issue?
    And sorry for my english

    Hi,
    Can you try as follows :
    *RUN_PROGRAM COPYOPENING
    CATEGORY = %C_CATEGORY_SET%
    CURRENCY = %RPTCURRENCY_SET%
    TID_RA = %TIME_SET%
    *ENDRUN_PROGRAM
    hope it helps...
    regards,
    Raju

  • Business rules and active databses

    All,
    Are there any good links where I can read about the limitations of active database features (such as constraints and triggers) and other options and alternatives to implementing business rules?
    Regards

    BPM and a rules engine are different. Both are important, but they have different uses.
    Oracle BPM Studio is used by Business Analysts and Developers to model processes, integrate underlying components (including business rules) and develop user interfaces.
    There's an Engine that executes the processes that have been modeled. It sends the work item instances to the right person or persons with the right data when the work item reaches an interactive activity in the process. Similarly the Engine has invokes the underlying components specified in the process when the work item instance reaches an automatic activity.
    There's an out of the box Workspace runtime that lets end users manage and run their work item instances as they flow throughout the processes.
    We can business rules inside the processes, but one does not replace the other.
    Dan

Maybe you are looking for