<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>Where you to set up the break points in the workflow..</DIV>
<DIV>so far the only way I was doing is having a break in a funtion module and call the function module from the method. What are the other ways of doing this.. </DIV>
<DIV>&nbsp;</DIV>
<DIV>Any way I cant see SWF_DEBUG in enterprise version...I assume it is in ECC...</DIV>
<DIV>&nbsp;</DIV>
<DIV>thanks..<BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><FONT face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Gavin Mooney &lt;gavinmooney@gmail.com&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> SAP Workflow Users' Group &lt;sap-wug@mit.edu&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Thursday, January 8, 2009 7:14:05 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: Anyone using transaction SWF_DEBUG?<BR></FONT><BR>
<P>Hi Sue, </P>
<DIV>I believe you can set instance-level breakpoints or definition-level breakpoints which are valid for all instances of that definition. The path you have described sets an instance breakpoint.</DIV>
<DIV>I only found the transaction last month (and there doesn't seem to be any documentation on it at all) and only used definition breakpoints that I set before kicking off the workflows, I didn't think about setting breakpoints in errored instances like you describe?</DIV>
<P>They did indeed make the workflow stop - in the tech log on the Step History tab you get a message saying that the breakpoint has been reached (technically speaking, the workflow instance gets set to this status - in table SWP_HEADER, field TECH_STATE there is now a value 06 for breakpoint reached).</P>
<P>However, we had problems restarting the workflows that had reached their breakpoints. You do this from SWF_DEBUG and it worked a few times, but the whole thing was too buggy to play around with it&nbsp;properly (hence the OSS). A bit of a struggle like you say. </P>
<P>It's a shame SAP doesn't intend to continue it though, it would be nice to be able to debug task methods without having to change background tasks to dialog, etc.</P>
<P>Regards, <BR>Gavin<BR>&nbsp;</P><BR><BR>
<DIV><SPAN class=gmail_quote>On 08/01/2009, <B class=gmail_sendername>Keohan, Susan</B> &lt;<A href="mailto:keohan@ll.mit.edu" target=_blank rel=nofollow ymailto="mailto:keohan@ll.mit.edu">keohan@ll.mit.edu</A>&gt; wrote:</SPAN> 
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV lang=EN-US>
<DIV>
<P><FONT face="Times New Roman" color=black size=2><SPAN style="FONT-SIZE: 11pt; COLOR: black">Hi Gavin,</SPAN></FONT></P>
<P><FONT face="Times New Roman" color=black size=2><SPAN style="FONT-SIZE: 11pt; COLOR: black">I have been struggling with just how useful this transaction is… I have tried to set the breakpoints from within the workflow log (change&gt; Set breakpoint) when a workflow goes into error. &nbsp;But you say you have used it?&nbsp; Can you share some tips – even if this is not supported?<BR><BR>Thanks,<BR>Sue</SPAN></FONT></P>
<P><FONT face="Times New Roman" color=black size=2><SPAN style="FONT-SIZE: 11pt; COLOR: black">&nbsp;</SPAN></FONT></P>
<DIV>
<P><FONT face="Times New Roman" color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: black">----</SPAN></FONT><FONT color=black><SPAN style="COLOR: black"></SPAN></FONT></P>
<P><FONT face="Times New Roman" color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: black">Susan R. Keohan</SPAN></FONT><FONT color=black><SPAN style="COLOR: black"></SPAN></FONT></P>
<P><FONT face="Times New Roman" color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: black">SAP Workflow Specialist</SPAN></FONT><FONT color=black><SPAN style="COLOR: black"></SPAN></FONT></P>
<P><FONT face="Times New Roman" color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: black">Enterprise</SPAN></FONT><FONT color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: black"> Applications</SPAN></FONT><FONT color=black><SPAN style="COLOR: black"></SPAN></FONT></P>
<P><FONT face="Times New Roman" color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: black">Information Services Department</SPAN></FONT><FONT color=black><SPAN style="COLOR: black"></SPAN></FONT></P>
<P><FONT face="Times New Roman" color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: black">MIT Lincoln Laboratory</SPAN></FONT><FONT color=black><SPAN style="COLOR: black"></SPAN></FONT></P>
<P><FONT face="Times New Roman" color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: black">244 Wood Street</SPAN></FONT><FONT color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: black">, LI-200</SPAN></FONT><FONT color=black><SPAN style="COLOR: black"></SPAN></FONT></P>
<P><FONT face="Times New Roman" color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: black">Lexington</FONT><FONT color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: black">, MA</SPAN></FONT><FONT color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: black">. 02420</SPAN></FONT></SPAN><FONT color=black><SPAN style="COLOR: black"></SPAN></FONT></P>
<P><FONT face="Times New Roman" color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: black">781-981-3561</SPAN></FONT><FONT color=black><SPAN style="COLOR: black"></SPAN></FONT></P>
<P><FONT face="Times New Roman" color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: black"><A href="mailto:keohan@LL.MIT.EDU" target=_blank rel=nofollow ymailto="mailto:keohan@LL.MIT.EDU">keohan@LL.MIT.EDU</A></SPAN></FONT><FONT color=black><SPAN style="COLOR: black"></SPAN></FONT></P>
<P><FONT face="Times New Roman" color=black size=3><SPAN style="FONT-SIZE: 12pt; COLOR: black">&nbsp;</SPAN></FONT></P></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>
<P><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="mailto: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="mailto: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>Gavin Mooney<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Wednesday, January 07, 2009 7:33 PM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> SAP Workflow Users' Group<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Anyone using transaction SWF_DEBUG?</SPAN></FONT></P></DIV>
<DIV><SPAN class=e id=q_11eb6a48ee6c89d1_1>
<P><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">&nbsp;</SPAN></FONT></P>
<P><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Hi everyone, </SPAN></FONT></P>
<P><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Has anyone used transaction SWF_DEBUG? I was using it for some unit testing last month and once I got used to it I found it quite useful. </SPAN></FONT></P>
<P><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">However, I found a bug when the breakpoint is set in a sub workflow and reported it on OSS, and just had the following response. I'd be interested to know if other people have already heard that the transaction was a "mistake" - especially as we have some folks from SAP in the WUG who might be able to shed some light. </SPAN></FONT></P>
<P><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">I personally was disappointed to hear that it is not supported. </SPAN></FONT></P>
<P><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Regards, <BR>Gavin</SPAN></FONT></P>
<P><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Dear Customer,</SPAN></FONT></P>
<P><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">sorry for the delay. Due to public holidays today is the first day<BR>all colleagues are available.</SPAN></FONT></P>
<P><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Unfortunately I've bad news. The transaction SWF_DEBUG was delivered<BR>but is not released for customer. The development of a workflow debuggerwas stopped due to other projects with higher priority and so the<BR>debugger was not finished. It was a mistake to deliver it. I've<BR>discussed it with my development manager but we are not able to<BR>support it. Sorry for that. Please do not use SWF_DEBUG.</SPAN></FONT></P>
<P><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Best regards,</SPAN></FONT></P></SPAN></DIV></DIV></DIV><BR>_______________________________________________<BR>SAP-WUG mailing list<BR><A href="mailto: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></DIV></div><br>

      </body></html>