<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Hello Snehal,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">So when an approver does this 7-8 times, a new work item is created each time and a new Recall event?<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Or is it the same work item and the approval step is simply not working?<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Normally a Recall event creates a work item for the creator.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Are they ‘buying on behalf of’ someone else?<o:p></o:p></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">This could be an authorization problem, are the portal roles the same?<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>The inconsistent behavior is the strange part.<o:p></o:p></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">This is a reach - in 7.0 there is a BADI (/SAPSRM/BD_WF_PROCESS_RESTART) for restart conditions.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Have you implemented anything?<o:p></o:p></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Regards,<o:p></o:p></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Thomas<o:p></o:p></SPAN></DIV><BR><BR>--- On <B>Tue, 10/6/09, Snehal Kutumbale <I>&lt;snehal.kutumbale@gmail.com&gt;</I></B> wrote:<BR>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid"><BR>From: Snehal Kutumbale &lt;snehal.kutumbale@gmail.com&gt;<BR>Subject: Re: Fw: RE: How an event was triggered<BR>To: "SAP Workflow Users' Group" &lt;sap-wug@mit.edu&gt;<BR>Date: Tuesday, October 6, 2009, 12:49 AM<BR><BR>
<DIV id=yiv1644789725>Hello Thomas,<BR><BR>Thank you for the reply. I am sorry, I forgot to include this information. We are on SRM6.0 and yes, using process controlled workflows. <BR><BR>The shopping cart does not route back to the creator before looping to approver. The moment the approver approvers the cart the recall event re-starts the workflow and cart goes back to the approver for approving. The approver has to approve the same cart atleast 7-8times, before the cart goes to next approver. <BR><BR>It is happening only for few approvers (and not all approvers) and only 50% of the time for those few approvers. For all other approvers it is working as desired. Also, this problem is not happening in test system, but only in production.<BR><BR>I went through every line in the code of the custom class methods, and couldn't find anything incorrect. The code will trigger event RECALL only if the approver was changed or something was changed in the cart.
 But in this case, the approver is only approving and not changing absolutely anything in cart. Also, the approver is not changed in the tables. So it leaves me clueless !!<BR><BR>Please advice.<BR><BR>Regards,<BR>Snehal<BR><BR>
<DIV class=gmail_quote>On Mon, Oct 5, 2009 at 11:13 PM, BPT Consulting <SPAN dir=ltr>&lt;<A href="http://us.mc816.mail.yahoo.com/mc/compose?to=bptconsulting@sbcglobal.net" target=_blank rel=nofollow ymailto="mailto:bptconsulting@sbcglobal.net">bptconsulting@sbcglobal.net</A>&gt;</SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD style="FONT-FAMILY: inherit; font-size-adjust: inherit; font-stretch: inherit" vAlign=top>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">
<DIV>
<DIV>
<DIV><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Snehal,</SPAN></FONT></DIV></DIV>
<DIV><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">&nbsp;</SPAN></FONT></DIV></DIV>
<DIV><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">From the template you mentioned, it appears you are in a SRM 7.0 environment using Process-controlled Workflow?&nbsp; This is important information to include in your email.</SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">&nbsp;</SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">When the Workflow loops, is the Shopping Cart routing back to the creator before routing to approver?&nbsp; Have you configured the Responsibility Resolver (agent resolution) completely?&nbsp; If so which agents are you routing to?&nbsp; </SPAN></FONT><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Is the approver the same person as the creator?&nbsp; These answers could help in solving the problem.</SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">&nbsp;</SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Regards,</SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Thomas Maue</SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">&nbsp;</SPAN></FONT> </DIV>
<DIV>
<DIV 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>
<DIV><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"> <A href="http://us.mc816.mail.yahoo.com/mc/compose?to=sap-wug-bounces@mit.edu" target=_blank rel=nofollow ymailto="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</A> [mailto:<A href="http://us.mc816.mail.yahoo.com/mc/compose?to=sap-wug-bounces@mit.edu" target=_blank rel=nofollow ymailto="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</A>] <B><SPAN style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>Snehal Kutumbale<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Monday, October 05, 2009 8:23 AM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> <A href="http://us.mc816.mail.yahoo.com/mc/compose?to=sap-wug@mit.edu" target=_blank rel=nofollow ymailto="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A><BR><B><SPAN style="FONT-WEIGHT:
 bold">Subject:</SPAN></B> How an event was triggered</SPAN></FONT></DIV></DIV>
<DIV></DIV>
<DIV>
<DIV></DIV>
<DIV class=h5><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">&nbsp;</SPAN></FONT> 
<DIV>
<DIV><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Hello Everyone,</SPAN></FONT></DIV></DIV>
<DIV>
<DIV><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">&nbsp;</SPAN></FONT></DIV></DIV>
<DIV>
<DIV><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">I have a problem of shopping cart going into loop again and again to same approver. When I check the workflow, it shows that, every time the approver approves the cart, the workflow re-starts. Even though approvers are not changing anything in the cart but simply approving it, the workflow gets re-started. </SPAN></FONT></DIV></DIV>
<DIV>
<DIV><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">&nbsp;</SPAN></FONT></DIV></DIV>
<DIV>
<DIV><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">The template is WS40000014, and event called for re-starting is&nbsp; 'RECALL' of object type '/SAPSRM/CL_WF_PROCESS_SBWF'. In the container data of the event, I can see the event creator as the approver of the cart.</SPAN></FONT></DIV></DIV>
<DIV>
<DIV><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">&nbsp;</SPAN></FONT></DIV></DIV>
<DIV>
<DIV><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">I am not able to figure out, how and why this event is getting triggered the moment approver approves the cart. I checked the custom methods for re-starting the workflow, and all I can figure out from that is that unless any changes are done to shopping cart, it won't trigger the re-start.</SPAN></FONT></DIV></DIV>
<DIV>
<DIV><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">&nbsp;</SPAN></FONT></DIV></DIV>
<DIV>
<DIV><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Could anyone advice, if this could be&nbsp;only due to&nbsp;the customized code, or there is any standard condition in WS40000014. </SPAN></FONT></DIV></DIV>
<DIV>
<DIV><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">&nbsp;</SPAN></FONT></DIV></DIV>
<DIV>
<DIV><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Any suggestions will be helpful. </SPAN></FONT></DIV></DIV>
<DIV>
<DIV><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">&nbsp;</SPAN></FONT></DIV></DIV>
<DIV>
<DIV><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Thank you.</SPAN></FONT></DIV></DIV>
<DIV>
<DIV><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">&nbsp;</SPAN></FONT></DIV></DIV>
<DIV>
<DIV><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Regards,</SPAN></FONT></DIV></DIV>
<DIV>
<DIV><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Snehal</SPAN></FONT></DIV></DIV></DIV></DIV>
<HR>
This e-mail and its attachments may contain Forest Laboratories, Inc. proprietary information that is privileged, confidential or subject to copyright belonging to Forest Laboratories, Inc. This e-mail is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this e-mail, or the employee or agent responsible for delivering this e-mail to the intended recipient, you are hereby notified that any dissemination, distribution, copying or action taken in relation to the contents of and attachments to this e-mail is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify the sender immediately and permanently delete the original and any copy of this e-mail and any printout.<BR></BLOCKQUOTE></TD></TR></TBODY></TABLE><BR>_______________________________________________<BR>SAP-WUG mailing list<BR><A
 href="http://us.mc816.mail.yahoo.com/mc/compose?to=SAP-WUG@mit.edu" target=_blank rel=nofollow ymailto="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A><BR><A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank rel=nofollow>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV><BR>-----Inline Attachment Follows-----<BR><BR>
<DIV class=plainMail>_______________________________________________<BR>SAP-WUG mailing list<BR><A href="http://us.mc816.mail.yahoo.com/mc/compose?to=SAP-WUG@mit.edu" ymailto="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A><BR><A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR></DIV></BLOCKQUOTE></td></tr></table>