<div>Hi Paul,</div>
<div> </div>
<div>This is currently a feature of workflow in OO but currently there seems to be no clear reason for this. Unless, Jocelyn et al, I am mistaken? </div>
<div> </div>
<div>Cheers,</div>
<div>Neil. <br></div>
<div class="gmail_quote">2009/3/11 <span dir="ltr">&lt;<a href="mailto:Paul.Bakker@osr.treasury.qld.gov.au">Paul.Bakker@osr.treasury.qld.gov.au</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>Hi,<br><br>I have a simple question:<br><br>  Why are &#39;exporting&#39; parameters NOT passed back from an OO method call to<br>
the workflow?<br><br>We have this setup:<br><br>A custom OO method exports table ET_MESSAGES -&gt; binds to Task container  -&gt;<br>binds to Workflow container<br><br>The problem: the method is populating ET_MESSAGES, but it<br>
is NOT being passed back to the task (or the workflow). So the workflow log<br>cannot tell us whether the method succeeded or not.<br><br>In debug I found out the reason why. The SAP function module<br>SWF_UTL_INVOKE_CLIF_METHOD seems to be checking all method<br>
parameters, and passing back only those that are of type<br>&#39;RETURNING&#39;.<br><br>Whereas my parameter ET_MESSAGES is of type &#39;EXPORTING&#39;.<br><br>When I change it to &#39;RETURNING&#39;, it works.<br><br>Is this a bug or a feature? Or am I doing something wrong??<br>
<br>thanks in advance!<br>Paul<br><br>(PS We&#39;re on ECC 6.0. I have searched OSS and WUG but found nothing. SDN is<br>down.)<br><br><br>******************************************************************************************************************************************************<br>
<br>Only an individual or entity who is intended to be a recipient of this e-mail may access or use the information contained in this e-mail or any of its attachments.  Opinions contained in this e-mail or any of its attachments do not necessarily reflect the opinions of Queensland Treasury.<br>
<br>The contents of this e-mail and any attachments are confidential and may be legally privileged and the subject of copyright.  If you have received this e-mail in error, please notify Queensland Treasury immediately and erase all copies of the e-mail and the attachments.  Queensland Treasury uses virus scanning software.  However, it is not liable for viruses present in this e-mail or in any attachment.<br>
<br>******************************************************************************************************************************************************<br><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></blockquote></div><br><br clear="all">
<br>-- <br>Neil Gardiner<br>Mob: +61 421 451 295<br>