Custom HR Event - Key not filled in certain circumstances

Morris, Eddie eddie.morris at sap.com
Sat Mar 23 19:57:13 EDT 2013


Hi Sue,

Is note 1696315 in your system? If not please apply and test again.

Regards,
Eddie

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Keohan, Susan - 1140 - MITLL
Sent: Friday, March 22, 2013 5:26 PM
To: SAP Workflow Users' Group
Subject: Custom HR Event - Key not filled in certain circumstances

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?

[cid:image001.jpg at 01CE2822.1FBA1150]


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
keohan at LL.MIT.EDU<mailto:keohan at LL.MIT.EDU>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20130323/546eb596/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 58406 bytes
Desc: image001.jpg
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20130323/546eb596/attachment-0001.jpg


More information about the SAP-WUG mailing list