<br><font size=2 face="sans-serif">Hi Carmen,</font>
<br>
<br><font size=2 face="sans-serif">the HIRED event is published from Infotype
0001 (</font><font size=2 face="Arial">Function Module HR_EVENT_RULES_PA0001).</font>
<br>
<br><font size=2 face="Arial">I have seen the event being published twice
when the position that you are hiring your employee has more than one relationship
with different Org Units e.g.</font>
<br>
<br><font size=2 face="Arial">position 50000000</font>
<br>
<br><font size=2 face="Arial">01.01.2007 - 14.02.2008 belongs to Org Unit
50000001</font>
<br><font size=2 face="Arial">15.02.2008 - 31.12.9999 belongs to Org Unit
50000999</font>
<br>
<br><font size=2 face="Arial">If you hire an employee to this position
on the 10.02.2008, the event will be published twice because the system
will create 2 infotypes 0001 for this employee.</font>
<br>
<br><font size=2 face="Arial">I think an OSS should be raised so SAP can
fix the way HIRED is published.</font>
<br>
<br><font size=2 face="Arial">Alternatively, you can try to 'play' with
function module HR_EVENT_RULES_PA0001 and code something to prevent the
event being published twice?</font>
<br>
<br><font size=2 face="Arial">I hope this helps.</font>
<br>
<br><font size=2 face="sans-serif">Good luck!<br>
<br>
Cristiana<br>
_________________________________<br>
Cristiana d'Agosto<br>
IBM Global Business Services<br>
Mobile: &nbsp;+61 417 927 224<br>
cristiana.dagosto@au1.ibm.com</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>&quot;Carmen Cheung&quot;
&lt;carmen.cheung@roc-group.com&gt;</b> </font>
<br><font size=1 face="sans-serif">Sent by: sap-wug-bounces@mit.edu</font>
<p><font size=1 face="sans-serif">30/01/2008 08:49 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">BUS1065 HIRED Event</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2 face="Arial">Hi All,</font>
<br><font size=2 face="Arial">&nbsp;</font>
<br><font size=2 face="Arial">I&#8217;m creating a notification workflow for
when a new employee is hired (PA40) in R/3 4.7, using triggering event
HIRED for BUS1065. </font>
<br><font size=2 face="Arial">&nbsp;</font>
<br><font size=2 face="Arial">The actual workflow is going fine, but the
triggering event is being published twice in the system. I have tried to
use the function module SAP_WAPI_WORKITEMS_TO_OBJECT to check if a workflow
is already active and ensure the workflow is only triggered once, but to
no avail.</font>
<br><font size=2 face="Arial">&nbsp;</font>
<br><font size=2 face="Arial">I have also tried triggering my own event
to a delegate object and entered the configuration in SWEHR3. This also
published duplicate events.</font>
<br><font size=2 face="Arial">&nbsp;</font>
<br><font size=2 face="Arial">Is there anyway to stop the duplicate event
being triggered? </font>
<br><font size=2 face="Arial">&nbsp;</font>
<br><font size=2 face="Arial">Really appreciate any ideas.</font>
<br><font size=2 face="Arial">&nbsp;</font>
<br><font size=2 face="Arial">Many thanks,</font>
<br><font size=2 face="Arial">&nbsp;</font>
<br><font size=2 face="Arial">Carmen </font>
<br><font size=2 face="Arial">&nbsp;</font>
<br><font size=2 face="Arial">&nbsp;</font>
<br><font size=2 face="Arial">&nbsp;_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
</font>
<br>