In which condition we need to use Rule for substitution/validation

Hi Gurus,
   I want to know in which condition I need to use rule instead of directly putting these elements in prerequisite? for example:
Case1
     Rule:TTYPEARAPO--- BSEG-MATNR <> '' AND BSEG-WERKS <> '' AND BSEG-XBILK <> 'X'
     Prerequisite:TYPEARAPO
Case2:
     Prerequisite:BSEG-MATNR <> '' AND BSEG-WERKS <> '' AND BSEG-XBILK <> 'X'
My question is the difference between case1 and case2?  Thanks.

Wei Gu,
In the example you have given, there is no difference between these two cases.
However, imagine that you have to use this same condition in multiple steps / prerequisites / substitutions. In that case, it will be better design to create a 'rule' and then use it at all the places.
It makes future changes and/or maintenance more manageable.
HTH,
Manish Patel
Sr. SAP Solutions Consultant

Similar Messages

  • Which version i need to use ?? JavaFx Preview or JavaFx 1.0

    Which version i need to use ?? JavaFx Preview or JavaFx 1.0
    because some of the components available in Preview is not available in JavaFx 1.0.
    for example Menu which is available in Preview but not in JavaFx 1.0.
    how should i use menu in my Java Fx 1.0 is there any possibilities.
    so many useful components are missing.
    tell me the solution.
    Thank u.
    Regards,
    Mani.

    raindrop wrote:
    Use the missing components from: [http://jfx.wikia.com/wiki/SwingComponents]
    thanks for the perfect solution.
    is there any link to style the components ?....
    Regards,
    Mani.

  • Ai changed my email for my apple id, but i can't change my iCloud ccount because i can't remember my old password, and now i need to use iCloud for my new IPhone but it isn't working, how do i fix that?

    i changed my email for my apple id, but i can't change my iCloud  account because i can't remember my old password, and now i need to use iCloud for my new IPhone but it isn't working, how do i fix that?

    If the old ID is yours, and if your new ID was created by editing the details of this old ID (rather than being an entirely new ID), go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iDevice, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • When is LR5 adding D4s to its list of cameras. I need to use tethered for me shoots!

    when is LR5 adding D4s to its list of cameras. I need to use tethered for me shoots!

        2BNatural,
    I am so sorry to hear of the issues you are having with adding data. We definitely want you to be able to have access to your data added. I apologize as we are unable to access prepaid accounts. Please reach out to our prepaid department at 888-294-6804 for further assistance.
    LindseyT_VZW
    Follow us on Twitter @VZWSupport

  • Help using Rules for aggregation conditions

    I am trying to utilize the application server rules engine to enforce validation on the XML payload. What I am trying to do is use it for a timesheet application, where after a user enters their hours, they submit and it gets some simple validation using the rules engine and gets returned if not valid according to the ruleset. The application supports multiple rows of hours entered, with each row specifying a unique task/activity worked that period. I have it working as I want using XML facts and RL Functions to determine the rules, but I want to take away the RL functions that need to iterate through each row and replace them with aggregate functions in the rule conditions themselves. Here are the rules I want to enforce:
    <ul>
    <li>An employee must not enter more than x hours of time worked per day, where x is a variable defined in the rules engine. As a constraint the number obviously cannot exceed 24. This rules must span all row entries submitted to sum the amount of hours entered for each day.</li>
    <li>An employee must enter at least y hours worked total each week, where y is a variable defined in the rules engine. Typically this will be defined as 40 hours. It must aggregate all hours entered in all rows for the week to determine how many have been submitted.</li>
    </ul>
    Currently I have 2 RL functions that each return true/false and check the above conditions, but each need to iterate through all rows entered and sum up the hours entered. This is probably satisfactory except my purpose is to show the power of using the rules engine to a client, and if I need to show them I had to develop custom RL code to support this I fear they may shy away from using it.
    Here is the general structure of my XML payload:
    <Timesheet>
      <EmployeeDetails>
        <FirstName>John</FirstName>
        <LastName>Doe</LastName>
        <EmployeeID>12345</EmployeeID>
      </EmployeeDetails>
      <WeeklyHoursEntries>
        <WeeklyHoursEntryRow>
          <TaskDetails>
            <Activity>TaskActivity1</Activity>
            <Description>Some description here</Description>
            <Category>REG</Category>
          </TaskDetails>
          <HoursEntries>
            <Day1>0</Day1>
             <Day2>8</Day1>
             <Day3>8</Day1>
             <Day4>9</Day1>
             <Day5>5</Day1>
             <Day6>10</Day1>
             <Day7>0</Day1>
           </HourEntries>
         </WeeklyHoursEntryRow>
         <WeeklyHoursEntryRow>
           <TaskDetails>
             <Activity>TaskActivity1</Activity>
             <Description>Some description here</Description>
             <Category>OVT</Category>
           </TaskDetails>
           <HoursEntries>
             <Day1>0</Day1>
             <Day2>2</Day1>
             <Day3>8</Day1>
             <Day4>0/Day1>
             <Day5>0</Day1>
             <Day6>10</Day1>
             <Day7>0</Day1>
           </HourEntries>
         </WeeklyHoursEntryRow>
       </WeeklyHoursEntries>
    </Timesheet>

    This is an administrators subforum. You might have more luck in some developers subforum here on OTN?

  • In what case, we need to use PI for vendor replication in MM-SUS?

    Dear Experts,
    In what scenarios, we need to use or configure the PI settings for vendor replication between MM and SUS? The SAP configuration guide for SRM 7.01 mentions about the PI settings for vendor replication from ECC to SUS.
    However, we are able to replicate the vendor from ECC to SUS using the program BBPGETVD in SUS client?
    In what circumstances, we need to configure the PI settings for vendor replication when we are able to do so in a much simpler way?
    Thanks in advance,
    Ranjan
    Ranjan Sutradhar

    Hi Ranjan,
    In all circumstances you need to replicate vendors from MM to SUS via PI. BBPGETVD is not the right way to replicate vendors to SUS because the information like vendor class, assignment of this vendor class to an object and the vendor classification cannot be transferred via BBPGETVD.
    Hence you will have to use PI. You can try sending a PO from MM to SUS and the PO will fail in SUS with a message like 'Vendor not present in SUS' if you use BBPGETVD.
    Regards,
    Nikhil

  • Which IDOC segments need to be filled for message type CRMXIF_ORDER_SAVE_M

    Hi ,
    I am working on data migration to CRM7.0 system.I am using LSMW for creating ISU Contracts using CRMXIF_ORDER_SAVE_M message type and CRMXIF_ORDER_SAVE_M01 IDOC kindly help me in what all segments needs to be filled for creating ISU contract in CRM system.
    Kindly share if there are any documents related to data migration into CRM system for IS - Utilities.I need to migrate  u201CBusiness Partnersu201D, u201DISU Contract Accountsu201D, u201DConnection Objectsu201D, u201DPODu201D & u201CContractsu201D  to CRM 7.0 .
    Also I need to migrate Customer Interaction Records, Business Activities, Service requests and other information such as u201CProspectsu201D, u201CMarketing Attributesu201D to CRM 7.0.
    Kindly help me in this as I am not able to find any thing from web.
    Regards,
    Suresh.

    Hello,
    I'm not sure you're taking the best approch.
    Usually when you need to migrate ISU contracts into an ISU-CRM integrated system, you first migrate everything you need in ISU through the VERY powerful migration workbench available (transaction code EMIGALL), and then you replicate your data to CRM via INITIAL download.
    That's definitely the strategy that will give you the best performance, and less work.
    Kind regards,
    Nicolas Busson.

  • S650, Un Root (needed to use Good for Entreprise​)

    Hi all,
    i like to use "good for enterprise" on my S650. Installation works fine, but after the connect to Good Server the app is blocked. The server log says, that the device is jailbroken, which means - in case of an android  device - it is rooted.
    Now I tried several un-rooters without success. Root Checker detects the phone as "un-rooted", but the good server still doesn't accept it.
    Questions are:
    - how can I reliably un-root my phone?
    - how can I use Good for Enterprise on S650 (which in fact is worthless for me without this app)
    Technical facts:
    Firmware: S650_S119_131014
    Android 4.2.2
    Baseband S650.V11, 2013/09/06 17:48
    Except of that very special problem: great phone with very good dual sim support.
    Hope to rad from you soon,
    Markus (Germany)
    Solved!
    Go to Solution.

    Hi,
    Glad to hear that.
    I told you ''No it's not rooted '' (maybe you misunderstood...it hapens :-) .If you want to root it try Vroot or FrameRoot(one of them has to work) or you can try this custom: http://forums.lenovo.com/t5/Lenovo-Phones/Lenovo-s​650-Custom-ROM-S650-ROW-S112-131128-mod-by-javum/m​... ( it's kind of a Stock+ ) already rooted + TWRP recovery ( i'm using it and works like a charm ).
    Again i don't think that root access was the problem.
    If i solved you're problem please mark it as accept as solution.
    Cheers.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as ''ACCEPT AS SOLUTION"! 
    Unsolicited PM's will not be answered! ....Please post your question/s in the appropriate forum board.
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • ICan't ReInstall my computer  please help. need to use Mac for school next week

    I use my Mac for School and stuff happened.
    Long story short.
    1) I tried to reset my Mac Book Pro  computer and I did.( by pressing option key and go to disk utility and erase tab and erase)
    2) then I know I was supposed to go to Reinstall OS X Lion and I did but I quit. (took 10 hrs and plus my internet is bad and couldn't DL the other stuff)
    3) I remembered that I had a recovery disk. so I inserted it and I went to the disk utility, dragged the Macintosh HD to the restore tab, destination, and it copied my recovery disk data? to my Machintosh HD and the name of it changed to Mac OS X Base System ( the name of my recovery disk)
    4) and I tried to restart, shut down my computer, it sends me to the same Mac OS Utilities. Again.
    5) so I went to Reinstall Mac OS Lion, agreed, and the download destination usually should be the Macintosh HD ( for me its Mac OS X Base System right now) but it said it is locked (because I'm dumb) and i can't install it now.
    6) i don't know what to do now because this is not my computer that I'm sending this support from. and I can't use my original Mac Book. what should I do?
    AND I NEED TO USE THE MAC NEXT WEEK FOR SCHOOL.
    more info: MacBook Pro 13 inch Late 2011 ( got it for christmas)
    OS 10.7.5 ( recovery disk is 10.7.2)
    had no problems for 2 years.
    Why is Internet bad? Japan. thats why.
    For those who wonder why I wanted to reset/restore my MacBook Pro or, want to hear the long story:
    I play League of Legends, Steam, Osu! on my Mac and it took alot of capacity (or space).
    And League of Legends has thisthing called "Item sets" that when you save it, it doesnt save it in the client (or app),  it saves the "item sets" data in your computer (took alot of capacity/space)
    Not just that, and I had iPhoto but when i downloaded iLife to my mac, and after that, it said my iPhoto is damaged and it can't open.
    And summer ended, my parents said If I fail my 11th grade, they are going to kick me out so I told them I'm going to reset my Mac to factory settings and get a fresh start, well this happened.

    hi there! I got it back to work by buying the USB version of Mac OS X Lion 10.7
    and since my internet connections are kinda bad, I'm not able to download and update it to 10.7.5.
    but anyways I got it back to work.
    All I can say is I suggest you to buy the USB version of Mac OS X Lion 10.7 from amazon or apple store.

  • Do I need to use GREP for this?

    I have set up my TOC for my book just fine. In my Contents, the headings from each chapter are pulled in and used as the entries for the TOC, then followed by its page number.
    I would like to add a word (the word "Chapter") before each numbered contents entry. Would I use GREP styles for this?
    I'm using CS5.
    Thank you!

    You can create an autonumbered list format that includes text like "Chapter " along with numbers, for the TOC paragraph style, so no scripting needed. Search Google for terms like "InDesign numbered list format text," without quotes for details.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices
    cc2545 wrote:
    I have set up my TOC for my book just fine. In my Contents, the headings from each chapter are pulled in and used as the entries for the TOC, then followed by its page number.
    I would like to add a word (the word "Chapter") before each numbered contents entry. Would I use GREP styles for this?
    I'm using CS5.
    Thank you!

  • I need to use silverlight for a photo processing site.  it shows i have downloaded, but it won't go past the page for install now

    I need to use Silverlight by microsoft for a photo processing website.  When I go onto the website and click install, it goes thru all the motions and shows downloaded, but their website keeps telling me to install now.  What do I need to do next

    You won't be able to.  You will need to acquire a special copy.  See the following:
    Error: Activation Server Unavailable | CS2, Acrobat 7, Audition 3 -
    http://helpx.adobe.com/x-productkb/policy-pricing/creative-suite-2-activation-end-life.htm l

  • Help needed in 'Using iTunes for Mac' Forum

    Help please!
    I seem to be going round in circles trying to help someone and don't have access to the Lounge to issue a request for help with this thread:
    http://discussions.apple.com/thread.jspa?messageID=3624439#3624439
    Any knowledgeable iTunes users are welcome to post a second opinion.
    Thank you,
    Colin R.

    I will send up an alert for you, Colin. Even though I use iTunes for Mac, troubleshooting it isn't my forté.

  • Need help with Rules for mail accounts

    Today I deleted a rule for a mail account and now I cant receive mail in 4 of 8 accounts. I'm not experienced with Mac's Mail program. Id there something you have to do for multiple accounts to recieve all mail? I can send but not receive.
    Help!
    ~ Tammy

    It's hard to believe that deleting a rule could have a bearing on the ability to receive messages from any account... unless that rule did something that prevented subsequent rules to process the messages that you apparently can't receive now.
    That is, either having deleted the rule has absolutely no bearing on your problem, or the problem is that those messages are now being processed in an unexpected way by some of your other rules.
    What type of accounts are these (POP, IMAP, .Mac)? What does "I cant receive mail in 4 of 8 accounts" mean?

  • I wasted most of yesterday 2/4/15 trying to connect to no avail which was a 1st having used Mozilla for years, what's up with that?

    From morning to late evening I tried countless times to connect w/Mozilla Firefox to no avail, the issue was not w/my computer as I was able to connect to Internet Explorer. I've used Mozilla for years & this is the 1st time I've not been able to connect at all, some times it may take longer than others, but nothing like this. Today thankfully I had no problem. I'm located in Scottsdale AZ if that makes any difference & am using Windows 7 starter on an ASUS eeepc 1001 netbook. Also is there a phone support number in case this happens again & am unable to access web support?

    Type '''about:preferences#advanced'''<Enter> in the address bar.
    Under '''Advanced,''' Select '''Network.'''
    Look for '''Configure How Firefox Connects''' and press the '''Settings''' button.
    Check the settings.
    Some problems occurs when your Internet security program was set
    to trust the previous version of Firefox, but no longer recognizes your
    updated version as trusted. Now how to fix the problem: To allow
    Firefox to connect to the Internet again;
    * Make sure your Internet security software is up-to-date (i.e. you are running the latest version).
    * Remove Firefox from your program's list of trusted or recognized programs. For detailed instructions, see
    '''[https://support.mozilla.org/en-US/kb/configure-firewalls-so-firefox-can-access-internet Configure firewalls so that Firefox can access the Internet.]''' {web link}

  • I Need to use ABS for the following statement

    Hi
    WA_OUTTAB-CORES_PER_MOLD = GT_IOOPCOMP-BDMNG / GT_IOOPER-MGVRG.
    I need to put ABS for the following statement.
    Kindly help.

    WA_OUTTAB-CORES_PER_MOLD = GT_IOOPCOMP-BDMNG / GT_IOOPER-MGVRG.
    WA_OUTTAB-CORES_PER_MOLD = abs(WA_OUTTAB-CORES_PER_MOLD).
    Regards
    Aneesh.

Maybe you are looking for

  • Creating a table within a PL/SQL procedure

    I recieve the following error: PLS-00103: Encountered the symbol "CREATE" when expecting one of the following: begin case declare exit for goto if loop mod null pragma The create statement is within the executable part of an if statement. Are we allo

  • Can't access applications to remove steam from my ancient macbook

    The only icons I have access to are the apple logo and steam which I am not able to login into. I have no dock or finder

  • Duplicate key exception in Pet Store

    When signing into Pet Store javax.ejb.DuplicateKeyException is received even though a new and unique ID is being created when the sigin is performed through the Account page. Looking at diagnostic traces, one can see that the create customer logic is

  • Licensing for my photoshop on Mac has stopped working

    I am getting the Error 150:30 message when I try to open Photoshop. This has happened right after upgrading my Mac OSX to Mountain Lion. However, the solution posted by Adobe - mainly the Licensing Repair Tool - doesn't work. I am on Mac Mountain Lio

  • Required plsql code

    I want to transfer the data from different tables(more then one) into single intermediate table. intermediate table will hold this data permanently. performance of pl/sql code should be good.