Guideline for max # of levels in rules?

Hi everyone,
I have two general discussion questions that I'm curious about:
1) Do you use a general guideline for the number of levels you use in your rules? and
2) If so--what are the reasons behind that guideline?
I recall hearing that limiting rules to 3 levels deep is a good practice to follow. However, I don't really know the reasoning behind that.
I find that my rules are easily reaching 5 or 6 levels deep when modelling legislation. And if I were to limit the depth of my rules by making premises conclusions in their separate rules, I'll find my rules to be scattered.
I'm interested to know about your thoughts.
Thanks,
-Isamu

Hi,
1) I think there is no generic guideline on maximum number of levels as such. The number of levels usually depend upon the complexity of rules that you are writing.
2) Although it is recommended to avoid deep nesting of complex rules so that the rules are easier to understand and maintain.
Also, if a rule is simple but has some premises which can be reused in large number of other rules then it is better to separate out those intermediate goals into independent conclusions (and these re-usable rules can be kept in some common rules file).
Example:
RULE 1:
the applicant is eligible for the benefits if
    the applicant is a male and
    the applicant satisfies the salary criteria
        the applicant’s salary > 500 and
        the applicant’s salary <= 5000
RULE 2:
the benefit amount for the applicant = 0.25 * the applicant’s salary if
    the applicant satisfies the salary criteria
RULE 1 can be written as:
RULE 1
the applicant is eligible for the benefits if
    the applicant is a male and
    the applicant satisfies the salary criteria
the applicant satisfies the salary criteria if
    the applicant’s salary > 500 and
    the applicant’s salary <= 5000
As fas as scattering of rules is concerned, i would suggest:
1. Keep all the rules belonging to one section of legislation/policy in one document
For example you can have one rule document per section of the legislation
2. Keep all the rules common across sections in another document
Thanks.

Similar Messages

  • BPC MS 7.0 ; Is there a guideline for max. no. of dimensions per app?

    I need to know if there is guideline for maxumum no. of dimensions per application? i have been hearing that there should be 8 to 11 dimensions per application? Is this SAP recommended? or is this a best practice?

    Hi Sudhir,
    As per Nilanjan's reply below, the maximum dimension per application is 20.
    But, the more dimension you create in the application, the higher the effort to maintain it, i.e. when creating input templates/ reports, etc. So, define your dimension carefully.
    Regards,
    Liam

  • General guidelines for working with Levels?

    As a general guideline, will you always get accurate levels if you drag the left (black) triangle to the right to the point where the histogram indicates the darkest colors begin and to pull the right triangle to the point where the histogram indicates the lightest colors begin?
    Is it really this simple?
    Thanks.

    StanWelks wrote:
    As a general guideline, will you always get accurate levels if you ...
    There is no such thing as accurate levels - Levels like any other tool is used to achieve the desired image. The left and right triangles also affect the midtones and your question becomes as if asking if darker or lighter image is more correct - the answer is show me the image and I'll tell you if it looks good :-)

  • Error: Maintain settlement rule of the sender for a higher level WBS

    Hi,
    I dont want to maintain the settlement rule for a higher level WBS. How can i configure this in such a way that i dont get the following error:" Maintain settlement rule of the sender" while doing CJ88. Maintaing a separate Settlement profile for a higher level WBS is an option but we are looking if something else could be done The problem is that there are no actuals booked against, say, level 2 WBS but when i execute CJ88, i get the aforesaid error. How can i ensure that only the lowest level WBS ask for the settlement rule and not the levels above it. I have already removed the Investment profile from the higher level WBS but still getting the same error.
    Regards,
    DPil

    Hi,
    It is a type Capex WBS and Biling element is not checked. In fact i get a warning while doing the settlement: WBS is neither a billing element nor an account assignment element.
    Diagnosis
    WBS element  is not indicated as either an account assignment element or as a billing element in the master record.
    System Response
    The WBS element cannot be assigned to an account.
    Procedure
    Correct your entries or add the missing indicator to the master record for the WBS element.
    But this is just a warning. On pressing enter i get the error :Maintain settlement rule of the sender "

  • Max stock level and reorder point for all the materials

    Dear experts,
    Is there any standard mm report that will give the details of max stock level and reorder point details for all the materials?
    Thanks in advance,
    Regards,
    Krish

    Your requirement can be pulled from table MARC. I dont think there is a standard report to meet your requirement. You can meet your requirement through SAP Query though.

  • ABAP Guidelines for transfer rules & Update rules

    Is there any guidelines for abap when using it for transfer rules and update rules? I am looking for some best practise in this area.
    Thank you,

    There is no specific differences in the standards/coding procedure for Transfer Vs. Update Rulse.
    This can only come from a combination of requirement, design and experience! (in no particular order)
    for e.g.
    If the converions are the same for all data targets, you would use the transfer routine, start routine in the Transfer rules.
    If the converions are different for different data targets, you would use the update routine, start routine in the Update rules.
    Key concerns being performance, modularization, reduced effort and ease of maintenance.
    Not sure I have answered you question! Please get back if there is something specific you are interesed in (a scenario perhaps!)
    Rishi

  • [svn:bz-trunk] 18928: fixing the sample service-config. xml for max-object-nest-level setting

    Revision: 18928
    Revision: 18928
    Author:   [email protected]
    Date:     2010-12-01 14:16:56 -0800 (Wed, 01 Dec 2010)
    Log Message:
    fixing the sample service-config.xml for max-object-nest-level setting
    Modified Paths:
        blazeds/trunk/resources/config/services-config.xml

    you have your driver jar in Tomcat\common\lib?
    if so, check your classpath, it could be that.

  • Best Practises and Guidelines for SharePoint 2013 Development

    Currently We are using SharePoint 2010 and doing a lot of enhancement and customization in the portal.
    we are planning to migrate SharePoint 2013 after 6-9 months.
    I want to know what are the best practices and guidelines for development in SharePoint 2010 keeping one thing in mind that customization should be compatible or can easily migrate to SharePoint 2013 so that re-engineering effort would be as minimum
    as possible.
    We have every possible piece of customization in SharePoint 2010 portal like web part, event receivers, workflows, master page, page layout, custom search etc.
    Please do the needful.

    Best practices don't really apply here. They are generally rules of thumb that you can apply without thinking too much and be pretty much right. Development is by it's nature too varied to allow that sort of best practice guidance.
    Having said that the main thing you should be concerned with around the choice of development approach in 2013 is the intended future of your client and the application. If they are making a move to the cloud you should be concentrating on the app model
    and rapidly phasing out farm solutions. If they are considering it then you can still consider using the more old-school options of farm solutions and sandboxed solutions. If they can't go to the cloud because of data security etc. then you are more or less
    free to use what you like.
    Also, try to move to client side processing wherever possible. MS are only going to make server side work less pleasant in future.
    Beyond that, get to some conferences and start chewing through some of the blogs on the topic.

  • FAQ: User Interface Guidelines for CRM 2007 are now available

    The CRM UI Concept Team has made the UI Guidelines for CRM Web Client User Interface (CRM 2007 UI) available to the BPX community:
    This document provides an overview of the on-premise as well as the off-premise versions of the SAP CRM Web Client User Interface (UI). It contains the properties and principles of the SAP CRM Web Client UI that are already committed and available. For planned features, refer to the corresponding specification documents.
    The information in the guidelines starts with general topics, followed by details. The sections are organized with high-level topics like Page Types and Navigation Schema first, followed by the consecutive sections describing which building blocks and elements of the UI populate the various pages. A section typically starts with one or more screenshots of a central UI element with a generic explanation. The subsequent sections explain the detailed aspects of each element.
    We hope that you will find this information useful.
    Enjoy the new CRM UI! [UI Guidelines for CRM Web Client User Interface (CRM 2007 UI)_ |http://www.sapdesignguild.org/resources/CRM-UI-Guidelines-Customers.pdf]
    Edited by: Zhaojie Liu on Jun 10, 2009 10:08 AM

    Hi,
    not sure why your download stops.. you can also try to download via this link: [http://www.sapdesignguild.org/resources/CRM-UI-Guidelines-Customers.pdf|http://www.sapdesignguild.org/resources/CRM-UI-Guidelines-Customers.pdf] (Document is 17,4MB of size)
    Here the guidelines also have been posted together with an article about the CRM 2007 Web Client UI.
    Hope this helps
    Best regards
    Ingo

  • User Interface Guidelines for CRM 2007 are now available

    The CRM UI Concept Team has made the [UI Guidelines for CRM Web Client User Interface (CRM 2007 UI)|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/302d8152-002b-2b10-34bd-9ff3c712dd4b] available to the BPX community:
    This document provides an overview of the on-premise as well as the off-premise versions of the SAP CRM Web Client User Interface (UI). It contains the properties and principles of the SAP CRM Web Client UI that are already committed and available. For planned features, refer to the corresponding specification documents.
    The information in the guidelines starts with general topics, followed by details. The sections are organized with high-level topics like Page Types and Navigation Schema first, followed by the consecutive sections describing which building blocks and elements of the UI populate the various pages. A section typically starts with one or more screenshots of a central UI element with a generic explanation. The subsequent sections explain the detailed aspects of each element.
    We hope that you will find this information useful.
    Enjoy the new CRM UI!
    Feel free to provide your feedback.
    Edited by: Florian Weigmann  on Jul 17, 2008 9:14 PM

    Hi,
    not sure why your download stops.. you can also try to download via this link: [http://www.sapdesignguild.org/resources/CRM-UI-Guidelines-Customers.pdf|http://www.sapdesignguild.org/resources/CRM-UI-Guidelines-Customers.pdf] (Document is 17,4MB of size)
    Here the guidelines also have been posted together with an article about the CRM 2007 Web Client UI.
    Hope this helps
    Best regards
    Ingo

  • Use of max stock level w/o lot size HB

    hello champs..
    need  a help on below functionality
    Can I have the functionlity of max stock level without using "lot size - HB" in material master.
    my requirement..tht system should not create any procurement proposal if stock reachs at max level..
    but with this i am using min lot size also..and this functionality got vanish if I use "lot size=HB" ..system dont see min or max lot size..it just create the proc proposal for the qty upto max stock level..
    my requirement
    for a material max stock level -100
    min lot size - 50  , max lot size 80
    and if my stock is 30 ,and my reuirement is for 80..system should not cross the max stock level and should create the prc proposal for 70 only..
    pl share your thoughts on this..I'll appriciate wih necessary reward points..
    Br
    Sumit

    Hi
    thanks for reply..but i am not sure whther w/o using HB max stock level will be considered or not..
    i yet have to test the same but as per SAP , if you want t maintain themax stock level in the plant , lot size should be EX
    is this undertsnding is okie..
    thx in advance
    BR
    Sumit

  • In Primavera Risk Analysis, the MIN. ML, MAX columns is for imput the minimum impact, most likely impact , maximum impact duration of a risk or the remaining duration for MIN, ML and adding remaining duration with maximum impact for MAX?

    In Primavera Risk Analysis, the MIN. ML, MAX columns is for imput the minimum impact, most likely impact , maximum impact duration of a risk or the remaining duration for MIN, ML and adding remaining duration with maximum impact for MAX?

    You are welcome. I'm glad you got it back up.
    (1) You say you did the symbolic link. I will assume this is set correctly; it's very important that it is.
    (2) I don't know what you mean by "Been feeding the [email protected] for several weeks now, 700 emails each day at least." After the initial training period, SpamAssassin doesn't learn from mail it has already processed correctly. At this point, you only need to teach SpamAssassin when it is wrong. [email protected] should only be getting spam that is being passed as clean. Likewise, [email protected] should only be getting legitimate mail that is being flagged as junk. You are redirecting mail to both [email protected] and [email protected] ... right? SpamAssassin needs both.
    (3) Next, as I said before, you need to implement those "Frontline spam defense for Mac OS X Server." Once you have that done and issue "postfix reload" you can look at your SMTP log in Server Admin and watch as Postfix blocks one piece of junk mail after another. It's kind of cool.
    (4) Add some SARE rules:
    Visit http://www.rulesemporium.com/rules.htm and download the following rules:
    70sareadult.cf
    70saregenlsubj0.cf
    70sareheader0.cf
    70sarehtml0.cf
    70sareobfu0.cf
    70sareoem.cf
    70sarespoof.cf
    70sarestocks.cf
    70sareunsub.cf
    72sare_redirectpost
    Visit http://www.rulesemporium.com/other-rules.htm and download the following rules:
    backhair.cf
    bogus-virus-warnings.cf
    chickenpox.cf
    weeds.cf
    Copy these rules to /etc/mail/spamassassin/
    Then stop and restart mail services.
    There are other things you can do, and you'll find differing opinions about such things. In general, I think implementing the "Frontline spam defense for Mac OS X Server" and adding the SARE rules will help a lot. Good luck!

  • Replenishment upto max. stock level during SNP heuristics run.

    Hi Experts,
    As per the requirement from client, we need to configure the setting of replenishment upto max. stock level during SNP heuristics run.
    I am using below settings in R/3 for achieving the expected results.
    (R/3 ) MRP1 u2013
    Lot size                       HB               Replenish to maximum stock level
    Maximum stock level       20,000
    (APO) Targ.Stk Lvl Methd   5 u2013 in APO u2013 product master -   lot size tab.
    Still, after heuristics run, the requisitions are getting created equals to forecast value. It should get generated as max. stock level maintained.
    Could anyone share their experience regarding this? Am I missing some additional setting?
    Inputs are highly appreciated!
    rgds/Jay

    Dear Jayprakash ,
    If the requirement is that  you have to replenish upto a certain stock level then instead of maintaining the  Max Stock level you can simply maintain
    SB : Safety stock from product master
    and in the  Safety stock field maintain the quantity as desired ( in this case 20000 ) . This probably will solve the problem  in your case . You may not require  to maintain Max stock level .
    Target stock level in heuristics also works fine with the following settings
    make sure you maintain
    Target stock level method as =5
    In Maximum Stock level  = maintain the quantity desired  ( 20000 in your case say )
    do not maintain  any safety stock method keep it blank .
    then location heuristics generates PR according to the  the maximum stock level.
    If still it is not working plz let me know what other settings you are maintaining probably we will find a way out .
    Hope it helps .
    Thanks
    Debsankar

  • Guidelines for importing graphics from Photoshop

    Can anyone provide some guidelines for laying out a DVD menu design in Photoshop to be brought into DVD SP? What physical dimensions? What file format? Anything else I should know?
    Thanks.

    Hi
    Sorry if it sounds like RTFM, but a good starting point is reading the Preparing Menu Sources topic in the DVDSP User Manual.
    Basically you can use PSD files and/or TIFFs, PNGs. Avoid JPG because you must be very careful with compression level. If you work with PSDs, remember rasterizing effects before importing in DVDSP.
    About the file dimension in pixels, this info is taken from the manual:
    A good way to select the right dimension is starting a new PS file and use the video presets. You'll get a blank file guith secutiry zones guides, and the correct dimension and pixel aspect ratio to work with during menu design.
    Hope that helps !
      Alberto

  • Max stock level as safety stock from material master while running SNP Heuristic

    Hi Experts,
    Our user wants to consider max stock level as safety stock from material master while running SNP Heuristic, not the actual safety stock.
    Is there any possibility for this setup?
    --Kishore

    Hi Kishore,
    With the given details I suggest that the user can maintain the max stock level values directly in safety stock field of the material master for all materials to be planned by SNP heuristic (keeping the max stock level field blank). Then this safety stock field (which has actually the max stock level values) will update the safety stock values in APO product master and in turn can be considered for SNP heuristic.
    Note: The max stock level field in APO product master is used by SNP heuristic only when the target stock level method is maintained as 4, 5 or 6. Since your requirement is to use max stock level as safety stock, so it does not look like that you will be using these target stock level methods or the max stock level field in R/3 and APO. So, this can be left as blank in both R/3 and APO.
    Please let me know if this helps.
    Regards,
    Umesh

Maybe you are looking for

  • Send a mail to the vendor at the time of approval with the attachment of PO

    Hi all, I want to send a mail to the vendor at the time of approval by attaching the pdf of that particular PO. How can I achieve this? I know the User Exit where the code should be written. But I want the solution for attaching the PDF of PO at the

  • MSI GX620 Tv-tuner

    Hi! Now I bought MSI GX620-063 notebook.I tried to install the tv-tuner,but I couldn't do it.I found the Tv-tuner antenna interface in the notebook...I read the instructions,this is optional....Does any Tv-tuner belong to the notebook or not? Thanks

  • Installing Windows XP on HP G62-253TU

    I have HP G62-253TU. I can not install windows XP on my laptop. There is no sata settings om my BIOS. My BIOS version is Insyde F.37. 

  • Finding literals

    hi , I used following syntax to find all text literals in a given code: SCAN ABAP-SOURCE gt_source                 INCLUDE PROGRAM FROM 'ZTEST_AM_ALV2'                 TOKENS INTO gt_tokens                 STATEMENTS INTO gt_stmts. loop at gt_tokens

  • DIME format for handling SOAP attachments

    Hi all, There is a proposal (I think by Microsoft) called the Direct Internet Message Encapsulation (DIME) format to handle SOAP attachments. This is a binary format which defines how to construct a single message with multiple payloads and it is sup