<div>G'day Josie,</div>
<div>&nbsp;</div>
<div>You don't set an Object Instance's attributes when you create it, you create the Instance and it determines the values of it's attributes internally. All you need to create an instance is the object type and the key. The code behind the object must then be able to determine the value of all attributes based on the key.
</div>
<div>&nbsp;</div>
<div>If you're not happy with what attributes BUS7022 has then you'll need to create a subtype, extend the subtype and then delegate to it.</div>
<div>&nbsp;</div>
<div>I've just had a look and I'm not at all familar with that particular object. The fact that it uses a Workitem ID as a key means that finding the key to pass when instanciating may not be straight forward. Is anyone familiar with BUS7022??
</div>
<div>&nbsp;</div>
<div>Good luck,</div>
<div>Mark<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 12/13/05, <b class="gmail_sendername">Josie Henriques</b> &lt;<a href="mailto:jhenriques_procwork@timbrasil.com.br">jhenriques_procwork@timbrasil.com.br</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Thank you Flavio<br><br>It has helped me a lot. I could get an object's attribute but I now don´t know how to set these values in the object I'm creating. I'ts a different object from the one I'm using in my WF.
<br><br>Josie de Assis Francisco Henriques<br>Consultora ABAP<br>Aspen / Procwork<br>Tel.: 21 82087663<br><br>-----Original Message-----<br>From: <a href="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</a> [mailto:
<a href="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</a>] On Behalf Of Flavio Oliveira<br>Sent: terça-feira, 13 de dezembro de 2005 17:06<br>To: <a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a><br>Subject: RE: Once again fill/create object
<br><br>Josie:<br><br>Try to take a look at the online help. You will find all information you<br>need:<br><br><a href="http://help.sap.com/saphelp_47x200/helpdata/en/c5/e4acd5453d11d189430000e829fbbd/frameset.htm">http://help.sap.com/saphelp_47x200/helpdata/en/c5/e4acd5453d11d189430000e829fbbd/frameset.htm
</a><br><br>Flavio.<br><br><br>&gt;From: &quot;Josie Henriques&quot; &lt;<a href="mailto:jhenriques_procwork@timbrasil.com.br">jhenriques_procwork@timbrasil.com.br</a>&gt;<br>&gt;Reply-To: &quot;SAP Workflow Users' Group&quot; &lt;
<a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>&gt;<br>&gt;To: &quot;SAP Workflow Users' Group&quot; &lt;<a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>&gt;<br>&gt;Subject: Once again fill/create object<br>&gt;Date: Tue, 13 Dec 2005 16:37:53 -0200
<br>&gt;<br>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp; I need to create an object (BUS7022) but its attributes will be filled<br>&gt;with data from 3 objects.<br>&gt;<br>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp; Does anyone has some code sample to send for me? With swc_ate_object,
<br>&gt;swc_set_element and others statements?<br>&gt;<br>&gt;<br>&gt;<br>&gt;thanks<br>&gt;<br>&gt;<br>&gt;<br>&gt;Josie de Assis Francisco Henriques<br>&gt;<br>&gt;Consultora ABAP<br>&gt;<br>&gt;Aspen / Procwork<br>&gt;
<br>&gt;Tel.: 21 82087663<br>&gt;<br>&gt;<br>&gt;<br><br><br>&gt;_______________________________________________<br>&gt;SAP-WUG mailing list<br>&gt;<a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>&gt;<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug">
http://mailman.mit.edu/mailman/listinfo/sap-wug</a><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">
http://mailman.mit.edu/mailman/listinfo/sap-wug</a><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">
http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br></blockquote></div><br>