HOW TO ADD BUSINESS RULES
HI EVERY ONE,
I HAVE A REQUIREMENT WORKING ON MM , I HAVE SOME BUSINESS RULES IN FUNCTIONAL DESIGN DOCUMENT AND I NEED TO WRITE THE TECH DESIGN . MY QUESTION IS HOW TO ADD BUSINESS RULES IN TECH SPEC. EXAMPLE I HAVE FINAL DUE DATE AS BUSINESS RULE i.e,
Final Due Date = Baseline Date + Maximum Day Term
If Clearing Date is = Final Due Date = Invoice is Paid-On Time
If Clearing Date is < Final Due Date = Invoice is Paid Early.
If Clearing Date is > Final Due Date = Invoice is Paid Late
I have the data available for Final Due date from R3 .
So after creating the Info Object( characteristic), where can I add this formula for that Z INFO OBJECT ? I have total of 5 business rules like this in my funtional doc
Help will be appreciated . Points will be assigned if my problem solved...
thanks
Hi Harish,
With the assumptions:
1. You are using a BI 2004s system
2. The fields Baseline Date, Clearing Date & Maximum Day Term are being sourced from R/3
The rules can be coded into the End Routine in the Transformation.
If you are using a BW 3.x system, this logic can be coded in the Start Routine at the Transfer Rules or the Start Routine at the Update Rules.
Hope this helps.
Regards,
Shrikant
Similar Messages
-
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 advanceHi,
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 -
How to modify business rules?
How to modify business rules using SOA composer?
Please provide deatils.I have followed same steps but its not working
When i was chnaged insert action edit properties values .
it is not refelcting. showing old value.
Please help me -
How to add conversion rule in SCOT email attachment.
Hello All,
How to add conversion rule in SCOT email attachment.
I try to csv conversion rule in scot through spro. I add this rule through SPRO successfully but this rule not added in SCOT internet tab.Hi,
Please find below link. May be these are helpful to you.
http://scn.sap.com/thread/717106
http://help.sap.com/saphelp_nw70/helpdata/en/af/73563c1e734f0fe10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/39/4d3d3d9ba00645e10000000a114084/content.htm
Regards,
Saket S. Ghanekar -
How to change business rule in the runtime
I create a business rule and add it in a BPEL process. After deployment, this process works fine.
How to modify the rule in run time? I mean I do not need to redeploy the process.If you are using SOA suite 10g qhen you add a decision serivce to your BPEL process it doens;t use a pointer to the rules repository but actually makes a copy of the rules respository and deploys it locally within the BPEL process. Because of this any changes you make to your initial respository will not be seen because the delopyed process does not use the original version. You need to update the decision.dec file in your BPEL project and change the repository information to point to the original rules repository you want to use.
Once you have done this redeploy the BPEL process and your changes shoudl be reflected in your process.
Hopefully this information helps
Regards
richard -
Hi,
I've created a composite business rule and exposed as a composite, if i want to call reuse that business rule in multiple bpel processes, how can i do it?
Any help would be appreciated, thank you :)
Thx,
Rahul venkatHi
I am currently facing a problem invoking a Composite from within the BPEL.
Scenario: I have created a composite which has one Business Rule Component. The composite deploys successfully to the Web Logic Server. (Successful compilation: 0 errors, 0 warnings). However there is a number of "ignoring messages" which do not affect the deploy. These ignoring messages could be the souce of my problem which I will explain later. Example of an ignoring message
ignoring C:\Work\Project\ValidationProcess\Rules\xsd\PDQuality_DecisionService_1Types.xsd; not on source path
Now if I create a new project composite which has a BPEL component. The BPEL component has a partner link to call the Composite mentioned above. When assigning variables i.e Input variables to the partnerlink service, I notice that the payload of the invoke variables ( TO Section) has an error "Exception - Problem building schema!"
To prove that the partner service is working. I can view the WSDL in Internet Explorer. I can use the Eclipse WTP workbench to invoke the service ( Composite with Rules ). Now could it be that I am getiing this problem because initially when deploying the service (Composite with Rules) I was getting these ignoring messages and could it be that I should add all the ignoring source to the source path.... OR am I just embarking on a tangent!
Thanks in advance
Using SOA 11G - 11.1.1.2 (WebLogic Server 10.3.2) and Jdev 11.1.1.2.0
Thx,
Venkat Rahul -
How to create business rule for 'Integrity constraint - child not found'
Hello, I am using JDeveloper 11.1.2.3.0.
When an integrity constraint is violated an error message coming from database is displayed in my application. In this case is the error "integrity constraint (TableName) violated - child record found "
How can I personalize the error shown in this case? I tried with EO business rules but I couldn't find this key, only "Key exists" or "UniqueKey".
Can anyone help?Check Catch Me If You Can article. This should be handled there as one of the errors thrown in the model layer. Check the AdfmErrorHandlerImpl ...
Timo -
How to create Business Rule?
Hi All,
i am new to Hyperion, can any one help me on the following issue.
i want to crate a business rule to aggregate data from level 0 to parent level for one partcula data form and aloso have to calculate the data for the following member
Cost per Unit = Total Revenue/Unit
i have already have the member formula in outline for cost per Unit as follows
Cost per Unit = Expense/Unit
How i can create the business ruleto calculate the data for cost per Unit (Total Revenu/Unit) and the aggregation of data to the parent level in data form
I have 12 dimensions and i am using 9.3.1 Version
Thanks in advance
Ram
Edited by: Ram on Sep 2, 2011 2:36 AMi want to crate a business rule to aggregate data from level 0 to parent level for one partcula data form^^^These are oldies but goodies:
http://camerons-blog-for-essbase-hackers.blogspot.com/2009/06/why-i-hate-and-love-business-rules-part.html
http://camerons-blog-for-essbase-hackers.blogspot.com/2009/06/why-i-hate-and-love-business-rules-part_17.html
Cost per Unit = Total Revenue/Unit^^^Are you asking if it makes sense to calculate this ratio at all levels of the database or only at the top level? If you mean that it only makes sense at level zero, you could use a FIX statement to select all level zero members and then perform the calculation. Based on the formula, I would think you could get away with a dynamically calculated member formula, assuming Total Revenue is dynamically calculated as well. Generally, level zero calcs in a business rule are only required if there's a percentage involved; if the formula is valid at aggregated levels, make it dynamic unless reporting performance (I have seen dense formulas that go across many, many blocks -- bad idea) falls off a cliff.
Regards,
Cameron Lackpour -
How to apply business rule over report level
Hi All,
I have a column name AAA over which i have to apply a business rule/filter like
COUNT(“X Fact”." ID") WHEN “X Fact”.”Time to Issue Policy” <= 2 days at report level.How to apply that?any idea?
Regards,
SonalHi,
Thanks for responce.
Yes my AAA col is measure column coming frm Order Fact table (i.e AAA= "Order Fact"."Number of Order") & below is Business rule which I have to apply there
COUNT(“Order Fact”."Order ID") WHEN “Order Fact”.”Time to Order” <= 3 days.How Can I apply this logic there at report level.Plz help?
Regards,
Sonal -
How to add Business area in t code S_ALR_87012082 for dynamic selection.
Hi Gurus,
I need to add Business area field in T-code S_ALR_87012082.
On choosing dynamic selection, i found that Business area is not there.
Can any one please tell me how can i add Business area field over there.
Thanks in advance.Please check following SAP notes for this.
188663 and 832997 and 310886 -
How to Load Business Rule XML in 9.3.1
Hello,
I am using EAS 9.3.1. On the Business Rules component, I selected Export Business Rules, and it invited me to export all business rules, variables, macros, and projects into one xml file. Now I cannot figure out how to load that xml file. I am copying from a production environment to a development environment, because we moved the database of the development environment to another server. I have reconfigured the applications and databases. What do I have to do to load the xml file?
Thank you,Thank you. I was getting the following error, and I thought it meant, I cannot expand the Business Rules icon because I did not have any business rules. If this something I configured incorrectly, or something the DBA missed?
Error logging in to Business Rules. The repository has not been configured or you are not authorized to use Business Rules.
Detail:Error creating DBConfig object. Please check if there are exceptions in the log file and if HBR is configured correctly.
Detail:null -
How to add business systems into DIRECTORY?
Hi,
I have problem to add business system into Business Systems list in my scenarion in the Integration Directory. These systems are already in the SLD, but when I try to assign a business system, I have only choice to assign XI...
How to solve this problem?
Thanx 4 answers!
Peterhi Peter,
maybe your business systems are already inside ID?
BTW
did you assign you business system to a correct
integration server? (when definig the business system)
also remember to refresh SLD data cache from ID
- environment
- clear SLD data cache
Regards,
michal
Message was edited by: Michal Krawczyk -
How to extract Business Rules in OWB (Design Center)
Hello All,
We recently inherited an OWB project without any documentation. Can anyone tell how best to EXTRACT the business rules within the Design Center Client? Is it even possible to get this info from within the tool? We are trying to put down some documentation and really need to know rules used to load the tables.
Thanks so muchTry this http://docs.oracle.com/cd/E17236_01/epm.1112/cmgr_admin/ch07s03s01.html
"To remove a business rule or ruleset from an application after you deploy the business rule or ruleset, make it ineligible for deployment by clearing the check box next to its name in the Deployment View. Then you can perform a full deployment of the application by right-clicking it and selecting Deploy."
As you've already deleted rule from Calc manager try to create empty rules with the same name (if first full deployment wouldn't help)
Edited by: vvipirailo on Jun 6, 2012 10:42 AM -
How to do Business Rules' performance turning in BPEL?
Does anyone have any business rules' performance turning experience or suggestion? Please share and help.
In our BPEL process, we invoke one or two business rule with Decide activity. Because we think using business rule should be more flexible and re-usable. If we want to modify rule in the production environment, with business rule method it's no need to re-deploy the BPEL process. What we need to do is lively modify the business rule with rule author.
But in the stress testing period, we find that the Decide activity which invoke the business rule is a big bottleneck in the BPEL process. If the concurrent threads are large enough, then the whole BPEL server is suspend and more error BPEL instances happen.
By default, the business rule is deployed as web service in application server and BPEL process invoke it through SOAP protocol. SOAP protocol is much slow than WSIF method. So we change the describe file in BPEL process and let BPEL process invoke business rule through WSIF method, meanwhile we change some parameters and do some turning work with database and SOA Suite. But WSIF method is not good enough and we can't find any parameter related to business rule and web service.
After using WSIF method, we still find lots of following errors log in stress testing (Timed out):
<2008-04-18 22:34:16,453> <ERROR> <default.collaxa.cube.engine.dispatch>
<DispatchHelper::handleMessage> failed to handle message javax.ejb.EJBException:
An exception occurred during transaction completion: ;
nested exception is: javax.transaction.RollbackException: Timed out
javax.transaction.RollbackException: Timed out
at com.evermind.server.ApplicationServerTransaction.checkForRollbackOnlyWhileInCommit
(ApplicationServerTransaction.java:582)
at com.evermind.server.ApplicationServerTransaction.doCommit(ApplicationServerTransaction.java:244)
at com.evermind.server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:130)
at com.evermind.server.ApplicationServerTransactionManager.commit(ApplicationServerTransactionManager.java:433)
at com.evermind.server.ejb.EJBTransactionManager.end(EJBTransactionManager.java:132)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:57)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at CubeDeliveryBean_LocalProxy_4bin6i8.handleInvoke(Unknown Source)
at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle
(InvokeInstanceMessageHandler.java:37)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138)
at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
at sun.reflect.GeneratedMethodAccessor110.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke
(SetContextActionInterceptor.java:44)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:266)
at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
at java.lang.Thread.run(Thread.java:595)
javax.ejb.EJBException: An exception occurred during transaction completion: ; nested exception is:
javax.transaction.RollbackException: Timed out
at com.evermind.server.ejb.EJBUtils.createEJBException(EJBUtils.java:365)
at com.evermind.server.ejb.EJBTransactionManager.end(EJBTransactionManager.java:139)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:57)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at CubeDeliveryBean_LocalProxy_4bin6i8.handleInvoke(Unknown Source)
at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle
(InvokeInstanceMessageHandler.java:37)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138)
at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
at sun.reflect.GeneratedMethodAccessor110.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke
(SetContextActionInterceptor.java:44)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:266)
at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.transaction.RollbackException: Timed out
at com.evermind.server.ApplicationServerTransaction.checkForRollbackOnlyWhileInCommit
(ApplicationServerTransaction.java:582)
at com.evermind.server.ApplicationServerTransaction.doCommit(ApplicationServerTransaction.java:244)
at com.evermind.server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:130)
at com.evermind.server.ApplicationServerTransactionManager.commit(ApplicationServerTransactionManager.java:433)
at com.evermind.server.ejb.EJBTransactionManager.end(EJBTransactionManager.java:132)
... 29 more
<2008-04-18 22:34:16,453> <ERROR> <default.collaxa.cube.engine.dispatch> <BaseScheduledWorker::process>
无法处理分派消息 ... 异常错误 ORABPEL-05002
消息处理错误.
尝试处理消息 "com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessage" 时出现异常错误;
异常错误为: An exception occurred during transaction completion: ; nested exception is:
javax.transaction.RollbackException: Timed out
ORABPEL-05002
Thanks,
MelodySome of my suggestions:
You can just check bpel stats for checking how much exactly it took for Business rules.
Hello Melody,
Can you also let us know your test case? I tried performance test with Oracle Business Rules (file/webdav both), and results were pretty good (http://chintanblog.blogspot.com/2008/05/custom-decision-service-i-am-not-very.html)
Regards,
Chintan -
How to Migrate Business rules along with access privileges
Hi All,
I migrated business rules from prod to dev using lcm. The business rules got migrated correctly, but the access privileges did not. I tried exporting from EAS and import. Even then the access privileges were not migrated.How do we migrate business rules along with access privileges? Quick help is much appreciated.
We are on hyp. planning 11.1.1.3. and we use classic planning applications.
Thanks
LakshmiIf they are native users/groups then it may be down to the ID for the users/groups being different across environments, this has always been a problem with business rules, with planning applications then there is the updateusers utility to sync up the ID with shared services.
Cheers
John
http://john-goodwin.blogspot.com/
Maybe you are looking for
-
SetAttribute() doesn't affect transaction state
I have BC4J JSP application and I have problem with one my ViewObject, it is very similar as the other my ViewObjects, is it based on one Entity and it is on third level master-detail (master-detail1-myVOdetail2). But its behavior is very strange. 1)
-
Extention cable for Mini DisplayPort
i have MacPro , i want to extent my Cinema display cable , how can i , where i can get
-
More than 1 records in one cell
Hi all, I once came across someone's apex site whereby they've a form and one column contains more than one record. for e.g. customer1 ordered prducts abc, xyz, def, etc customer2 ordered one product xyz The form: Name |Address |Product |
-
ERROR: DW050: - Acrobat Professional: Install failed
----------- Payload: {AC76BA86-1033-F400-7760-000000000005} Acrobat Professional 10.0.0.0 ----------- ERROR: Error 1324.The path R嶰up廨er un document num廨is?sur un multifonction.sequ or the volume is invalid. Please enter it again. ERROR: Install MSI
-
Hi! Any recomondation on running either 10.4.11 or 10.5.8 on these two PM G5 modells?