<br><font size=2 face="sans-serif">HI there Ali,</font>
<br>
<br><font size=2 face="sans-serif">Try TCodes &nbsp;SWEHR2 &nbsp;(SAP)
to see how it is configured by SAP and then use SWEHR3 to configure your
own. &nbsp;Basically you can code a FM that can be invoked and an InfoType
is updated, inserted, deleted, etc...</font>
<br>
<br><font size=2 face="sans-serif">You can then put your own logic to raise
an event of your choice.</font>
<br>
<br><font size=2 face="sans-serif">Hope this helps.</font>
<br>
<br><font size=2 face="sans-serif">Regards,<br>
</font>
<table align=center>
<tr>
<td bgcolor=#efefef>
<div align=center><a href=mailto:Joe_Toledo@capgroup.com><font size=1 color=blue face="Arial"><u>Joe
Toledo</u></font></a><font size=1 face="Arial"> | The Capital Group Companies<br>
Location: IRV | Extension: 55417 | Outside: 949-975-5417<br>
E-mail: joat@capgroup.com<br>
[ Mailing: </font><a href="http://maps.yahoo.com/py/maps.py?BFCat=&amp;Pyt=Tmap&amp;newFL=Use+Address+Below&amp;addr=15260+Valley+Oak.&amp;csz=92618&amp;Country=us&amp;Get%A0Map=Get+Map"><font size=1 color=blue face="Arial"><u>15260
Valley Oak.</u></font></a><font size=1 face="Arial"> IRV-M-3E Irvine, CA
92618 USA ]</font></div></table>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Ali Husain &lt;mr_mago40@hotmail.com&gt;</b>
</font>
<br>
<br><font size=1 face="sans-serif">Sent by: sap-wug-bounces@mit.edu</font>
<p><font size=1 face="sans-serif">12/31/2009 01:18 AM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
&quot;SAP Workflow Users' Group&quot; &lt;sap-wug@mit.edu&gt;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">&lt;sap-wug@mit.edu&gt;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: Triggering an event based on a custom
HR infotype field</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2 face="Verdana"><br>
Hello Joe,<br>
<br>
Thanks for the reply. How would I monitor a specific change for a field
in the HR infotype in &quot;real-time?&quot; 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>
&gt; From: sap-wug-request@mit.edu<br>
&gt; Subject: SAP-WUG Digest, Vol 61, Issue 52<br>
&gt; To: sap-wug@mit.edu<br>
&gt; Date: Wed, 30 Dec 2009 10:46:06 -0500<br>
&gt; <br>
&gt; Send SAP-WUG mailing list submissions to<br>
&gt; sap-wug@mit.edu<br>
&gt; <br>
&gt; To subscribe or unsubscribe via the World Wide Web, visit<br>
&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
&gt; or, via email, send a message with subject or body 'help' to<br>
&gt; sap-wug-request@mit.edu<br>
&gt; <br>
&gt; You can reach the person managing the list at<br>
&gt; sap-wug-owner@mit.edu<br>
&gt; <br>
&gt; When replying, please edit your Subject line so it is more specific<br>
&gt; than &quot;Re: Contents of SAP-WUG digest...&quot;<br>
&gt; <br>
&gt; <br>
&gt; Today's Topics:<br>
&gt; <br>
&gt; 1. Triggering an event based on a custom HR infotype field<br>
&gt; (Ali Husain)<br>
&gt; 2. Re: Triggering an event based on a custom HR infotype field<br>
&gt; (Joe_Toledo@capgroup.com)<br>
&gt; <br>
&gt; <br>
&gt; ----------------------------------------------------------------------<br>
&gt; <br>
&gt; Message: 1<br>
&gt; Date: Wed, 30 Dec 2009 15:21:30 +0000<br>
&gt; From: Ali Husain &lt;mr_mago40@hotmail.com&gt;<br>
&gt; Subject: Triggering an event based on a custom HR infotype field<br>
&gt; To: &lt;sap-wug@mit.edu&gt;<br>
&gt; Message-ID: &lt;BAY130-W900C06D565B0FDF9B90B78F790@phx.gbl&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;windows-1252&quot;<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; Dear WF Experts,<br>
&gt; <br>
&gt; <br>
&gt; I need to trigger an event based on a specific field in a<br>
&gt; custom HR infotype. I need to read a date field from there and do
some calculations<br>
&gt; to it and if it passes a certain validation in the code I need to
trigger a WF.<br>
&gt; I thought of scheduling an ABAP program to run in the background once
a day to<br>
&gt; read the data ? do the calculation ? trigger the event to start the
WF if<br>
&gt; needed. However, i?m thinking there might be a better solution which
is by monitoring<br>
&gt; the infotype field itself from the WF side. The reason being is I
want to send<br>
&gt; a notification when the event is triggered and then I need to wait
for a week<br>
&gt; and see if there is action taken and if not I need to trigger another<br>
&gt; notification. So if I use the bg job option to trigger the WF I guess
I have to<br>
&gt; use another background job to monitor what happens after a week. That?s
why I?m<br>
&gt; thinking it might be better to do something in WF to solve this instead
of scheduling<br>
&gt; two bg jobs one to trigger the event and one to monitor. Is there
a better more<br>
&gt; efficient solution to do this? How would i link that check to a specific
HR infotype field if that's the better option?<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; Thanks a lot in advance.<br>
&gt; <br>
&gt; Ali<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; _________________________________________________________________<br>
&gt; Hotmail: Free, trusted and rich email service.<br>
&gt; http://clk.atdmt.com/GBL/go/171222984/direct/01/<br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20091230/a8effdd0/attachment-0001.htm<br>
&gt; <br>
&gt; ------------------------------<br>
&gt; <br>
&gt; Message: 2<br>
&gt; Date: Wed, 30 Dec 2009 07:45:31 -0800<br>
&gt; From: Joe_Toledo@capgroup.com<br>
&gt; Subject: Re: Triggering an event based on a custom HR infotype field<br>
&gt; To: &quot;SAP Workflow Users' Group&quot; &lt;sap-wug@mit.edu&gt;<br>
&gt; Message-ID:<br>
&gt; &lt;OF1654A861.DB55207A-ON8825769C.00557F45-8825769C.005690D4@capgroup.com&gt;<br>
&gt; <br>
&gt; Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
&gt; <br>
&gt; Hi there Ali,<br>
&gt; <br>
&gt; A couple of thoughts.<br>
&gt; <br>
&gt; Have you considered SWEHR3 to raise the event(s) &quot;real-time?&quot;
You <br>
&gt; could have 2 events being triggered for the custom info type.<br>
&gt; <br>
&gt; On the workflow that is triggered to send out the notification, create
a <br>
&gt; Wait for Event task that has a modeled deadline for &quot;Latest End&quot;
and have <br>
&gt; that send out the 2nd notification if the 2nd event is not raised
within <br>
&gt; the required time frame.<br>
&gt; <br>
&gt; Hope this helps.<br>
&gt; <br>
&gt; Regards,<br>
&gt; Joe Toledo | The Capital Group Companies<br>
&gt; Location: IRV | Extension: 55417 | Outside: 949-975-5417<br>
&gt; E-mail: joat@capgroup.com<br>
&gt; [ Mailing: 15260 Valley Oak. IRV-M-3E Irvine, CA 92618 USA ]<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; Ali Husain &lt;mr_mago40@hotmail.com&gt; <br>
&gt; <br>
&gt; Sent by: sap-wug-bounces@mit.edu<br>
&gt; 12/30/2009 07:21 AM<br>
&gt; Please respond to<br>
&gt; &quot;SAP Workflow Users' Group&quot; &lt;sap-wug@mit.edu&gt;<br>
&gt; <br>
&gt; <br>
&gt; To<br>
&gt; &lt;sap-wug@mit.edu&gt;<br>
&gt; cc<br>
&gt; <br>
&gt; Subject<br>
&gt; Triggering an event based on a custom HR infotype field<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; Dear WF Experts,<br>
&gt; <br>
&gt; I need to trigger an event based on a specific field in a custom HR
<br>
&gt; infotype. I need to read a date field from there and do some calculations
<br>
&gt; to it and if it passes a certain validation in the code I need to
trigger <br>
&gt; a WF. I thought of scheduling an ABAP program to run in the background
<br>
&gt; once a day to read the data ? do the calculation ? trigger the event
to <br>
&gt; start the WF if needed. However, i?m thinking there might be a better
<br>
&gt; solution which is by monitoring the infotype field itself from the
WF <br>
&gt; side. The reason being is I want to send a notification when the event
is <br>
&gt; triggered and then I need to wait for a week and see if there is action
<br>
&gt; taken and if not I need to trigger another notification. So if I use
the <br>
&gt; bg job option to trigger the WF I guess I have to use another background
<br>
&gt; job to monitor what happens after a week. That?s why I?m thinking
it might <br>
&gt; be better to do something in WF to solve this instead of scheduling
two bg <br>
&gt; jobs one to trigger the event and one to monitor. Is there a better
more <br>
&gt; efficient solution to do this? How would i link that check to a specific
<br>
&gt; HR infotype field if that's the better option?<br>
&gt; <br>
&gt; Thanks a lot in advance.<br>
&gt; Ali<br>
&gt; <br>
&gt; <br>
&gt; Hotmail: Free, trusted and rich email service. Get it now.<br>
&gt; _______________________________________________<br>
&gt; SAP-WUG mailing list<br>
&gt; SAP-WUG@mit.edu<br>
&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
&gt; <br>
&gt; <br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20091230/2d7e8a92/attachment.htm<br>
&gt; <br>
&gt; ------------------------------<br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; SAP-WUG mailing list<br>
&gt; SAP-WUG@mit.edu<br>
&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
&gt; <br>
&gt; <br>
&gt; End of SAP-WUG Digest, Vol 61, Issue 52<br>
&gt; ***************************************<br>
<br>
</font>
<hr><font size=2 face="Verdana">Hotmail: Free, trusted and rich email service.
</font><a href=http://clk.atdmt.com/GBL/go/171222984/direct/01/ target=_new><font size=2 color=blue face="Verdana"><u>Get
it now.</u></font></a><font size=2><tt>_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
</tt></font>
<br>