<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=076304503-16012007><FONT face=Arial 
color=#0000ff size=2>Hi Ashish,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=076304503-16012007><FONT face=Arial 
color=#0000ff size=2>We experienced similar "freezes" for no apparent 
reason.&nbsp; We opened a customer message and SAP recommended applying a 
note.&nbsp; I can't seem to find the message with the note number right 
now.&nbsp; I don't know if the note worked, as we did an upgrade before getting 
to test it, and we have not experienced the freezes since the upgrade.&nbsp; 
Perhaps you can find it via an OSS search?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=076304503-16012007><FONT face=Arial 
color=#0000ff size=2>Best Wishes,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=076304503-16012007><FONT face=Arial 
color=#0000ff size=2>Sherie</FONT></SPAN></DIV>
<DIV dir=ltr align=left><BR>&nbsp;</DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu 
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>Ashish 
Paranjpe<BR><B>Sent:</B> Monday, January 15, 2007 11:21 AM<BR><B>To:</B> SAP 
Workflow Users' Group<BR><B>Subject:</B> Re: Workflow steps remaining in ready 
state for long<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Hi Mike,</DIV>
<DIV>I&nbsp; checked all these jobs and they are all running properly, if 
applicable. We dont have an event queue defined and hence the event queue job 
does not run. The other jobs SWWDHEX and SWWERRE are running properly.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Is there&nbsp;any other reason for the issue?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks and Regards,</DIV>
<DIV>Ashish<BR><BR>&nbsp;</DIV>
<DIV><SPAN class=gmail_quote>On 1/14/07, <B class=gmail_sendername>Mike 
Gambier</B> &lt;<A 
href="mailto:madgambler@hotmail.com">madgambler@hotmail.com</A>&gt; 
wrote:</SPAN> 
<BLOCKQUOTE class=gmail_quote 
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi 
  Ashish,<BR><BR>That sounds like a typical 'Workflow is broken' issue.<BR><BR>I 
  suggest you look at your Workflow services, the background jobs, to see 
  <BR>what's happening. After all SWEQSRV (events), SWWDHEX (deadlines) 
  and<BR>SWWERRE (exceptions) essentially are Workflow, although the RFC batch 
  job<BR>sometimes has to pick up the baton occasionally.<BR><BR>So if nothing's 
  happening, check if the jobs are still scheduled (SWEQADM <BR>and SWU3 will 
  give you clues but don't always tell the truth) and look in<BR>the batch log 
  to see how they have been performing (if at all) recently.<BR><BR>Sometimes 
  Basis Teams (or whoever schedules the jobs) forget to re-schedule <BR>them 
  when a system is bounced. But sometimes they can also terminate of<BR>their 
  own accord because of feedback errors.<BR><BR>Mike GT<BR><BR>&gt;From: "Ashish 
  Paranjpe" &lt;<A href="mailto:aaparanjpe@gmail.com"> 
  aaparanjpe@gmail.com</A>&gt;<BR>&gt;Reply-To: "SAP Workflow Users' Group" 
  &lt;<A href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A>&gt;<BR>&gt;To: "SAP 
  Workflow Users' Group" &lt;<A href="mailto:sap-wug@mit.edu"> 
  sap-wug@mit.edu</A>&gt;<BR>&gt;Subject: Re: Workflow steps remaining in ready 
  state for long<BR>&gt;Date: Fri, 12 Jan 2007 19:34:38 +0100<BR>&gt;<BR>&gt;HI 
  Mike,<BR>&gt;Thanks for the reply. Just to make sure that I have been able to 
  convey my <BR>&gt;issue correctly, I am adding the following 
  things:<BR>&gt;<BR>&gt;1. I gave the first step as an example. This does not 
  necessarily happen at<BR>&gt;the first step. This may happen at any step in 
  the workflow(being stuck as <BR>&gt;ready status).<BR>&gt;<BR>&gt;2. This is 
  happening across the entire workflow system in<BR>&gt;workflows developed for 
  all modules.<BR>&gt;<BR>&gt;<BR>&gt;Does this make the issue different or 
  clearer?<BR>&gt;<BR>&gt;Thanks,<BR>&gt;Ashish<BR>&gt;<BR>&gt;<BR>&gt;On 
  1/12/07, Mike Gambier &lt;<A 
  href="mailto:madgambler@hotmail.com">madgambler@hotmail.com</A>&gt; 
  wrote:<BR>&gt;&gt;<BR>&gt;&gt;Ashish,<BR>&gt;&gt;<BR>&gt;&gt;If I were you I'd 
  check the following things to start with: <BR>&gt;&gt;<BR>&gt;&gt;1. Is this a 
  new/amended step? If so, are there any temporary exceptions<BR>&gt;&gt;(e.g. 
  database locks) being fed back? Check in tech log if it is on, 
  or<BR>&gt;&gt;failing that have a look in SWWWIRET to see if there are any 
  clues there. <BR>&gt;&gt;If<BR>&gt;&gt;you find you do have temporary 
  exceptions make sure you activated the<BR>&gt;&gt;Workflow exception handling 
  batch job SWWERRE to have another go at trying<BR>&gt;&gt;the steps again 
  (check in SWU3). <BR>&gt;&gt;<BR>&gt;&gt;2. If you have changed anything on 
  related to the WF definition or<BR>&gt;&gt;Business<BR>&gt;&gt;Object related 
  to the task that is appearing to stubbornly refuse to start<BR>&gt;&gt;(but it 
  used to work fine), it's probably something in your 
  <BR>&gt;&gt;code/environment<BR>&gt;&gt;causing a feedback error. Syntax check 
  your WF and code for errors, such<BR>&gt;&gt;as<BR>&gt;&gt;Agent Determination 
  missing on dialog steps elsehwere in the definition.<BR>&gt;&gt;Try 
  <BR>&gt;&gt;generating the Business Object, make sure the WF you are 
  triggering is<BR>&gt;&gt;active on the right version and the event linkage 
  looks right. Drop the<BR>&gt;&gt;Workflow buffers using SWU_OBUF to be sure 
  you are using the latest <BR>&gt;&gt;versions<BR>&gt;&gt;of everything, if in 
  doubt, and try to trigger the same WF again 
  using<BR>&gt;&gt;SWUE<BR>&gt;&gt;maybe.<BR>&gt;&gt;<BR>&gt;&gt;3. Check the 
  data related to your 'stuck' steps. Are all of your WFs 
  <BR>&gt;&gt;hanging<BR>&gt;&gt;at this point or are some working OK? If the 
  latter is true then your<BR>&gt;&gt;definition may be dodgy with regards to 
  binding or logic and may need<BR>&gt;&gt;revising. Normally this would error 
  though rather than stall, but you 
  <BR>&gt;&gt;never<BR>&gt;&gt;know.<BR>&gt;&gt;<BR>&gt;&gt;4. If you have 
  changed the way the WF is triggered (perhaps a different<BR>&gt;&gt;event 
  entirely or a new container binding) make sure the WF being 
  kicked<BR>&gt;&gt;off <BR>&gt;&gt;is receiving the new info properly. Perhaps 
  your event raising code isn't<BR>&gt;&gt;quite right 
  now?<BR>&gt;&gt;<BR>&gt;&gt;5. Check for dumps to see if WF-BATCH is 
  complaining about something that<BR>&gt;&gt;might be related. 
  <BR>&gt;&gt;<BR>&gt;&gt;6. If this is the first step in your Workflow and 
  you're using the Event<BR>&gt;&gt;Queue check to see what kind of 'delay' you 
  have between delivery jobs.<BR>&gt;&gt;Sometimes events can take a while to 
  come through because they have lots <BR>&gt;&gt;of<BR>&gt;&gt;competition with 
  other events. Wouldn't explain why your first 
  step<BR>&gt;&gt;appears<BR>&gt;&gt;to be 'stuck' but it might explain why 
  there's an apparent delay between<BR>&gt;&gt;events and WFs starting. 
  <BR>&gt;&gt;<BR>&gt;&gt;7. Sometimes the triggering event is only partially 
  delivered and the call<BR>&gt;&gt;to your next step ends up being parked 
  temporarily as a tRFC entry in<BR>&gt;&gt;ARFCSSTATE for destination 
  WORKFLOW_LOCAL_100 if the aren't enough dialog <BR>&gt;&gt;process for 
  Workflow to get hold of at the time. Have a peak at the RFC<BR>&gt;&gt;queue 
  to see if this is filling up.<BR>&gt;&gt;<BR>&gt;&gt;Mike 
  GT<BR>&gt;&gt;<BR>&gt;&gt; &gt;From: "Ashish Paranjpe" &lt; <A 
  href="mailto:aaparanjpe@gmail.com">aaparanjpe@gmail.com</A>&gt;<BR>&gt;&gt; 
  &gt;Reply-To: "SAP Workflow Users' Group" &lt;<A 
  href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A>&gt;<BR>&gt;&gt; &gt;To: <A 
  href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A><BR>&gt;&gt; &gt;Subject: 
  Workflow steps remaining in ready state for long<BR>&gt;&gt; &gt;Date: Fri, 12 
  Jan 2007 15:38:34 +0100<BR>&gt;&gt; &gt;<BR>&gt;&gt; &gt;Hi All,<BR>&gt;&gt; 
  &gt;I am facing a very atypical issue which I will try and explain below: 
  <BR>&gt;&gt; &gt;<BR>&gt;&gt; &gt;When a workflow is triggered in the system, 
  the first step of the<BR>&gt;&gt;workflow<BR>&gt;&gt; &gt;is a background 
  step. Now Ideally, i would have expected this step to<BR>&gt;&gt; &gt;change 
  <BR>&gt;&gt; &gt;from "READY" state to "INPROCESS" within a fraction of a 
  second. What<BR>&gt;&gt; &gt;happens with our workflows is that these steps 
  continue to remain&nbsp;&nbsp;în<BR>&gt;&gt; &gt;"READY" state for 2-3 hrs. 
  Please note that there is no deadline <BR>&gt;&gt;monitoring<BR>&gt;&gt; 
  &gt;active for these steps.<BR>&gt;&gt; &gt;<BR>&gt;&gt; &gt;I have 2 
  questions based on this:<BR>&gt;&gt; &gt;<BR>&gt;&gt; &gt;1. How does the 
  workflow system function with regard to changing a step <BR>&gt;&gt; 
  &gt;state?<BR>&gt;&gt; &gt;2. More important quaetion : Why is this above 
  mentioned problem<BR>&gt;&gt;occurring<BR>&gt;&gt; &gt;in our system? Is it 
  something to do with system performance?<BR>&gt;&gt; &gt;<BR>&gt;&gt; 
  &gt;<BR>&gt;&gt; &gt;I may have raised this question before, but could not get 
  a proper<BR>&gt;&gt;solution<BR>&gt;&gt; &gt;to the issue.<BR>&gt;&gt; 
  &gt;<BR>&gt;&gt; &gt;Thanks in advance.<BR>&gt;&gt; &gt;<BR>&gt;&gt; 
  &gt;Ashish <BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt; 
  &gt;_______________________________________________<BR>&gt;&gt; &gt;SAP-WUG 
  mailing list<BR>&gt;&gt; &gt;<A 
  href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A><BR>&gt;&gt; &gt;<A 
  href="http://mailman.mit.edu/mailman/listinfo/sap-wug"> 
  http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR>&gt;&gt;<BR>&gt;&gt;_________________________________________________________________<BR>&gt;&gt;Communicate 
  instantly! Use your Hotmail address to sign into Windows Live 
  <BR>&gt;&gt;Messenger now. <A 
  href="http://get.live.com/messenger/overview">http://get.live.com/messenger/overview</A><BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt;_______________________________________________<BR>&gt;&gt;SAP-WUG 
  mailing list <BR>&gt;&gt;<A 
  href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A><BR>&gt;&gt;<A 
  href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt; 
  <BR><BR><BR>&gt;_______________________________________________<BR>&gt;SAP-WUG 
  mailing list<BR>&gt;<A 
  href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A><BR>&gt;<A 
  href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug 
  </A><BR><BR>_________________________________________________________________<BR>Communicate 
  instantly! Use your Hotmail address to sign into Windows Live<BR>Messenger 
  now. <A 
  href="http://get.live.com/messenger/overview">http://get.live.com/messenger/overview</A><BR><BR><BR><BR>_______________________________________________<BR>SAP-WUG 
  mailing list<BR><A href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A><BR><A 
  href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR><BR><BR></BLOCKQUOTE></DIV><BR></BODY></HTML>