<div>Thanks for the reply Jocelyn!</div>
<div>&nbsp;</div>
<div>I'm still not sure about this one. When I was originally testing I was just checking SWEL. When I raised the event through SWUE it would appear in SWEL but when attempting to get the event triggered via PA30 nothing showed in SWEL.
</div>
<div>&nbsp;</div>
<div>However once I created a WF to listen for this event and activated the linkage things are very different. Now when I use PA30 the WF is triggered and the event DOES appear in SWEL. </div>
<div>&nbsp;</div>
<div>Shirely this can't be by design. This means that SWEL isn't really an event trace, it's a received event trace. I should clarify that when I run SWEL I do so for 'With and without linkages'. </div>
<div>&nbsp;</div>
<div>Can anyone confirm that they experience the same? Is this just a quirk of SWEHR2/3 events?</div>
<div>&nbsp;</div>
<div>Thanks,</div>
<div>Mark<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 3/21/06, <b class="gmail_sendername">Dart, Jocelyn</b> &lt;<a href="mailto:jocelyn.dart@sap.com">jocelyn.dart@sap.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div style="DIRECTION: ltr">
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Hi Mark, </font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">If its got as far as SWE_EVENT_CREATE then the most likely culprits are going to be:</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">* Problem in the definition of the event - e.g. event definition not released.</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">* Problem in the definition of the object passed to the event - e.g. non-existent key - always a problem with HR infotypes due to the Lock Indicator bizarrely being 
</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">part of the key, also potentially the data may not have been saved to the database as yet. </font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">* Problem in one of the event linkage function modules. </font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Try grabbing the data from your debug and run it again in debug mode from SWUE - that will let you debug through the rest and might</font></span>
</div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">even hint what's going on. </font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Also check to see if your workflow administrator&nbsp;was sent a mail about the failure to raise an event. </font></span></div>
<div><font face="Arial" color="#0000ff" size="2"></font>&nbsp;</div>
<p><span lang="en-us"><font face="Arial" size="1">Regards,</font></span> <br><span lang="en-us"><b><font face="Arial" color="#000080" size="1">Jocelyn Dart</font></b></span> <br><span lang="en-us"><font face="Arial" color="#808080" size="1">
Senior Consultant</font></span> <br><span lang="en-us"><b><font face="Arial" color="#808080" size="1">SAP Australia Pty Ltd.</font></b></span> <br><span lang="en-us"><font face="Arial" color="#808080" size="1">Level 1/168 Walker St.
</font></span> <br><span lang="en-us"><font face="Arial" color="#808080" size="1">North Sydney </font></span><br><span lang="en-us"><font face="Arial" color="#808080" size="1">NSW, 2060</font></span> <br><span lang="en-us">
<font face="Arial" color="#808080" size="1">Australia</font></span> <br><span lang="en-us"><font face="Arial" color="#808080" size="1">T&nbsp;&nbsp; +61 412 390 267</font></span> <br><span lang="en-us"><font face="Arial" color="#808080" size="1">
M&nbsp;&nbsp; + 61 412 390 267</font></span> <br><span lang="en-us"><font face="Arial" color="#808080" size="1">E&nbsp;&nbsp; <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:jocelyn.dart@sap.com" target="_blank">jocelyn.dart@sap.com
</a></font></span> <br><span lang="en-us"><font face="Arial" color="#808080" size="1"><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.sap.com/" target="_blank">http://www.sap.com</a></font></span>
 </p>
<p><span lang="en-au"><font face="Times New Roman" color="#ff0000" size="1">The information contained in or attached to this electronic transmission is confidential and may be legally privileged. It is intended only for the person or entity to which it is addressed. If you are not the intended recipient, you are hereby notified that any distribution, copying, review, retransmission, dissemination or other use of this electronic transmission or the information contained in it is strictly prohibited. If you have received this electronic transmission in error, please immediately contact the sender to arrange for the return of the original documents. 
</font></span></p>
<p><span lang="en-au"><font face="Times New Roman" color="#ff0000" size="1">Electronic transmission cannot be guaranteed to be secure and accordingly, the sender does not accept liability for any such data corruption, interception, unauthorized amendment, viruses, delays or the consequences thereof.
</font></span></p>
<p><span lang="en-au"><font face="Times New Roman" color="#ff0000" size="1">Any views expressed in this electronic transmission are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of SAP AG or any of its subsidiaries. SAP AG, its subsidiaries, and their directors, officers and employees make no representation nor accept any liability for the accuracy or completeness of the views or information contained herein. Please be aware that the furnishing of any pricing information/ business proposal herein is indicative only, is subject to change and shall not be construed as an offer or as constituting a binding agreement on the part of SAP AG or any of its subsidiaries to enter into any relationship, unless otherwise expressly stated. 
</font></span></p>
<div>&nbsp;</div><br>
<div lang="en-us" dir="ltr" align="left">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a> [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug-bounces@mit.edu" target="_blank">
sap-wug-bounces@mit.edu</a>] <b>On Behalf Of </b>Mark Pyc<br><b>Sent:</b> Wednesday, 22 March 2006 12:43 AM<br><b>To:</b> WUG<br><b>Subject:</b> 640 - Raise Event for Infotype (SWEHR1/2/3) not working<br></font><br>&nbsp;</div>
</div>
<div style="DIRECTION: ltr"><span class="e" id="q_10a1ef6096506cea_1">
<div></div>
<div>G'day all,</div>
<div>&nbsp;</div>
<div>I'm trying to raise events when Infotype 0019 is inserted/changed/deleted.</div>
<div>&nbsp;</div>
<div>I've had a poke through SWEHR1/2/3 to find similar entries. Most of the Person related infotypes are linked to Objects with an ultimate parent object of EMPLOYEEI. As such I've tried as an initial test to get the CREATED event of this object raised. 
</div>
<div>&nbsp;</div>
<div>In SWEHR1 I've created an entry as follows:</div>
<div>Ob - P</div>
<div>IT - 0019</div>
<div>Obj.Type - EMPLOYEEI</div>
<div>&nbsp;</div>
<div>In SWEHR3 I've created entries as follows:</div>
<div>Ob - P</div>
<div>IT - 0019</div>
<div>Updat - INS</div>
<div>Obj.Type - EMPLOYEEI</div>
<div>Event - CREATED</div>
<div>&nbsp;</div>
<div>
<div>Ob - P</div>
<div>IT - 0019</div>
<div>Updat - UPD</div>
<div>Obj.Type - EMPLOYEEI</div>
<div>Event - CREATED</div></div>
<div>&nbsp;</div>
<div>(This second&nbsp;update entry was simply to see if my problems were related purely to insertion.)</div>
<div>&nbsp;</div>
<div>When I create a 0019 record for an employee no event is getting raised.</div>
<div>&nbsp;</div>
<div>I've debugged through the Function HR_EVENT_CREATE while executing PA30 and in the end it calls SWE_EVENT_CREATE with everything looking fine. However no event is raised.</div>
<div>&nbsp;</div>
<div>We are on 640&nbsp;basis <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://supp.pk/" target="_blank">supp.pk</a> 15 now. OSS note 904851 was found and applied while we were still on 14. </div>
<div>&nbsp;</div>
<div>I can't find anything else on OSS, this group or SDN that seems applicable. </div>
<div>There aren't any ST22 Dumps, RFC issues or System Log entries.</div>
<div>&nbsp;</div>
<div>Can anyone shed light onto what I may be missing??</div>
<div>&nbsp;</div>
<div>Many thanks,</div>
<div>Mark</div></span></div><br>_______________________________________________<br>SAP-WUG mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">
http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br><br><br></blockquote></div><br>