<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" size=2><SPAN 
class=378085613-02062008>Don't know about ECC6, but I use them&nbsp;in 
4.6c.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" size=2><SPAN 
class=378085613-02062008></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" size=2><SPAN 
class=378085613-02062008>This works for me:</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" size=2><SPAN 
class=378085613-02062008>Must have Task containers defined for all 
elements&nbsp;used by&nbsp;the&nbsp;BEFORE/AFTER<SPAN class=302271220-02062008> 
</SPAN>methods&nbsp;parms.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><SPAN class=378085613-02062008></SPAN><FONT 
face="Microsoft Sans Serif" size=2><SPAN 
class=378085613-02062008>All&nbsp;Method parms&nbsp;<SPAN 
class=302271220-02062008>&nbsp;bindings </SPAN>must be&nbsp;Import AND 
export.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" size=2><SPAN 
class=378085613-02062008></SPAN></FONT><FONT face="Microsoft Sans Serif" 
size=2><SPAN class=378085613-02062008>The BEFORE/AFTER methods execute before 
the task method.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" size=2><SPAN 
class=378085613-02062008></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif"><FONT size=2><SPAN 
class=378085613-02062008>Now for the twist,&nbsp;</SPAN><SPAN 
class=378085613-02062008>the methods&nbsp;execute in 'alpha<SPAN 
class=302271220-02062008>&nbsp;pbetic</SPAN>'&nbsp;order.&nbsp;NOT the order as 
shown in the BEFORE/AFTER&nbsp;display tab<SPAN 
class=302271220-02062008>&nbsp;on task&nbsp;</SPAN>. </SPAN></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" size=2><SPAN 
class=378085613-02062008>For instance, if I have methods in this order&nbsp;in 
the BEFORE/AFTER tab display.&nbsp;</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" size=2><SPAN 
class=378085613-02062008>zGetThis...</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" size=2><SPAN 
class=378085613-02062008>zGetThat...</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" size=2><SPAN 
class=378085613-02062008></SPAN></FONT><FONT face="Microsoft Sans Serif" 
size=2><SPAN class=378085613-02062008></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" size=2><SPAN 
class=378085613-02062008>zGetThat... will execute first. Alpha 
order.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" size=2><SPAN 
class=378085613-02062008></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif"><FONT size=2><SPAN 
class=378085613-02062008>You can verify this by&nbsp;setting task to foreground 
and debugging.&nbsp;<SPAN 
class=302271220-02062008>&nbsp;</SPAN></SPAN></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif"><FONT size=2><SPAN 
class=378085613-02062008><SPAN 
class=302271220-02062008>&nbsp;</SPAN></SPAN><SPAN 
class=378085613-02062008>Please let me know if this last rule changed in 
ECC6.&nbsp;If it did, I have work to do when we convert! 
</SPAN></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" size=2><SPAN 
class=378085613-02062008><FONT size=2></FONT></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" size=2><SPAN 
class=378085613-02062008><FONT size=2>Rick Sample<BR>SAP Business Workflow 
Developer<BR>Graybar, Inc.<BR>11885 Lackland Dr.<BR>St. Louis, MO. 
63146<BR>314-573-5822</FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" size=2><SPAN 
class=378085613-02062008></SPAN></FONT>&nbsp;</DIV><FONT 
face="Microsoft Sans Serif" size=2></FONT><FONT face="Microsoft Sans Serif" 
size=2></FONT><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>Raul Rivera<BR><B>Sent:</B> 
Saturday, May 31, 2008 9:38 AM<BR><B>To:</B> sap-wug@mit.edu<BR><B>Subject:</B> 
Data Transfer Into a Before Method<BR></FONT><BR></DIV>
<DIV></DIV><FONT face="Microsoft Sans Serif" size=2></FONT><FONT 
face="Microsoft Sans Serif" size=2></FONT><BR clear=all>
<DIV>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>Hello WF 
experts,</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>We are in ECC 
6.0</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>I would like to 
use</FONT></SPAN><SPAN lang=en-us></SPAN><SPAN lang=en-us> <FONT face=Arial 
size=2>a Before method</FONT></SPAN><SPAN lang=en-us></SPAN><SPAN lang=en-us> 
<FONT face=Arial size=2>in</FONT></SPAN><SPAN lang=en-us></SPAN><SPAN 
lang=en-us> <FONT face=Arial size=2>a</FONT></SPAN><SPAN lang=en-us></SPAN><SPAN 
lang=en-us><FONT face=Arial size=2> WF task. The Before method uses the same 
object</FONT></SPAN><SPAN lang=en-us></SPAN><SPAN lang=en-us> <FONT face=Arial 
size=2>instance</FONT></SPAN><SPAN lang=en-us></SPAN><SPAN lang=en-us> <FONT 
face=Arial size=2>as the task method but needs to be passed additional import 
parameters</FONT></SPAN><SPAN lang=en-us></SPAN><SPAN lang=en-us><FONT 
face=Arial size=2>.</FONT></SPAN><SPAN lang=en-us></SPAN><SPAN lang=en-us><FONT 
face=Arial size=2> For example, the Before method needs a</FONT></SPAN><SPAN 
lang=en-us></SPAN><SPAN lang=en-us> <FONT face=Arial size=2>"</FONT></SPAN><SPAN 
lang=en-us></SPAN><SPAN lang=en-us><FONT face=Arial size=2>U</FONT></SPAN><SPAN 
lang=en-us></SPAN><SPAN lang=en-us><FONT face=Arial 
size=2>serID</FONT></SPAN><SPAN lang=en-us></SPAN><SPAN lang=en-us><FONT 
face=Arial size=2>"</FONT></SPAN><SPAN lang=en-us></SPAN><SPAN lang=en-us><FONT 
face=Arial size=2> import parameter that is not defined in the task 
method.</FONT></SPAN><SPAN lang=en-us></SPAN><SPAN lang=en-us></SPAN></P>
<P align=left><SPAN lang=en-us><FONT face=Arial size=2>The 
documentation</FONT></SPAN><SPAN lang=en-us></SPAN><SPAN lang=en-us> <FONT 
face=Arial size=2>(shown below)</FONT></SPAN><SPAN lang=en-us></SPAN><SPAN 
lang=en-us> <FONT face=Arial size=2>states that the Before methods are given the 
method container of the task<SPAN></SPAN> </FONT></SPAN><SPAN 
lang=en-us></SPAN><SPAN lang=en-us><FONT face=Arial 
size=2>method</FONT></SPAN><SPAN lang=en-us></SPAN><SPAN lang=en-us><FONT 
face=Arial size=2></FONT></SPAN><SPAN lang=en-us></SPAN><SPAN lang=en-us> <FONT 
face=Arial size=2>but</FONT></SPAN><SPAN lang=en-us></SPAN><SPAN lang=en-us> 
<FONT face=Arial size=2>I wonder how to</FONT></SPAN><SPAN 
lang=en-us></SPAN><SPAN lang=en-us> <FONT face=Arial size=2>pass 
a</FONT></SPAN><SPAN lang=en-us></SPAN><SPAN lang=en-us><FONT face=Arial 
size=2>dditional</FONT></SPAN><SPAN lang=en-us></SPAN><SPAN lang=en-us><FONT 
face=Arial size=2> import parameter</FONT></SPAN><SPAN lang=en-us></SPAN><SPAN 
lang=en-us><FONT face=Arial size=2>/s</FONT></SPAN><SPAN lang=en-us></SPAN><SPAN 
lang=en-us><FONT face=Arial size=2> of the Before method that</FONT></SPAN><SPAN 
lang=en-us></SPAN><SPAN lang=en-us> <FONT face=Arial size=2>is 
NOT</FONT></SPAN><SPAN lang=en-us></SPAN><SPAN lang=en-us><FONT face=Arial 
size=2> defined in the task method.</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT size=2>Thanks for 
reading,</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><FONT size=2>Raul</FONT></SPAN></P>
<P align=left><SPAN lang=en-us><B>Data transfer into and out of the 
methods</B></SPAN></P>
<P align=left><SPAN lang=en-us>There is no separate binding between task 
container and method container for these methods. </SPAN></P>
<P align=left><SPAN lang=en-us>The methods are given the method container of the 
task method. If no binding is defined between the task and the method, the 
system passes the task container.</SPAN></P></DIV></BODY></HTML>

** NOTE: Graybar e-mail addresses now end with @graybar.com - please update your contact information accordingly. **