<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=021370310-21072005><FONT face=Arial
color=#0000ff size=2>As suggested in a previous answer I believe it is because
in 99,99999% of the workflow instances the processing time of the multistep task
will prohibit the function from waiting for a response which includes exporting
parameters. Thus there isn't really any incentive to implement support - which
would imply an analysis of the workflow to determine if it is all batch with
immediate execution.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=021370310-21072005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=021370310-21072005><FONT face=Arial
color=#0000ff size=2>Perhaps you could hope to receive the exporting parameters
if it was a single-step task you started instead of a multi-step
task.</FONT></SPAN></DIV>
<DIV align=left><FONT face=Arial size=2>-- </FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Kjetil Kilhavn, Statoil KTJ IT
BKS</FONT></DIV>
<DIV> </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>Alon Raskin<BR><B>Sent:</B>
21. juli 2005 10:46<BR><B>To:</B> 'SAP Workflow Users' Group'<BR><B>Subject:</B>
RE: SWW_WI_START_SIMPLE container (back on subject)<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=041344408-21072005><FONT color=#000080>Actually not the way I
expected to. I ran the workflow synchronously but the container did not contain
the EXPORTING parameters like I expected that it would. So, I just used the WAPI
to read the result.</FONT></SPAN></DIV>
<DIV><SPAN class=041344408-21072005><FONT
color=#000080></FONT></SPAN> </DIV>
<DIV><SPAN class=041344408-21072005><FONT color=#000080>Anyone know what
happened to my EXPORTING container params? I am curious....</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><STRONG>Alon Raskin</STRONG></DIV>
<DIV dir=ltr align=left><STRONG>e: </STRONG><A
href="mailto:araskin@3i-consulting.com"><STRONG>araskin@3i-consulting.com</STRONG></A></DIV>
<DIV dir=ltr align=left><STRONG>p: +61 3 9625 2189 (Head Office)</STRONG></DIV>
<DIV dir=ltr align=left><STRONG>f: +61 3 8610 1239 </STRONG></DIV>
<DIV dir=ltr align=left><STRONG>c: +1 207 756 0370</STRONG></DIV>
<DIV dir=ltr align=left><STRONG>w: </STRONG><A
href="http://www.3i-consulting.com/"><STRONG>http://www.3i-consulting.com</STRONG></A></DIV>
<DIV> </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>Kjetil
Kilhavn<BR><B>Sent:</B> Thursday, July 21, 2005 1:57 AM<BR><B>To:</B> SAP
Workflow Users' Group<BR><B>Subject:</B> RE: SWW_WI_START_SIMPLE container (back
on subject)<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=626165605-21072005><FONT face=Arial
color=#0000ff size=2>Does that mean that you actually *did* manage to get
container values back to the function?</FONT></SPAN></DIV>
<DIV align=left><FONT face=Arial size=2>-- </FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Kjetil Kilhavn, Statoil KTJ IT
BKS</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV><FONT face=Arial
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>Alon Raskin<BR><B>Sent:</B>
20. juli 2005 19:07<BR><B>To:</B> SAP Workflow Users' Group<BR><B>Subject:</B>
RE: SWW_WI_START_SIMPLE container( off subject )<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV id=idOWAReplyText66864 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hi Nate,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>You are right. Maybe it should not have
been implemented as a WF. However this was beyond my control. </FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>I just wanted to see if it was possible
(and it was).</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT> </DIV></DIV>
<DIV id=idSignature23366 dir=ltr>
<DIV><FONT face=Arial color=#000000 size=2>
<DIV dir=ltr align=left><STRONG>
<DIV dir=ltr align=left><STRONG>Alon Raskin</STRONG></DIV>
<DIV dir=ltr align=left><STRONG>e: </STRONG><A
href="mailto:araskin@3i-consulting.com"
target=_blank><STRONG>araskin@3i-consulting.com</STRONG></A></DIV>
<DIV dir=ltr align=left>
<DIV dir=ltr align=left><STRONG></STRONG></DIV><STRONG>p: +1 207 756
0370</STRONG></DIV>
<DIV dir=ltr align=left><STRONG>w: </STRONG><A
href="/exchweb/bin/redir.asp?URL=http://www.3i-consulting.com/"
target=_blank><STRONG>http://www.3i-consulting.com</STRONG></A></DIV></STRONG></DIV></FONT></DIV></DIV>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2></FONT><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu on behalf of
Workflow<BR><B>Sent:</B> Tue 7/19/2005 01:08<BR><B>To:</B> SAP Workflow Users'
Group<BR><B>Subject:</B> AW: SWW_WI_START_SIMPLE container( off subject
)<BR></FONT><BR></DIV>
<DIV dir=ltr>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=053110305-19072005>Alon
</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=053110305-19072005>Have I
understood you correctly, that you've been trying to start a WF
synchronously, execute immediately the different background steps of the
WF with the WF-Initiator and return the results of the container to the
calling context?</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=053110305-19072005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=053110305-19072005>If
this is the case, and no other agents are involved in the process, wouldn't a
simple function call with importing / exporting be much easier to
implement?</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=053110305-19072005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=053110305-19072005>just
thinking out loud</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=053110305-19072005>Nate</SPAN></FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Ursprüngliche Nachricht-----<BR><B>Von:</B>
sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu]<B>Im Auftrag von
</B>Alon Raskin<BR><B>Gesendet:</B> Montag, 18. Juli 2005 20:25<BR><B>An:</B>
sap-wug@mit.edu<BR><B>Betreff:</B> SWW_WI_START_SIMPLE
container<BR><BR></FONT></DIV>
<DIV id=idOWAReplyText90199 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT>I am using FM
SWW_WI_START_SIMPLE to call a synchronous WF (see previous postings earlier
today). Everything seems to be fine but the only thing I noticed is that the
container (table parameter WI_CONTAINER) is empty and does not contain any of
the EXPORTING container parameters.</DIV>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr>I know I can use the WAPI to read the container from the DB but I
was trying to save the hit to the DB and just get the container value back
from the FM. Anyone ever do this in the past?</DIV>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2></FONT> </DIV></DIV>
<DIV id=idSignature38751 dir=ltr>
<DIV><FONT face=Arial color=#000000 size=2>
<DIV dir=ltr align=left><STRONG>
<DIV dir=ltr align=left><STRONG>Alon Raskin</STRONG></DIV>
<DIV dir=ltr align=left><STRONG>e: </STRONG><A
href="mailto:araskin@3i-consulting.com"
target=_blank><STRONG>araskin@3i-consulting.com</STRONG></A></DIV>
<DIV dir=ltr align=left><STRONG>p: +61 3 9625 2189 (Head
Office)</STRONG></DIV>
<DIV dir=ltr align=left><STRONG>f: +61 3 8610 1239 </STRONG></DIV>
<DIV dir=ltr align=left><STRONG>c: +1 207 756 0370</STRONG></DIV>
<DIV dir=ltr align=left><STRONG>w: </STRONG><A
href="/exchweb/bin/redir.asp?URL=http://www.3i-consulting.com/"
target=_blank><STRONG>http://www.3i-consulting.com</STRONG></A></DIV></STRONG></DIV></FONT></DIV></DIV></BLOCKQUOTE></DIV>
<P></P>
<P><FONT
size=1>-------------------------------------------------------------------<BR>The
information contained in this message may be CONFIDENTIAL and is<BR>intended for
the addressee only. Any unauthorised use, dissemination of the<BR>information or
copying of this message is prohibited. If you are not the<BR>addressee, please
notify the sender immediately by return e-mail and delete<BR>this
message.<BR>Thank you.</FONT> </P><p></p><p><font size=1>-------------------------------------------------------------------<br>The information contained in this message may be CONFIDENTIAL and is<br>intended for the addressee only. Any unauthorised use, dissemination of the<br>information or copying of this message is prohibited. If you are not the<br>addressee, please notify the sender immediately by return e-mail and delete<br>this message.<br>Thank you.</font size></BODY></HTML>