Custom HR Event - Key not filled in certain circumstances

Keohan, Susan - 1140 - MITLL keohan at ll.mit.edu
Mon Mar 25 11:35:52 EDT 2013


Hi Eddie,

Thanks for pointing out the KBA.  Somebody should make the community more
aware of these!  ;-)

 

In my case, the event was created successfully, and the workflow started.
But not having an object key *can* cause workflow a problem.

Of course, once the workflow failed, and I was able to turn on and check
subsequent failures and see that the object key was blank, I thought I might
be on to something.

 

Thanks again,
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

 

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of
Morris, Eddie
Sent: Monday, March 25, 2013 9:44 AM
To: SAP Workflow Users' Group
Subject: RE: Custom HR Event - Key not filled in certain circumstances

 

Hi Sue,

 

This note is a BOR related rather than workflow so it can manifest itself in
different ways..the usual way is in binding errors in the workflow runtime.
It is already included in KBA 1732734 (Related to binding errors) but I will
update the KBA with your symptom also. Thanks Sue.

 

Regards,

Eddie

 

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

 

Thank you Rick, Jocelyn, and Eddie.

 

I had stared at the OSS note Eddie mentioned and was trying to weigh which
was more painful.

getting a note applied, filling out a message, or debugging thru the
function modules (when this particular action seems to pass thru that
function at least 4 times, and performing HR actions makes me lose
consciousness).

 

In the end, getting a note applied - especially since I had Eddie's
recommendation J - seemed like the best approach, and it did work! 

I would recommend that the note be more easily found, perhaps this case
could also be added to it? 

But I am moving this up to QA, so now it's up to the users to break it.

 

Thank you all so much!

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

 

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of
Morris, Eddie
Sent: Saturday, March 23, 2013 7:57 PM
To: SAP Workflow Users' Group
Subject: RE: Custom HR Event - Key not filled in certain circumstances

 

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?

 



 

 

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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20130325/170cde7a/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/20130325/170cde7a/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/20130325/170cde7a/attachment-0001.bin


More information about the SAP-WUG mailing list