<html><div style='background-color:'><P>Thanks for that vital piece of Info. natasha, but this manager thing was hazy for me in this workflow. We maintained a manager for creator of the purchase order, but the approval work item never went to him....that's why this whole post&nbsp;on WUG...to get a little more clarity. Shouldn't the work item go to the manager of the person who creates the purchase order?....</P>
<P>Regards,</P>
<P>Vijay<BR><BR></P>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #a0c6e5 2px solid; MARGIN-RIGHT: 0px"><FONT style="FONT-SIZE: 11px; FONT-FAMILY: tahoma,sans-serif">
<HR color=#a0c6e5 SIZE=1>
From: <I>"Baunach, Natasha R" &lt;natasha.r.baunach@intel.com&gt;</I><BR>Reply-To: <I>"SAP Workflow Users' Group" &lt;sap-wug@mit.edu&gt;</I><BR>To: <I>"SAP Workflow Users' Group" &lt;sap-wug@mit.edu&gt;</I><BR>Subject: <I>RE: Query regd. SRM Workflow</I><BR>Date: <I>Mon, 4 Dec 2006 12:56:54 -0800</I><BR><BR>
<META content="Microsoft SafeHTML" name=Generator>
<STYLE>
..shape
{;}
</STYLE>

<STYLE>
</STYLE>

<STYLE>
...shape
{;}
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
{margin-right:0in;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
{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>

<DIV class=Section1>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">Vijay,</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">Approvers can be defined via BAdi implementation </SPAN></FONT><FONT face="Arial monospaced for SAP" color=black size=1><SPAN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: 'Arial monospaced for SAP'">BBP_WFL_ADMIN_APPROV</SPAN></FONT><FONT face=Tahoma color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">.&nbsp; If you do not use BAdi, then they are taken from multi-line attribute ‘ApproverList’ of BUS2209.</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">* 6) fill attribute 'ApproverList'</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">&nbsp; IF object-approverlist[] IS INITIAL.</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">&nbsp;&nbsp;&nbsp; PERFORM approverlist_get</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">&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</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">&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</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">&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.</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">If your org structure is not maintained or your requirements are different than having a manager approve PO response, then you would need to implement BAdi to determine agents.</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">Method ‘create’ 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’t see how this would be better than just using delivered BAdi.</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">Natasha</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma"></SPAN></FONT>&nbsp;</P>
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; 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></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P>
<DIV>
<P><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Hi Natasha,</SPAN></FONT></P>
<P><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">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.</SPAN></FONT></P>
<P><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Regards,</SPAN></FONT></P>
<P><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Vijay</SPAN></FONT></P>
<BLOCKQUOTE style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0in; MARGIN: 5pt 0in 5pt 3.75pt; BORDER-LEFT: #a0c6e5 1.5pt solid; PADDING-TOP: 0in; BORDER-BOTTOM: medium none">
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face=Tahoma size=1><SPAN style="FONT-SIZE: 8.5pt; FONT-FAMILY: Tahoma">
<HR align=center width="100%" color=#a0c6e5 noShade SIZE=1>
</SPAN></FONT></DIV>
<P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><FONT face=Tahoma size=1><SPAN style="FONT-SIZE: 8.5pt; FONT-FAMILY: Tahoma">From: <I><SPAN style="FONT-STYLE: italic">"Baunach, Natasha R" &lt;natasha.r.baunach@intel.com&gt;</SPAN></I><BR>Reply-To: <I><SPAN style="FONT-STYLE: italic">"SAP Workflow Users' Group" &lt;sap-wug@mit.edu&gt;</SPAN></I><BR>To: <I><SPAN style="FONT-STYLE: italic">"SAP Workflow Users' Group" &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></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">Go to business object APCOAGENT and look at method ‘create’. &nbsp;This is where the code that populates expression resides.</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P>
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; 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></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P>
<DIV>
<P><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Hi,</SPAN></FONT></P>
<P><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">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.</SPAN></FONT></P>
<P><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Thanks,<BR>Vijay</SPAN></FONT></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P></DIV></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"><BR clear=all></SPAN></FONT></P>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Tried the new MSN Messenger? It’s cool! <A href="http://g.msn.com/8HMAENIN/2749??PS=47575">Download now.</A> </SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma size=1><SPAN style="FONT-SIZE: 8.5pt; FONT-FAMILY: Tahoma"></SPAN></FONT>&nbsp;</P>
<P><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">&gt;_______________________________________________<BR>&gt;SAP-WUG mailing list<BR>&gt;SAP-WUG@mit.edu<BR>&gt;http://mailman.mit.edu/mailman/listinfo/sap-wug</SPAN></FONT></P></BLOCKQUOTE></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"><BR clear=all></SPAN></FONT></P>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Catch all the cricketing action right here. <A href="http://g.msn.com/8HMBENIN/2755??PS=47575">Live score, match reports, photos et al.</A> </SPAN></FONT></P></DIV><BR>
<P>&gt;_______________________________________________<BR>&gt;SAP-WUG mailing list<BR>&gt;SAP-WUG@mit.edu<BR>&gt;http://mailman.mit.edu/mailman/listinfo/sap-wug<BR>
<P></FONT></P></BLOCKQUOTE></div><br clear=all><hr>Want to improve your lifestyle? <a href="http://g.msn.com/8HMAENIN/2737??PS=47575" target="_top">Get Mickey Mehta’s advice on holistic living</a> </html>