Reg:Triggering WF when Inf Typ 0008 Changed
I need to trigger a workflow when infotype 0008 has been changed at PA30.
Workflow has to send mail to an approver, once approver approved, chages has to update at database, when rejects, has to revert the changes back. How can I do this? Is there any standard workflow to do the Same.
Thanks in Advance.
Rob Dielemans replied
first you check if there are any events suitable for your requirement.
You activate the event trace in SWELS do your stuff manually and then see the event log SWEL for events you can use.
In HR the standard events are delivered in settings in transactions SWEHR1 and SWEHR2.
If you want to create your own, first look at the code of a function module linked to an HR operation in SWEHR2.
And if you understand how this works, you're going to copy one of those function modules, make your changes and add en entry, or entries in SWEHR3
This topic has come up before, so if anything isn't directly clear just search the forum first before posting new and basic questions.
Kind regards, Rob Dielemans