<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="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
..shape
{;}

 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Arial monospaced for SAP";
        panose-1:2 11 6 9 2 2 2 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        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:blue;
        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.emailstyle18
        {font-family:Tahoma;
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Tahoma;
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

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

<div class=Section1>

<p class=MsoNormal><font size=2 color=blue face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:blue'>Vijay,<o:p></o:p></span></font></p>

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

<p class=MsoNormal><font size=2 color=blue face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:blue'>Approvers can be defined via BAdi implementation
</span></font><font size=1 color=black face="Arial monospaced for SAP"><span
style='font-size:9.0pt;font-family:"Arial monospaced for SAP";color:black'>BBP_WFL_ADMIN_APPROV</span></font><font
size=2 color=blue face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
color:blue'>.&nbsp; If you do not use BAdi, then they are taken from multi-line
attribute &#8216;ApproverList&#8217; of BUS2209.<o:p></o:p></span></font></p>

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

<p class=MsoNormal><font size=2 color=blue face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:blue'>* 6) fill attribute 'ApproverList'<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:blue'>&nbsp; IF object-approverlist[] IS
INITIAL.<o:p></o:p></span></font></p>

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

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

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

<p class=MsoNormal><font size=2 color=blue face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
USING&nbsp;&nbsp; gs_header.<o:p></o:p></span></font></p>

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

<p class=MsoNormal><font size=2 color=blue face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:blue'>If your org structure is not maintained
or your requirements are different than having a manager approve <st1:place
w:st="on">PO</st1:place> response, then you would need to implement BAdi to
determine agents.<o:p></o:p></span></font></p>

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

<p class=MsoNormal><font size=2 color=blue face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:blue'>Method &#8216;create&#8217; is executed
during runtime and that is how container is populated. &nbsp;Another way you
could define your own agents is create a subtype of APCOAGENT, use delegation and
then redefine method create.&nbsp; But I don&#8217;t see how this would be
better than just using delivered BAdi.<o:p></o:p></span></font></p>

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

<p class=MsoNormal><font size=2 color=blue face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:blue'>Natasha<o:p></o:p></span></font></p>

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

<div>

<div class=MsoNormal align=center style='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><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>vijay srikanth<br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, December 04, 2006
11:59 AM<br>
<b><span style='font-weight:bold'>To:</span></b> sap-wug@mit.edu<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: Query regd. SRM
Workflow</span></font><o:p></o:p></p>

</div>

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

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Hi
Natasha,<o:p></o:p></span></font></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>That
method is not very descriptive, I wanted someone to elaborate on this
process...and about the business object APCOAGENT, and about the workflow task.
Regarding how the container for the agents is populated...etc. So if anybody
has already worked on this specific thing or anything similar to this...let me
know.<o:p></o:p></span></font></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Regards,<o:p></o:p></span></font></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Vijay<o:p></o:p></span></font></p>

<blockquote style='border:none;border-left:solid #A0C6E5 1.5pt;padding:0in 0in 0in 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>

<div class=MsoNormal align=center style='text-align:center'><font size=1
face=Tahoma><span style='font-size:8.5pt;font-family:Tahoma'>

<hr size=1 width="100%" noshade color="#a0c6e5" align=center>

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

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=1 face=Tahoma><span
style='font-size:8.5pt;font-family:Tahoma'>From: <i><span style='font-style:
italic'>&quot;Baunach, Natasha R&quot; &lt;natasha.r.baunach@intel.com&gt;</span></i><br>
Reply-To: <i><span style='font-style:italic'>&quot;<st1:PersonName w:st="on">SAP
 Workflow Users' Group</st1:PersonName>&quot; &lt;sap-wug@mit.edu&gt;</span></i><br>
To: <i><span style='font-style:italic'>&quot;<st1:PersonName w:st="on">SAP
 Workflow Users' Group</st1:PersonName>&quot; &lt;sap-wug@mit.edu&gt;</span></i><br>
Subject: <i><span style='font-style:italic'>RE: Query regd. SRM Workflow</span></i><br>
Date: <i><span style='font-style:italic'>Mon, 4 Dec 2006 09:58:46 -0800</span></i><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:blue'>Go to business object APCOAGENT and look
at method &#8216;create&#8217;. &nbsp;This is where the code that populates
expression resides.</span></font><o:p></o:p></p>

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

<div>

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

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

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

<p class=MsoNormal><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>vijay srikanth<br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, December 04, 2006
8:39 AM<br>
<b><span style='font-weight:bold'>To:</span></b> sap-wug@mit.edu<br>
<b><span style='font-weight:bold'>Subject:</span></b> Query regd. SRM Workflow</span></font><o:p></o:p></p>

</div>

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

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Hi,<o:p></o:p></span></font></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>This is
regarding SRM workflow task WS14500019.<br>
It's for Transfer Purchase Order response data purchase order.<br>
The input comes from XI. But the workflow fails in it's 2nd step 'Transfer
Purchase Order Response'.<br>
Saying no agent present. Ther's no specific agent determination using PFAC or
anything like that. It's only an expression - Looking at the agent it's a
multiline structure that inherits from a workflow container element called<br>
ANGENT_0001. The type of this structure is APCOAGENT. Now I don't have any idea
how to initialize this APCOAGENT business object type...and find out how to
populate agents for this workflow. If anybody who's had such a situation could
help me out it'd be great.<o:p></o:p></span></font></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Thanks,<br>
Vijay<o:p></o:p></span></font></p>

<div>

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

</div>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br clear=all>
<o:p></o:p></span></font></p>

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

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

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

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Tried the new MSN Messenger? It&#8217;s cool! <a
href="http://g.msn.com/8HMAENIN/2749??PS=47575">Download now.</a> <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:8.5pt;
font-family:Tahoma'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>&gt;_______________________________________________<br>
&gt;SAP-WUG mailing list<br>
&gt;SAP-WUG@mit.edu<br>
&gt;http://mailman.mit.edu/mailman/listinfo/sap-wug<o:p></o:p></span></font></p>

</blockquote>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br clear=all>
<o:p></o:p></span></font></p>

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

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

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

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Catch all the cricketing action right here. <a
href="http://g.msn.com/8HMBENIN/2755??PS=47575" target="_top">Live score, match
reports, photos et al.</a> <o:p></o:p></span></font></p>

</div>

</body>

</html>