How to use loop in RuleBase

Hi,
I have a scenario where i have a set of values(say 10) and i need to verify if 2 of them are same.
How can i write rule around this scenario?
Please help me!!
Thanks.

Not sure I am following your scenario. The best approach is almost always to 1.) clearly identify the determination/decision(s) you are trying to make (i.e. is something valid, eligible, etc.) Note it is best to express the meaning of the conclusion, not the technical (i.e. Good-> product X's incompatible options include ... vs. cryptic-> product X can't be sold with options whose ID's begins with "Y") 2.) write out your policies that define the conditions under which each conclusion can be reached. Use complete sentences and structure them to deal with more complex logic. Focus on meaning not implementation specific expressions.
With this top down approach the business level policies should be clearly expressed and easier to understand. At that point, the focus can shift to any specific phrasings or syntax that is necessary for the business policies to be understood or deduced from implementation specific details such as codes, ID's etc.
Applying this approach to your scenario may require answering some of the following questions:
- What does a base represent?
- What does a SKAC represent?
- What does the relationship between base and SKAC mean in business terminology? (i.e. is one a subaccount of a main account)
- What decision(s) about base accounts or SKAC accounts are you trying to make?
- What, if any, information is preexisting vs. being selected or provided as part of a transaction? (this isn't usually necessary for expressing business policies, but will eventually impact how business policies ground out in the data being provided in order to make a determination)
Hope this helps get you moving forward!

Similar Messages

  • How to use LOOP(Until) step in a Workflow

    Hi,
    How to use LOOP(Until) step in a Workflow?
    What are the steps involved in using the step LOOP(Until).

    Hmmm... using it is just like using a LOOP UNTIL statement in any programming language. You get at least one loop iteration, as opposed to a WHILE loop which may give you zero iterations.
    You simply insert a node of this type in the workflow, and magically there will be a loop inside which you can insert the steps you want to execute in the loop, and by double-clicking at the end node of the loop you can enter the condition for exiting.
    What exactly is it you are having trouble understanding about the use of it?

  • How to use loop in BPEL Process

    Hi friends
    I have done a bpel process which picks up XMl file using File Adapter and imports the data from the XMl file to oracle db table using DB adapter....
    But here the XMl file which have only one row ..if i want insert the XML file which have two or more rows i want to use loop in my BPEL process how to use the loop in my bpel process ?
    In my BPEL process i have used receive ,transform , and invoke activity where can i use loop in my BPEL process
    Advance Thanks
    AT

    Hi Friend thanks
    Hi Oracler how to make use of transform activity and use a for each in it.?
    iam not getting i try can u please explain some more in brief
    Thanks
    AT

  • How to use loop in premiere elements 8?

    Hi,
    Using pre elements 8 and I don`t know how to set or use loop option in premiere elements 8
    Please help
    Vinay

    For an authored DVD, there is no capability to Loop that DVD, created in PrE. There are other authoring programs, like Sony's DVD Architect, and Adobe Encore (available only with PrPro), that allow this to be done easily.
    The way to do similar in PrE is to do an AutoPlay DVD and then this use the Repeat button on the DVD player.
    Good luck,
    Hunt

  • How to use loop

    Hi
    I have one control block in form of Grid and now I want clear my grid when button pressed for new selection.
    So any one let me know how can I use loop for these field
         :ADVANCES_SCHEME.TXT_MONTH := '';
              :ADVANCES_SCHEME.MONTH_VERIFIED := '';
              :ADVANCES_SCHEME.CK_VERIFIED := 'N';
    Thanks in advance...
    Regards

    Thanks every one. I have solve my problem, just put this statement in begin clause
         Clear_Block(No_Validate);
    this statement clear my grid.
    Regards

  • How to use loop controllers...

    hi i'm a new user for jmeter, now i want to test my site which has login details, i don know how to use foreach or other loop controllers to check my site.
    please anyone give me step by step procedure to test my site..
    regards,
    kumar

    Hmmm... using it is just like using a LOOP UNTIL statement in any programming language. You get at least one loop iteration, as opposed to a WHILE loop which may give you zero iterations.
    You simply insert a node of this type in the workflow, and magically there will be a loop inside which you can insert the steps you want to execute in the loop, and by double-clicking at the end node of the loop you can enter the condition for exiting.
    What exactly is it you are having trouble understanding about the use of it?

  • How to Use Loop in BPM?

    Hi,
    I would like to use LOOP functionality in BPM until all the records are processed.
    Any Help would be appreciated.
    Regards,
    Ganesh Karicharla

    hi,
    what does it mean all records
    by payload loop, time loop?
    this page presents all sorts of loops jut check it:
    http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • How to use loop in VBAK table using BDC RFC connection through excel vba ?

    Hello,
    I am trying to extract data from VBAK table using rfc connection with Excel VBA. where i can able to pull data first time, when i tried to use the same set of code using loops, it throws an error like BAD INDEX.
    Any help appreciated.

    Hello,
    I am trying to extract data from VBAK table using rfc connection with Excel VBA. where i can able to pull data first time, when i tried to use the same set of code using loops, it throws an error like BAD INDEX.
    Any help appreciated.

  • How to use loop in smartforms???

    hi experts,
                  I have an internal table with three values .i am passing it into new itab inside smartforms .while displaying it is displaying only the third data .i think i must use loop condition .but i dont know where to use it .pls help me.if i select only one data it is coming .if i select multiple data using select statement .only the final thing is coming .

    On your smartform, you should have a table set up.  Go to transaction SMARTFORMS, enter your form name, and display it.  Now navigate to the table on your form and double-click it.  Go to the Data tab.  Under "LOOP", make sure that you have checked "Internal table".  Next to that should be the name of your internal table, then "Into", then a work area.  The work area needs to be defined under "Global Definitions" (under Global Settings, check the tree for your form).  Your work area should be defined as TYPE, with the associated type being your internal table.  Your internal table should actually be defined as a structure where each component is one item that you want to include in your row.  I hope this helps.
    - April King

  • How to use loop inside mx:webservice tag

    Hi to all,
    I'm using some webservices. i just want to pass XMLChildren
    to the request element of webservice tag.
    for that,
    <mx:WebService id="WES3" destination="applicantws"
    useProxy="true" fault="Alert.show(event.fault.faultString) ,
    'Error'" >
    <mx:operation name="ZhrFunApplicantCreate"
    result="onResult2(event)" resultFormat="e4x" >
    <mx:request>
    <education>
    { samplexml.children() }
    </education>
    </mx:request>
    </mx:operation>
    </mx:WebService>
    but the problem is samplexml contains many children when i
    embed that samplexml inside websrvice it is taking only the
    firstchild of that samplexml.so i need to loop through the
    samplexml inorder to fetch & bind all the childs of that
    samplexml.
    How do i do that??
    can anyone please please please bring me the solution...
    Thanks in advance..
    regards,
    Thenmalar. v

    Hi,
    You can achieve this by UDF,
    inputs are E1IDB02 BA-FIIKWAER,E1EDKA1 BE-NAME1
    yes then suggest MIDE(E1EDKA1 BE - STRAS,1,35)
    IF E1IDB02 BA-FIIKWAER = CNY
    then MID(E1EDKA1 BE-NAME1,12,11)
    IF E1IDB02 BA-FIIKWAER <> CNY and LEN(E1EDKA1 BE-NAME1)<=35
    then MID(E1EDKA1 BE-STRAS,1,35)
    IF E1IDB02 BA-FIIKWAER <> CNY and LEN(E1EDKA1 BE-NAME1)>35
    then MID(E1EDKA1 BE-NAME1,36,35)
    Regards
    Chilla

  • How to use loop to commit each 1M records?

    oracle 9i
    40M records need to be insert the table. Need to commit each 1M. But I don't want to loop each record and commit. I like to select 1M records and commit. Then select another 1M, then commit; How to do it? use savepoint?
    Appreciate any ideas.
    Thanks
    S.

    You can achieve that using anonymous block using a for loop and couter but it not a good idea to commit after 1 million or 100k as you will be putting more overhead on your system and performance will be down.
    Regards

  • How to use loop inside table in smart form

    Hi All
    i have to use page break at the end of each pernr. i got table in smart form and print cells on event on sort begin. it is working ok . i have an other itab in  as well .which i want to the same page with respect to the pernr no.
    but the problem is as i loop the 2nd itab. it prints all the record what it has.
    e.g  i have two pernr 54 and 55.
    the records of itab1 prints on page1 and page 2 properly. now i loop at itab2 it also have relevent records of above said pernrs. but i m unable to control those pernrs and loop print all the records on both pages.
    if u get some thing out of it kindly help me
    Regards
    ammad

    hi,
    Place the second loop ie. itab2 inside the first loop of itab1.  And in the conditions tab of looping itab2 give the condition for checking the pernr.
    try to implement this logic.
    loop itab
      at new pernr
        new-page
      endat.
        loop at itab2 where pernr eq itab-pernr.
       endloop.
    endloop.
    revert back for further queries.
    regards
    Rajitha.

  • How to use loop in a flow ruleset?

    In a flow ruleset of BRM, activity has a "loop" checkbox in property. When I check it,I don't know how to select values in "For each" and "in" drop-down menus. Who can help me?

    hi, i just try my code again this morning, and noticed i can get setPropertyActionListener to work if i pass String instead of a "Item" object under target attribute. however, the value attribute won't take an expression.... it seems like i can only pass a literal string???
    this work...
    menuItem are now type String instead of type Item,
    <c:forEach items="${sessionScope.ServiceManager.menus}" var="menu">
         <p class="formTitle">${menu.stapleType}:</p>
         <table class="displayData">
              <c:forEach items="${menu.items}" var="item">
              <tr>
                   <td class="leftCol">${item.name} ($${item.price})</td>
                   <td class="rightCol">
                        <h:commandLink value="Edit" action="#{menuBean.editRow_click}">
                        <f:setPropertyActionListener target="#{menuBean.menuItem}" value="lalala"/>
                        </h:commandLink>
                   </td>
              </tr>
              </c:forEach>
         </table>
    </c:forEach>when clicking the edit link, i'll get "lalala"
    public void editRow_click(){
              System.out.println("edit row click: "+ this.getMenuItem());
         }if i switch to expression, this won't work:
    <f:setPropertyActionListener target="#{menuBean.menuItem}" value="#{item.id}"/>when click edit link, i'll get a empty string
    if i switch to jstl expression, this will cause run time error:
    <f:setPropertyActionListener target="#{menuBean.menuItem}" value="${item.id}"/>
    org.apache.jasper.JasperException: /WEB-INF/formDataView/menu_view.jsp(15,4) According to TLD or attribute directive in tag file, attribute value does not accept any expressions

  • How to use loop functionality in XI

    Hi,
    I am working with Idoc to file scenario.
    And my requirement in some of the fields are as follow.
    IF E1IDB02 BA-FIIKWAER = CNY
         then MID(E1EDKA1 BE-NAME1,12,11)
    IF E1IDB02 BA-FIIKWAER <> CNY and LEN(E1EDKA1 BE-NAME1)<=35
        then MID(E1EDKA1 BE-STRAS,1,35)
    IF E1IDB02 BA-FIIKWAER <> CNY and LEN(E1EDKA1 BE-NAME1)>35
        then MID(E1EDKA1 BE-NAME1,36,35)
    Please let me know the functions to be used for mapping
    eg:ifequal.... etc
    Manoj

    Hi,
    You can achieve this by UDF,
    inputs are E1IDB02 BA-FIIKWAER,E1EDKA1 BE-NAME1
    yes then suggest MIDE(E1EDKA1 BE - STRAS,1,35)
    IF E1IDB02 BA-FIIKWAER = CNY
    then MID(E1EDKA1 BE-NAME1,12,11)
    IF E1IDB02 BA-FIIKWAER <> CNY and LEN(E1EDKA1 BE-NAME1)<=35
    then MID(E1EDKA1 BE-STRAS,1,35)
    IF E1IDB02 BA-FIIKWAER <> CNY and LEN(E1EDKA1 BE-NAME1)>35
    then MID(E1EDKA1 BE-NAME1,36,35)
    Regards
    Chilla

  • How to use loop in workflow task description

    loop doesnt work in pftc task description command line. please help

    Hi,
       Could you plse check this link 'http://mailman.mit.edu/pipermail/sap-wug/2005-February/016575.html'  to solve ur problem
    Regards,
    Rajeswari

Maybe you are looking for

  • Hierarchy indentation problem in the sql report region

    I've the following sql statement in sql report region. it works fine by bringing the all the users reporting to a manager correctly. In the sample user table below manager/id are in parent/child relationship. select id from user_table start with uppe

  • Printing pictures in Elements 12

    Earlier Elements automatically re-sized the second dimension when printing a picture to a custom size.  Elements 12 doesn't seem to have this facility - a Calculator is necessary to determine the second dimension to keep the height to width ratio ide

  • Component Video - Orange Hue

    I have connected my Ipod Touch using Apple's AV Component Video Cable to my TV through a Denon AVR-888. Podcasts and Video's are displaying with an orange hue...People on the screen look like they have spent hours in a tanning booth. When I connect t

  • Capturing desktop

    I need to capture the desktop into a video stream, preferably recording audio input from the mic at the same time. I know there are programs to do this, but surely there's an awesome command line way with ffmpeg or something.

  • How do I change device name after connecting to old machine?

    That's right, I've gone ahead and connected my new power book to my old dual G5 in order to get the information onto the new machine. Now, my new machine has my Dual G5 name as it's device name. How can I change this so my power book has the correct