Custom HR Event - Key not filled in certain circumstances

Rick Bakker rbakker at gmail.com
Fri Mar 22 18:12:37 EDT 2013


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> 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?****
>
> ** **
>
> ****
>
> ** **
>
> ** **
>
> 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****
>
> ** **
>
> _______________________________________________
> SAP-WUG mailing list
> 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/f6e35b38/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/20130323/f6e35b38/attachment-0001.jpg


More information about the SAP-WUG mailing list