Business Rule question in Essbase

Dear Experts,
I am trying to write the following business rule, I'm new to this and I am not sure how the syntax works, please advice.
All I want to do is to insert the created Block for "March" into a variable so I can use it to calculate the value for IQ1 in the a different block. It should be a fairly simple procedure but I am very new to this and not sure where it is best to look for guides and use of syntax around business rules. So far I'm struggling to get the first block to work.
SET CACHE LOW;
SET UPDATECALC OFF;
SET CLEARUPDATESTATUS OFF;
SET LOCKBLOCK HIGH;
VAR RMAR;
FIX("FY11","Pln","Local","Customer NA","INDUSTRY NA","SPLIT_RATIO","VENDOR NA")
MAR =RMAR ;
ENDFIX /* FIX("FY11","Pln","Local","Customer NA","INDUSTRY NA","SPLIT_RATIO","VENDOR NA") */
FIX("FY11","Pln","Local","Customer NA","INDUSTRY NA","ORIGINAL","VENDOR NA")
MAR = IQ1 * MAR ;
ENDFIX /* FIX("FY11","Pln","Local","Customer NA","INDUSTRY NA","ORIGINAL","VENDOR NA") */
Many Thanks
Stephen

You can use the cross-dim operator (->) to refer to a different block than the one on which you have fixed. So, in your case, all you have to do is use a single fix block and do the following.
FIX(ORIGINAL, ...)
MAR = IQ1 * "SPLIT_RATIO"->RMAR ;
- Francis

Similar Messages

  • Business Rule variable in Essbase report

    Hi,
    I need to create a report where I will use the variable (created as Business Rules variable e.g.- [BudYear],[CurrVersion] etc) but it is not working. If I use [BudYear] it is just showing the dimension name in report as 'Year'. But when I use any exxbase substitution variable (e.g.- &CurYear etc) it is working fine. So, can it be possible to use business rules variable in essbase reports?
    Can it be possible to save the essbase report in comma delimited format (I am only getting tab delimited option). Please revert back.
    Thanks & Regards.

    As John rightly said, HBR rules are only applicable within HBR. What you want is an Essbase Substitution Variable. So long as the value does not get selected interactively in the HBR, you can use a Substitution Variable instead. An example would be something like current year -- this isn't going to get changed by the users via a Planning form or a prompt.
    HBRs, Calc Scripts, member formulas, load rules, and of course Essbase report scripts can all read substitution variables. See the DBAG for more information. Personally, I only use HBR variables, local or global, for items off the POV or driven by a run-time prompt.
    Unfortunately, a comma delimted file is a pain in a report script -- you have to make your columns fixed length and then use the MASK command to put the commas in -- ugh. However tab delimited files are an option. I've never found an IT group that couldn't handle the latter format.
    You may also go with the the DATAEXPORT calc script command -- a comma delmited output is possible with that command and of course it supports Essbase substitution variables.
    Regards,
    Cameron Lackpour

  • Diff between associating Business rule with Planing & Essbase Locations

    Hi Guys,
    I know this can be an elementary level question ..we know we are able to run a Business rule by associating it with a Planning outline & also an Essbase Outline..Just wanted to know the difference .i.e does associating the BR with the Planning Outline provide any extra benefits...??
    Thanks

    user9098908 wrote:
    Just wanted to know the difference .i.e does associating the BR with the Planning Outline provide any extra benefits...??Yes you get to see the business rules in planning if you associate with a planning application, you can also pass member information from web forms into variables.
    Not all clients that buy essbase also buy planning and business rules can be used with either so you that is why there needs to be two connections.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Currency Converion and Business Rule questions

    Hi all,
    I am new to BPC and would appreciate if you can help me answer few of my questions. I was going through how to documents on currency conversion and Business Rules.
    1. The Flow in Currency Conversion and Business Rules different?
    2. Can Currency conversion be done without defining the Currency Rules?
    3. In Business Rules Detail there is a cloumn for Sign. How should one determine what sign should go for a given account?
    Thanks,
    Diksha.

    Venkatesh,
    It seems like you are using Company as your Entity type dimension.
    Try to change your code to look like this
    *RUN_PROGRAM CURR_CONVERSION    
         CATEGORY = %CATEGORY_SET%     
         SELECT(%CURRENCY_SET_ID%,"[ID]",CURRENCY,"CURRENCY_TYPE='R'")
         TID_RA = %TIME_SET%
         RATEENTITY = GLOBAL
        OTHER = [COMPANY=%COMPANY_SET%] 
    *ENDRUN_PROGRAM

  • Business Rule question

    Hi
    how can I achieve the following in a business rule.
    I want to copy some data from a cost center to multiple cost centers
    I will have a runtime propmpt for a source cost center and multiple runtime propmpts for multiple cost centers.
    DATACOPY from [source_cost center] TO [Target Cost Center _1];
    DATACOPY from [source_cost center] TO [Target Cost Center _2];
    DATACOPY from [source_cost center] TO [Target Cost Center _3];
    my problem is that i will include per say 5 destination cost center runtime prompts and user wants to use only three destination
    cost centers. how can i incorporate that logic into my business rule.
    will business rule allow no input into a runtime prompt.
    thanks in advance

    Hi Eric,
    i used the following script to copy from one cost center to multiple cost centers.
    Planning system nine allows to have mutliple members. my [EntityDriverTo] is multiple member and my source [EntityDriverFrom] is single member.
    FIX(Year,Jan::Dec,Account,"All_Employees",[EntityDriverTo])
    [Scenario]=[Scenario]->[EntityDriverFrom];
    ENDFIX
    ***************************************************************************

  • Oracle Business Rules Question

    Hi,
    I'm pretty new with Oracle Rules. I've had no trouble using them, to date. I define Java classes, set up the facts in Rules Author, and create the Dictionary, Ruleset, and rules... etc.
    I can run them fine, and the technology works as expected. My question is... what if my underlying data structures for the facts (the java class(es) in my case) change?
    From what I see with the Rules Author tool, there isn't an obvious way to sync up the underlying fact with events on the ground. I can see there would be a really good reason for not allowing attributes/methods/props to be removed (without redoing (some of???) the rulesets/rules)... but I am really interested in the ability for adding methods/attributes/etc to the underlying structures without rework.
    Here is my use case: I set up an initial fact and a ruleset for our clients with which to build rules. They add 500 rules. They now request the "fact" include another "new" attribute to be available in all new rules. Do I have to start over, and redo the 500 rules to accommodate the new attribute? There must be something which eases the pain... but I haven't found it yet.
    Any help in this issue would be most appreciated!
    Thanks,
    Dan

    Thanks for the reply. I guess I was making it more difficult than it deserved. I've been trying to "re" import... and never tried to import over the fact I already had.
    Thanks!

  • Business Rules creation stops Essbase Admin Server

    I am trying to create a simple rules file to upload actual data but 4 out of 5 attempts causes Essbase Admin Server to Stop. In my rules file, I followed these steps:
    1. inserted three new columns using text
    2. skipped the first row under data source properties
    3. under field properties, selected the various dimensions to represent each column. I was not specific in the dimensions selection as the data has various accounts, market, product.
    4. some of them were prefixed with alphabets to correlate to Essbase data.
    5. validated the rules file - no errors - rules file is correct for loading data
    I was doing the rules file in stages ie. rule1 had only field properties set up. rule2 had three columns inserted in addition. rule3 while inserting the same three columns stopped the server !
    Essbase log dint show server disconnecting or error messages! is this some sign of server to crash soon :( or file corruption :(

    I haven't encountered a load rule crashing EAS before, but I have had other simple tasks, such as opening an outline, do it. The issue there was to change the Essbase ports from the default in the essbase.cfg file. We chose SERVERPORTBEGIN 42000 and SERVERPORTEND 43000. I have no way of knowing if this is your issue, but strange EAS crashes like that make me suspiscious that it might be. There is no reason I can think of why a load rule should crash EAS...
    Sabrina

  • Executing Business Rule / Calculation from Excel - Essbase

    Hi All,
    Currently I am trying to run the calculations / Business rules from essbase after locking and sending data. I am using the below code to run the business rule / calculation from essbase.
    Sub RunBusinessRule()
    On Error Resume Next
    X = EssVCalculate(Empty, "AggFlash", False)
    MsgBox "Business Rule executed successfully"
    End Sub
    The issue is that my code gives me a message that the business rule is executed successfully but the rule keeping running in the background for some time. Actually i need a code which will check the status of the process of calculation and when it actually gets completed I should get a message that it's been done. Please expedite.

    Hi,
    I take it you mean calc script and not business rule as really they are separate.
    The reason you get a message straight away is because you have the synchronous parameter set to false, if you set it to true it should not return until it is comple
    e.g.
    X = EssVCalculate(Empty, "AggFlash", True)
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Business rule for Essbase cube calculations in 11.1.1.3?

    Hi,
    Can we use business rules to use @XREF from data transfer from one cube to other cube.Why I went for business rule is, I can put set of business rules in a Sequence and any new user can run this Sequence on demand and even we need prompt also in that.
    So, I want to clarify whether I can use the business rules for Essbase calculations along with calc scripts??
    Appreciate the response.
    Thanks

    Right,
    Actually, Business rules are running essbase cubes in every case.
    Remember planning and BRs are adding extra layers like prompts, forms, security, processes...
    Think Business rules are extended version of calc scripts with some more functionality. They are ultimately running on essbase cubes...
    Regards,
    Ahmet

  • Realize essbase data cache through business rule

    Hi!
    Can any body guide me how to realize essbase data cache through business rule.
    Thanks

    Right,
    Actually, Business rules are running essbase cubes in every case.
    Remember planning and BRs are adding extra layers like prompts, forms, security, processes...
    Think Business rules are extended version of calc scripts with some more functionality. They are ultimately running on essbase cubes...
    Regards,
    Ahmet

  • Error while creating a Business rule dictionary in Jdevloper 11g

    Hi,
    I am getting the following error when i define the Inputs and outputs during creating on a new business rule dictionary.
    Some XML schemas are not in the "xsd" directory! gardes.xsd
    Please manually move or copy the Schemas
    I am following the "Creating a Rule-enabled Non-SOA Java EE Application" guide in Oracle® Fusion Middleware User's Guide for Oracle Business Rules, 11g Release 1 (11.1.1)
    The two schema files generated were having different content after creation of XML schema file so I copied the file to make them same. Its still giving me the same error.
    Please Help.
    Thanks,
    Mac

    Please post business rules questions on the SOA Suite forum:
    SOA Suite

  • Error Creating New Location in Business Rules

    I have installed System 11.1.1.x EAS Web on Windows / WebLogic. When I log into EAS as 'Admin' I can log into Business Rules and Create a New Location. When I log in as any other user, I get a message that "Business Rules Login Successful" but when I try to create a New Location I get and error. I get to the select location screen. When I expand (+)Essbase, I see my Essbase Server. When I expand my Essbase Server, I get this error message:
    Error Connecting to Essbase Server <server name>
    Detail: Exception occurred. Please check your log files for details.
    hbrserver.log:
    2010-01-14 10:02:44,265 WARN [ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.util.UserServerInfoXMLParser - Error while reading file server.xml
    2010-01-14 10:02:44,265 WARN [ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.UserManagerCmdListener - EAS error exporting HBR data (xto.exportXml) to the xml transfer object.
    2010-01-14 10:02:44,296 WARN [ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.plugin.essbase.EssbaseMetadataServerElement - Cannot sign on user. Invalid sign on attempt.
    com.essbase.api.base.EssException: Cannot sign on user. Invalid sign on attempt.
         at com.essbase.api.session.Essbase.signOn_internal(Unknown Source)
         at com.essbase.api.session.Essbase.signOn(Unknown Source)
         at com.hyperion.hbr.plugin.essbase.EssbaseMetadataServerElement.connect(Unknown Source)
         at com.hyperion.hbr.plugin.essbase.EssbaseMetadata.getChild(Unknown Source)
         at com.hyperion.hbr.plugin.essbase.EssbaseMetadata.connect(Unknown Source)
         at com.hyperion.hbr.core.MetadataCmdListener.connect(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.essbase.eas.framework.server.application.AbstractCommandListener.handleEvent(Unknown Source)
         at com.essbase.eas.framework.server.application.DefaultCommandDispatcher.dispatchEvent(Unknown Source)
         at com.essbase.eas.framework.server.application.DefaultEventController.handleEvent(Unknown Source)
         at com.essbase.eas.framework.server.application.EventDispatcherWorkListener.handleEvent(Unknown Source)
         at com.essbase.eas.framework.server.application.DefaultWorkDispatcher.dispatchEvent(Unknown Source)
         at com.essbase.eas.framework.server.application.DefaultEventController.handleEvent(Unknown Source)
         at com.essbase.eas.framework.server.application.DefaultApplication.generateWorkEvent(Unknown Source)
         at com.essbase.eas.framework.server.application.DefaultServlet.handleRequest(Unknown Source)
         at com.essbase.eas.server.AppManServlet.doPost(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3244)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    2010-01-14 10:02:44,296 WARN [ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.plugin.essbase.EssbaseMetadataServerElement - Error connecting to Essbase server <my essbase server>.
    2010-01-14 10:02:44,296 WARN [ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.plugin.essbase.EssbaseMetadata - Error connecting to Essbase server <my essbase server>.
    hbrclient.log:
    2010-01-13 18:24:45,883 WARN AWT-EventQueue-0 com.hyperion.hbr.core.MetadataManagerServerRemote - Cannot retrieve connected root element for Essbase/<my essbase server>.
    2010-01-13 18:29:41,114 WARN AWT-EventQueue-0 com.hyperion.hbr.core.MetadataManagerServerRemote - Cannot retrieve connected root element for Essbase/<my essbase server>

    John, Thanks for the response.
    The user has all provisions in SS for Essbase and Applications (Server Access as well as Application Administrator). I can explore all the Essbase applications in EAS.
    I have double checked all the provisions and refershed security in EAS. I am still getting the same error.
    Here are a few more interesting things that I have noticed from debugging. The only account with the ability to create "New Locations" or Associate a Business Rule with an Essbase Application is "admin". If I deprovision "admin" in SS, I can no longer create New Locations. If I add the provisions back for "admin" then I can create New Locations. So, that tells me that BR is looking at SS for provisioning of "admin".
    Here is another interesting message in hbrserver.log.
    2010-01-14 11:42:34,377 WARN [ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving Indirect Users and Groups.
    I get the above message when I 'Right Mouse' on Administration under Business Rules and select "Refresh User List".
    Any additional thoughts?
    Edited by: user3086671 on Jan 14, 2010 9:02 AM

  • Business rules and calculation manager

    Hi ,
    Could anyone pls tell me the difference between the calculation manager and business rules?

    Calculation manager is a web component that is designed to manage business rules from a web interface. It is enabled to build calculations also using a graphic interface, although this mode is more suitable for simple calculations than for complex ones. Calculation manager allows you also to use complex templates that you can customize with prompts in order to adapt them to each rule without being force to change the code. Basically it is an evolution of the essbase business rules macro function. Once a business rule is created it has to be deployed in order to be used with planning applications. The deploy activity copies the rule on the database, both in the calculation manager tables in and the planning tables.
    Business rules are instead essbase artifacts. They aren't available any more from version 11.1.2.2 on.
    In versions older than the 11.1.2.2 you were forced to use calculation manager for epma applications, while essbase business rules were used in classic applications. In terms of calculations there is no difference between the two technologies, they behave exactly in the same way. There is only a small difference in the prompts syntax, {} in calculation manager and [] in essbase business rules.
    Although i find the calculation manager web editor quite slow and imprecise to use, I anyway advice to use it in order to make eventual release upgrades easier.

  • Business Rules Standards

    Hi all,
    I would like to the know the Business Rules Standards in Essbase.
    1) While writing the BR's, What are the standard i should follow in it
    2) Suppose one of my BR's taking long times to execute, Which are the areas, i need to concentrate to reduce the timings of that BR?
    Thanks

    There are lods of things we can talk about; I rather say, visit ODTUG and you will get lot of material on the same. especially search for Optimizing calculations under tech resource->Essbase.
    Cheers..!!!

  • Can not run business rule with bat file

    Hi all,
    I've problem with using *.bat file to run business rule. My Essbase version is 11.1.1.3 and the syntax within
    *.bat is simple, but I always got the Usage message and can not execute the rule.
    The error result as blow(I already execute the syntax in command panel directly):
    C:\Hyperion\products\Essbase\eas\console\bin>CmdLnLauncher -SWILSON -Usynadmin -P111111 -r0004_COPYDATA
    Usage: CmdLineLauncher [-p:<passwordFile>] -Sservername -Uusername [-rBusiness R
    ule Name | -sSequence Name] [-fRun Time Prompts file] [-validate]
    My *.bat file content as below:
    cd c:\Hyperion\products\Essbase\eas\console\bin
    call CmdLnLauncher -SWILSON -Usynadmin -P1111111 -r0004_COPYDATA
    Is there something wrong? If anyone know about this problem, please help,thanks!!

    Hi,
    Here is a brief overview on how to use the command line launcher.
    You can create a file and put the following information into it filling in the servername,app name and db name
    ExecDB::"Planning/servername/appname/dbname"
    Save it as .xml file (don’t think it has to be an xml, could be .txt), so something like connect.xml
    Then when you run your command line do exactly like before Cmdlnlauncher -Sservername -Uusername -p:password.txt -rrule -fconnect.xml
    If you have variables in your rule you can
    In EAS right click over the rule and select "Automate Launch Variables", fill in the details and then save it is as an xml.
    You just need to reference the xml in the batch script as described above using the -f parameter, for sequences remove -rrule and use –sSequence
    update password.txt to the name of your password file.
    Cheers
    John
    http://john-goodwin.blogspot.com/
    Edited by: JohnGoodwin on Apr 30, 2010 8:17 AM

Maybe you are looking for

  • Mac Book Pro with Yosemite run clearly slower than Mavericks

    HI I come from other thread about problems whit wifi connection with Yosemite. The great Linc David solved the problem and that has meant thoroughly clean the Mac I have a Mac Book Pro 13", early 2011 (!only four years¡) with 8 GB of RAM (the maximum

  • Steps to create a read only schema

    Plataform 11.5.10.2 Hi Guys, Can someone provide me with the steps to create a read only schema in Apps please. Thanks in advance

  • InDesign CS5 crashes on startup - Mac OSX Lion

    Hi Everyone, I've reinstalled InDesign, Photoshop and Illustrator CS5 after upgrading to Mac OSX Lion, Photoshop and Illustrator work fine but InDesign crashes on startup. I've followed a few threads on here, one suggested creating a new adimistrator

  • PDK Struts tags

    When trying to use the PDK Struts tags in a portlet, I receive the following error message when the portlet has been deployed to a 10g portal: [ServletException in:/WEB-INF/jsp/tiles/portal/index.jsp] action' Even with debug mode enabled on the serve

  • Do I need to uninstall trial version before I can download full verions via cloud?

    Having trouble downloading full version. I used a trial of CS6 and now want to use full current version. Thanks