Custom HR Event - Key not filled in certain circumstances

Dart, Jocelyn jocelyn.dart at sap.com
Sat Mar 23 06:56:31 EDT 2013


Hi Sue
If you can reproduce it and its been introduced by ehps and there is no note already raise it.  BUT raise it under HR not under workflow as its a standard HR routine that has changed behaviour
Cheers
Jocelyn

Sent from my iPhone with many apologies for the spelling, grammar and any other deficiencies

On 23/03/2013, at 9:19 AM, "Rick Bakker" <rbakker at gmail.com<mailto:rbakker at gmail.com>> wrote:

Hi Sue,

I gather from the screenshot that you have managed to replicate this problem? That's good news,at least.
I would be very interested in what the input to 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.

regards
Rick Bakker


On Sat, Mar 23, 2013 at 4:26 AM, Keohan, Susan - 1140 - MITLL <keohan at ll.mit.edu<mailto:keohan at ll.mit.edu>> wrote:
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?

<image001.jpg>


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


_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu<mailto:SAP-WUG at mit.edu>
http://mailman.mit.edu/mailman/listinfo/sap-wug


_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu<mailto:SAP-WUG at mit.edu>
http://mailman.mit.edu/mailman/listinfo/sap-wug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20130323/aa942d46/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/aa942d46/attachment-0001.jpg


More information about the SAP-WUG mailing list