‎2006 Jul 28 1:00 PM
Hi,
I was trying to see which type of events do trigger when I change HR data. For this I have followed the following steps:
1. SWELS (TCode) --> Switch on
2. Change any HR data in PA30 (Tcode)
3. SWELS (Tcode) --> Switch off
4. SWEL --> Run the program
I am able to see only two events triggered. Trace ON, Trace OFF. I am currently working on ECC 5.0 system.
Can anybody help me out,
Regards,
Suraj
‎2006 Jul 28 1:16 PM
‎2006 Jul 28 1:18 PM
Hello,
you have to system debugging.
/HS .
I hope this will help you.
Reward if helps.
Thanks,
krishnakumar
‎2006 Jul 28 1:20 PM
Hey,
SWU3 configuration is required for workflows to function correctly.
Check if there is any workflow related configuration for PA30 which needs to be maintained.
If you cannot see any events in SWEL then the application isn't triggering any events. You need to search an exit where you could add functions for triggering events.
Other ways for triggering events are using change documents.
-Kiran
‎2006 Jul 28 7:28 PM
Hi Suraj,
There are three transactions to setup event triggers for changes in HR Master Data.
SWEHR1 - Linkage: Object Type to HR Infotype
SWEHR2 - Event: Infotype Operation (SAP)
SWEHR3 - Event: Infotype Operation (Customer)
Transaction SWEHR1 is used to link the HR Object/Infotype/Subtype to a Workflow BOR Object. There should already be alot of these setup.
Then transactions SWEHR2 & SWEHR3 are used to links the HR Object/Infotype/Subtype and the action(Insert, Update, Delete ....) to an event to be raised. There are some already pre-defined events being raised and you can view these in SWEHR2. Then you can also add entries in SWEHR3 to raise additional events that are not pre-setup by SAP.
Hope this helps,
Jerrod
‎2006 Aug 03 8:08 AM
Hi Jerrod,
Thanks for your helpful answer.
I have changed address data of person in PA30 and observed that ADRESSEMP(obj type), CHANGED (event) is triggered in our old 4.7 system without any initial settings. Assume that SAP has provided standard functionality.
But it is not the same with ECC 5.0 system. I have done the same, but failed to observe any events to be triggered.
My basic doubt is 'As these are standard events which belong to standard Business objects' SAP might have implemented it. May be from ECC 5.0 version onwards we need additional settings to start with. If I am not wrong, and you are aware of it, kindly help.
For your information, data in SWEHR2 is intact. Apart from these transactions, should we have any additional settings. If you have anychecklist, kindly send it.
Thanks & Regards,
Suraj
‎2008 Oct 13 7:37 AM
I chage the personal data Use PA30.And set break-point in funcion HR_EVENT_RULES_PA0006.And stop at this point.I use the system ECC 6.0. That can stop at the function. Maybe your system will do.