<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"BellStone Sans";}
@font-face
        {font-family:sans-serif;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.MsoNormalIndent, li.MsoNormalIndent, div.MsoNormalIndent
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
p.stepname, li.stepname, div.stepname
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:85.05pt;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"BellStone Sans";}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1027" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>You may be able to use the HR
functionality of Dynamic Actions to trigger a workflow.&nbsp; Your HR Business
Analyst may be familiar with configuring Dynamic Actions.&nbsp; Here is some
documentation I have from when I developed a workflow to start when an employee&#8217;s
group or subgroup changes.&nbsp; I&#8217;m not sure you can mix Infotypes
(PA0000 and PA0001 in your case) using Dynamic Actions, but it may be worth
looking into.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=stepname><b><u><font size=2 face="BellStone Sans"><span
style='font-size:10.0pt;font-weight:bold'><o:p><span style='text-decoration:
 none'>&nbsp;</span></o:p></span></font></u></b></p>

<p class=stepname><!--[if gte vml 1]><v:shapetype id="_x0000_t202" coordsize="21600,21600" 
 o:spt="202" path="m,l,21600r21600,l21600,xe">
 <v:stroke joinstyle="miter" />
 <v:path gradientshapeok="t" o:connecttype="rect" />
</v:shapetype><v:shape id="_x0000_s1026" type="#_x0000_t202" style='position:absolute;
 left:0;text-align:left;margin-left:373.05pt;margin-top:144.2pt;width:180pt;
 height:45.15pt;z-index:1' /><![endif]--><![if !vml]><span style='mso-ignore:
vglayout;position:absolute;z-index:1;left:0px;margin-left:496px;margin-top:
191px;width:246px;height:66px'>

<table cellpadding=0 cellspacing=0>
 <tr>
  <td width=246 height=66 bgcolor=white style='border:.75pt solid black;
  vertical-align:top;background:white'><![endif]><![if !mso]><span
  style='position:absolute;mso-ignore:vglayout;left:0pt;z-index:1'>
  <table cellpadding=0 cellspacing=0 width="100%">
   <tr>
    <td><![endif]>
    <div v:shape="_x0000_s1026" style='padding:4.35pt 7.95pt 4.35pt 7.95pt'
    class=shape>
    <p class=MsoNormal><font size=1 face="Times New Roman"><span
    style='font-size:8.0pt'>These 6 lines 06, 20 - 06, 25 cause the
    program&nbsp; zwfhrtrigger, subroutine subgroup_chg_trigger to run if the
    employee group (persg) or subgroup (persk) fields changes.<o:p></o:p></span></font></p>
    </div>
    <![if !mso]></td>
   </tr>
  </table>
  </span><![endif]><![if !mso & !vml]>&nbsp;<![endif]><![if !vml]></td>
 </tr>
</table>

</span><![endif]><b><u><font size=2 face="BellStone Sans"><img width=455
height=472 id="_x0000_i1026" src="cid:image001.jpg@01C7D80B.75AEFA70"><o:p></o:p></font></u></b></p>

<p class=stepname><b><u><font size=2 face="BellStone Sans"><span
style='font-size:10.0pt;font-weight:bold'><o:p><span style='text-decoration:
 none'>&nbsp;</span></o:p></span></font></u></b></p>

<p class=MsoNormal style='margin-left:85.5pt'><font size=3 face="BellStone Sans"><span
style='font-size:12.0pt;font-family:"BellStone Sans"'>Data is entered into the
T588z table via the IMG.&nbsp; To get to this point, use transaction
SPRO.&nbsp; Then select Personnel Management &gt; Personnel Administration &gt;
Setting Up Procedures &gt; Create dynamic actions.&nbsp; Line 0001&nbsp; 06 20
is just a comment. Line 21 states that it must be a master data change.&nbsp;
Line 22 checks to see if the new subgroup is not equal to &#8216;CT&#8217;
(contractor); this prevents the hiring of a contractor from triggering the
program.&nbsp; Line 23 checks to see if the old employee group is not equal to
the new employee group.&nbsp; Line 24 does the same for the employee
subgroup.&nbsp; The &#8216;/X&#8217; at the end of those lines makes this an
&#8216;OR&#8217; condition.&nbsp; So that if either of these conditions is true
for the master data then the trigger will happen.&nbsp; Line 25 will trigger
the program 'ZWFHRTRIGGER', subroutine 'SUBGROUP_CHG_TRIGGER' to run if the
conditions in lines 21 - 24 are true.&nbsp; Line 26 is a comment.<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:85.5pt'><font size=3 face="BellStone Sans"><span
style='font-size:12.0pt;font-family:"BellStone Sans"'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal><b><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy;font-weight:bold'>Jane Simonetti</span></font></b><font
color=navy><span style='color:navy'> <br>
Enterprise Technical Developer <br>
Business Technology Projects <br>
Sacramento Municipal Utility District <br>
916.732.5234 </span></font><o:p></o:p></p>

</div>

<div>

<div class=MsoNormal align=center style='margin-left:.5in;text-align:center'><font
size=3 face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal style='margin-left:.5in'><b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Cristiana D'Agosto<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, August 02, 2007
9:40 PM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">SAP
 Workflow Users' Group</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> BUS1065.REHIRED and
HR_EVENT_RULES_*</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><br>
</span></font><font size=2 face=sans-serif><span style='font-size:10.0pt;
font-family:sans-serif'>Hi all,</span></font> <br>
<br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>we
are in ECC 6</span></font> <br>
<br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>i
have a workflow that is triggered from BUS1065.REHIRED</span></font> <br>
<br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family: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.</span></font> <br>
<br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family: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.</span></font>
<br>
<br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family: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).</span></font> <br>
<br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family: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.</span></font> <br>
<br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>Any
other suggestions? </span></font><br>
<br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>Much
thanks,</span></font> <br>
<br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>Cheers<br>
<br>
Cristiana<br>
_________________________________<br>
Cristiana d'Agosto<br>
IBM Global Business Services<br>
<st1:City w:st="on"><st1:place w:st="on">Mobile</st1:place></st1:City>: &nbsp;+61
417 927 224<br>
cristiana.dagosto@au1.ibm.com</span></font><o:p></o:p></p>

</div>

</body>

</html>