<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Forest Floor</TITLE>

<STYLE>BODY {
        MARGIN-TOP: 5px; FONT-SIZE: 12pt; MARGIN-LEFT: 10px; COLOR: #336600; FONT-FAMILY: "Tempus Sans ITC", "Lucida Sans", "sans serif"
}
A {
        COLOR: #996600
}
HR {
        WIDTH: 100%; COLOR: #666600; HEIGHT: 3px
}
</STYLE>

<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff background=cid:193083021@30102006-1022>
<DIV><SPAN class=193083021-30102006><FONT face=Arial color=#0000ff 
size=2>Sherie,</FONT></SPAN></DIV>
<DIV><SPAN class=193083021-30102006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=193083021-30102006><FONT face=Arial color=#0000ff size=2>We're 
on 470, WAS 620.</FONT></SPAN></DIV>
<DIV><SPAN class=193083021-30102006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=193083021-30102006><FONT face=Arial color=#0000ff size=2>I've 
actually done the unforgiveable and changed the requirement to suit the 
'program', inasmuch that I've made the subworkflow do everything, obviating the 
need for the&nbsp;multiline container to be updated after the subworkflow has 
completed.</FONT></SPAN></DIV>
<DIV><SPAN class=193083021-30102006></SPAN>&nbsp;</DIV>
<DIV><SPAN class=193083021-30102006><FONT face=Arial color=#0000ff 
size=2>Previously the flow was:</FONT></SPAN></DIV>
<UL>
  <LI><SPAN class=193083021-30102006><FONT face=Arial color=#0000ff 
  size=2>Create multiline container by loop processing (using simple 
  forms)</FONT></SPAN></LI>
  <LI><SPAN class=193083021-30102006><FONT face=Arial color=#0000ff size=2>For 
  each row of multiline container, call subworkflow 'A'</FONT></SPAN></LI>
  <LI><SPAN class=193083021-30102006><FONT face=Arial color=#0000ff size=2>As 
  each rendition of 'A' completes, update corresponding row of multiline 
  container</FONT></SPAN></LI>
  <LI><SPAN class=193083021-30102006><FONT face=Arial color=#0000ff size=2>After 
  all 'A's have completed, call subworkflow 'B' for each updated row of 
  multiline container</FONT></SPAN></LI></UL>
<DIV><SPAN class=193083021-30102006><FONT face=Arial color=#0000ff size=2>As the 
updates in point 3 were&nbsp;updating only the last row of the multiline 
container each time, step 4 was&nbsp;misbehaving. The reason I'd split the 
dynamic parallel processing into subworkflows 'A' and 'B' was that I had to wait 
for external data to become available prior to calling workflow 'B' - I've now 
merged 'A' and 'B' and all works fine.</FONT></SPAN></DIV>
<DIV><SPAN class=193083021-30102006></SPAN>&nbsp;</DIV>
<DIV><SPAN class=193083021-30102006><FONT face=Arial color=#0000ff 
size=2>However, I'm still very keen to find out why it wasn't 
working.</FONT></SPAN></DIV>
<DIV><SPAN class=193083021-30102006></SPAN>&nbsp;</DIV>
<DIV><SPAN class=193083021-30102006><FONT face=Arial color=#0000ff 
size=2>Thanks.</FONT></SPAN></DIV>
<DIV><SPAN class=193083021-30102006></SPAN>&nbsp;</DIV>
<DIV><SPAN class=193083021-30102006><FONT face=Arial color=#0000ff 
size=2>Nigel.</FONT>&nbsp;</SPAN></DIV>
<BLOCKQUOTE>
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Munday,Sherie J. 
  [mailto:MUNDAYSJ@airproducts.com]<BR><B>Sent:</B> Tuesday, 31 October 2006 
  1:19 AM<BR><B>To:</B> SAP Workflow Users' Group<BR><B>Subject:</B> RE: 
  MultiLine container element binding problem<BR><BR></DIV></FONT>
  <DIV dir=ltr align=left><SPAN class=805421814-30102006><FONT face=Arial 
  color=#0000ff size=2>Nigel,</FONT></SPAN></DIV>
  <DIV dir=ltr align=left><SPAN class=805421814-30102006><FONT face=Arial 
  color=#0000ff size=2>Which version are you running?</FONT></SPAN></DIV>
  <DIV dir=ltr align=left><SPAN class=805421814-30102006><FONT face=Arial 
  color=#0000ff size=2>Sherie</FONT></SPAN></DIV><BR>
  <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>Nigel 
  Thurgood<BR><B>Sent:</B> Sunday, October 29, 2006 5:53 PM<BR><B>To:</B> 
  sap-wug@mit.edu<BR><B>Subject:</B> MultiLine container element binding 
  problem<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV><FONT face=Arial color=#000000 size=2><SPAN 
  class=278593722-29102006>Hi.</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#000000 size=2><SPAN 
  class=278593722-29102006></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial color=#000000 size=2><SPAN class=278593722-29102006>I 
  have a requirement to 'parallel process' a subworkflow using a multiline 
  container element, i.e. the subworkflow will be invoked for each row of the 
  multiline container. </SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#000000 size=2><SPAN 
  class=278593722-29102006></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial color=#000000 size=2><SPAN class=278593722-29102006>I 
  have managed this successfully before, but with this particular case the 
  requirement is to update the multiline container element after the subworkflow 
  has been processed.</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#000000 size=2><SPAN 
  class=278593722-29102006></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial color=#000000 size=2><SPAN class=278593722-29102006>My 
  binding for this is as follows&nbsp;:</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#000000 size=2><SPAN 
  class=278593722-29102006></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial color=#000000 size=2><SPAN 
  class=278593722-29102006>Workflow(A):&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  Subworkflow (step):</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#000000 size=2><SPAN 
  class=278593722-29102006></SPAN></FONT><FONT face=Arial color=#000000 
  size=2><SPAN 
  class=278593722-29102006>&amp;MULTIROW[&amp;_WF_PARFOREACH_INDEX&amp;]&amp;&nbsp;&nbsp;&nbsp; 
  --&gt;&nbsp;&nbsp;&nbsp; 
  &amp;SINGLEROW&amp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#000000 size=2><SPAN 
  class=278593722-29102006><SPAN 
  class=278593722-29102006>&amp;MULTIROW[&amp;_WF_PARFOREACH_INDEX&amp;]&amp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;--&nbsp;&nbsp;&nbsp; 
  &amp;SINGLEROW&amp;</SPAN></SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#000000 size=2><SPAN 
  class=278593722-29102006><SPAN 
  class=278593722-29102006></SPAN></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial color=#000000 size=2><SPAN 
  class=278593722-29102006><SPAN class=278593722-29102006>With two lines in the 
  multiline container element, each line is processed correctly by the 
  subworkflow.</SPAN></SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#000000 size=2><SPAN 
  class=278593722-29102006><SPAN 
  class=278593722-29102006></SPAN></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial color=#000000 size=2><SPAN 
  class=278593722-29102006><SPAN class=278593722-29102006>However, on returning 
  to the 'calling' workflow (A), the second row is updated on each occasion, 
  presumably because &amp;_WF_PARFOREACH_INDEX&amp;]&amp; retains the value of 
  the highest&nbsp;processed row index.</SPAN></SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#000000 size=2><SPAN 
  class=278593722-29102006><SPAN 
  class=278593722-29102006></SPAN></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial color=#000000 size=2><SPAN 
  class=278593722-29102006><SPAN class=278593722-29102006>Can anyone tell me 
  where I'm going wrong, and how to&nbsp;do it 
  properly?</SPAN></SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#000000 size=2><SPAN 
  class=278593722-29102006><SPAN 
  class=278593722-29102006></SPAN></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial color=#000000 size=2><SPAN 
  class=278593722-29102006><SPAN 
  class=278593722-29102006>Thanks.</SPAN></SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#000000 size=2><SPAN 
  class=278593722-29102006><SPAN 
  class=278593722-29102006></SPAN></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial color=#000000 size=2><SPAN 
  class=278593722-29102006><SPAN 
  class=278593722-29102006>Nigel.</SPAN></SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#000000 size=2><SPAN 
  class=278593722-29102006></SPAN></FONT>&nbsp;</DIV><BR><BR>
  <TABLE style="COLOR: black" bgColor=white>
    <TBODY>
    <TR>
      <TD><BR>This&nbsp;is&nbsp;an&nbsp;email&nbsp;from&nbsp;Australian&nbsp;Health&nbsp;&amp;&nbsp;Nutrition&nbsp;Association&nbsp;Limited,<BR>ABN&nbsp;63&nbsp;096&nbsp;452&nbsp;872&nbsp;trading&nbsp;as&nbsp;Sanitarium&nbsp;Health&nbsp;Food&nbsp;Company.<BR><BR>THIS&nbsp;E-MAIL&nbsp;IS&nbsp;CONFIDENTIAL.<BR>Any&nbsp;recipient&nbsp;who&nbsp;is&nbsp;not&nbsp;the&nbsp;intended&nbsp;recipient&nbsp;is&nbsp;requested&nbsp;to<BR>notify&nbsp;the&nbsp;sender&nbsp;by&nbsp;return&nbsp;e-mail&nbsp;and&nbsp;erase&nbsp;all&nbsp;copies&nbsp;of&nbsp;the&nbsp;message<BR>and&nbsp;attachments.&nbsp;The&nbsp;sender&nbsp;cannot&nbsp;guarantee&nbsp;that&nbsp;this&nbsp;email&nbsp;or&nbsp;any<BR>attachment&nbsp;to&nbsp;it&nbsp;is&nbsp;free&nbsp;of&nbsp;computer&nbsp;viruses&nbsp;or&nbsp;other&nbsp;conditions&nbsp;which&nbsp;may<BR>damage&nbsp;or&nbsp;interfere&nbsp;with&nbsp;data,&nbsp;hardware&nbsp;or&nbsp;software&nbsp;with&nbsp;which&nbsp;it&nbsp;might&nbsp;be&nbsp;used.<BR><BR>If&nbsp;you&nbsp;do&nbsp;not&nbsp;wish&nbsp;to&nbsp;receive&nbsp;commercial&nbsp;email&nbsp;messages&nbsp;from&nbsp;Sanitarium&nbsp;Health&nbsp;Food<BR>Company,&nbsp;please&nbsp;send&nbsp;an&nbsp;unsubscribe&nbsp;message&nbsp;to&nbsp;the&nbsp;sender&nbsp;of&nbsp;this&nbsp;email,&nbsp;or&nbsp;contact<BR>unsubscribe@sanitarium.com.au.<BR></TD></TR></TBODY></TABLE></BLOCKQUOTE><br><br><table bgcolor=white style="color:black"><tr><td><br>This&nbsp;is&nbsp;an&nbsp;email&nbsp;from&nbsp;Australian&nbsp;Health&nbsp;&amp;&nbsp;Nutrition&nbsp;Association&nbsp;Limited,<br>
ABN&nbsp;63&nbsp;096&nbsp;452&nbsp;872&nbsp;trading&nbsp;as&nbsp;Sanitarium&nbsp;Health&nbsp;Food&nbsp;Company.<br>
<br>
THIS&nbsp;E-MAIL&nbsp;IS&nbsp;CONFIDENTIAL.<br>
Any&nbsp;recipient&nbsp;who&nbsp;is&nbsp;not&nbsp;the&nbsp;intended&nbsp;recipient&nbsp;is&nbsp;requested&nbsp;to<br>
notify&nbsp;the&nbsp;sender&nbsp;by&nbsp;return&nbsp;e-mail&nbsp;and&nbsp;erase&nbsp;all&nbsp;copies&nbsp;of&nbsp;the&nbsp;message<br>
and&nbsp;attachments.&nbsp;The&nbsp;sender&nbsp;cannot&nbsp;guarantee&nbsp;that&nbsp;this&nbsp;email&nbsp;or&nbsp;any<br>
attachment&nbsp;to&nbsp;it&nbsp;is&nbsp;free&nbsp;of&nbsp;computer&nbsp;viruses&nbsp;or&nbsp;other&nbsp;conditions&nbsp;which&nbsp;may<br>
damage&nbsp;or&nbsp;interfere&nbsp;with&nbsp;data,&nbsp;hardware&nbsp;or&nbsp;software&nbsp;with&nbsp;which&nbsp;it&nbsp;might&nbsp;be&nbsp;used.<br>
<br>
If&nbsp;you&nbsp;do&nbsp;not&nbsp;wish&nbsp;to&nbsp;receive&nbsp;commercial&nbsp;email&nbsp;messages&nbsp;from&nbsp;Sanitarium&nbsp;Health&nbsp;Food<br>
Company,&nbsp;please&nbsp;send&nbsp;an&nbsp;unsubscribe&nbsp;message&nbsp;to&nbsp;the&nbsp;sender&nbsp;of&nbsp;this&nbsp;email,&nbsp;or&nbsp;contact<br>
unsubscribe@sanitarium.com.au.<br>
</td></tr></table></BODY></HTML>