Business Rules in CAF Application

I want to implement Java Rules API into CAF Application in NWDS 7.0 ? Can anyone help me regarding this

Hi Ashutosh,
You can use the following entity design:
1. Create "Country" business entity with the following attribute:
  name - com.sap.caf.core.shortText
2. Create "ageBonuses" complex attribute for your "Country" business entity with the following attributes:
  age - com.sap.caf.core.long
  bonus - com.sap.caf.core.value
So, build and deploy the CAF project. After create CAF Object Selector configuration for "Country" entity, then create CAF Object Editor configuration for "Country" entity too, and finally create CAF Relation Tab configuration for Country_ageBonuses aspect and add this tab to the object editor configuration.
So, after that you will be able to execute object selector, search conuntries by defined criteria, open existing Country or create new one. After Object editor is opened you will see country details with bonuses tab where you can change/edit/remove bonuses in very user friendly way.
Check the <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b6d5a7ea-0c01-0010-64aa-eb46784a7b7b">Create a Local Entity Service and UI Maintanance</a>
Best regards,
Aliaksei

Similar Messages

  • Deploying business rules across mutliple applications.

    Hi
    Please let me know is there way to deploy Datasync project ( Business Rules) across multiple applications at a single shot.
    Thanks

    As far as I know, contents of DataSync Projects are always scoped to a portal application. When we create EAR of portal app also, contents of datasync projects are within EAR file in addition to all other projects.
    BUT, we can share same Datasync Project across multiple portal applications. But for deployment, I doubt if you can deploy and access it like a Shared Module.
    Ravi Jegga

  • Business Rule Of Sample Application in Planning

    Hi Planning Gurus,
    I am unable to find where the business rule is saved in Planning Application (Sample Application shipped with Planning), though i see some default Rules under Business Rule within Admin console like aggall etc. But where are the basic calc like Revenue=Unit*Unit Price.
    Thanks & regards
    N Kumar

    If the location and access has been set up on the business rule then they should appear soon after in planning.
    If no business rules are showing and depending on your version, check that HBRServer.properties exists in the planning web server strucure e..g \Hyperion\deployments\Tomcat5\HyperionPlanning\webapps\HyperionPlanning\WEB-INF\classes
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Unable to view Business Rules in Planning application

    Hi All,
    After changing the password of hypadmin i am not able to view all the business rules in my planning application and EAs console business rules wizard also doesn't shown planning when i am trying to add location.
    Please suggest how to do password change in Hyperion 11.1.2.
    Regards,
    Vasu

    Hi,
    If it's admin id(configuration id), then you need to configure all the components which is registered with shared services after changing your password.
    For example, EAS configuration, only re-configure for -> Register with shared services.
    Like the same way we need to do for all components with new password & for planning apps, need to edit datasource with new password.
    Thanks.

  • Error to connecting business rules for Planning application outline

    Hi all,
    I recently migrated database schemas from uat to prod.i configured evrything successfully.when
    I loged into EAS console with user(other than admin)that user has all acces to create business rules,
    I tried to create new business rule to select planning application.
    I am getting this error" error connecting to essbase server<servername>:<appname>
    in error details "error connecting to pllanning server<servername>:<appname>"
    and "error loading objects from data source:java.sql.SQLException: [Hyperion][Oracle JDBC Driver]Object has been closed."
    Please anybody help on these
    regards
    vas

    hi john,
    we are using hyperion planning 9.3.1.1.11 version,
    we were new installatalled Production server and configured,but i did not test the business rules in production server,
    next my DBA exported Oracle Dabase Schemas from UAT server to Production sever those scema names are same in UAT and Production server,so my DBA droped The Schemas in production and replaced the UAT scemas in production server,
    After i manually configured the production server with Migrated scemas, in configuration i changed the server names with production sever and Database names while configuration ,Hyperion planning datasource names are same in UAT and Production ,i manually edited the server names and Database names, i configured to For EAS ,Shared Services,Planning
    Everything configured sucessfully,i am able to log on to application Planning url,and refreshed everything,
    But i am logon to EAS console, i tried to create the Business rule with associate Planning Application I am getting this error Connecting to essbase server<server name>:<appname>
    In error details "error connecting to pllanning server,servername>:<appname.
    and error loading objects from datasource:com.java.sqlexception;[hyperion][oracle jdbc driver]object has been close.
    please help on these
    thanking you
    srini

  • Setting up Rules in CAF application ?

    I have a scenario that i have to implement using CAF... I wil give a small example to explain that
    Mine is a global company and I have to distribute bonus to employees in different countries. Now the %age of bonus distributed is different in different countries,
    which keeps changing every year.
    Now i want a way to implement this in CAF. A way where i could store a list of countries along with their "%age bonus" values, which i can easily update every year. Also i can add new countries as well when required.
    I feel that this could be done using Entity Services ? Is there some other standard way in CAF to implement this ?
    Thanks
    Ashutosh Rastogi

    Hi Ashutosh,
    You can use the following entity design:
    1. Create "Country" business entity with the following attribute:
      name - com.sap.caf.core.shortText
    2. Create "ageBonuses" complex attribute for your "Country" business entity with the following attributes:
      age - com.sap.caf.core.long
      bonus - com.sap.caf.core.value
    So, build and deploy the CAF project. After create CAF Object Selector configuration for "Country" entity, then create CAF Object Editor configuration for "Country" entity too, and finally create CAF Relation Tab configuration for Country_ageBonuses aspect and add this tab to the object editor configuration.
    So, after that you will be able to execute object selector, search conuntries by defined criteria, open existing Country or create new one. After Object editor is opened you will see country details with bonuses tab where you can change/edit/remove bonuses in very user friendly way.
    Check the <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b6d5a7ea-0c01-0010-64aa-eb46784a7b7b">Create a Local Entity Service and UI Maintanance</a>
    Best regards,
    Aliaksei

  • Business Rules error when creating new classic planning application in 9.3.

    Im trying to create a new planning application using classis planning application wizard in Workspace. everything seems alright untill i gets an error saying "Business rules cant connect to Planning"
    other than this Business rules working fine and i can open business rules in other applications and i can access business rules repository in EAS.
    Any thoughts on this ?

    Further invesitgation bears this problem out.
    Oracle support recommend wrapping the SimpleType in a ComplexType. This does work, but now I have an extra wrapper element to deal with. I either have to use the wrapped type in my other complex, composed Types and/or add an external wrapping element when trying to create Business Services in BPM to call the BusinessRules I've created.
    This is a bit messy.
    To be clear, this does not seem to be an issue with Business Rules; the BR editor and generation of Facts (including simple restricted types -> JAXB 2.0/Java Enumerations) seems to work correctly. There seems to be an issue exposing DFs as Services. The code which generated the WSDL and its supporting types seems to choke on restricted SimpleTypes.
    As a side note, it seems that HumanTasks have a similar limitation
    Edited by: wylderbeast on May 31, 2011 3:27 PM

  • Business Rules Icon in EAS Enterprise view

    Dear All,
    I am currently using Hyperion planning 11.1.2.2, in EAS the Business rules icon (To use graphical mode) is not displayed in Enterprise view.
    EPMA and calculation manager are not installed, I use instead classic application .
    When I checked the roles attributed to admin user (Provisioning Tree) in Shared services, I did not find Business rules Role in the "Available Roles" Panel (the left one : there is only essbase cluster,foundation and planning)
    Is it related to essbase installation? I did not install essbase integration service.
    PS: when I created my application I could not choose Business Rules in the Application creation panel, it was not available back then
    thank you for your help.
    Regards

    From the docs : "Oracle Hyperion Calculation Manager has replaced Oracle Hyperion Business Rules as the mechanism for designing and managing business rules, therefore, Business Rules is no longer released with EPM System Release 11.1.2.2. If you are applying 11.1.2.2 as a maintenance release, or upgrading to Release 11.1.2.2, and have been using Business Rules in an earlier release, you must migrate to Calculation Manager rules in Release 11.1.2.2."
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Group Security Issue with Business Rules

    Hopefully you experts out there can follow this. We have about 200 users in our Planning application split into 3 categories (Admins, Interactive Users and Planners) via groups setup in Shared services. We also have an email group list setup in Outlook that has all 200 users in it that we use to send out emails to all users regarding the application. So in Shared Services we have the email group list as an assigned group in the Planners group. So as new people are added to the group list in email they are automatically included as a user in the Planning application. People that are Admins or Interactive Users are manually added to those groups in Shared Services. Everything seemed to be working fine until we tried blocking the Planners groups from running certain business rules in the application. We have clusters setup in Essbase to control access to the business rules. I went into the cluster and set the Planners group to cannot validate or launch on certain rules but found that I now could not run the business rules either even though I am an Admin and the Admin group has vaildate and launch privledges in the cluster. I believe the issue has to do with the fact that I am by default in the Planners group because I am in the email group list which is assigned to the Planners group in Shared Services. Other than setting up and managing 3 seperate email group lists and assigning them individually in Shared Services, does anyone know how I can manage business rules security using the 3 groups i have setup? I hope this makes sense. If not I can provide more detail. Thanks.

    Have you tried using Business Rules projects? Create a project for the admin Shared Services group and assign all rules to that group. Create a Planning project for planners and assign only rules that you want them to run. Any rule that planners should not have access to would be removed from the Planner business rules project, but still in the admin project for you to run.

  • How to add Exception handling in Oracle Business rules Function

    Hello,
    We use to have good number of business rules in our application. So we need to have some functions in BR Composite.
    Can some one let me know how to handle exception in Oracle business rules exception( Regular try catch will not compile)
    is there any way please let me know.
    Edited by: Network22 on Mar 25, 2013 10:21 AM

    Why aren't you using por_custom_pkg.custom_validate_req_line to add extra validations.
    Ensure that profile POR: Enable Requisition Line Customization is set to Yes if you were to use po_custom_pkg for Requisition line validations.
    OAF calls por_custom_pkg at various points depending upon the values in Profile Options:-
    POR: Enable Req Distribution Customization
    POR: Enable Req Header Customization
    POR: Enable Requisition Line Customization
    Thanks,
    Anil Passi

  • Delete obsolete business rules

    Hi experts,
    I'm currently working with Hyperion Fusion Edition 11.1.1.2.
    In calculationmanager I created 10 business rules for an application.
    I then deleted all of them in one step (marked all then right click "delete").
    The intenet explorer browser freezed showing "DELETE".
    I then closed the browser and logged back in, imported the new 10 business rules to the application and deployed them.
    It is very wierd that I still have the old 10 business rules which I deleted plus the 10 new business rules.
    The old business rules are not to be found either in system-,deployment-, or list-view but can be found in planning application.
    Is there workaround to delete the 10 old business rules which I cannot see in calculation manager and still exist in planning?
    Many thanks
    Ed

    Hi,
    There is a Java API available for Oracle Business Rules, see: http://docs.oracle.com/cd/E23943_01/apirefs.1111/e10663/toc.htm. E.g. for adding buckets to bucketsets, adding or adding, deleting, or reordering rules in A RuleTable.
    Kind regards, Ronald

  • Business rules in calculation manager

    Hi experts,
    I'm currently working with Hyperion Fusion Edition 11.1.1.2.
    In calculationmanager I created 10 business rules for an application.
    I then deleted all of them in one step (marked all then right click "delete").
    The intenet explorer browser freezed showing "DELETE".
    I then closed the browser and logged back in, imported the new 10 business rules to the application and deployed them.
    It is very wierd that I still have the old 10 business rules which I deleted plus the 10 new business rules.
    The old business rules are not to be found either in system-,deployment-, or list-view.
    Is there workaround to delete the 10 old business rules which I cannot see in calculation manager and still exist in planning?
    Many thanks
    Ed

    There are 2 ways to deploy rules to planning from calc manager.
    Option 1. When you select a bunch of rules and deploy, the old ones are not deleted from planning.
    Option 2. Go to the deployment view, select the rules you want to deploy. Go back to the system view and do a deploy at the application node.
    When you deploy at the application level, planning will erase all the existing ones and replaces it with the new ones.
    -SM

  • Business Rules are disappearing from forms in Hyperion Planning v 11.1.1.3

    We are using Calculation Manager to create business rules in a planning v 11.1.1.3 application using EPMA, web logic and SQL Server. We have had several instances where business rules that were attached to forms suddenly would disappear. The form still is aware that there is an attached rule, because the application and database name appears in the Business Rules section of the form. However, all of the business rules in the application are no longer visible (i.e. the rule names are blank). The only way we have found to correct the problem is to make a copy of the rules in Calculation Manager and then redeploy the rules and re-attach them to the forms. The old rules still show up with blank descriptions. This has happened at two different locations and seems to corresond with application deployment, although intermittent. Any help would be appreciated.
    Thanks...

    If I understand what you're saying, I had the same or similar thing happen to me recently with v11.1.1.3, only I'm using classic Business Rules. I don't know why the problem occurs, although I think the root cause is probably related to inter-server communications, not to the corruption or loss of metadata. It happened to me in the target environment when I exported the rules from one environment and imported them into another.
    When I encountered the problem, I opened and then saved (without changing anything) the business rule cluster I use for managing access rights. That resolved the problem, my guess is by giving the application servers enough of a kick in the pants to start talking to one another again.
    I don't know whether this helps any, but I just thought I'd let you know you're not the only one who has seen this problem.
    Regards.

  • Business rules do not appear in Planning

    Hi,
    I've created 4 business rules, and assigned myself with Modify privileges, and "Launch and validate" privileges.
    Outline has been assigned and the rules validate fine as well.
    When login to planning and view the business rules under that plan type, it does not show the rules.
    Can anyone help with understanding what this prolem is related to?
    Thanks,
    Anindyo

    I assume that you assigned the business rule to the application location? If not, go into the business rule edit mode and check the Location tab. Make sure the application location is added. If it does not seamlessly appear in Planning, then log out then back into the Planning application for the rules to synch with Planning.

  • Security removed from business rules

    Hi,
    The business rules for an application stopped working with an error it could not be validated against the database. I looked on this thread
    Error validating business rule
    The security was no longer present. The business rules had not been imported. I added it back in and things started working. I would like to know why the security was lost as I have not seen this before.
    Thanks,
    Nathan

    Has it only every happened once and on one rule? If so I am not sure if you will get a definitive answer to why the rule has no security.
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for

  • How do i get a scanjet 5200c to work with windows 7?

    I have a Scanjet 5200c that worked well with Windows XP.  When I went to Windows 7, it stopped working.  HP support said they did not support this machine with a driver for Windows 7.  Why not?  How can I get this perfectly good scanner up and runnin

  • Intelligent Agent doesn't work

    Hi dear colleagues, I got a problem with the Intelligent Agent. I installed Oracle 8i EE 8.1.5 and OEM 2.1 on Windows 2000 server. When I try to discover the databases with OEM, OEM could only find the node, it could not find any database. So I thoug

  • Set resultOut in java

    Hi, I'm trying to make an java function call from my workflow. When I don't set resultOut in my class everything works and the task state is complete. If I try to set resultOut, status remains deffered, even after I run the background process. What c

  • Network Error []: Cannot Get Host Name when running business rules

    Guru's We are getting the following error intermittently when we are running business rules (Planning Application >>Tools>>Business Rules) or running SmartView refreshes: Network error []: Cannot Get Host Name The following is then logged in the Essb

  • Trouble displaying X-axis constant line

    In a graph template I want to insert an x-axis constant line at the minimum measured value on the y-axis.  I have succeeded in printing the numeric x value in text on the graph by using the formula:  str(ChD( find ("Vacuum_Smooth" -CMin(cno("Vacuum_S