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..!!!

Similar Messages

  • Using a local Array in a Business Rule

    Newbie question here...
    I am writing a business rule that applies a standard rate to a lot of different lines in a business rule. This rate only varies by year, so from a logical perspective I think of it as a 1 dimensional variable. However the rate is actually stored in my normal Essbase cube (8-dimensions) something like the following:
    Dimension Dimension Member
    Account: Rate
    Dim2: No Dim2 Value (A dimension member called "No dim2 Value")
    Dim3: No Dim 3 Value
    Dim4: No Dim4 Value
    Dim5: No Dim5 Value
    Dim6: No Dim6 Value
    Dim7: No Dim7 Value
    Year: [varies by year]
    So right now my formula to calculate things looks something like the following:
    "Target Account 1" = "Driver Account 1" * Rate ->
    "No Dim2 Value" ->
    "No Dim3 Value" ->
    "No Dim3 Value" ->
    "No Dim5 Value" ->
    "No Dim6 Value" ->
    "No Dim7 Value"
    But I have to do this for several "Target" and "Driver" Accounts in the rule, which means an ugly looking rule. What I would like to do is create a local array at the beginning of my business rule and populate it with the rate:
    ARRAY _rate[Year]
    and then set the value of the array equal to
    Rate -> "No Dim2 Value" -> "No Dim3 Value" -> "No Dim3 Value" ->
    "No Dim5 Value" -> "No Dim6 Value" -> "No Dim7 Value"
    This will allow me to simplify my formula down to
    "Target Account 1" = "Driver Account 1" * _rate
    My first question is "can I do this?" I've been able to create an array and use it in the formula, but I can't figure out how to populate the values in the array from my main Essbase cube.
    The second question is "does it make sense to do this?" In addition to making the code easier to read, my guess is that populating the array once and just using it within the scope of the rule would be a bit more efficient than referencing that big cross dim expression, but I really don't know.
    Any advice anyone has would be appreciated.
    Thanks
    -Glenn

    I am familiar with what you are trying to accomplish.
    Having Essbase store a fixed rate over time to be used in calculations is possible. However formulas start to look complex depending on how many dimensions you have and what the desired outcome is.
    There are alternate techniques to the one you mentioned.
    You can create a new database for rates only and make it with fewer dimensions. Then use the @XREF function to retrieve it in your formulas.
    If the rate doesn't change very often you can put the Rate inside of the formula as is.
    For example Y2006_Rate = 5%.
    Brian Chow

  • GRC PC 10.0 business rule creation: Wildcard for Currency field

    Hi,
    Currently I am designing a business rule that has standard price as a deficiency. I am using a blank check. But the system wants me to choose a specific currency. I want it to retrieve all records with the deficiency, regardless of currency.
    I've tried using "*" in the currency field, but it retrieves nothing. I am only able to retrieve records when I add a specific currency.
    Why is that? And what can I do to fix this problem?
    Thank you.

    Hi Raphael,
    Have you defined the Currency field as a filter criteria? If yes, can you please remove the field from filter selection and try to execute the rule again.
    Just make sure it comes under output format section.
    regards,
    Rajeshwari

  • Avoid child rollup to parent using Business rule

    Hi iam new to this hyperion planning.
    I want to spread values from parent to child. Once i spreaded the value from parent to child if any other user changed child data it should not be rollup to parent. By using business rule only
    Thanks in advance

    Then you must not run an aggregation on this data, at least for the dimension that you are spreading on.
    If you have a broad aggregation you run you could try fixing on non-Target versions only:
    FIX(@UDA("Standard Bottom Up")) before your aggregation should restrict to the versions you are safe to aggregate,

  • Error opening business rule from AAS

    Hi,
    I'm unable to open business rules from AAS console associated with one of the Planning/ Essbase application. This particular planning application is also not showing up when I try to "select outline" for the business rule. The business rules for this particular application are running fine from Planning web application.
    Error retrieving Planning application app_name on server server_name.
    Detail:Exception occurred. Please check your log file for details.
    hbrserver.log randomly shows one of the two errors given below:
    2010-06-15 16:02:56,469 WARN [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.plugin.planning.PlanningMetadata - Error retrieving Planning application app_name on server server_name.
    or
    2010-06-15 15:28:22,094 WARN [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.plugin.planning.PlanningMetadata - Cannot retrieve connected root element for Planning/server_name/app_name/database_name
    There is no issue with other business rules which are associated with other applications.
    I have tried restarting EAS service but that didn't fix the issue. Also, i reckon this problem came up after I manually deployed 64 bit weblogic for EAS. On other environments where tomcat is being used there are no issues at all.
    Thanks in advance.

    I take it you have tried the standard process of :-
    Stop Planning,EAS, RMI services.
    Start RMI,EAS,Planning
    Log into the planning application through the web.
    Log into EAS, open your rule.
    Also can you create a new rule for the planning application after following the above process?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Business Rules Engines?

    Hi,
    I have experience with embedding "CLIPS" which is a C rules engine as a
    Forte Service Object which was easily wrappered using standard Forte
    wrapper strategy.
    Also, we have a sales rep in ATL who used to work @ ILOG and therefore
    competed with Nueron Data, and from various conversations with mutual Forte
    / Rules Engine customers I've learned it would be a complimentary integration.
    They all have some C-callable API and so a Forte Service Object would be a
    good client to the rules engine api due to our support for multi-threading
    when API is thread safe and additional option of replicating for load-bal
    when API isn't thread safe. The later concept is analogous to our use of
    DBSession object for interface with DBMS client api's.
    Be aware, the experiences I hear about with the mentioned rules engines is
    that there are not always business analysts truly capable of using the
    Rules development interfaces provided by the tools.
    So maybe the use of Forte Conductor's dynamic Process automation
    capabilities may also be a fit. If you want to discuss how, let me know.
    -jim
    Return-Path: <[email protected]>
    X-Sender:
    Date: Fri, 23 Jan 1998 13:19:03 -0800
    To: [email protected]
    From: Vic Brown <[email protected]>
    Subject: Business Rules Engines?
    Sender: [email protected]
    Reply-To: Vic Brown <[email protected]>
    Has anyone on this list integrated a COTS business rules engine,
    or components, into a Forte application? Specific products
    of interest would be those from Neuron Data, ILOG, USoft
    or, possibly, Vision Software.
    If so, comments? Type of application? War stories?
    Thanks.
    Victor Brown
    TRW Data Services
    Oakland, CA
    Phone: 510.645.3240
    FAX: 510.465.4811Jim Rice mailto:[email protected]
    Forte Software, Inc. http://www.forte.com
    South Eastern Tech Sales Mgr.
    301-721-1910 Corp: 510-869-3400 x2316

    The following Business Rule Solution uses POJO's and XML and meets the following criteria!
    Business Rule Solutions should be:
    Non-Industry Specific
    Appropriate and Affordable for any size business
    Enterprise-class solution (scalable, optimized, extensible)
    Remember: All businesses have business rules, and all businesses need an efficient way of managing and executing these business rules.
    What Business Rule Solutions should provide:
    Input Validation & Data Integrity
    Integration & Data Transformation
    Analytics
    Interpret clients Business Policies & Behaviors and clients run-time
    data and execute the appropriate process related workflow efficiently.
    The Return on Investment:
    ROI continues every day, week, month and year into the future!
    Simplify all program development through component reuse.
    Lowers software maintenance by a magnitude.
    Manages & Protects a company assets (Business Rules) in one
    repository.
    Provide Business Agility and Competitive Advantage!
    Further, I believe Business Rule Solutions are a higher level of abstraction of services that all other applications should use to implement the Model-View-Controller design pattern!
    Use the Contact Us! page for quicker responses. http://www.agilebusinessrulecomponents.com

  • Regarding Business Rule Framework

    Hi,
    Could u please explain the process of Business Rule Framework(BRF)
    and how to create this Business Rule Framework(BRF)
    explain with step by step process.

    Hi,
       To have a BRF object, you should have BRF Application Class.
    to do this -
    1. go to tcode - BRFAPL01, create one.
    2. then go to tcode BRF- create object with the same name as Application class.
    3. Now run the program CRM_BRF_COPY_IMPL_CLASSES , and give your brf object name which you created in above steps.
    4. now your BRF object is created with standard implementation classes.
    5. Go to tcode BRF, in All Groups folder, you can now create actions, events, rules using the standard implementation classes.
    6. If you want to create your own implementation classes, go to tcode BRFIMC01 and create new ones.
    refer to http://help.sap.com/saphelp_erp2004/helpdata/en/dc/38bb4006d9cc38e10000000a155106/frameset.htm
    for more information
    Reward points if found helpful
    Seema

  • Where and how to create business rules?

    Hi All,
    1) Where and how to create business rules?
    2) How to configure Rule Engines (Ex: JRULE Engine or any other Rule Engines)?
    3) Whar products are available for Rule Engines?
    Thanks in advance

    Hi,
    You have some options on business rules.
    If you just want to create business rules that are easy for business owners to edit without a lot of training, Oracle BPM has a simple business rules creation and end user edit capability. The benefits to using the rules that come with Oracle BPM are:
    <li> they are simple and easy to edit
    <li> end users can get up to speed quickly to edit them
    <li> when changed, the business process is immediately impacted
    <li> they can use the Oracle BPM business parameters that also come with the product
    Drawbacks are:
    <li> you can only use Project variables as the variable content inside of them
    <li> if a company already has a business rules engine, they are different that the company's standard
    Business rules engines have been used with Oracle BPM. If you are a consultant, first ask if there is a standard business rules engine that the company already has purchased that they use (e.g. iLog from IBM, Corticon...). If this is the case, you typically integrate to the rules using a web service interface that the business rules engine exposes.
    If they do not already have a business rules engine, consider Jrules. The benefits are:
    <li> it is a part of the Oracle BPM Suite that they might have purchased
    <li> version 11g of the Jrules is coming out soon with a friendly front end
    Hope this helps,
    Dan

  • Is it possible to limit FX business rule to only records selected in logic

    We are trying to convert from the standard older FX logic (MULTICURRENCYTRANS). The business rule is definitely faster when I run FX over all the records (purposefully). However, every time the FX stored procedure is called from a script logic file (package) it is running over ALL the records for the category specified in the package selection criteria. However, it is ignoring the other selections (product in this case). It should only update FX for the records specified in the package selection criteria. Because of this we are seeing increased run times on the packages. Is there additional logic needed in the FX script? If this is normal behavior, the stored procedure/business rule for FX is not a feasibly replacement for the script logic FX process previously delivered by SAP.
    Is there a way to fix this so we can use the business rule?

    I figured it out. I needed to add a couple of dimensions that are being passed from the package front end. The delivered business rule only has category as a variable. I had to add our entity dimension and our user defined product dimension.
    SAP delivered:
    *RUN_STORED_PROCEDURE=SPRUNCONVERSION('%APP%','%CATEGORY_SET%','','RATEINPUT','%SCOPETABLE%','%LOGTABLE%')
    Revised for our installation:
    *RUN_STORED_PROCEDURE=SPRUNCONVERSION('%APP%','%CATEGORY_SET%','%PRODUCT_CP_SET%','%COCODE_SET%','','RATEINPUT','%SCOPETABLE%','%LOGTABLE%')
    Carlos

  • Editing Business Rules

    Hi All,
    I am using Hyperion Planning 11.1.1.1.0 and have a classic planning application.
    I created a few business rules using the Essbase Administrative Services Console.
    Now I need to let one of the users modify certain values used in the buisness rule. One way is to allow the user to access EAS Console and then edit the rule.
    However for a business user its not a very ideal way of editing the rules.
    Can somebody please suggest if at all there is some other way by which the user can modify the business rule without getting into much of a coding thing and out of EAS Console?
    Thanks in Advance.
    Regards.
    Alicia

    Hi,
    If you are using classic planning and in the first release of planning the only way to edit business rules is via EAS.
    I wouldn't really expect standard business users to be editing business rules, maybe the occasional user who has knowledge of business rules.
    Does the user really need to update code? Are run time prompts not enough. Should it not be a superuser or admin making these changes.
    In later versions of V11 there is also calc manager for classic planning though I am not a fan of this yet and feel it has a long way to go.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Automating consolidation entries using business rules

    Hi all,
    May I know whether it is possible to automate the following standard consolidation entries in SAP BPC using Automatic Adjustments Business Rules tables:
    1. Attribution of profit after tax to Equity Holders and Minority Interest;
    2. Appropriation of changes in post-acquisition Reserves to Minority Interest; and
    3. Elimination of parent company's Investment in Subsidiaries against subsidiaries' pre-acquisition Share Capital and Reserves.
    The mechanics of these entries are:
    1. [Profit after Tax|https://forums.sdn.sap.com/] x POWN% -&gt; post to [Retained Earnings|https://forums.sdn.sap.com/] and [Profit after Tax|https://forums.sdn.sap.com/] x Minority Interest % -&gt; post to [Minority Interest|https://forums.sdn.sap.com/]
    2. [Post-acquisition changes in Reserves|https://forums.sdn.sap.com/] x Minority Interest % -&gt; post to [Minority Interest|https://forums.sdn.sap.com/]
    3. Parent company's [Investment in Subsidiaries|https://forums.sdn.sap.com/] -&gt; post to [Goodwill|https://forums.sdn.sap.com/], Subsidiaries' [Pre-acquisition Share Capital and Reserves|https://forums.sdn.sap.com/] x POWN% -&gt; post to [Goodwill|https://forums.sdn.sap.com/] and Subsidiaries' [Pre-acquisition Share Capital and Reserves|https://forums.sdn.sap.com/] x Minority Interest % -&gt; post to [Minority Interest|https://forums.sdn.sap.com/].
    The questions are:
    How do I specify the Minority Interest % in the Automatic Adjustments Business Rules Table.
    How do I specify that I am using Direct PCON% and Direct Minority Interest % for some entries and Indirect POWN% and Indirect Minority Interest % for some other entries?
    How do I post one entry to the same level in the ENTITY hierarchy in which the ENTITY resides for subsidiaries and post the same entry to the immediate next higher level for the Parent Company in that level?
    Thank you.
    Regards.

    Resolved.
    correcting the code below
    *RUN_PROGRAM VALIDATION
    //CATEGORY = %CATEGORY_SET%
    CURRENCY = %GROUPS_SET%
    TID_RA=%TIME_SET%
    OTHER=[ENTITY=%ENTITY_SET}
    *ENDRUN_PROGRAM
    to
    *RUN_PROGRAM VALIDATION
    //CATEGORY = %CATEGORY_SET%
    CURRENCY = %GROUPS_SET%
    TID_RA=%TIME_SET%
    OTHER=[ENTITY=%ENTITY_SET%]
    *ENDRUN_PROGRAM

  • BRF - Business Rules Framework - getting started

    Hi,
    I'm trying to set up a rule using the BRF. Has anyone set up a simple rule with tcode BRF? What are the steps to follow?
    Any suggestions will be appreciated.
    regards,
    Bert

    Hello Bert.
    I have come across a few good SAP HELP documentations,
    [SAP HELP Library - Standard Reference - Business Rule Framework (BRF)|http://help.sap.com/saphelp_erp2004/helpdata/en/dc/38bb4006d9cc38e10000000a155106/frameset.htm]
    [SAP HELP Library - Standard Reference - First Steps Towards Your Own BRF Application|http://help.sap.com/saphelp_erp2004/helpdata/en/49/0f2541a2d5b167e10000000a155106/content.htm]
    Hope this is what your looking for.
    Good Luck & Regards.
    Harsh Dave

  • Business rule framework

    Hi gurus,
    I would like to know some details on BRF - Business Rule Framework...is it a technical stuff of functional..
    expecting answers

    Here is a brief description on BRF...
    TheBRF isa Runtime and Maintenance Environment for the Processing, Implementation and Configuration of Technical and Business Rules.
    An SAP Application using BRF raises BRF-Events
    &#56256;&#56451;To eachBRF-Event, a number of Rules can be assigned.
    &#56256;&#56451;A Rule works like: If<booleanExpression> then<Actions>
    &#56256;&#56451;An Expression is an object that returns a result.
    &#56256;&#56451;Expressions may be nested.
    &#56256;&#56451;Usually, the result type is primitive (C, N, B, I, ...)
    &#56256;&#56451;An Action is an object, that acts on another(usually non-BRF) object.
    &#56256;&#56451;Actions may use Expressions as Parameters.
    Events may be considered the „entrypoint/gateway“ to Rule Evaluation and Execution in BRF
    &#56256;&#56452;Events are implemented at specific points within a business process–e.g.: when a document is stored, when a payment is transferred etc.
    &#56256;&#56452;An Event is associated with one or more „rules“ which wil be executed when the Event is triggered
    &#56256;&#56452;Triggering an Event can be done via coding
    &#56256;&#56452;Events can define the context:
    &#56256;&#56452;E.g. crm event contextcrmt_brf_event_contex
    BRF Expressions
    &#56256;&#56452;Expressions are BRF objects that return a definite result
    &#56256;&#56452;Boolean Expressions form the „IF“ part of the Rule
    &#56256;&#56452;Expressions can be e.g. of the following types:
        •Constant
        •Fieldof a Structure(DataSource)
        •BooleanThree-operandArithmetic
        •SAP Formula(as usedin BADI implementations)
    BRF Actions
    &#56256;&#56452;Actions are BRF objects that start some activity as part of Rule Execution
    &#56256;&#56452;They form the „THEN“ part of the Rule
    &#56256;&#56452;Standard BRF Actions can be of the following types:
       •ExecuteFunctionModule / Method
    &#56256;&#56452;Actions are usually application specific.
    For example, some Actions in FS are:•Start Workflow/RaiseBOR-Event •Status change •Trigger BRF Event • Message into the CRM Log
    BRF Rulesets
    Definition of Rule Set:The rule set concept offers the option of grouping rules that are connected in the business sense, but distributed over several events, and then activatingor deactivating them jointly.

  • How to track Hyperion Business Rules

    Hi
    Which log can we look into to track which HBR'S were created/deleted by users along with timestamp?
    Env:11.1.2.1 ,WIN2K8 64 bit
    Thanks,
    Manoj

    I wouldnt have thought many users were creating business rules?
    anyway not sure the HBR logs by standard will log who created/deleted a rule, maybe if the logging is set to a different level.
    You can also check out the relational eas database, table HBRRules has ModifiedBy,Owner and LastModified columns, the ModifiedBy/Owner will need to matched back to the user, it will not tell you deletions though.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Check which data records have been updated or created by the business rule.

    Dear all,
       Is there any way to check which data records have been updated or created by the business rule?
       For ex:
       When I run a data package which execute some standard store procedure and the log shows :
    Executing SPRUNCONVERSION  'LEGALAPP', [ACTUAL], [GGGG],'GLOBAL','SPSCOPE_42412','SPLOG_125272'
    SPRunConversion Version 2.06
    20071200 - 210 Rows Calulated
    20071200 - 84 Rows Updated
    Anyway to see the data content of "84 Rows Updated "?
    Best Regards,
    Jeff

    Yes each aplication has 3 fact tables:
    FACTWB:Real time storage, when you send data it is stored here and this is linked to the FACTWB partition in OLAP which is a ROLAP partition to enable real time updates of the data.
    FAC2: Short term storage. If too many records are in the FACTWB the aplication becomes slow because these records need to be queried by the OLAP engine everytime new records are send to the database. To clean up te real time storage you can do a lite optimize, which will move the FACTWB records to the FAC2 partition. this lite optimize can be done even when users are in the system.
    FACT: this is the long term storage. When your reporting is finished you can run a full optimize to clean up both FACTWB and FAC2 tables and store it in the FACT table. This contains all your historical records.
    Evertime you run a reort, SAP BPC is looking at all 3 partitions and combines the data of the 3 partitions to present the correct value in your report. Remember that BPC is posting differences in the WB and not the final values. So if you have for example a record with 10 in the FAC2 partition and you send 12 to the database for that intersection, BPC will post only 2. When running a report it combines the 10 and the 2 which makes 12.
    Hope this makes it more clear.
    Joost
    Edited by: Joost Hoppenbrouwers on May 6, 2008 12:19 PM : Seems that James and I where writing pretty much the same post at the same time

Maybe you are looking for

  • IMovie '08 - Is it really that bad??

    I purchased iLife '08 (and iWork '08) two days after they were released. And really, I have to say, I think that they are both well worth $80. There's been so much talk about the shortcomings of iMovie '08, and maybe it's just me, but it seems like A

  • No event raised for BUS2209 Purchase order response

    Hi Folks, Have any of you experiensed that the SAVED event for POR is not raised? I checked the event trace ( No restrictions) and there is no entry after the POR is saved. Maybe I'm doing something wrong, but when I save a POR that is manually enter

  • Two of Three internal speakers arn't being used in Black Macbook (2006)?

    Hi, I probably tinker with my Macbook too much, however I noticed today that sound is only coming through the one internal "woofer" speaker, or the speaker that faces up at the F8 key.  When using the internal speakers, not using an external output i

  • TS1424 error when submitting a podcast rss: byte-range requests

    Hi when I submit rss feeds now I'm getting an error message that we need to enable byte-range requests. I saw this article: http://theaudacitytopodcast.com/itunes-changes-podcast-specs-and-features/ saying that " iTunes now requires all hosting serve

  • How to enable Change control locking in an environment?

    Hi all, Can anybody tell me how to enable change control locking_ in an environemnt? Any documentation regarding the same will also be very helpfull. Thanks, Anoop Edited by: The Student on May 13, 2009 10:04 PM