<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Hi Sue</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;&nbsp;&nbsp; Thanks for the suggestion but if you Confirm the vendor of the Purchase Order the Workflow works and the Purchase Order Gets Released. Is there any way in which the Vendor can be auto Confirmed so that it does not require Confirmation of&nbsp; Vendor in Purchase Order. </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Thanks </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Arghadip</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR><BR>&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: "sap-wug-request@mit.edu" &lt;sap-wug-request@mit.edu&gt;<BR>To: sap-wug@mit.edu<BR>Sent: Thursday, February 22, 2007 2:26:57 PM<BR>Subject: SAP-WUG Digest, Vol 27, Issue 51<BR><BR>
<DIV>Send SAP-WUG mailing list submissions to<BR>&nbsp;&nbsp;&nbsp;&nbsp;sap-wug@mit.edu<BR><BR>To subscribe or unsubscribe via the World Wide Web, visit<BR>&nbsp;&nbsp;&nbsp;&nbsp;<A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR>or, via email, send a message with subject or body 'help' to<BR>&nbsp;&nbsp;&nbsp;&nbsp;sap-wug-request@mit.edu<BR><BR>You can reach the person managing the list at<BR>&nbsp;&nbsp;&nbsp;&nbsp;sap-wug-owner@mit.edu<BR><BR>When replying, please edit your Subject line so it is more specific<BR>than "Re: Contents of SAP-WUG digest..."<BR><BR><BR>Today's Topics:<BR><BR>&nbsp;&nbsp; 1. problem defining role type function (Yifat Bar)<BR>&nbsp;&nbsp; 2. Re: Workflow Error,&nbsp;&nbsp;&nbsp;&nbsp;when setting a User Decision task in<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;status completed (workflow99@aol.com)<BR>&nbsp;&nbsp; 3. (no subject) (arghadip kar)<BR>&nbsp;&nbsp; 4. Re:
 problem defining role type function (jimmy sun)<BR>&nbsp;&nbsp; 5. Re: SRM 5 - Purchase Order Release (Susan R. Keohan)<BR>&nbsp;&nbsp; 6. Re: problem defining role type function (Yifat Bar)<BR><BR><BR>----------------------------------------------------------------------<BR><BR>Message: 1<BR>Date: Fri, 23 Feb 2007 14:38:08 +0200<BR>From: Yifat Bar &lt;YIFATB@il.ibm.com&gt;<BR>Subject: problem defining role type function<BR>To: sap-wug@mit.edu<BR>Message-ID:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;OFCDC62907.13DA3940-ONC225728B.0043ECD5-C225728B.004568EF@il.ibm.com&gt;<BR>Content-Type: text/plain; charset=US-ASCII<BR><BR><BR>Hello all!<BR><BR>I defined role type function. i defined a Z function.<BR>In my function i have to read the wf initiator.<BR>I used the macro:<BR>swc_get_element ac_container '_WF_INITIATOR' wf_initiator.<BR>In the function i defined the ac_container as a table.<BR>In the binding of the role to the wf i defined:<BR><BR>wf
 container&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; role container<BR>&amp;OTYPE&amp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;OTYPE<BR>&amp;OBJID&amp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;OBJID<BR>&amp;_WF_INITIATOR&amp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ORG_AGENT<BR><BR>When i stop inside the role i dont get the parameter wf_initiator,<BR>and that's why i have an error.<BR>what am i doing wrong?<BR><BR>regards<BR>Yifat<BR>Yifat Bar<BR>Sap developer IBM<BR>mail-:&nbsp;&nbsp; yifatb@il.ibm.com<BR><BR><BR><BR>------------------------------<BR><BR>Message: 2<BR>Date: Thu, 22 Feb 2007 07:45:07 -0500<BR>From: workflow99@aol.com<BR>Subject: Re: Workflow Error,&nbsp;&nbsp;&nbsp;&nbsp;when setting a User Decision task in<BR>&nbsp;&nbsp;&nbsp;&nbsp;status
 completed<BR>To: sap-wug@mit.edu<BR>Message-ID: &lt;8C924966A84FAD2-F44-4BA3@WEBMAIL-RD09.sysops.aol.com&gt;<BR>Content-Type: text/plain; charset="utf-8"<BR><BR>Markus,<BR><BR>You can use the following FMs<BR><BR>SAP_WAPI_DECISION_READ&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- Table of Decision Keys and texts are returned<BR><BR>SAP_WAPI_DECISION_COMPLETE&nbsp;&nbsp;- Supply the required decision key.<BR><BR><BR><BR>Best Regards,<BR>Ramki Maley.<BR><BR><BR>-----Original Message-----<BR>From: Klein@abs-team.de<BR>To: sap-wug@mit.edu<BR>Sent: Wed, 21 Feb 2007 12:34 PM<BR>Subject: Workflow Error, when setting a User Decision task in status completed<BR><BR><BR>Hello,<BR><BR>in my workflow i have a User Decision task with 2 exists. When i try to set the status of a workitem of this task to completed using the Function Module "SAP_WAPI_WORKITEM_COMPLETE" the workitem itself gets the status completed, but the parent workflow gets the status error with the following message "Error
 when defining a successor for node &lt;node&gt;" in the protocol.<BR>Its clear why this happens, as the workflow-runtime doesnt know how to continue when the workitem is completed this way. The question is tho, how can i overcome this error? There has to be a way, where i can manually set a user decision task to completeted and the parent workflow just continues.<BR><BR>cheers,<BR>Markus<BR><BR>_________________<BR><BR>Markus Klein<BR>SAP Senior Consultant<BR><BR>ABS Team GmbH<BR>Muehlenweg 65<BR>37120 Bovenden<BR>Tel +49 551 820 33 0<BR>Mobil +49 151 126 23 047<BR>Email klein@abs-team.de<BR>www.abs-team.de<BR>Gesch?ftsf?hrer: Dr. Andreas Rupprecht - HRB G?ttingen 1535<BR><BR>_______________________________________________<BR>SAP-WUG mailing list<BR>SAP-WUG@mit.edu<BR><A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR>________________________________________________________________________<BR>Check
 out the new AOL.&nbsp;&nbsp;Most comprehensive set of free safety and security tools, free access to millions of high-quality videos from across the web, free AOL Mail and more.<BR>-------------- next part --------------<BR>An HTML attachment was scrubbed...<BR>URL: <A href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20070222/aad7e11f/attachment-0001.htm" target=_blank>http://mailman.mit.edu/pipermail/sap-wug/attachments/20070222/aad7e11f/attachment-0001.htm</A><BR><BR>------------------------------<BR><BR>Message: 3<BR>Date: Thu, 22 Feb 2007 04:59:17 -0800 (PST)<BR>From: arghadip kar &lt;arghadipkar@yahoo.com&gt;<BR>To: sap-wug@mit.edu<BR>Message-ID: &lt;322847.24317.qm@web53601.mail.yahoo.com&gt;<BR>Content-Type: text/plain; charset="iso-8859-1"<BR><BR>Hi<BR>&nbsp;&nbsp;&nbsp;&nbsp;This is Arghadip. I am a SAP Workflow Administrator as well as Workflow Developer. I am new to this SRM Workflow. <BR>&nbsp;&nbsp;&nbsp;&nbsp;I was trying to use the Workflow
 Template(WS14000075:Workflow Without Approval for PurchOrder). I found that unless some Purchaser Confirms the Vendor and Press the Order Button the purchase Order does not get Released. I tried to Release it with SetRelease Method of Business Object Bus2201 but it displays the message 'System status INCM is active'. This status suggest the Purchase Order is incomplete. <BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;Can anyone help me how to make use of this Workflow where no User intervention is required. I mean to say that when the Shopping Cart is created the Purchase Order will be created and released automatically.<BR><BR>Thanks<BR>Arghadip<BR><BR><BR><BR>____________________________________________________________________________________<BR>Do you Yahoo!?<BR>Everyone is raving about the all-new Yahoo! Mail beta.<BR><A href="http://new.mail.yahoo.com/" target=_blank>http://new.mail.yahoo.com</A><BR>-------------- next part --------------<BR>An HTML attachment was scrubbed...<BR>URL:
 <A href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20070222/e3fccd0f/attachment-0001.htm" target=_blank>http://mailman.mit.edu/pipermail/sap-wug/attachments/20070222/e3fccd0f/attachment-0001.htm</A><BR><BR>------------------------------<BR><BR>Message: 4<BR>Date: Thu, 22 Feb 2007 05:02:29 -0800 (PST)<BR>From: jimmy sun &lt;jjsun02@yahoo.com&gt;<BR>Subject: Re: problem defining role type function<BR>To: "SAP Workflow Users' Group" &lt;sap-wug@mit.edu&gt;<BR>Message-ID: &lt;817270.4579.qm@web90514.mail.mud.yahoo.com&gt;<BR>Content-Type: text/plain; charset="iso-8859-1"<BR><BR>Yifat,<BR>&nbsp;&nbsp;do you mean ORG_AGENT in side the role? Since you are binding it with '_WF_INITIATOR' ...<BR>&nbsp;&nbsp; <BR>&nbsp;&nbsp;Regards,<BR>&nbsp;&nbsp;Jimmy<BR>&nbsp;&nbsp; <BR>&nbsp;&nbsp;<BR><BR>Yifat Bar &lt;YIFATB@il.ibm.com&gt; wrote:<BR>&nbsp;&nbsp;<BR>Hello all!<BR><BR>I defined role type function. i defined a Z function.<BR>In my function i have to read the wf
 initiator.<BR>I used the macro:<BR>swc_get_element ac_container '_WF_INITIATOR' wf_initiator.<BR>In the function i defined the ac_container as a table.<BR>In the binding of the role to the wf i defined:<BR><BR>wf container role container<BR>&amp;OTYPE&amp; OTYPE<BR>&amp;OBJID&amp; OBJID<BR>&amp;_WF_INITIATOR&amp; ORG_AGENT<BR><BR>When i stop inside the role i dont get the parameter wf_initiator,<BR>and that's why i have an error.<BR>what am i doing wrong?<BR><BR>regards<BR>Yifat<BR>Yifat Bar<BR>Sap developer IBM<BR>mail-: yifatb@il.ibm.com<BR><BR>_______________________________________________<BR>SAP-WUG mailing list<BR>SAP-WUG@mit.edu<BR><A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR><BR><BR><BR>"Whether you think you can or whether you think you can't, you're right!"&nbsp;&nbsp;&nbsp;&nbsp; --Henry Ford<BR><BR>---------------------------------<BR>Never Miss an Email<BR>Stay connected with
 Yahoo! Mail on your mobile. Get started!<BR>-------------- next part --------------<BR>An HTML attachment was scrubbed...<BR>URL: <A href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20070222/52d32e39/attachment-0001.htm" target=_blank>http://mailman.mit.edu/pipermail/sap-wug/attachments/20070222/52d32e39/attachment-0001.htm</A><BR><BR>------------------------------<BR><BR>Message: 5<BR>Date: Thu, 22 Feb 2007 08:08:38 -0500<BR>From: "Susan R. Keohan" &lt;keohan@ll.mit.edu&gt;<BR>Subject: Re: SRM 5 - Purchase Order Release<BR>To: "SAP Workflow Users' Group" &lt;sap-wug@mit.edu&gt;<BR>Message-ID: &lt;45DD95D6.5020208@ll.mit.edu&gt;<BR>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<BR><BR>Hi Arghadip,<BR><BR>Check with your SRM/Business folks to see if the PO has an error <BR>(perhaps via a Doc Check BADI).&nbsp;&nbsp;You can't release a PO (even using the <BR>BOR method SETRELEASE) if it is 'Incomplete' and in our system, POs are <BR>incomplete if they
 have had errors that have not been corrected.<BR><BR>Good luck,<BR>Sue<BR><BR>arghadip kar wrote:<BR>&gt; Hi<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; This is Arghadip. I am a SAP Workflow Administrator as well as <BR>&gt; Workflow Developer. I am new to this SRM Workflow.<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; I was trying to use the Workflow Template(WS14000075:Workflow <BR>&gt; Without Approval for PurchOrder). I found that unless some Purchaser <BR>&gt; Confirms the Vendor and Press the Order Button the purchase Order does <BR>&gt; not get Released. I tried to Release it with SetRelease Method of <BR>&gt; Business Object Bus2201 but it displays the message 'System status INCM <BR>&gt; is active'. This status suggest the Purchase Order is incomplete.<BR>&gt;&nbsp;&nbsp;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Can anyone help me how to make use of this Workflow where no User <BR>&gt; intervention is required. I mean to say that when the Shopping Cart is <BR>&gt; created the Purchase Order will
 be created and released automatically.<BR>&gt;&nbsp;&nbsp;<BR>&gt; Thanks<BR>&gt; Arghadip<BR>&gt; <BR>&gt; ------------------------------------------------------------------------<BR>&gt; Never Miss an Email<BR>&gt; Stay connected with Yahoo! Mail on your mobile. Get started! <BR>&gt; &lt;<A href="http://us.rd.yahoo.com/evt=43909/*http://mobile.yahoo.com/services?promote=mail" target=_blank>http://us.rd.yahoo.com/evt=43909/*http://mobile.yahoo.com/services?promote=mail</A>&gt;<BR>&gt; <BR>&gt; <BR>&gt; ------------------------------------------------------------------------<BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; SAP-WUG mailing list<BR>&gt; SAP-WUG@mit.edu<BR>&gt; <A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR><BR>-- <BR>Susan R. Keohan<BR>SAP Workflow Developer<BR>MIT Lincoln Laboratory<BR>244 Wood Street<BR>LI-200<BR>Lexington, MA. 02420<BR>Phone:
 781-981-3561<BR>Fax:&nbsp;&nbsp; 781-981-1607<BR>keohan@ll.mit.edu<BR><BR><BR>------------------------------<BR><BR>Message: 6<BR>Date: Fri, 23 Feb 2007 15:26:29 +0200<BR>From: Yifat Bar &lt;YIFATB@il.ibm.com&gt;<BR>Subject: Re: problem defining role type function<BR>To: "SAP Workflow Users' Group" &lt;sap-wug@mit.edu&gt;<BR>Message-ID:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;OF2CFB428E.7CD50F1A-ONC225728B.0049B9D7-C225728B.0049D632@il.ibm.com&gt;<BR>Content-Type: text/plain; charset=US-ASCII<BR><BR>hi!<BR>the ORG_AGENT is defined inside the role container as wfsyst-agent.<BR><BR>thanks<BR>yifat<BR>Yifat Bar<BR>Sap developer IBM<BR>mail-:&nbsp;&nbsp; yifatb@il.ibm.com<BR><BR><BR><BR>------------------------------<BR><BR>_______________________________________________<BR>SAP-WUG mailing list<BR>SAP-WUG@mit.edu<BR><A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR><BR><BR>End of SAP-WUG Digest, Vol 27, Issue
 51<BR>***************************************</DIV></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR></DIV></div><br>

<hr size=1>The fish are biting.<br>
<a href="http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php?o=US2140&cmp=Yahoo&ctv=Q107Tagline&s=Y&s2=EM&b=50"> Get more visitors</a> on your site using <a href="
http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php?o=US2140&cmp=Yahoo&ctv=Q107Tagline&s=Y&s2=EM&b=50">Yahoo! Search Marketing.</a></body></html>