<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body dir="auto">
<div>Hi Sue&nbsp;</div>
<div>If you can reproduce it and its been introduced by ehps and there is no note already raise it. &nbsp;BUT raise it under HR not under workflow as its a standard HR routine that has changed behaviour</div>
<div>Cheers</div>
<div>Jocelyn<br>
<br>
Sent from my iPhone with many apologies for the spelling, grammar and any other deficiencies&nbsp;</div>
<div><br>
On 23/03/2013, at 9:19 AM, &quot;Rick Bakker&quot; &lt;<a href="mailto:rbakker@gmail.com">rbakker@gmail.com</a>&gt; wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<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's good news,at least.</div>
<div style="">I would be very interested in what the input to&nbsp;<span style="font-family:'Times New Roman',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't returning a key. I assume
 this will eventually be fixed with a SAP Note, if you haven't found one already.</span></div>
</div>
<div style=""><span style="font-family:'Times New Roman',serif;font-size:16px"><br>
</span></div>
<div style=""><span style="font-family:'Times New Roman',serif;font-size:16px">regards</span></div>
<div style=""><span style="font-family:'Times New Roman',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.&nbsp; 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>&nbsp;<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.&nbsp; 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.&nbsp; Sometimes it is!&nbsp; 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>&nbsp;<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.&nbsp;
<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>&nbsp;<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.&nbsp; 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>&nbsp;<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.&nbsp; 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?&nbsp;
<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>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">&lt;image001.jpg&gt;</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>&nbsp;<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>&nbsp;<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>&nbsp;<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="&#43;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>&nbsp;<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>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>SAP-WUG mailing list</span><br>
<span><a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a></span><br>
<span><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</a></span><br>
</div>
</blockquote>
</body>
</html>