<div>Hi Sue,</div>
<div>Thanks for the inputs.</div>
<div>I dont have a corresponding SAPGUI transaction since this leave transaction of ours is purely java webdynpro customized.  I only update a customized table to store the transaction.  I also looked into that timing of database update.  I have several steps before going to the task and everything is updated.  (The BOR date attributes have the corresponding values).</div>

<div><br>Thanks.</div>
<div>matt<br><br></div>
<div class="gmail_quote">On Sat, Jun 5, 2010 at 3:37 AM, Keohan, Susan - 1140 - MITLL <span dir="ltr">&lt;<a href="mailto:keohan@ll.mit.edu">keohan@ll.mit.edu</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div lang="EN-US" vlink="purple" link="blue">
<div>
<p class="MsoNormal"><span style="COLOR: black">Hi Matthan,</span></p>
<p class="MsoNormal"><span style="COLOR: black">Have you tried triggering the WF by using the native SAPGUI transactions?  This will give you a more accurate picture than using SWUE or SWUS, since the timing of database updates cannot be the issue using these transactions (you’ve already created the Leave data, right?)</span></p>

<p class="MsoNormal"><span style="COLOR: black"> </span></p>
<p class="MsoNormal"><span style="COLOR: black">A long time ago, FIPP workflows used to bomb out because the workflow would be triggered and begin processing before the FIPP document had been committed to the database.  This issue with dates sounds similar to me.  Although, playing with dates in HR data is a trick unto itself.</span></p>

<p class="MsoNormal"><span style="COLOR: black"> </span></p>
<p class="MsoNormal"><span style="COLOR: black">I would try to generate the leave request via SAPGUI and see what happens.  If you still get the issue – then I would start my debugging engine </span><span style="FONT-FAMILY: Wingdings; COLOR: black">J</span><span style="COLOR: black">.</span></p>

<p class="MsoNormal"><span style="COLOR: black"> </span></p>
<p class="MsoNormal"><span style="COLOR: black">Cheers,</span></p>
<p class="MsoNormal"><span style="COLOR: black">Sue</span></p>
<p class="MsoNormal"><span style="COLOR: black; FONT-SIZE: 10pt">----</span><span style="COLOR: black"></span></p>
<p class="MsoNormal"><span style="COLOR: black; FONT-SIZE: 10pt">Susan R. Keohan</span><span style="COLOR: black"></span></p>
<p class="MsoNormal"><span style="COLOR: black; FONT-SIZE: 10pt">SAP Workflow Specialist</span><span style="COLOR: black"></span></p>
<p class="MsoNormal"><span style="COLOR: black; FONT-SIZE: 10pt">Enterprise Applications</span><span style="COLOR: black"></span></p>
<p class="MsoNormal"><span style="COLOR: black; FONT-SIZE: 10pt">Information Services Department</span><span style="COLOR: black"></span></p>
<p class="MsoNormal"><span style="COLOR: black; FONT-SIZE: 10pt">MIT Lincoln Laboratory</span><span style="COLOR: black"></span></p>
<p class="MsoNormal"><span style="COLOR: black; FONT-SIZE: 10pt">244 Wood Street, LI-200</span><span style="COLOR: black"></span></p>
<p class="MsoNormal"><span style="COLOR: black; FONT-SIZE: 10pt">Lexington, MA. 02420</span><span style="COLOR: black"></span></p>
<p class="MsoNormal"><span style="COLOR: black; FONT-SIZE: 10pt">781-981-3561</span><span style="COLOR: black"></span></p>
<p class="MsoNormal"><span style="COLOR: black; FONT-SIZE: 10pt"><a href="mailto:keohan@LL.MIT.EDU" target="_blank">keohan@LL.MIT.EDU</a></span><span style="COLOR: black"></span></p>
<p class="MsoNormal"><span style="COLOR: black"> </span><span style="COLOR: black"></span></p>
<div style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<p class="MsoNormal"><b><span style="FONT-SIZE: 10pt">From:</span></b><span style="FONT-SIZE: 10pt"> <a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a> [mailto:<a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a>] <b>On Behalf Of </b>Matthan Logronio<br>
<b>Sent:</b> Friday, June 04, 2010 1:25 AM 
<div class="im"><br><b>To:</b> <a href="mailto:sap-wug@mit.edu" target="_blank">sap-wug@mit.edu</a><br><b>Subject:</b> Container element not created in the WI description</div></span>
<p></p></p></div>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">Hi All,</p></div>
<div>
<div></div>
<div class="h5">
<div>
<p class="MsoNormal">Hope anyone had already encountered this problem of mine regarding the generation of container element in the WI description in the task.  This quite a simple problem but i cannot find the solution to the problem.</p>
</div>
<div>
<p class="MsoNormal">Im using a date attributes in the WI description for leave request approval task :</p></div>
<div>
<p class="MsoNormal"> e.g. Leave request for Approval &amp;<a href="http://emp.name/" target="_blank">emp.name</a>&amp; &amp;emp.date_from&amp; - &amp;emp.date_to&amp;</p></div>
<div>
<p class="MsoNormal"> </p></div>
<div>
<p class="MsoNormal">The workflow is started thru a start event triggered by a RFC call from the SAP portal.</p></div>
<div>
<p class="MsoNormal">Somehow, when the WI is generated in the task, a syntax error occurs in the error log and the date attributes are not generated successfully:</p></div>
<div>
<p class="MsoNormal">e.g sample WI description result : Leave request for Approval Employee Name -</p></div>
<div>
<p class="MsoNormal">(the emp.date_from and to are not displayed).</p></div>
<div>
<p class="MsoNormal"> </p></div>
<div>
<p class="MsoNormal">To make it more complicated, when it i started the workflow in SWUE or SWUS, all the attributes are generated successfully, no syntax errors in the logs.</p></div>
<div>
<p class="MsoNormal">e.g sample WI description result : Leave request for Approval Employee name 06/01/2010 - 06/02/2010</p></div>
<div>
<p class="MsoNormal"> </p></div>
<div>
<p class="MsoNormal">All bindings are correct from Workflow to task.  I cannot find a problem in the RFC call that triggers the event since the workflow is started successfully (previous tasks prior to the task with erroneous description, like background task are completed).  When i looked at the BOR container in the task, the from and to dates attributes have values.</p>
</div>
<div>
<p class="MsoNormal"> </p></div>
<div>
<p class="MsoNormal">Appreciate any help on this.  BTW, we are on 4.7 r/3.</p></div>
<div>
<p class="MsoNormal"> </p></div>
<div>
<p class="MsoNormal">Thanks in advance.</p></div>
<div>
<p class="MsoNormal">matt</p></div></div></div></div></div><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" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
<br></blockquote></div><br>