<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hi Carol,<BR>
&nbsp;<BR>
We've recently hit the same bug in our upgrade testing too.<BR>
&nbsp;<BR>
My initial hunch was to check whether all of the mandatory importing parameters were being passed to the method, as ECC 6 is a lot stricter about that sort of thing. <BR>
&nbsp;<BR>
In our case our 4.6c Task binding is trying to send through an initialised container element called &amp;FALSE&amp; (which was a BOOLE-BOOLE that had not been set by any container operation). <BR>
&nbsp;<BR>
In the actual binding for the errored steps for this Workflow in ECC 6 I checked&nbsp;SWW_CONT and could not find an entry for the mandatory parameter this was supposed to be passed to.<BR>
&nbsp;<BR>
Interestingly in another step of another Workflow we know this method works fine if proper fixed values are passed, e.g. constant of 'X'.<BR>
&nbsp;<BR>
Consequently I suspect that an initialised field binding like this doesn't quite work anymore. I haven't had time yet to check OSS but maybe you could have a peek at your binding to see if this sounds similar?<BR>
&nbsp;<BR>
Mike GT<BR><BR>

<HR>
<BR>
From: C.L.Gordon@newcastle.ac.uk<BR>To: sap-wug@mit.edu<BR>Date: Wed, 6 Aug 2008 12:39:00 +0100<BR>Subject: After ECC 6.0 upgrade - OL383 Source and target structure have a different number of fields<BR><BR><BR>
<META content="Microsoft SafeHTML" name=Generator>
<DIV><FONT face=Arial><FONT size=2><SPAN class=EC_298031511-06082008>Hi All,</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=EC_298031511-06082008></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=EC_298031511-06082008>I'm quite new to workflow&nbsp;and have a bespoke task (created by a consultant who has now left) which is failing in workflow after the Upgrade to ECC 6.0.</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=EC_298031511-06082008></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=EC_298031511-06082008>The task is based on a subtype of BUS2089 </SPAN></FONT></FONT><FONT face=Arial><FONT size=2><SPAN class=EC_298031511-06082008>EmployeeTrip, and calls a bespoke Function Module as a wrapper for SAP_WAPI_SUBSTITUTES_GET to determine the substitutes for a task&nbsp;agent.</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=EC_298031511-06082008><FONT color=#0000ff size=1><FONT color=#0000ff size=1><FONT color=#000000 size=2></FONT></FONT></FONT></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=EC_298031511-06082008>It works fine in 4.72.</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=EC_298031511-06082008></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=EC_298031511-06082008>I've tested both the standard FM, the bespoke FM and the method (via transaction SWO1) and they return expected values, but when I call the task in the WF, it fails on IMPORT_FROM_BOR_CONTAINER with "The source and target structure have a different number of fields" Message no. OL383. </SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=EC_298031511-06082008></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=EC_298031511-06082008>The Step &lt;-&gt; Workflow bindings check out OK.</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=EC_298031511-06082008></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=EC_298031511-06082008>Can anyone advise what the problem is, or point me in the direction of how to investigate further,</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=EC_298031511-06082008></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=EC_298031511-06082008>Many thanks</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=EC_298031511-06082008>Carol Gordon</SPAN></FONT></FONT></DIV><BR>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV><br /><hr />Make a mini you on Windows Live Messenger! <a href='http://clk.atdmt.com/UKM/go/107571437/direct/01/' target='_new'>Try it Now!</a></body>
</html>