PE02 Rule Help

      VALEN 2    Set length v.key     
      VAOFF 2    Offset lgth var. key 
    " OUTWPPLTSC Personnel subarea   
          SCOND=F IF If condition false
      " L1                           
          SCOND=T IF If condition true
      " L3                           
          SCOND=T IF If condition true
I have a structure that looks like what is shown above and I want
to add a rule that says if the field empct from IT0007 is less
than 48.0 then SCOND=F IF, else SCOND=T IF.  This would apply
for L1 and L3.  I'm not an expert on schema so any help would be
appreciated.

Hi
Check this it may help you  try this and if any problem reply.
Re: personnel rule; employment percentage
<b>Reminder : Points should be given on answers.</b>

Similar Messages

  • PCG 7: Flow Rules help

    E-Bus 11i Flow Rules Help
    Hi I need to create a flow rule that will notify an employee's supervisor when a user updates their own employee record.
    So I need to link the LAST_UPDATED_BY of the currently updated record to employee_id from FND_USER
    where the FND_USER.USER_ID = <current>.LAST_UPDATED_BY
    I'm looking at my Flow Rule Launch Criteria, but I cannot see how I can say....
    COLUMN=LAST_UPDATED_BY
    CONDITION=Equals
    VALUE= <result of my SQL> <==========
    It looks like I can only put specific hardcoded values in here ??
    Any ideas, or examples for this type of thing?
    Is my requirement clear?
    Thanx
    Russell Foster

    Hi Foster
    In the launch criteria you can specify under the table name FND_USER, Relationship keys would be (USER_NAME, USER_ID)
    please check the check box "UPdate" uncheck "Insert"
    coming to the columns enter value "LAST_UPDATE_BY" and condition "IS Update"
    the value part cannot be updated.
    The launch criteria created specifies that when ever the colum Last_update_by of FND_USER is updated the flow rule will get fired.
    Please try and let me know if u face any issues
    thanks

  • Help on PE02 - Rule

    I have a rule (ZHEL) that I have created that will calculate a 5% premiun on all wage types that have a premium number from CATS. There is one exception to that. We have a meal payment that should not receive the payment.  I have the rule in 2 parts
    one as WT = 1156 then premium is 0%
    the other as WT = **** them premium is 5%
    I have tried a couple different variations on the rule and cannot get it to work correctly.
    When I have the rule setup in the schema as:
    FUNC    PAR1
    PIT        ZHEL
    No premium gets calculated at all.
    When I have the rule set up as:
    FUNC    PAR1    PAR2     PAR3
    PIT        ZHEL      GEN      NOAB
    It calculates the premium on all the wage types including the meal payments.
    When I have the rule set up as:
    FUNC    PAR1    PAR2     PAR3
    PIT        ZHEL                   NOAB
    The rule executes for the meal payment  and calculales the 0% premium.  But it doesn't calculate the 5% premium on all the other wage types.
    Any ideas?
    Thanks,
    Brent Adams

    Hi,
    From what I can see this could be an issue with the splits. You can check the split and with operation SETIN you can put splits as you want and with operation ELIMI you can eliminate the splits that does not work for you. You can also have two different rules, but it shouldn´t be necessary. Just check the splits (for PCR to work they have to be the same).
    If you want you can post your PCR here and also your IT and we may give you more help.
    Hope it helps.
    Kind Regards,
    Edoardo

  • Applescript process message body from mail rule help please

    Would someone be kind enough to help me figure out how to do this?  I've been reading for hours on other posts and I can't get this to work.
    Here is an example:
    I would like to set up a mail rule to run an applescript that searches the body of the email for "-Front Door- Open".  I then want to parse the body and sets myDevice= "-Front Door-" and myState="Open".  After I have these variables set, I want to make an call to something like https://foo.me.com/api/token/${state.accessToken}/smartapps/installations/${app.id}/Notify?device=${myDevice}&type=ContactSensor&state=${myState}
    I understand how to do the mail rule, I just can't figure out the applescript part of it.

    The script works just fine - at least, as designed if not as expected.
    When the script runs, Mail and/or AppleScript looks for a perform mail action handler. If that is found, the commands within are executed.
    If there is no perform mail action handler then the script is run as-is (i.e. as if you clicked 'Run' in AppleScript Editor).
    And that's exactly what's happening here. In the first case (that works) the script is running because there's no (visible) perform mail action handler.
    In the second case where it apparently doesn't work, there is a handler, so that handler is being executed. Any code outside that handler is ignored (unless it's called from within the perform mail action handler.
    Since your 'say' command is outside the handler, it is ignored. However, if you move it inside the perform mail action handler you'll hear your speech.

  • Business rules help

    Hi da,
    I have few queries on business rules.
    1. what is the use of business rules ? and how can we use and where can we use it. is there any usefull guide?
    I can see BR outline tab in EAS console with some of functions. ( I just recently finished my essbase training and we never told about these business rules).
    2. In shared services when I try to open Business Rules under projects it is showing the error" Refer to essbase security guide" . ( I externalized all users to Shared services). So how can I access Business Rules in shared serives? or is there any other way to access.
    {OS: windows server 2003 sp2
    DB: Sql Server 2005
    Hyperion System 9( 9.3.1).}
    Help will be appreciated.
    Thanks and Regards,
    Sri-Oralce.

    Hi Sri,
    1. Basics of BR ( Business Rules ) can be found in planning document ( there are 2 planning docs 1. user guide and 2. Admin guide). Pls find that
    2. From Planning perspective , we create Business Rules ,which are nothing but another version of essbase calculatino scripts , thats why you do see in EAS.
    3. Essbase training does not include Business Rules ( planning does include).If you are comfortable with calculation scripts, then BR's should be comfortable to you.
    4. To see BR's in shared services , I have a question , did you install Planning and all.
    Sandeep Reddy Enti
    HCC
    http://hyperionconsultancy.com/

  • Email spam filters - rules, help

    I have been getting hammered with spam to my .me / .icloud email address. I know this is an Apple mail problem as the email is also going to the .icloud account I have set up for my 9 year old daughter. The problem is I have setup rules to ignore these emails using the from domain (.tk) but the emails still make it to our inbox. All of them have attachments in them and I am scared my daughter will open one these attachments even though I have told her not to open any of the emails.
    What I have setup as the rule is as follows:
    1. if all > from > contains > .tk
    2. move message > to mailbox = junk
    Is there any other rule I need to setup to get these messages to skip both our inboxes. These are what these spam emails look like:
    I have been forwarding all these to spam@me but that doesn't seem to be doing much help.
    Thanks,
    Christoper

    There could be several reasons why they are still in the inbox. Make sure junk filtering is enabled in Mail's preferences and that you have it set to move junk messages to the junk mailbox and not to leave them in the inbox.
    Rules only apply to new incoming messages. If they are being read on another device first, the rule filtering will not be applied to those messages on the computer.
    The order of the rules in the rules list is very important. Make sure you have no other rules ahead of it that will cause this particular one not to be applied.
    You can test a rule manually by highlighting a message and right click on the message in the list. Choose apply rule. If the rule is good, it should perform the action you have set up.
    I assume both you and your daughter have seperate devices and seperate accounts and you can't get it to work on either. I have also been getting these spam messages to one of my iCloud aliases.

  • Should have said "I need Mail Rule help" .. sorry

    I know this has probably been solved many times and is old hat to a lot of you. I am trying to create an applescript that forwards only the body of an e-mail to my cell phone triggered from a Mail rule. It runs fine in the editor but not as a Mail rule. I may even want to restrict it to the first 200 characters. I've read that maybe I have to set up a sub routine but I don't know how to do that. I've spent way too much time trying to figure out why it won't work. I'm old and don't like wasting my precious time (lol) Any help would be appreciated. Here's the script. It's been put together with some I saw on the net. Thanking in advance.
    using terms from application "Mail"
    on perform mail action with messages theMsges
    tell application "Mail"
    repeat with AMessage in theMsges
    set theSelection to selection
    set theMessage to item 1 of theSelection
    set msgText to content of theMessage
    set newMsg to make new outgoing message with properties {subject:"test", content:msgText}
    tell newMsg
    make new to recipient at end of to recipients with properties {address:"my cell phome email address"}
    end tell
    end repeat
    send newMsg
    end tell
    end perform mail action with messages
    end using terms from
    using terms from application "Mail"
    on run
    tell application "Mail" to set sel to selection
    tell me to perform mail action with messages (sel)
    end run
    end using terms from

    bigredlions wrote:
    It runs fine in the editor but not as a Mail rule.
    I've seen posts on the Web that this ability was 'broken' with Leopard.
    You could just set up a Mail Rule to Forward incoming messages (however, the complete message will bb fwd, no way to limit to 200 characters.

  • Defaulting Rule - Help Needed

    hi,
    I want to default the Order Line based on specific Item. I have created the Defaulting Condition Template specifying the item for Entity Order Line.
    At the Item Type : I have added a new defaulting condition with a precedence later than the Regular Line and have added a constant value as the order line type.
    But it doesnt seem to work out. I have compiled the defaulting rules. But it still does not seem to work out.
    Can any one help or atleast point out how to get this thing working ?
    The idea is to have separate line type created for manufactured shippable items and separate line type for service items. Service module is not being implemented.
    since, the number of service items are not large so I am planning to hard code with the service items.
    I am not sure how the PL/SQL process would work. But if somebody could point out the PL/SQL usage for this with pseudo code. I think it might help out.
    Thanks,
    Dhiraj

    Hi Dhiraj,
    I understand that you are looking for different line types for different item types. This can be easily set up in the transaction type definition form itself. You don't have to setup special defaulting rules for this.
    In the transaction type form , when you assign line flows, it lets you choose item type. So you can set different line types for each item_type.
    Regards,
    Swapna.

  • Social Security rule Help

    Hello all,
    Not sure if this is every company, but we have pretty strict rules for SSN's. We use the C150. We have the following rule to catch the main SSN offensives and this works very well.
    ssn: if (recv-listener == 'OutboundMail') AND body-contains("\\b[0-9]{9}\\b|\\b[0-9]{3}[-]+[0-9]{2}[-]+[0-9]{4}\\b|\\b[0-9]{3}[\\t]*[0-9]{2}[ \\t]*[0-9]{4}\\b|\\b[0-9]{3}[,]+[0-9]{2}[,]+[0-9]{4}\\b|\\b[0-9]{3}[;]+[0-9]{2}[;]+[0-9]{4}\\b|\\b[0-9]{3}[:]+[0-9]{2}[:]+[0-9]{4}\\b|\\b[0-9]{3}[.]+[0-9]{2}[.]+[0-9]{4}\\b|\\b[0-9]{8}\\b", 1)
    But, we actually need to catch 9 digit numbers also such as 555555555. We are having a lot of problems with this rule and making it work good. So far, we have caught ticket numbers, HTML font classes, Outlook meetings, etc. I know this is going to be a tough rule, but wondering if anyone else had luck making one work. This one seems to catch 9 digit numbers if there is a letter on either side or more than a 9 digit number, but not if it has a hypen, period, comma, etc on either side.
    ssn_8_or_9_digit: if (recv-listener == "OutboundMail") AND (body-contains("([^\\w=-@:]|^)\\b[0-9]{9}\\b([^\\w=-@:]|$), 1)
    Please let me know if anyone has luck.

    In version 6.1 (or above?)
    Smart Identifiers
    When you use message rules that scan message content, you can use smart identifiers to detect certain patterns in the data.
    Smart identifiers can detect the following patterns in data:
    • Credit card numbers
    • U.S. Social Security numbers
    • CUSIP (Committee on Uniform Security Identification Procedures) numbers
    • ABA (American Banking Association) routing numbers
    To use smart identifiers in a filter, enter the following keywords in a filter rule that scans body or attachment content:
    Syntax
    When you use a smart identifier in a filter rule, enter the smart-identifier keyword in quotes within a filter rule that scans the body or attachment file, as in the example below:
    CHAPTER 4: POLICY ENFORCEMENT 171
    You can also use smart identifiers in content filters and as a part of content dictionaries.
    Note — You cannot combine a smart identifier key word with a normal regular expression or another key word. For example the pattern *credit|*ssn would not be valid.
    Note — To minimize on false positives using the *SSN smart identifier, it may be helpful to use the *ssn smart identifier along with other filter criteria. One example filter that can be used is the “only-body-contains” filter condition. This will only evaluate the expression to be true if the search string is present in all of the message body mime parts.
    For example, you
    could create the following filter:
    SSN-nohtml: if only-body-contains(“*ssn”) { duplicatequarantine(“
    Policy”);}

  • Outsorting Check(rule) help

    Hello Experts,
    A new outsorting check(rule) will need to be developed to check during a final billing procedure each contract/installation's number of service days in the billing period, if the number of service days exceeds the numeric value set in the configuration table than the billing document will be placed in the billing outsort list for verification.
    Please can someone explain me how work with the outsorting check is this a regular abap program or it needs to be created in somewhere else? How apply the check to the billing procedure once is done, please experts guide through this, thanks in advance.
    Regards, Norman Vargas

    See the help documentation of the following activity in configuration.
    SAP Utilities>Tools>System Modifications>User-Defined Enhancements for Billing>Define Check List for Billing
    Your function module should be named ISU_VAL_ZNO_OF_DAYS according to this documentation.
    The interface of the function module should be like this
    *"       IMPORTING
    *"             REFERENCE(X_TE327) LIKE  TE327 STRUCTURE  TE327
    *"       CHANGING
    *"             REFERENCE(XY_OBJ) TYPE  ISU2A_BILLING_DATA
    *"             REFERENCE(XY_OUTCNSO) LIKE  ERCHO-OUTCNSO
    *"       EXCEPTIONS
    *"              GENERAL_FAULT
    Edited by: Srinivas Adavi on Nov 4, 2009 5:59 PM

  • Rule Help : URGENT

    Hi ,
    Can anybody help to understand the below rule and what it is doing ??and what is QM1909,NIWWD
    000010            D WGTYP?        
    000020 ****         ADDWT *   
    000030 1119       D RTE=KZ0001AMT=QM1909MULTI RAAAMT?0.00    
    000040 1119 *       RTE= NIWWDRTE*KZ0002DIVID ARR ZERO= A   MULTI NRA ADDWT *
    000050 1119 =     D RTE=KZ0001AMT=& PSALMULTI RAA AMT?0.00      
    000060 1119 = *     RTE= NIWWDRTE*KZ0002DIVID ARR ZERO= A   MULTI NRA ADDWT * 
    000070 1119 = =    ADDWT*     
    Thanks,
    Sunitha
    Edited by: Sunitha Reddy on Aug 4, 2008 6:03 AM

    Solved

  • Activation of update rule :Help Required Urgently!!

    Hi
    I am not able to activate an update rule from an ods to cube.
    In the start routine I am populating ITAB with amt when I add the following code in the update routine for amt :
    READ TABLE ITAB WITH KEY RECORD_NO.
    RESULT = ITAB-AMT.
    I am unable to activate and get the to check error.
    the data object 'g_s_kb' does not hav a component called /bic/bspart
    The object specified in the error was earlier present in the comm. structure of  the infosource (ZT_RPM_ITEM_D) which loads the ods ZRPM_OA1
    I am getting this error in the update rule of the cube which I am updating from this ods.
    When I encountered this error I removed that info object ’ZBSPART’ from the comm. structure.
    It is not present in any of the objects now. Also I had recreated both the update rules after I removed that info object from comm. structure.
    Kindly provide pointers to the same.

    Hi,
    Yeah the object was initally itslef only in the comm structure which i deleted
    After deleting it i deleted both URs and recreated them
    Still gegtting the issue....
    Please provide any leads to this strange problem!
    Thank you,
    Regards,
    Rathy

  • IP address rules - help needed

    I recently bought a Synology DS212j NAS and set it up last week. I'm new to NAS and port forwarding, so I struggled to manually forward the ports on my BT home hub 3, but got there in the end.
    I can use my iphone to access my movies & songs on the NAS, using the Synology iphone apps. It works when I am at home, or out and about on 3G or wifi.
    The only thing I haven't managed to sort out is the IP address that the iphone app needs to connect to. The NAS created a DDNS IP address for me (I don't really understand what this is, but followed the instructions). This works fine when I am on 3G or away from the home. But when I am at home on my own wifi network, I need to log out of the app and log back in using the 192.168.1.xxx IP address. Using the synology "xxx.synology.me" address doesnt work when at home on wifi. This isn't a big deal, but I would like to get it fixed if possible, it would be nice not to have to log in/out depending on where I am.
    Is it possible to somehow make the BT HH3 use the xxxx.synology.me IP address correctly when I am at home using home wifi? Thanks for any help and apologies if anything is unclear.
    Solved!
    Go to Solution.

    This is because the home hub 3 does not support NAT loopback. This is fixed in the latest firmware revision, which is just being rolled out now.
    See
    http://community.bt.com/t5/Other-BB-Queries/Re-Home-Hub-3A-recent-upgrade-breaks-port-forward-amp-DM...
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • PCG7: More Flow Rule help

    Hi, I have a trigger based Flow rule setup.
    It has 2 process flows.
    #1 is a check constraint (has an advanced rule that runs some SQL to check if a certain condition exists)
    #2 is a notification. The Notification has the condition that the previous constraint is true.
    My problem/question has to do with #1 (the check constraint).
    It sends a notification. I do not want it toi send a notification... I want it to validate the data condition ONLY.
    Also the Notification pauses the entire flow. which is also not what I want.
    If I open the notification, and click "Complete" button, I get new notification stating that it failed... the only way around this is to click the "Override" button from withing
    the notification, then the flow continues along it's way and finished processing.
    So, why does my Check Contstraint fire a notification ? How can I prevent both the notification, and the dependency of that notification processing ?
    Or, maybe I should be using a different Rule type for #1 ?
    thanx
    Edited by: rjfoster on Nov 11, 2010 9:37 AM

    ok, I read the documentation more thoroughly..
    The constraint type flow rule is doing what it is supposed to do..
    If the condition exists, it is supposed to send a notification, which is meant to notify somebody to correct the condition.....
    In my case there is no condition to correct, I just want a notification to be sent if a specific condition occurs...
    and because I am not eliminating my condition, hence why it keeps failing when I try to "Complete" it...
    Of course Override works, but I do not event want any action/intervention to occur... I would rather not have the constraint violation notification occur at all.
    So anyway, I guess a constraint flow rule is not going to work for my requqirements.
    I'll have to come up with something else...
    Here is what I need to do....
    1. Trigger flow event, when a table has an insert or an update...
    2. when this occurs I need to programmatically check (SQL can do it) if a certain data condition exists.
    3. If this data condition exists, I want to send a notification...
    thats it, thats all, end of story for my requirement.
    Any ideas as how what advanced flow rule types I might use for this ?
    thanx
    Edited by: rjfoster on Nov 11, 2010 2:01 PM

  • Validation Rule Help Need

    Dear Friends,
    I am new to FDM.
    Can anyone help me out with this request?
    User need to validate the following formula to be true.
    6xxxxx + 67xxxS + 68xxxx = 0
    6xxxxx , 67xxxS and 68xxxx are Account Members.
    How do I get members which begins with 6, 67 or 68?
    Thanks in advance,
    Roger

    Hi,
      If both the tables belongs to the same database , consider writing the SQL statement with LEFT JOIN and check for NULL values if match or not.
    Best Regards Sorna

Maybe you are looking for

  • Adobe Bridge CS5 in windows 7 not working?

    Adobe Bridge CS5 in windows 7 not working. I was using bridge perfectly for last 2 years. It stops working since 3 days. I tried to install updates. Showing some error to install. Tried to install creative cloud..again some error. Error code : 82 Cou

  • How to use Jinitiator for linux???

    I want to run oracle apps 11i on mandrake 8 using netscape 4.7

  • Not able to add program to report group

    Hi All, I am getting following error while adding program to report group. APP-FND-01590 - This group name is already in use. Please enter unique name. Cause: Report security group name along with application name uniquely identifies a report securit

  • TOOLBAR QUESTION...PROBABLY NOT THAT IMPORTANT...

    I've noticed in all the tutorials, that the toolbar has four differently colored circles.  These do not appear on mine.  Believe me, this is the LEAST of my problems with CS5, but just curious. Kathi

  • Install Portal into remote 9.2.0.3.1 database

    Has any successfully installed portal into a remote 9.2.0.3.1 database? My O/S is Windows 2000. I've got IAS Rel 2 9.0.2.0.1 installed and patched up to 9.0.2.2 I've been working with MetaLink, but so far they haven't been able to solve the problem.