Hyperion Planning business rules migrating to Calc Manager issue

It was suggested I post this in calc manager as well, so I hope cross posting is allowed!
We are trying to migrate from Hyperion Planning 11.1.1.3 to 11.1.2.2
Our business rules were migrated to Calc Manager by our IT team. The rules run (for the most part).
Our main complaint about this migration is that it excluded our comments inside the business rules and added it's own!
When we first open the rule it is in graphical mode. But on the Script Tab I can see our orignal Business rule, but it's missing comments. Not all comments -- those at the top of the rule are intact, but after it starts getting into the meat of the rule, it loses many, but not all of the comments. When I chose to edit this rule in script mode, then calc manager adds tons if its own comments, making the code very junky to read.
So, multiple questions -- how do we get the migration of business rules to calc manager to stop losing our important comments. Is it possible to get the newly migrated rules to initially open in script mode rather than graphical mode so that it doesn't add it's own comments. Or is there a way to turn off the added commenting?
This is a snippet of our rule in 11.1.1.3:
FIX ("D0P000 Pushdown")
"Accrued Salaries and Wages Pushdown" = "BTL Accrued Sal & Wages Total"->"WBS_I19990_PLAN" * (D0P000->"Total Reg Labor" / "LMSS (LRP TEMPLATE LEVEL)"->"Total Reg Labor");
ENDFIX
/* FIX on account members that should be rolled up in the AGG statement below. */
FIX (@DESCENDANTS( "Orders"),
This is what it looks like when it comes up in graphical mode in Calc Mgr 11.1.2.2 (note that comment is already missing):
FIX ("D0P000 Pushdown")
"Accrued Salaries and Wages Pushdown" = "BTL Accrued Sal & Wages Total"->"WBS_I19990_PLAN" * (D0P000->"Total Reg Labor" / "LMSS (LRP TEMPLATE LEVEL)"->"Total Reg Labor");
ENDFIX
FIX (@DESCENDANTS( "Orders"),
This is what it looks like when it switches from graphical to script (bonus comments are added):
FIX ( /*DIM:Entities*/"D0P000 Pushdown")
/*STARTCOMPONENT:FORMULA*/
"Accrued Salaries and Wages Pushdown" = "BTL Accrued Sal & Wages Total"->"WBS_I19990_PLAN" * (D0P000->"Total Reg Labor" / "LMSS (LRP TEMPLATE LEVEL)"->"Total Reg Labor");
/*ENDCOMPONENT*/ ENDFIX
FIX ( /*DIM:Accounts*/@DESCENDANTS( "Orders"),
Thanks for any help.
Brenda

You might learn to appreciate graphical mode in Calc Manager, we do. It is not like the old Business Rules in EAS. I am an old school calc script person, and have NO love for drag-and-drop coding ... I need control. ;-)
Insert a blank script object and paste your code into the 'Script' tab for that object. Set up your prompts and use the {} notation in your code. All of the comments will stay put ... as long as you DON'T USE EDIT, SCRIPT! We make a fair number of generic, reusable pieces of code and save them as shared scripts. These can be dragged into Rules. Click on the Rule's Begin object and choose the Script tab ... you will see how the bits are assembled into complete calc script. We've even come up with a way to use LOOP ... ENDLOOP as though it were a procedural IF statement so we can control whether or not a chunk of code is active or not.
Shared scripts are especially good for currency translation components since we occasionally add new currencies and want to make a change in one object that is used in dozens of business rules.
Mike H.

Similar Messages

  • Business Rules migration to Calc Manager

    Hi there,
    We are currently in 11.1.2.1 and looking at applying the 11.1.2.2 patch. One of the pre-requisites is the HBR migration to Calc Manager. We are trying to find out if there is a better way of preparing the business rules for migration to calculation manager in a distributed environment. We have three planning servers and approx. 4-8 security groups assigned to a business rule. According to the documentation we now have to assign permissions to each planning server (location) individually and then assign each security group individually to each planning server (location). This means a single rule can have up to 27 objects that need to be assigned. When we start talking about 100’s rules & sequences this really adds up. Is there an easier way to do this in a distributed environment.
    I have raised an SR with Product Support who have raised an enhancement request and referred me to consulting however this sounds more like a product issue to me.
    Thanks for your help.
    Regards
    Seb

    Hi Seb,
    I think there may be a somewhat easy answer here. Have you looked at the locations under business rules? You may right click on a location and copy it to another location. I'm pretty certain it copies all security over to the second location also.
    Suggest you test this in a non-prod environment if you have one available.
    Regards,
    John A. Booth
    http://www.metavero.com

  • EPMA Batch Client - Can I launch business rules created in Calc Manager?

    I'm currently on a project where we have implemented an EPMA Planning app (v 11.1.1.2), and we need to schedule business rules to run in batch. In the past, I used the command line launcher to perform this task. Unfortunately, the command line launcher is really a part of EAS, so it would appear that I cannot use this method to launch a rule created in Calc Manager. Is this correct?
    It looks like my other option is to use the EPMA Batch Client. In looking at the "Execute" command in the documentation, it doesn't reference the ability to run a business rule. The docs are fairly limited, so I'm wondering if I really CAN launch a business rule from here.
    Has anyone scheduled a business rule (created in Calc Manager) to run in batch? If so, what method did you use? If all else fails, I can create a calc script and run it from MaxL, but I'd rather not have multiple versions of the code floating around.
    Thanks!
    - Jake

    Hi Jake,
    One of the known issues in 11.1.1.3 is :-
    You cannot launch a business ruleset with runtime prompts from the Planning command line launch (7205464).
    Whether this means you can't run calc manager BR's from command line I am not sure.
    There is no documentation in this area so I assume it can't be done yet.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Business Rules Disappearing in Calc Manager

    I've got a classic planning app on 11.1.2.1 running business rules through calc manager but just the other day I logged in an i could no longer see the business rules in calc manager when i go to expand the database. The rules still run and are visible in other places like the business rule security manager but not in calc manager. I tried restarting calc manager, reconfiguring weblogic, creating new rules (which actually works but the old one still are invisible). I migrated over the environment from another environment, without luck. Any idea's what could be wrong?
    Thanks!
    Mark

    Hi, have you migrated rules though Appication Group->Foundation->Calculation Manager path of LCM? Or just rules with your application. It looks like the second but it's not enough you should use first one too.
    It's not explain what have happened with you rules but may help you to restore them

  • Planning business rules starting over at 5min

    Working with business rules in Planning 9.3.1 using Essbase and running rules via workspace(planning web) - the rules that have a process/run-time of 5min or > start over and keep cascading at 5min intervals thus corrupting the data.
    Does anyone know of a setting that would prevent this from happening?
    While viewing in sessions, the user starts out calculating and when 5min is reached another session is created and so on and so on.
    When running the rules from Essbase, all works as it should.
    Thanks

    Michele,
    There's a URL that will take you directly to Hyperion Planning, without going through Workspace.
    For example, the direct URL to Planning might look like this:
    http://servername:8300/HyperionPlanning
    But the URL to workspace might be:
    http://servername:19000/workspace
    It's useful to know both URL's because sometimes the Planning URL will give more intuitive error messages. For example, if a user logs into workspace and the app is in maintenance mode, they get a fairly useless error message. But if you log into the Planning URL, it clearly tells you that the app is in maintenance mode, and that's why you can't get in.
    So, our business rule timeout wasn't an issue when we used the direct Planning URL, however it did show up when users accessed the application through Workspace.
    Regardless, the settings above resolved the issue for us. We were also using WebLogic.
    Hope this helps,
    - Jake

  • Business Rules Migration from one server to other server

    Hi All,
    Can some body help on business rules migration from one server to other server? and also wt is the difference there in Export and import BR's and Administration repository to migrate.........i fail to understand if we export and import br's and need to change in xml target server and after import whether all users can able to see this imported BR's ?
    then wt is the use of Administration option under Business Rules-->right click-->repository...connect--->need to connect oracle info....wt is this process? can some body help on this please........
    thanks,
    huser

    Hi,
    The methods are pretty much the same in what they do.
    When you export rules it creates an xml file based on the selection you have picked, you can just log into EAS and do this you don't have knowledge about the repository, it is also useful for migrating across versions. You also have the option of changing the xml file before importing it into your target.
    When you migrate the respository you have to physically connect to the database repository and have knowledge of the connection details, it is probably aimed directly at a system admin.
    The options in both methods are pretty much the same, you can choose what you want to export or migrate.
    You hit issues when you export/migrate for instance the location names change and need to be updated, you can update the xml file to change the locations though if you choose the migrate option you won't have that ability.
    The next issue is the user/group accounts which is the biggest flaw, if the users/groups exist on the target and have the exact same SID then they will migrate otherwise they will usually get dropped.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Business Rule calc manager issue while executing through Planning Smartview

    Hi,
    I am working on Hyperion Planning 11.1.2 and I have created few business rule in Calc manager. When user is opening it through Hyperion Planning webforms its working fine.
    I have attached the rules on webform and they run on Save and use member on data form and Hide prompts.
    All these properties are checked. So user enter the number on Planning webform and hit on save rule will cruch on the POV members.
    Please help me on below 2 issues:
    1.When user is using the Smartview Planning and opening webform in Smartview while exceuting the rule its throwing error. Can't run the rule.
    What is the exact provsiong I need to give so that they can execute it from the Hyperion Smartview Planning also.
    Currently HBRAPP is Interactive user
    and Application level is Interactive user and Essbase write access
    If I am giving Administrator access they are bale to run the rule, I can't give Administartor acess.
    2.While running rule even with admin access its not taking the POV, its taking the default mebers which I have given while creating the variables.
    However from Planning web it takes the POV selection of webform,
    Please suggest why the same thing is not happening from Hyperion Smartview.
    Thanks in advance
    Pankaj

    Please advise on this issue. Any help would be highly appreciated.

  • 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/

  • Business rule migration

    Gurus,
    I have a question about BR migration.
    It is 11.1.2.1, and I have some BRs in my planning application.
    I want to migrate the BRs from one environment to another.
    In order to do that, can I export business rules from the source (by right-clicking the BUSINESS RULES node in EAS) and then import them in the target environment EAS. If so, is there anyhthing specific that I need to follow, for example any file system to save it to or I can save anywhere, etc like that.
    And do I need to do anything after I export-import the business rules?
    Any suggestions would be great.
    Thanks

    Thanks John for your quick response.
    When you mean by dependants, what does it really imply? If you could write a little about it, it would be awesome.
    Also, is there a rule as to what should be exported-imported first while we are using the LCM tool?
    Thanks again.
    Edited by: hyperion start on Dec 17, 2012 6:55 AM

  • Upgrading Planning from 11.1.2.1 to 11.1.2.2 BR/Calc Manager Issue

    Hi Gurus,
    I am attempting to apply the 11.1.2.2 maintenance release to my 11.1.2.1 environment however I have a question that I cannot find the clear answer to. We have never used Calc Manager so it was never installed. I have already applied the maintenance release to my servers however I have not configured them yet as I do not know what to due about Calc Manager as I was not able to select it during any part of the process. It displays as not installed and I cannot modify my existing home to install it so how am I to migrate the business rules to Calc Manager. The documentation does not state that I need to install Calc Manager prior to applying the maintenance release (I assumed that it would install as part of the process).
    How do I resolve this situation? Is it even possible to install 11.1.2.1 Calc Manager into an environment that has not been configured and is at 11.1.2.2?
    Thanks in advance.
    Gerald

    Really you should have installed Calc Manager 11.1.2.1 before the maintenance release, then when you applied the maintenance release it would upgrade the business rules to Calc Manager, I am sure you would have read that business do not exist in 11.1.2.2
    You will be able to install Calc Manager 11.1.2.2 on top of your existing environment 11.1.2.2 and then deploy it though you will not be able to access your original calc manager rules.
    Did you take an export of the business rules in calculation manager format or do you have access to the rules on another environment.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Not able to open rule designer in Calc manager in Workspace

    I have installed Hyperion 11.1.2.2 on Win2003 sp2. My IE version is 7. When I try to write/edit a Business rule in calc manager, I get a warning in 'your current security settings do not allow websites to use ActiveX ie7....Your page may not display correctly". I tried every setting in IE to make this message go but it doesn't. Has anyone else faced this issue and what is the solution.

    It is probably worth using a later browser with 11.1.2.2 e.g IE8/9 or Firefox
    If you are running the browser from the server it is worth trying turning off the Internet enhanced security which can be done from add/remove windows components.
    Also worth going through the setting highlighted in the following Oracle Support doc - "Internet Explorer (IE7, IE8 and IE9) Recommended Settings for Oracle Hyperion Products [ID 820892.1]"
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Some critical errors in Planning, Business Rules and FR

    Dear All,
    I am facing some critical errors in Hyperion Plannign 11.1.1.3. We did the migration of BR rules from one server to another server. Migration went well. When i running any one of the rule, it throws the below errors:
    If i run any one of the FR reports from workspace, it throwing the same errors
    *Detail:Cannot calculate. Essbase Error(1023040): msg from remote site [[Wed Dec 16 15:58:32 2009]Local////Error(1042003) Network Error [11004]: Unable To Locate [hypplan] In Hosts File]*
    hypplan - Source server name(i took the BR rules backup in XML format)
    Please guide me in this situation.
    Thanks & Regards,
    PC

    Dear John,
    Thanks for the prompt reply. I checked all the locations alias, its fine.
    Account dimension creating problem for Business rules.
    I have Rollup BR here
    CALCDIM("Account") - It throwing the error as (*"Detail:Cannot calculate. Essbase Error(1023040): msg from remote site [[Wed Dec 16 15:58:32 2009]Local////Error(1042003) Network Error [11004]: Unable To Locate [hypplan] In Hosts File]"*)
    CALCDIM("Employees") - Its working fine
    If i specify anything related to Account dimension, it throwing above errors.
    Thanks,
    PC

  • Business Rules Migration

    Hi gurus,
    I need to migrate business rules from one environment to another.
    Apart from doing so in EAS, what would be the other way of migrating it?
    Any suggestion would be appreciated.
    I could do it with EAS, however the EAS has not been working in the target environment, so we are trying to see if we can migrate from planning/hss etc so that we could migrate and test while we are taking care of the EAS issue.
    Thank you.

    If EAS is not working in the target environment then I don't see much point in trying to migrate the rules, you would not be able to import them if EAS is not working.
    The only options are exporting/importing through EAS, LCM (which pretty much does the same thing as EAS but can be automated), alternatively there is the option to migrate the full repository - Migrating the Repository
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Rules security in Calc Manager vs EAS

    Maybe I am missing something, but what happened to the ability to put security on Rules now that we are using Calc Manager for our EPMA apps? In EAS Business Rules, we could assign all of our privileges to the rule but now it appears that there is no security. What am I missing? Thanks.

    Haha, thanks. So I was missing the obvious!
    For my own knowledge, where in the documentation is this piece of info? I don't see it in the EPMA Admin guide with the rest of the Calc Manager documentation.
    Again, thanks.

  • Hyperion System9 -- Business Rules

    <p> </p><p>I am doing a research that wether we can run <b>MAXL Scripts</b>in <b>Business Rules</b> to automate <b>Data Loading</b>. I thinkthey both can server they same purpose. It will be reallyappericiate if some can give me their views regarding this.</p><p> </p><p>Thanks</p>

    <p>Collin,</p><p> </p><p>You don't need someone from Hyperion to come out and do it butyes the person who is doing that needs to know what he is doing.One of our consultant spent few months and made DTS packages to dothis in an automated fashion. It took few months since we have lotsof applications and this person had other responsibilites too.</p><p> </p><p>The major steps in migrating between environments are:</p><p>1. Copying data from repository tables for HyperionPlanning.</p><p>2. Pointing the data to the right direction (UDLs and otherobjects).</p><p>3. Copying Essbase application and databases including scripts,rule files and others as needed.</p><p> </p><p>This person who did it for us maybe available in January. If youneed, I can forward the contact details ( and the person is notme).</p><p> </p><p>Let me know.</p>

Maybe you are looking for