Skip to Content
0
Nov 08, 2012 at 11:25 AM

Problem with Event Linkage for Infotype 0021 - Update

91 Views

Dear Expert,

I have a requirement in creating a workflow in Infotype 0021 for Family data changes:

- I have register for infotype 0021 in T-Code SWEHR3 and I have register 3 operation for 'INS', 'DEL', & 'UPD' using Object Type

- I'm using Object Type 'FAMILYID'.

- I'm registering Function Module by copying from standard FM 'HR_EVENT_RULES_PA0021'

My custom workflow will be triggered from FM copy from originial FM 'HR_EVENT_RULES_PA0021' using FM 'SWW_WI_START'.

The problem is when I want to modified (UPD) the old family data from selected person, it seems like the workflow triggering 2 event operation 'INS' and 'DEL' but there is no 'UPD' operation, so in approver work list, there are 2 work items in their inbox regarding a New data and Delete family data, why 'UPD' operation is not catch during the Update operation?

But when I create a New data the workflow trigger the right operation 'INS'. Also when I try to modified a new data, the workflow trigger the right operation 'UPD' and the new data changed.

Why the 'UPD' operation only work with New data? Why it can not work with the Old data?

Any advise will be appreciated, any thank you in advance for any attention or reply.

Regards,

Dimas W.