<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<br>Hello Joe,<br><br>Thanks for the reply. How would I monitor a specific change for a field in the HR infotype in "real-time?" I need to read a date for all the subtypes in that infotype and if that date is one month from system date for any of the subtypes, i need to keep sending reminders until that record is either changed or a new record is inserted in the infotype. Also, How would i specify the event that a specific change is done and not just any change to the record. For example is it possible to say that the date is changed and then do a check that the date is changed to specific value. <br><br>I never linked HR Infotypes with events so i'm not sure how that can be done.<br><br>Thanks a lot.<br>Ali<br><br><br>> From: sap-wug-request@mit.edu<br>> Subject: SAP-WUG Digest, Vol 61, Issue 52<br>> To: sap-wug@mit.edu<br>> Date: Wed, 30 Dec 2009 10:46:06 -0500<br>> <br>> Send SAP-WUG mailing list submissions to<br>>         sap-wug@mit.edu<br>> <br>> To subscribe or unsubscribe via the World Wide Web, visit<br>>         http://mailman.mit.edu/mailman/listinfo/sap-wug<br>> or, via email, send a message with subject or body 'help' to<br>>         sap-wug-request@mit.edu<br>> <br>> You can reach the person managing the list at<br>>         sap-wug-owner@mit.edu<br>> <br>> When replying, please edit your Subject line so it is more specific<br>> than "Re: Contents of SAP-WUG digest..."<br>> <br>> <br>> Today's Topics:<br>> <br>> 1. Triggering an event based on a custom HR infotype field<br>> (Ali Husain)<br>> 2. Re: Triggering an event based on a custom HR infotype field<br>> (Joe_Toledo@capgroup.com)<br>> <br>> <br>> ----------------------------------------------------------------------<br>> <br>> Message: 1<br>> Date: Wed, 30 Dec 2009 15:21:30 +0000<br>> From: Ali Husain <mr_mago40@hotmail.com><br>> Subject: Triggering an event based on a custom HR infotype field<br>> To: <sap-wug@mit.edu><br>> Message-ID: <BAY130-W900C06D565B0FDF9B90B78F790@phx.gbl><br>> Content-Type: text/plain; charset="windows-1252"<br>> <br>> <br>> <br>> <br>> <br>> Dear WF Experts,<br>> <br>> <br>> I need to trigger an event based on a specific field in a<br>> custom HR infotype. I need to read a date field from there and do some calculations<br>> to it and if it passes a certain validation in the code I need to trigger a WF.<br>> I thought of scheduling an ABAP program to run in the background once a day to<br>> read the data ? do the calculation ? trigger the event to start the WF if<br>> needed. However, i?m thinking there might be a better solution which is by monitoring<br>> the infotype field itself from the WF side. The reason being is I want to send<br>> a notification when the event is triggered and then I need to wait for a week<br>> and see if there is action taken and if not I need to trigger another<br>> notification. So if I use the bg job option to trigger the WF I guess I have to<br>> use another background job to monitor what happens after a week. That?s why I?m<br>> thinking it might be better to do something in WF to solve this instead of scheduling<br>> two bg jobs one to trigger the event and one to monitor. Is there a better more<br>> efficient solution to do this? How would i link that check to a specific HR infotype field if that's the better option?<br>> <br>> <br>> <br>> Thanks a lot in advance.<br>> <br>> Ali<br>> <br>> <br>>                                            <br>> _________________________________________________________________<br>> Hotmail: Free, trusted and rich email service.<br>> http://clk.atdmt.com/GBL/go/171222984/direct/01/<br>> -------------- next part --------------<br>> An HTML attachment was scrubbed...<br>> URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20091230/a8effdd0/attachment-0001.htm<br>> <br>> ------------------------------<br>> <br>> Message: 2<br>> Date: Wed, 30 Dec 2009 07:45:31 -0800<br>> From: Joe_Toledo@capgroup.com<br>> Subject: Re: Triggering an event based on a custom HR infotype field<br>> To: "SAP Workflow Users' Group" <sap-wug@mit.edu><br>> Message-ID:<br>>         <OF1654A861.DB55207A-ON8825769C.00557F45-8825769C.005690D4@capgroup.com><br>>         <br>> Content-Type: text/plain; charset="utf-8"<br>> <br>> Hi there Ali,<br>> <br>> A couple of thoughts.<br>> <br>> Have you considered SWEHR3 to raise the event(s) "real-time?" You <br>> could have 2 events being triggered for the custom info type.<br>> <br>> On the workflow that is triggered to send out the notification, create a <br>> Wait for Event task that has a modeled deadline for "Latest End" and have <br>> that send out the 2nd notification if the 2nd event is not raised within <br>> the required time frame.<br>> <br>> Hope this helps.<br>> <br>> Regards,<br>> Joe Toledo | The Capital Group Companies<br>> Location: IRV | Extension: 55417 | Outside: 949-975-5417<br>> E-mail: joat@capgroup.com<br>> [ Mailing: 15260 Valley Oak. IRV-M-3E Irvine, CA 92618 USA ]<br>> <br>> <br>> <br>> <br>> Ali Husain <mr_mago40@hotmail.com> <br>> <br>> Sent by: sap-wug-bounces@mit.edu<br>> 12/30/2009 07:21 AM<br>> Please respond to<br>> "SAP Workflow Users' Group" <sap-wug@mit.edu><br>> <br>> <br>> To<br>> <sap-wug@mit.edu><br>> cc<br>> <br>> Subject<br>> Triggering an event based on a custom HR infotype field<br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> Dear WF Experts,<br>> <br>> I need to trigger an event based on a specific field in a custom HR <br>> infotype. I need to read a date field from there and do some calculations <br>> to it and if it passes a certain validation in the code I need to trigger <br>> a WF. I thought of scheduling an ABAP program to run in the background <br>> once a day to read the data ? do the calculation ? trigger the event to <br>> start the WF if needed. However, i?m thinking there might be a better <br>> solution which is by monitoring the infotype field itself from the WF <br>> side. The reason being is I want to send a notification when the event is <br>> triggered and then I need to wait for a week and see if there is action <br>> taken and if not I need to trigger another notification. So if I use the <br>> bg job option to trigger the WF I guess I have to use another background <br>> job to monitor what happens after a week. That?s why I?m thinking it might <br>> be better to do something in WF to solve this instead of scheduling two bg <br>> jobs one to trigger the event and one to monitor. Is there a better more <br>> efficient solution to do this? How would i link that check to a specific <br>> HR infotype field if that's the better option?<br>> <br>> Thanks a lot in advance.<br>> Ali<br>> <br>> <br>> Hotmail: Free, trusted and rich email service. Get it now.<br>> _______________________________________________<br>> SAP-WUG mailing list<br>> SAP-WUG@mit.edu<br>> http://mailman.mit.edu/mailman/listinfo/sap-wug<br>> <br>> <br>> -------------- next part --------------<br>> An HTML attachment was scrubbed...<br>> URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20091230/2d7e8a92/attachment.htm<br>> <br>> ------------------------------<br>> <br>> _______________________________________________<br>> SAP-WUG mailing list<br>> SAP-WUG@mit.edu<br>> http://mailman.mit.edu/mailman/listinfo/sap-wug<br>> <br>> <br>> End of SAP-WUG Digest, Vol 61, Issue 52<br>> ***************************************<br>                                            <br /><hr />Hotmail: Free, trusted and rich email service. <a href='http://clk.atdmt.com/GBL/go/171222984/direct/01/' target='_new'>Get it now.</a></body>
</html>