<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1255">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=209382606-25032007><FONT face=Arial color=#0000ff 
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=209382606-25032007><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=209382606-25032007><FONT face=Arial color=#0000ff size=2>If I 
understand your question, you should pass a business object to the WI_OBJECT_ID 
and not just a number.</FONT></SPAN></DIV>
<DIV><SPAN class=209382606-25032007><FONT face=Arial color=#0000ff size=2>The 
way to do this will be to create a background task that will create an instance 
of the object, using SYSTEM.GenericInstantiate method, you have a wizard in the 
WF builder to help you do this. Once you run this task you will have a container 
object filled with the object ref. that you can pass to the new 
task.</FONT></SPAN></DIV>
<DIV><SPAN class=209382606-25032007><FONT face=Arial color=#0000ff size=2>Good 
luck,</FONT></SPAN></DIV>
<DIV><SPAN class=209382606-25032007><FONT face=Arial color=#0000ff 
size=2>Ronen</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> 
  sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of 
  </B>Schmidt, Jake (SN)<BR><B>Sent:</B> Saturday, March 24, 2007 8:36 
  PM<BR><B>To:</B> sap-wug@mit.edu<BR><B>Subject:</B> Container 
  Question<BR><BR></FONT></DIV>
  <DIV><SPAN class=724202118-24032007><FONT face=Arial size=2>I've added an 
  attribute on BUS1012 to get the change number that was used to edit the header 
  section of a routing.&nbsp; At runtime the change number is in BUS1012 in my 
  container, at the end of my workflow I'd like to execute a method to close the 
  change number.&nbsp; The method I'd like to use is in ECM (ECM is the Bus 
  Object for change numbers) and of course I want to edit the change 
  number.&nbsp; My problem is that I can't pass 
  &amp;BUS1012.CHANGENUMBER&amp;&nbsp;into the &nbsp;&amp;_WI_OBJECT_ID&amp; for 
  a Task dealing with Bus Object ECM method = edit. I get an error saying "An 
  object compatible with '[BO.ECM]' was expected as the source expression" 
  </FONT></SPAN></DIV>
  <DIV><SPAN class=724202118-24032007><FONT face=Arial size=2>This same error 
  arises if I try to use a container operation to do the same 
  thing.</FONT></SPAN></DIV>
  <DIV><SPAN class=724202118-24032007><FONT face=Arial 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=724202118-24032007><FONT face=Arial size=2>How can we pass 
  attributes of one Bus Object into other Bus Objects?? In this case the 
  attribute I'm trying to pass is the keyfield for Bus Object 
  ECM.</FONT></SPAN></DIV>
  <DIV><SPAN class=724202118-24032007><FONT face=Arial 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=724202118-24032007><FONT face=Arial size=2>Jake 
  Schmidt</FONT></SPAN></DIV>
  <DIV><SPAN class=724202118-24032007><FONT face=Arial size=2>Spirit 
  AeroSystems</FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>