<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:tahoma, new york, times, serif;font-size:10pt"><DIV></DIV>
<DIV>Hi Sue,</DIV>
<DIV>Have a look at ST22 &amp; SM13, maybe you'll find a clue.<BR>&nbsp;</DIV>
<P><FONT color=#00007f size=2 face="verdana, helvetica, sans-serif"><STRONG>Regards,<BR>Shai Eyal</STRONG></FONT></P>
<P><FONT color=#000080 size=2 face=Verdana><STRONG>SAP Logistics senior consultant<BR>SAP Workflow &amp; BPM specialist</STRONG></FONT></P>
<P><FONT color=#000080 size=2 face=Verdana><STRONG><A href="http://www.linkedin.com/in/shaieyal" rel=nofollow target=_blank>http://www.linkedin.com/in/shaieyal</A><BR>Mobile: 972-52-5816633</STRONG></FONT><BR><BR><BR></P>
<DIV><BR></DIV>
<DIV style="FONT-FAMILY: tahoma, new york, times, serif; FONT-SIZE: 10pt"><BR>
<DIV style="FONT-FAMILY: verdana, helvetica, sans-serif; FONT-SIZE: 10pt"><FONT size=2 face=Tahoma>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> "sap-wug-request@mit.edu" &lt;sap-wug-request@mit.edu&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> sap-wug@mit.edu<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Friday, August 13, 2010 21:53:17<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> SAP-WUG Digest, Vol 69, Issue 24<BR></FONT><BR>Send SAP-WUG mailing list submissions to<BR>&nbsp;&nbsp;&nbsp; <A href="mailto:sap-wug@mit.edu" ymailto="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A><BR><BR>To subscribe or unsubscribe via the World Wide Web, visit<BR>&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; <A href="mailto:sap-wug-request@mit.edu" ymailto="mailto:sap-wug-request@mit.edu">sap-wug-request@mit.edu</A><BR><BR>You can reach the person managing
 the list at<BR>&nbsp;&nbsp;&nbsp; <A href="mailto:sap-wug-owner@mit.edu" ymailto="mailto:sap-wug-owner@mit.edu">sap-wug-owner@mit.edu</A><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; 1. Re: Background Workflow task hanging (Rick Bakker)<BR><BR><BR>----------------------------------------------------------------------<BR><BR>Message: 1<BR>Date: Fri, 13 Aug 2010 13:52:54 -0500<BR>From: Rick Bakker &lt;<A href="mailto:rbakker@gmail.com" ymailto="mailto:rbakker@gmail.com">rbakker@gmail.com</A>&gt;<BR>Subject: Re: Background Workflow task hanging<BR>To: "SAP Workflow Users' Group" &lt;<A href="mailto:sap-wug@mit.edu" ymailto="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A>&gt;<BR>Message-ID:<BR>&nbsp;&nbsp;&nbsp; &lt;AANLkTik1mFC0+cvcvHRv9hRQHK658f49+<A href="mailto:sBNpBBovnt7@mail.gmail.com"
 ymailto="mailto:sBNpBBovnt7@mail.gmail.com">sBNpBBovnt7@mail.gmail.com</A>&gt;<BR>Content-Type: text/plain; charset="windows-1252"<BR><BR>Hi Sue,<BR><BR>If it's just selecting then it shouldn't be locking anything.<BR>Have a look at the Exceptions of the method, are there any marked as<BR>temporary?<BR><BR>It's also strange that no warnings or errors are showing in the workflow log<BR>- can you double check?<BR>Temporary errors show up as warnings (yellow triangles).<BR>regards<BR>Rick Bakker<BR>Hanabi Technology<BR>On Fri, Aug 13, 2010 at 12:53 PM, Sue Doughty &lt;<A href="mailto:Sue.Doughty@odfl.com" ymailto="mailto:Sue.Doughty@odfl.com">Sue.Doughty@odfl.com</A>&gt; wrote:<BR><BR>&gt;&nbsp; Thanks Rick for your response.<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; The method is sending in the Drug EXAM_DATE (which is an attribute of our<BR>&gt; BO ZAPPLICANT ? APPLICANT.EXAMINATIONDATE).&nbsp; It figures out the number of<BR>&gt; days since the drug test (DAYS =
 SY-DATUM - EXAM_DATE.).&nbsp; If the difference<BR>&gt; is less than 30 days, it sets the DATE_FLAG = T, otherwise the DATE_FLAG =<BR>&gt; F.<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; If someone had the Applicant record open in update mode when this<BR>&gt; background task is running, the method should be able to determine the BO<BR>&gt; attributes anyway, shouldn?t it?<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; Regards,<BR>&gt;<BR>&gt; Sue<BR>&gt;<BR>&gt;<BR>&gt;&nbsp; ------------------------------<BR>&gt;<BR>&gt; *From:* <A href="mailto:sap-wug-bounces@mit.edu" ymailto="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</A> [mailto:<A href="mailto:sap-wug-bounces@mit.edu" ymailto="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</A>] *On<BR>&gt; Behalf Of *Rick Bakker<BR>&gt; *Sent:* Friday, August 13, 2010 12:59 PM<BR>&gt;<BR>&gt; *To:* SAP Workflow Users' Group<BR>&gt; *Subject:* Re: Background Workflow task hanging<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; Hello
 Sue,<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; That is exactly the expected behaviour if the method was throwing a<BR>&gt; temporary error. What does the method do - does it try to lock anything?<BR>&gt;<BR>&gt; If a temporary error occurs then it tries again upon the next run of<BR>&gt; RSWWERRE, usually 20 mins later.<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; regards<BR>&gt;<BR>&gt; Rick Bakker<BR>&gt;<BR>&gt; Hanabi Technology<BR>&gt;<BR>&gt; On Fri, Aug 13, 2010 at 11:46 AM, Sue Doughty &lt;<A href="mailto:Sue.Doughty@odfl.com" ymailto="mailto:Sue.Doughty@odfl.com">Sue.Doughty@odfl.com</A>&gt;<BR>&gt; wrote:<BR>&gt;<BR>&gt; We have a workflow that gets executed probably 100 times a day.<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; There is a background task in that workflow that gets executed that reads<BR>&gt; the PA0041 table looking for the Drug Exam date for an Applicant.&nbsp; This task<BR>&gt; also executes numerous times a day.<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; Sometimes the
 task executes fine ? within a second:<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; But sometimes it takes 20 ? 30 minutes to execute and it looks like it only<BR>&gt; finishes because RSWWERRE has run.<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; This happens with this task about once a week.&nbsp; It only seems to happen<BR>&gt; with this task?.not with any other background task.&nbsp; Does anyone know what<BR>&gt; is happening or where I can go to see why this task is hanging?<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; Regards,<BR>&gt;<BR>&gt; Sue<BR>&gt;<BR>&gt;<BR>&gt;&nbsp; ------------------------------<BR>&gt;<BR>&gt; *From:* <A href="mailto:sap-wug-bounces@mit.edu" ymailto="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</A> [mailto:<A href="mailto:sap-wug-bounces@mit.edu" ymailto="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</A>] *On<BR>&gt; Behalf Of *Mehar Lakshmi Tetala<BR>&gt; *Sent:* Wednesday, August 04, 2010 2:57 AM<BR>&gt;
 *To:* <A href="mailto:sap-wug@mit.edu" ymailto="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A><BR>&gt; *Subject:* Re: SAP-WUG Digest, Vol 69, Issue 2<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; Hi Srini,<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; For dynamic multi line text in Task description, you will have to definie a<BR>&gt; multiline container element both in workflow and task.<BR>&gt;<BR>&gt; And feed the element with the required multi line texts in a back-ground<BR>&gt; method.<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; When you are inserting the container element in Task description use the<BR>&gt; expression &amp;ELEMENT##&amp;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; - Mehar<BR>&gt;<BR>&gt; On Tue, Aug 3, 2010 at 9:35 PM, &lt;<A href="mailto:sap-wug-request@mit.edu" ymailto="mailto:sap-wug-request@mit.edu">sap-wug-request@mit.edu</A>&gt; wrote:<BR>&gt;<BR>&gt; Send SAP-WUG mailing list submissions to<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; <A href="mailto:sap-wug@mit.edu"
 ymailto="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A><BR>&gt;<BR>&gt; To subscribe or unsubscribe via the World Wide Web, visit<BR>&gt;&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>&gt; or, via email, send a message with subject or body 'help' to<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; <A href="mailto:sap-wug-request@mit.edu" ymailto="mailto:sap-wug-request@mit.edu">sap-wug-request@mit.edu</A><BR>&gt;<BR>&gt; You can reach the person managing the list at<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; <A href="mailto:sap-wug-owner@mit.edu" ymailto="mailto:sap-wug-owner@mit.edu">sap-wug-owner@mit.edu</A><BR>&gt;<BR>&gt; When replying, please edit your Subject line so it is more specific<BR>&gt; than "Re: Contents of SAP-WUG digest..."<BR>&gt;<BR>&gt;<BR>&gt; Today's Topics:<BR>&gt;<BR>&gt;&nbsp; 1. Re: Display multiple lines in work item description<BR>&gt;&nbsp;
 &nbsp; &nbsp; (Kjetil Kilhavn)<BR>&gt;&nbsp; 2. error while calling text element in workk item text (srinivas)<BR>&gt;<BR>&gt;<BR>&gt; ----------------------------------------------------------------------<BR>&gt;<BR>&gt; Message: 1<BR>&gt; Date: Tue, 3 Aug 2010 07:09:50 +0200<BR>&gt; From: Kjetil Kilhavn &lt;<A href="mailto:kjetil.kilhavn@bluec.no" ymailto="mailto:kjetil.kilhavn@bluec.no">kjetil.kilhavn@bluec.no</A>&gt;<BR>&gt; Subject: Re: Display multiple lines in work item description<BR>&gt; To: "SAP Workflow Users' Group" &lt;<A href="mailto:sap-wug@mit.edu" ymailto="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A>&gt;<BR>&gt; Message-ID: &lt;<A href="mailto:201008030709.50522.kjetil.kilhavn@bluec.no" ymailto="mailto:201008030709.50522.kjetil.kilhavn@bluec.no">201008030709.50522.kjetil.kilhavn@bluec.no</A>&gt;<BR>&gt; Content-Type: text/plain;&nbsp; charset="iso-8859-15"<BR>&gt;<BR>&gt; Mandag 2. august 2010 15.14.36 skrev srinivas:<BR>&gt; &gt; I have
 a requirement wherein I need to display multiple lines in the<BR>&gt; &gt; workitem description. The workitem description is dynamic and brought<BR>&gt; from a<BR>&gt; &gt; custom method it varies from customer to customer. I have a created<BR>&gt; multiner<BR>&gt; &gt; container element &amp;long_text&amp; and I am directly calling &amp;long_text&amp;&nbsp; in<BR>&gt; the<BR>&gt; &gt; workitem description<BR>&gt; The container element needs to be inserted in the work item description as<BR>&gt; a<BR>&gt; table instead of a single-line element. Use the assistant (toolbar button<BR>&gt; "Expression") to insert it, and you'll be asked if you want to insert only<BR>&gt; the<BR>&gt; first line - as you have done, all lines as continous text or all lines<BR>&gt; with<BR>&gt; line breaks. You will then see that the expression to use when you want to<BR>&gt; insert all lines from multiline container element TABLE is either &amp;TABLE[]&amp;<BR>&gt; or<BR>&gt;
 &amp;TABLE##&amp;.<BR>&gt; --<BR>&gt; Kjetil Kilhavn (+47 40220607)<BR>&gt; Blue Consulting AS (<A href="http://www.bluec.no/" target=_blank>http://www.bluec.no</A>)<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; ------------------------------<BR>&gt;<BR>&gt; Message: 2<BR>&gt; Date: Tue, 3 Aug 2010 15:04:02 +0530<BR>&gt; From: srinivas &lt;<A href="mailto:ootasrinivasreddy@gmail.com" ymailto="mailto:ootasrinivasreddy@gmail.com">ootasrinivasreddy@gmail.com</A>&gt;<BR>&gt; Subject: error while calling text element in workk item text<BR>&gt; To: "SAP Workflow Users' Group" &lt;<A href="mailto:sap-wug@mit.edu" ymailto="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A>&gt;<BR>&gt; Message-ID:<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &lt;AANLkTikFcnS8XM+<A href="mailto:Sj3g-e0b9c9NqaCSwZY8BcHaKEfQn@mail.gmail.com" ymailto="mailto:Sj3g-e0b9c9NqaCSwZY8BcHaKEfQn@mail.gmail.com">Sj3g-e0b9c9NqaCSwZY8BcHaKEfQn@mail.gmail.com</A>&lt;AANLkTikFcnS8XM%<A
 href="mailto:2BSj3g-e0b9c9NqaCSwZY8BcHaKEfQn@mail.gmail.com" ymailto="mailto:2BSj3g-e0b9c9NqaCSwZY8BcHaKEfQn@mail.gmail.com">2BSj3g-e0b9c9NqaCSwZY8BcHaKEfQn@mail.gmail.com</A>&gt;<BR>&gt; &gt;<BR>&gt; Content-Type: text/plain; charset="gb2312"<BR>&gt;<BR>&gt; Hi Experts,<BR>&gt;<BR>&gt; I am calling a text element in workitem text using the following syntax.<BR>&gt;<BR>&gt; *INCLUDE &amp;TEXT_NAME&amp; OBJECT &amp;OBJECT&amp; ID &amp;TEXT_ID&amp; LANGUAGE<BR>&gt; &amp;LANGUAGE&amp;.*Selecting command line option.i.e.<BR>&gt; * /:*<BR>&gt;<BR>&gt; All the elements in between &amp; &amp; are binded from a class method. When I do<BR>&gt; the syntax check I am getting the following error.<BR>&gt;<BR>&gt;<BR>&gt; *Variable &amp;_????????.??????????.????&amp; exists in description text Completion<BR>&gt; text, but<BR>&gt; not in the container*<BR>&gt;<BR>&gt; I am unable to understand where I am doing wrong.Kindly help me in fixing<BR>&gt; this
 error.<BR>&gt;<BR>&gt;<BR>&gt; --<BR>&gt; Thanks and Regards<BR>&gt; Srini..<BR>&gt; -------------- next part --------------<BR>&gt; An HTML attachment was scrubbed...<BR>&gt; URL:<BR>&gt; <A href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20100803/6e9b17c5/attachment-0001.htm" target=_blank>http://mailman.mit.edu/pipermail/sap-wug/attachments/20100803/6e9b17c5/attachment-0001.htm</A><BR>&gt;<BR>&gt; ------------------------------<BR>&gt;<BR>&gt; _______________________________________________<BR>&gt; SAP-WUG mailing list<BR>&gt; <A href="mailto:SAP-WUG@mit.edu" ymailto="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A><BR>&gt; <A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR>&gt;<BR>&gt;<BR>&gt; End of SAP-WUG Digest, Vol 69, Issue 2<BR>&gt; **************************************<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; --<BR>&gt; Thanks &amp; Regards<BR>&gt;<BR>&gt;
 Mehar Lakshmi<BR>&gt;<BR>&gt;<BR>&gt; _______________________________________________<BR>&gt; SAP-WUG mailing list<BR>&gt; <A href="mailto:SAP-WUG@mit.edu" ymailto="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A><BR>&gt; <A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; _______________________________________________<BR>&gt; SAP-WUG mailing list<BR>&gt; <A href="mailto:SAP-WUG@mit.edu" ymailto="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A><BR>&gt; <A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR>&gt;<BR>&gt;<BR>-------------- next part --------------<BR>An HTML attachment was scrubbed...<BR>URL: <A href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20100813/1ebb3a28/attachment.htm"
 target=_blank>http://mailman.mit.edu/pipermail/sap-wug/attachments/20100813/1ebb3a28/attachment.htm</A><BR>-------------- next part --------------<BR>A non-text attachment was scrubbed...<BR>Name: not available<BR>Type: image/jpeg<BR>Size: 55522 bytes<BR>Desc: not available<BR>Url : <A href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20100813/1ebb3a28/attachment.jpg" target=_blank>http://mailman.mit.edu/pipermail/sap-wug/attachments/20100813/1ebb3a28/attachment.jpg</A><BR>-------------- next part --------------<BR>A non-text attachment was scrubbed...<BR>Name: not available<BR>Type: image/jpeg<BR>Size: 62518 bytes<BR>Desc: not available<BR>Url : <A href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20100813/1ebb3a28/attachment-0001.jpg"
 target=_blank>http://mailman.mit.edu/pipermail/sap-wug/attachments/20100813/1ebb3a28/attachment-0001.jpg</A><BR><BR>------------------------------<BR><BR>_______________________________________________<BR>SAP-WUG mailing list<BR><A href="mailto: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><BR><BR>End of SAP-WUG Digest, Vol 69, Issue 24<BR>***************************************<BR></DIV></DIV></div><br></body></html>