<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2995" name=GENERATOR>
<STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=739302621-05122006><FONT face=Arial
color=#0000ff size=2>Sue,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=739302621-05122006><FONT face=Arial
color=#0000ff size=2>Have you looked at putting in a condition as the first step
(check for existence of the WF_Initiator in that condition)? The workflow
could then continue if the object exists, and take some other path or simply
terminate if the object does not exist. It might be the simplest
solution.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=739302621-05122006><FONT face=Arial
color=#0000ff size=2>Cheers,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=739302621-05122006><FONT face=Arial
color=#0000ff size=2>Sherie</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=739302621-05122006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=739302621-05122006><FONT face=Arial
color=#0000ff size=2>Sherie Munday</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=739302621-05122006><FONT face=Arial
color=#0000ff size=2>Workflow Developer/Analyst</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=739302621-05122006><FONT face=Arial
color=#0000ff size=2>Air Products & Chemicals, Inc.</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>Sue Doughty<BR><B>Sent:</B>
Tuesday, December 05, 2006 3:06 PM<BR><B>To:</B> SAP Workflow Users'
Group<BR><B>Cc:</B> Sue Doughty<BR><B>Subject:</B> Create a Rule to Find a user
of a position<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=535585119-05122006><FONT face=Arial
color=#0000ff size=2>We are on 4.7, Basis 6.40.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=535585119-05122006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=535585119-05122006><FONT face=Arial
color=#0000ff size=2>There is a workflow that is triggered when the
OnHold Applicant action is executed. The Requested Start for the
workflow is six months from the date that work item is created. The
WF_Initiator will get a Decision task after six months, if the Applicant is
not put back in process. The decision will be either to Process or Reject
the applicant.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=535585119-05122006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=535585119-05122006><FONT face=Arial
color=#0000ff size=2>The problem is when the workflow starts the WF_Initiator
is, of course, there. But, if during the six months, he has left the
company the workflow will be haning because the Wf_Initiator's
userid will not be in the system anymore.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=535585119-05122006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=535585119-05122006><FONT face=Arial
color=#0000ff size=2>Instead of using the WF_Initiator as the agent for the
Decision task, I'm trying to create a rule that will find the user of the
position of the WF_Initiator. I would have the workflow terminate if
rule resolution has no result. I found function module
PDV_GET_POSITION_HOLDER, but can't get it to work -- I can't figure out what the
input for the rule should contain.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=535585119-05122006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=535585119-05122006><FONT face=Arial
color=#0000ff size=2>Another question: If I could create a rule, after six
months when the Requested Start is reached, would it re-check the rule to see if
there is a user for the position and fail if not found?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=535585119-05122006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=535585119-05122006><FONT face=Arial
color=#0000ff size=2>Any suggestions on how I can get this to work would be
GREATLY appreciated.</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=345095805-11072002>
<DIV align=left>
<MARQUEE id=Marquee1 style="WIDTH: 290px; HEIGHT: 36px" trueSpeed scrollAmount=1
scrollDelay=27 direction=down behavior=slide loop=1 border="2">
<TABLE style="BORDER-BOTTOM: black 1px solid" width="100%">
<TBODY>
<TR>
<TD></TD></TR></TBODY></TABLE></MARQUEE></DIV>
<TABLE>
<TBODY>
<TR>
<TD></TD></TR>
<TR>
<TD></TD></TR>
<TR>
<TD>
<MARQUEE id=Marquee2 style="WIDTH: 142px; HEIGHT: 100px" trueSpeed
scrollAmount=1 scrollDelay=7 behavior=slide loop=1 border="2"><A
href="http://www.odfl.com/"><IMG
alt="Old Dominion Freight Line, Inc., 500 Old Dominion Way, Thomasville, NC 27360"
src="cid:739302621@05122006-2DC1" border=0></A></MARQUEE></TD>
<TD>
<MARQUEE id=Marquee3 style="WIDTH: 142px; HEIGHT: 100px" trueSpeed
scrollAmount=1 scrollDelay=7 direction=right behavior=slide loop=1
border="2">
<TABLE><BR>
<TBODY>
<TR>
<TD noWrap align=right><B><FONT
face="Verdana, Arial, Helvetica, sans-serif" color=green
size=3>S<FONT size=2>ue </FONT>D<FONT
size=2>oughty</FONT></B><BR><FONT color=black size=1>WORKFLOW
SPECIALIST<BR><BR><FONT face="Verdana, Arial, Helvetica, sans-serif"
color=black size=1>Phone: (336)
822-5189<BR>Fax: (336) 822-5149<BR><A
style="COLOR: blue; TEXT-DECORATION: none"
href="mailto:Sue.Doughty@odfl.com">Sue.Doughty@odfl.com</A><BR></FONT></FONT></FONT></TD></TR></TBODY></TABLE></MARQUEE></TD></TR>
<TR>
<TD align=middle colSpan=2>
<MARQUEE id=Marquee4 style="WIDTH: 288px; HEIGHT: 36px" trueSpeed
scrollAmount=1 scrollDelay=27 direction=down behavior=slide loop=1
border="2">
<TABLE width="100%">
<TBODY>
<TR>
<TD align=middle><B><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=2><A
style="COLOR: #c69050; TEXT-DECORATION: none"
href="http://www.odfl.com/">OLD DOMINION FREIGHT LINE,
INC.</A></B><BR><A style="COLOR: #006600; TEXT-DECORATION: none"
href="http://www.odfl.com/"><FONT
face="Arial, Helvetica, sans-serif" size=1>500 Old Dominion Way,
Thomasville, NC 27360</A>
</FONT></FONT></TD></TR></TBODY></TABLE></MARQUEE></TD></TR></TBODY></TABLE>
<MARQUEE id=Marquee5 style="WIDTH: 290px; HEIGHT: 36px" trueSpeed scrollAmount=1
scrollDelay=27 direction=up behavior=slide loop=1 border="0">
<TABLE style="BORDER-TOP: black 1px solid" width="100%">
<TBODY>
<TR>
<TD></TD></TR></TBODY></TABLE></MARQUEE></DIV></SPAN>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of
</B>shireesh.mitragotri@accenture.com<BR><B>Sent:</B> Monday, December 04, 2006
4:54 AM<BR><B>To:</B> sap-wug@mit.edu<BR><B>Subject:</B> BUS2105 PR creation
event....????<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Hi - What is the best
way to trap the Purchase Requisition Creation event? I did the following and
it's not working...(R/3 Enterprise ver.)<BR><BR>1. Tried Event creation wizard
with a subtype of BUS2105...change doc BANF...but event upon creation does not
exist.<BR>2. Tried BSVX/BSVW to link event status to system status etc...Did not
find a way out.<BR>3. My client requires a workflow to be triggered when a PR is
created and that is when there is a default condition - "Release Indicator is
blocked" when it is created for first time.<BR><BR>Any help
here?</SPAN></FONT><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></P></DIV>
<DIV id=##disclaimer##>
<P></P>
<P style="FONT-SIZE: x-small; FONT-FAMILY: Arial, Sans-Serif">This message is
for the designated recipient only and may contain privileged, proprietary, or
otherwise private information. If you have received it in error, please notify
the sender immediately and delete the original. Any other use of the email by
you is prohibited.</P></DIV></BODY></HTML>