Custom HR Event - Key not filled in certain circumstances

Keohan, Susan - 1140 - MITLL keohan at ll.mit.edu
Fri Mar 22 13:26:24 EDT 2013


Hello all,

We have a custom workflow to notify when a retiree is rehired.  It's been
running quite happily for 10 years.

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.

 

And then the Enhancement Packs happened.  We are on SAP ECC 6.0 - and
recently upgraded to EHP5 SPS11.

Since then this event is not always being raised with a Key filled in.
Sometimes it is!  But sometimes it is NOT.

I have determined that a series of events, REHIRED and POSITIONCHANGED
precede the custom event when it has blank/zilch/nichts for a pernr.

 

I have debugged and debugged, searched and searched.  

 

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

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.

 

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. 

But I think the key is right here (so to speak).

Has anyone else encountered a problem like this?  
And who can I beat up for the way HR events are piggy-backed?

 



 

 

Kind regards,
Sue

 

----

Susan R. Keohan

SAP Workflow Specialist

Enterprise Applications

Information Services Department

MIT Lincoln Laboratory

244 Wood Street, LI-200

Lexington, MA. 02420

781-981-3561

 <mailto:keohan at LL.MIT.EDU> keohan at LL.MIT.EDU

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20130322/695585ec/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 58406 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20130322/695585ec/attachment-0001.jpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5465 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20130322/695585ec/attachment-0001.bin


More information about the SAP-WUG mailing list