<div dir="ltr">Hi Sue,<div><div><br></div><div style>I gather from the screenshot that you have managed to replicate this problem? That&#39;s good news,at least.</div><div style>I would be very interested in what the input to <span style="font-family:&#39;Times New Roman&#39;,serif;font-size:16px">HR_ASSEMBLE_OBJECTKEY is, and I would gladly F5 my way down into its innards to see exactly why it isn&#39;t returning a key. I assume this will eventually be fixed with a SAP Note, if you haven&#39;t found one already.</span></div>

</div><div style><span style="font-family:&#39;Times New Roman&#39;,serif;font-size:16px"><br></span></div><div style><span style="font-family:&#39;Times New Roman&#39;,serif;font-size:16px">regards</span></div><div style>

<span style="font-family:&#39;Times New Roman&#39;,serif;font-size:16px">Rick Bakker</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Mar 23, 2013 at 4:26 AM, Keohan, Susan - 1140 - MITLL <span dir="ltr">&lt;<a href="mailto:keohan@ll.mit.edu" target="_blank">keohan@ll.mit.edu</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">Hello all,<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">We have a custom workflow to notify when a retiree is rehired.  It’s been running quite happily for 10 years.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">The workflow is triggered by the event ZREHIRED, which is configured in ZWEHR3 with a nice Z_HR_EVENT_RULES_PA0001 which determines if the correct action has occurred, we want to raise the ZREHIRED event.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">And then the Enhancement Packs happened.  We are on SAP ECC 6.0 – and recently upgraded to EHP5 SPS11.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">Since then this event is not always being raised with a Key filled in.  Sometimes it is!  But sometimes it is NOT.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">I have determined that a series of events, REHIRED and POSITIONCHANGED precede the custom event when it has blank/zilch/nichts for a pernr.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">I have debugged and debugged, searched and searched.  <u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">The nearest thing to an explanation I can come up with is that, during the course of saving the rehired person to their organization, the function<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">HR_ASSEMBLE_OBJECTKEY is called, and comes back with an empty BUSINESSOBJECTKEY.  Please notice in the debugger screen shot below that the field is empty.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">I could show you screen shots of the event log and the events that had a key, and those that did not.  I could show a lot of junk. <u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">But I think the key is right here (so to speak).<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">Has anyone else encountered a problem like this?  <br>

And who can I beat up for the way HR events are piggy-backed?<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><u></u> <u></u></span></p>

<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><img width="683" height="468" src="cid:image001.jpg@01CE2700.D9CEE020"></span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><u></u> <u></u></span></p>

<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">Kind regards,<br>Sue<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><u></u> <u></u></span></p>

<p class="MsoNormal"><span style="font-size:10.0pt">----</span><span style><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt">Susan R. Keohan</span><span style><u></u><u></u></span></p><p class="MsoNormal">

<span style="font-size:10.0pt">SAP Workflow Specialist</span><span style><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt">Enterprise Applications</span><span style><u></u><u></u></span></p><p class="MsoNormal">

<span style="font-size:10.0pt">Information Services Department</span><span style><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt">MIT Lincoln Laboratory</span><span style><u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:10.0pt">244 Wood Street, LI-200</span><span style><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt">Lexington, MA. 02420</span><span style><u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:10.0pt"><a href="tel:781-981-3561" value="+17819813561" target="_blank">781-981-3561</a></span><span style><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt"><a href="mailto:keohan@LL.MIT.EDU" target="_blank"><span style="color:blue">keohan@LL.MIT.EDU</span></a></span><span style><u></u><u></u></span></p>

<p class="MsoNormal"><u></u> <u></u></p></div></div><br>_______________________________________________<br>
SAP-WUG mailing list<br>
<a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
<br></blockquote></div><br></div>