<br><font size=2 face="sans-serif">Hi all,</font>
<br>
<br><font size=2 face="sans-serif">we are in ECC 6</font>
<br>
<br><font size=2 face="sans-serif">i have a workflow that is triggered
from BUS1065.REHIRED</font>
<br>
<br><font size=2 face="sans-serif">One of the business requirements is
that the workflow should not start if the position number entered during
the Rehire action is 99999999.</font>
<br>
<br><font size=2 face="sans-serif">The problem I am facing is that event
REHIRED gets published from function module HR_EVENT_RULES_PA0000 - infotype
0000 does not have the position number and by the time the position is
entered in infotype 0001, it is too late.</font>
<br>
<br><font size=2 face="sans-serif">I tried to use a check function module
in the Event Linkage table, but it didn't work because the infotype 0001
(where the position number is entered) is not available at the time the
FM is executed (because the event gets published from infotype 0000).</font>
<br>
<br><font size=2 face="sans-serif">So, I am thinking I will have to try
to make the event REHIRED to be published from HR_EVENT_RULES_PA0001 instead
fof HR_EVENT_RULES_PA0000...For that to work I think I will have to read
all infotypes 0001, sort them and compare the latest infotype 0001 to the
second latest infotype 0001 - the FM HR_EVENT_RULES_PA0000 compares employment
status to determine if it is REHIRED, RETIRED or COMPANYLEFT.</font>
<br>
<br><font size=2 face="sans-serif">Any other suggestions? </font>
<br>
<br><font size=2 face="sans-serif">Much thanks,</font>
<br>
<br><font size=2 face="sans-serif">Cheers<br>
<br>
Cristiana<br>
_________________________________<br>
Cristiana d'Agosto<br>
IBM Global Business Services<br>
Mobile: &nbsp;+61 417 927 224<br>
cristiana.dagosto@au1.ibm.com</font>