<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1505" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>Had the same issue. Here is what&nbsp;I found and what we did to correct. </DIV>
<DIV>&nbsp;</DIV>
<DIV>If multiple instances of SWWDHEX are running we get locks. I&nbsp;verified and </DIV>
<DIV>can reproduce this and fixed. Here is what&nbsp;I did. </DIV>
<DIV>Kill all SWWDHEX and have BASIS reschedule just one. </DIV>
<DIV>Schedule SWWDHEX&nbsp;to run every X time. </DIV>
<DIV>&nbsp;</DIV>
<DIV>Still don't know why it stopped but I assume I ran the config as myself. SWU3 </DIV>
<DIV>and caused mult instances to be running. </DIV>
<DIV>BASIS probably runs SWU3&nbsp;for the simple fact that it SWU3 should only be run &nbsp;</DIV>
<DIV>by a user that has SAP_ALL / SAP_NEW. </DIV>
<DIV>Reason:&nbsp;WF-BATCH inherits the rights of the user running SWU3. No more. No less. </DIV>
<DIV>(You can search for responses from Jocelyn Dart and in "Practical WF for SAP".)</DIV>
<DIV>&nbsp;</DIV>
<DIV>WF-BATCH should not be used for batch processing like SWWDHEX,&nbsp;SWWERRE, SWWERRE, etc. </DIV>
<DIV>Use some other batch user for batch processing. </DIV>
<DIV>&nbsp;</DIV>
<DIV>SWWA set to run periodically. Like every 5 mins. </DIV>
<DIV>SWWB runs per instance of a deadline. </DIV>
<DIV>(I could have these backwards. Look them up to be sure)</DIV>
<DIV>
<DIV>&nbsp;</DIV>
<DIV>SWWA or SWWB? Depends on what you want. </DIV>
<DIV>If you have few deadlines, run per instance and it will add a batch for </DIV>
<DIV>each instance. See SM37 and you will see these being added per deadline. </DIV>
<DIV>Or, if you have lots of deadlines.&nbsp;set to just periodically, it should&nbsp;rescheduled ONE </DIV>
<DIV>instance to run every X time. </DIV>
<DIV>&nbsp;</DIV>
<DIV>Let me know if this helps. I am interested in what works for you. </DIV>
<DIV>(And if I made any incorrect statement I am sure someone will let me know)</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Rick Sample<BR>SAP Workflow Analyst/Developer<BR>Graybar, Inc.<BR>11885 Lackland Rd.<BR>63146-4208<BR>314.573.5822<BR><A href="mailto:Rick.Sample@GBE.com">Rick.Sample@GBE.com</A></DIV>
<DIV><BR>&gt;&gt;&gt; keohan@ll.mit.edu 7/12/2005 7:34 &gt;&gt;&gt;<BR>Hi all,<BR><BR>We are running on R/3 4.6c.<BR><BR>We had RSWWDHEX running without incident until last September, when it stopped, I don't know why.<BR>When the matter was brought to my attention, we re-scheduled it via SWWB (or is it SWWA, I can't be <BR>sure because Basis does it). The interval between runs is 20 minutes, which should be sufficient, <BR>since there are probably less than 5 workitems 'waiting' for a deadline at any given time.<BR><BR>Anyway, the job gets finishes, but fails to reschedule itself daily (no specific time, it could fail <BR>to reschedule at 5:30, it could fail to reschedule at 7:30...). The system log from SM21 says<BR>'Job SWWDHEX is currently locked' and the detail entry follows:<BR><BR>&gt; Within background processing, it was found that the specified job is <BR>&gt; being edited, for example, another user edits the job or the run-time <BR>&gt; system of background processing is accessing the job. Please attempt to <BR>&gt; execute the action required by you with the job at a later date. <BR>&gt; <BR>&gt; If, in spite of repeated attempts, this should not be successful, that <BR>&gt; could be related to problems in the locking system (enqueue server): For <BR>&gt; example, "locking corpses" could be available. Please check that with <BR>&gt; the transaction SM12. You can also test the function efficiency of your <BR>&gt; locking system there by means of the displayed diagnosis. <BR>&gt; <BR><BR>I am sure we can reschedule with a longer interval between runs, but not sure if this will actually <BR>solve the problem. Has anyone out there dealt with this ? OSS, and SDN search of this archive <BR>yield no joy.<BR><BR>Happy WF-ing!<BR>Sue<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>781-981-3561<BR><U><A href="mailto:keohan@ll.mit.edu">keohan@ll.mit.edu</A></U> <BR>_______________________________________________<BR>SAP-WUG mailing list<BR><U><A href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A></U> <BR><U><A href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</A></U> <BR><BR></DIV></BODY></HTML>