<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi Rick<BR>
&nbsp;<BR>
Thanks&nbsp;for the quick reply.<BR>
&nbsp;<BR>
I created the object reference using the&nbsp;wizard for SYSTEM method GENERICINSTANTIATE, as you stated below.<BR>
This gives the object reference in&nbsp;my workflow container.<BR>
&nbsp;<BR>
I also gave it some 'initial values' in the workflow&nbsp;container for the key as well.&nbsp; However it does not get instantiated.&nbsp; I tried to assign it values in a container operation but the system doesn't allow that.<BR>
&nbsp;<BR>
On my next step I tried to read&nbsp;other&nbsp;attributes, but&nbsp;it gives&nbsp;blank&nbsp;values, and when I check the container&nbsp;in the test tool it states its not&nbsp;instantiated.<BR>
&nbsp;<BR>
Any ideas why its not instantiated?<BR>
&nbsp;<BR>
Thanks<BR>
Sunni<BR>
&nbsp;<BR>
<BR>&nbsp;<BR>&gt; From: rbakker@gmail.com<BR>&gt; Date: Mon, 18 Jan 2010 13:19:31 -1000<BR>&gt; Subject: Re: Easy way to get object (database) attribute in to workflow<BR>&gt; To: sap-wug@mit.edu<BR>&gt; <BR>&gt; Hello,<BR>&gt; <BR>&gt; "I have copied a business object in swo1 and added some new database<BR>&gt; attributes in to it."<BR>&gt; Was that really necessary? With subtypes and delegation you could just<BR>&gt; add attributes to the existing BO.<BR>&gt; <BR>&gt; "Please can you give me an idea of how I would now get these<BR>&gt; attributes in to my workflow."<BR>&gt; Is it an existing workflow? Is it the main object of that workflow? If<BR>&gt; so, you don't have to do much, just reference the new attributes - if<BR>&gt; you use delegation.<BR>&gt; <BR>&gt; Otherwise, you would have to create a task to instantiate the object<BR>&gt; (using SYSTEM method GENERICINSTANTIATE) call that task in a workflow<BR>&gt; step and pass the object instance to the workflow. That's more<BR>&gt; flexible than passing separate attributes.<BR>&gt; <BR>&gt; regards<BR>&gt; Rick Bakker<BR>&gt; Hanabi Technology<BR>&gt; <BR>&gt; <BR>&gt; On Mon, Jan 18, 2010 at 12:46 PM, Shoaib Mirza &lt;shoaib_mirza@hotmail.com&gt; wrote:<BR>&gt; &gt; Hi<BR>&gt; &gt; Urgent fix required for a customer.<BR>&gt; &gt; I have copied a business object in swo1 and added some new database<BR>&gt; &gt; attributes in to it. I've been away from workflow for a while so I'm a<BR>&gt; &gt; little rusty!<BR>&gt; &gt;<BR>&gt; &gt; Please can you give me an idea of how I would now get these attributes in to<BR>&gt; &gt; my workflow.&nbsp;I know I have to instantiate the object so, do I have to also<BR>&gt; &gt; create a method, instantiate&nbsp;in the method,&nbsp;and then pass the attribute<BR>&gt; &gt; values in to the result parameter in this method; and then bind to wf<BR>&gt; &gt; container elements?<BR>&gt; &gt;<BR>&gt; &gt; Thanks<BR>&gt; &gt; Sunni<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; ________________________________<BR>&gt; &gt; We want to hear all your funny, exciting and crazy Hotmail stories. Tell us<BR>&gt; &gt; now<BR>&gt; &gt; _______________________________________________<BR>&gt; &gt; SAP-WUG mailing list<BR>&gt; &gt; SAP-WUG@mit.edu<BR>&gt; &gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; SAP-WUG mailing list<BR>&gt; SAP-WUG@mit.edu<BR>&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<BR>                                               <br /><hr />Do you want a Hotmail account? <a href='http://clk.atdmt.com/UKM/go/197222280/direct/01/' target='_new'>Sign-up now - Free</a></body>
</html>