HR Event - Position Transfer from Org Unit

Mike Pokraka wug at workflowconnections.com
Wed Apr 16 05:34:54 EDT 2008


Hi Sue,

One difference between SWEHR2 and SWEHR3 is that you cannot
forward-navigate to the function module by doubleclicking on it in SWEHR3.
This probably doesn't help your cause but I thought I'd mention it anyway.

At my present site I have too much auth to verify this, but I think at
other sites I could not create new entries in SWEHR2. I think they're
basically the same, but one is for SAP and one for us. I modify SW...2
when changing SAP-delivered setup and use SW...3 to create new
object/event combos.

Other than that you've pretty much got it spot on. The difference between
event and FM is that an event will always be raised. If the process code
is not enough to identify what happened, a FM allows you to put some more
conditions around it (e.g. by comparing before/after images to determine
what changed).

Cheers,
Mike


On Tue, April 15, 2008 4:07 pm, Keohan, Susan wrote:
> Hi WFers,
>
> Really at wit's end here (which is not too far to go).  I've read all the
> posts related to raising events using SWEHR1, SWEHR2, and SWEHR3...
>
> R/3 4.6c...
>
> I need to raise an event, preferably PDOTYPE_SH POSTRANSFER, when a
> position is transferred out of one org unit into another.  Our HR friends
> want us to do this based on the creation of a new relationship A003
> between position and org, or the delimiting of previous relationship.
> They are not comfortable with using HR Actions to raise the event.
>
> Entry in SWEHR1:  Relationship between Position and object type PDOTYPE_SH
> [cid:image001.png at 01C89EE7.F110C060]
>
> Entry in SWEHR2: (HR-CA Event Linkage) - I have a custom FM in the FM
> field which calls SAP_WAPI_CREATE_EVENT to raise the event.
>
>
> [cid:image002.png at 01C89EE7.F110C060]
>
>
> Entry in SWEHR3- Event Linkage for Customer -
>
> [cid:image003.png at 01C89EE8.E88794E0]
>
>
>
> 1)      Can it be done ? Raise an event for PDOTYPE_SH POSTRANSFER based
> on a PO13 (copy relationship, enter new begin date and org, delimit old
> org relationship)?
>
> 2)      Do I need to use a custom FM, or is it enough to specify the EVENT
> in SWEHR2/SWEHR3... The entries seem to be mutually exclusive.
>
> 3)      Do you need to wait for a day or should the event get raised (if
> ever) immediately, regardless of start date on new org assignment ?
>
> 4)      I've tried debugging through, but no SWE_EVENT_CREATE,
> HR_EVENT_CREATE, SAP_WAPI_CREATE_EVENT gets called.
>
> 5)      Are the entries in SWEHR2 and SWEHR3 redundant ?
>
> 6)      Any other tips ?
>
>
>
> Thanks for any help on this issue.
>
> Sue
> ----
> Susan R. Keohan
> SAP Workflow Specialist
> MIT Lincoln Laboratory
> 244 Wood Street, LI-200
> Lexington, MA.  02420
> Ph:   781-981-3561
> Fax: 781-981-1607
> keohan at LL.MIT.EDU
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>





More information about the SAP-WUG mailing list