<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Make the workflow template itself a general task, just the way you would do it for a standard task.&nbsp; This has to be done whenever you are starting the workflow from the FM.<BR>
&nbsp;<BR>
Ed<BR>
&nbsp;<BR>
<BLOCKQUOTE>
<HR>
Subject: Unable to execute Workflow with FM -SAP_WAPI_START_WORKFLOW<BR>Date: Tue, 30 Oct 2007 22:25:50 +0200<BR>From: devireddy.swathi@dataflo.co.za<BR>To: sap-wug@mit.edu<BR><BR>
<META content="Microsoft SafeHTML" name=Generator>
<STYLE>
.ExternalClass EC_p.MsoNormal, .ExternalClass EC_li.MsoNormal, .ExternalClass EC_div.MsoNormal
{margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman';}
.ExternalClass a:link, .ExternalClass EC_span.MsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass EC_span.MsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass EC_span.EmailStyle17
{font-family:Arial;color:windowtext;}
@page Section1
{size:612.0pt 792.0pt;}
.ExternalClass EC_div.Section1
{page:Section1;}

</STYLE>

<DIV class=EC_Section1>
<P class=EC_MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi,</SPAN></FONT></P>
<P class=EC_MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;</SPAN></FONT></P>
<P class=EC_MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I am using this FM to trigger the workflow.But I get a message that Agent is not one of the Possible agents. I have classified the task also as a general task.</SPAN></FONT></P>
<P class=EC_MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I have debugged the FM it fails in authorization check .It checks if the workflow number is in table HRP1217.</SPAN></FONT></P>
<P class=EC_MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Unfortunately there is no entry in the table.</SPAN></FONT></P>
<P class=EC_MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;</SPAN></FONT></P>
<P class=EC_MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I created a task and there is an entry created in HRP1217.</SPAN></FONT></P>
<P class=EC_MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Any idea what must be wrong.</SPAN></FONT></P>
<P class=EC_MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;</SPAN></FONT></P>
<P class=EC_MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;</SPAN></FONT> </P>
<DIV>
<P class=EC_MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks &amp; Regards</SPAN></FONT></P></DIV>
<DIV>
<P class=EC_MsoNormal><STRONG><B><FONT face="Rage Italic" size=4><SPAN style="FONT-SIZE: 13.5pt; FONT-FAMILY: 'Rage Italic'">Swathi Devireddy</SPAN></FONT></B></STRONG></P></DIV>
<DIV>
<P class=EC_MsoNormal><FONT face=Arial size=1><SPAN style="FONT-SIZE: 7.5pt; FONT-FAMILY: Arial">Coke SCALE</SPAN></FONT></P></DIV>
<DIV>
<P class=EC_MsoNormal><FONT face=Arial size=1><SPAN style="FONT-SIZE: 7.5pt; FONT-FAMILY: Arial">Satyam Computer Services Ltd</SPAN></FONT></P></DIV>
<DIV>
<P class=EC_MsoNormal><FONT face=Webdings color=black size=4><SPAN style="FONT-SIZE: 13pt; COLOR: black; FONT-FAMILY: Webdings">È</SPAN></FONT><FONT face=Webdings color=#333399 size=4><SPAN style="FONT-SIZE: 13pt; COLOR: #333399; FONT-FAMILY: Webdings"> </SPAN></FONT><FONT face=Arial color=black size=1><SPAN style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">: +27 745024070</SPAN></FONT></P></DIV>
<P class=EC_MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">&nbsp;</SPAN></FONT></P></DIV>
<DIV class=EC_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>
<FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">This email and all contents are subject to the following disclaimer:</SPAN></FONT><BR>
<FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">"<A title="http://www.dataflo.co.za/emaildisclaimer.htm&#10;blocked::http://www.dimensiondata.com/emaildisclaimer.htm" href="http://www.dataflo.co.za/emaildisclaimer.htm" target=_blank>http://www.dataflo.co.za/emaildisclaimer.htm</A>"</SPAN></FONT><BR>
<DIV class=EC_MsoNormal style="TEXT-ALIGN: center" align=center><FONT face=Arial size=2><SPAN lang=EN-ZA style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
<HR align=center width="100%" SIZE=2>
</SPAN></FONT></DIV></BLOCKQUOTE><br /><hr />Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! <a href='http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews' target='_new'>Try now!</a></body>
</html>