Triggering an event based on a custom HR infotype field
Ali Husain
mr_mago40 at hotmail.com
Thu Dec 31 04:18:27 EST 2009
Hello Joe,
Thanks for the reply. How would I monitor a specific change for a field in the HR infotype in "real-time?" I need to read a date for all the subtypes in that infotype and if that date is one month from system date for any of the subtypes, i need to keep sending reminders until that record is either changed or a new record is inserted in the infotype. Also, How would i specify the event that a specific change is done and not just any change to the record. For example is it possible to say that the date is changed and then do a check that the date is changed to specific value.
I never linked HR Infotypes with events so i'm not sure how that can be done.
Thanks a lot.
Ali
> From: sap-wug-request at mit.edu
> Subject: SAP-WUG Digest, Vol 61, Issue 52
> To: sap-wug at mit.edu
> Date: Wed, 30 Dec 2009 10:46:06 -0500
>
> Send SAP-WUG mailing list submissions to
> sap-wug at mit.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mailman.mit.edu/mailman/listinfo/sap-wug
> or, via email, send a message with subject or body 'help' to
> sap-wug-request at mit.edu
>
> You can reach the person managing the list at
> sap-wug-owner at mit.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of SAP-WUG digest..."
>
>
> Today's Topics:
>
> 1. Triggering an event based on a custom HR infotype field
> (Ali Husain)
> 2. Re: Triggering an event based on a custom HR infotype field
> (Joe_Toledo at capgroup.com)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 30 Dec 2009 15:21:30 +0000
> From: Ali Husain <mr_mago40 at hotmail.com>
> Subject: Triggering an event based on a custom HR infotype field
> To: <sap-wug at mit.edu>
> Message-ID: <BAY130-W900C06D565B0FDF9B90B78F790 at phx.gbl>
> Content-Type: text/plain; charset="windows-1252"
>
>
>
>
>
> Dear WF Experts,
>
>
> I need to trigger an event based on a specific field in a
> custom HR infotype. I need to read a date field from there and do some calculations
> to it and if it passes a certain validation in the code I need to trigger a WF.
> I thought of scheduling an ABAP program to run in the background once a day to
> read the data ? do the calculation ? trigger the event to start the WF if
> needed. However, i?m thinking there might be a better solution which is by monitoring
> the infotype field itself from the WF side. The reason being is I want to send
> a notification when the event is triggered and then I need to wait for a week
> and see if there is action taken and if not I need to trigger another
> notification. So if I use the bg job option to trigger the WF I guess I have to
> use another background job to monitor what happens after a week. That?s why I?m
> thinking it might be better to do something in WF to solve this instead of scheduling
> two bg jobs one to trigger the event and one to monitor. Is there a better more
> efficient solution to do this? How would i link that check to a specific HR infotype field if that's the better option?
>
>
>
> Thanks a lot in advance.
>
> Ali
>
>
>
> _________________________________________________________________
> Hotmail: Free, trusted and rich email service.
> http://clk.atdmt.com/GBL/go/171222984/direct/01/
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20091230/a8effdd0/attachment-0001.htm
>
> ------------------------------
>
> Message: 2
> Date: Wed, 30 Dec 2009 07:45:31 -0800
> From: Joe_Toledo at capgroup.com
> Subject: Re: Triggering an event based on a custom HR infotype field
> To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
> Message-ID:
> <OF1654A861.DB55207A-ON8825769C.00557F45-8825769C.005690D4 at capgroup.com>
>
> Content-Type: text/plain; charset="utf-8"
>
> Hi there Ali,
>
> A couple of thoughts.
>
> Have you considered SWEHR3 to raise the event(s) "real-time?" You
> could have 2 events being triggered for the custom info type.
>
> On the workflow that is triggered to send out the notification, create a
> Wait for Event task that has a modeled deadline for "Latest End" and have
> that send out the 2nd notification if the 2nd event is not raised within
> the required time frame.
>
> Hope this helps.
>
> Regards,
> Joe Toledo | The Capital Group Companies
> Location: IRV | Extension: 55417 | Outside: 949-975-5417
> E-mail: joat at capgroup.com
> [ Mailing: 15260 Valley Oak. IRV-M-3E Irvine, CA 92618 USA ]
>
>
>
>
> Ali Husain <mr_mago40 at hotmail.com>
>
> Sent by: sap-wug-bounces at mit.edu
> 12/30/2009 07:21 AM
> Please respond to
> "SAP Workflow Users' Group" <sap-wug at mit.edu>
>
>
> To
> <sap-wug at mit.edu>
> cc
>
> Subject
> Triggering an event based on a custom HR infotype field
>
>
>
>
>
>
>
> Dear WF Experts,
>
> I need to trigger an event based on a specific field in a custom HR
> infotype. I need to read a date field from there and do some calculations
> to it and if it passes a certain validation in the code I need to trigger
> a WF. I thought of scheduling an ABAP program to run in the background
> once a day to read the data ? do the calculation ? trigger the event to
> start the WF if needed. However, i?m thinking there might be a better
> solution which is by monitoring the infotype field itself from the WF
> side. The reason being is I want to send a notification when the event is
> triggered and then I need to wait for a week and see if there is action
> taken and if not I need to trigger another notification. So if I use the
> bg job option to trigger the WF I guess I have to use another background
> job to monitor what happens after a week. That?s why I?m thinking it might
> be better to do something in WF to solve this instead of scheduling two bg
> jobs one to trigger the event and one to monitor. Is there a better more
> efficient solution to do this? How would i link that check to a specific
> HR infotype field if that's the better option?
>
> Thanks a lot in advance.
> Ali
>
>
> Hotmail: Free, trusted and rich email service. Get it now.
> _______________________________________________
> 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/20091230/2d7e8a92/attachment.htm
>
> ------------------------------
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
> End of SAP-WUG Digest, Vol 61, Issue 52
> ***************************************
_________________________________________________________________
Hotmail: Free, trusted and rich email service.
http://clk.atdmt.com/GBL/go/171222984/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20091231/2205eb5f/attachment.htm
More information about the SAP-WUG
mailing list