<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Monotype Corsiva";
        panose-1:3 1 1 1 1 2 1 1 1 1;}
@font-face
        {font-family:"Bookman Old Style";
        panose-1:2 5 6 4 5 5 5 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp; Mike&nbsp; <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp; My problem here is, BUS7022
has key WorkitemId, but if I pass the key for it one of its attributes
(Employees) is not created, and I need this attribute.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal><strong><b><font size=3 color=purple face="Monotype Corsiva"><span
lang=PT-BR style='font-size:12.0pt;font-family:"Monotype Corsiva";color:purple'>Josie
de Assis Francisco Henriques</span></font></b></strong><font color=navy><span
lang=PT-BR style='color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#0000a0" face="Bookman Old Style"><span
lang=PT-BR style='font-size:10.0pt;font-family:"Bookman Old Style";color:#0000A0'>Consultora
ABAP</span></font><font color=navy><span lang=PT-BR style='color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><st1:place w:st="on"><st1:City w:st="on"><font size=2
  color="#0000a0" face="Bookman Old Style"><span style='font-size:10.0pt;
  font-family:"Bookman Old Style";color:#0000A0'>Aspen</span></font></st1:City></st1:place><font
size=2 color="#0000a0" face="Bookman Old Style"><span style='font-size:10.0pt;
font-family:"Bookman Old Style";color:#0000A0'> / Procwork</span></font><font
color=navy><span style='color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#0000a0" face="Bookman Old Style"><span
style='font-size:10.0pt;font-family:"Bookman Old Style";color:#0000A0'>Tel.: 21
82087663</span></font><o:p></o:p></p>

</div>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> sap-wug-bounces@mit.edu
[mailto:sap-wug-bounces@mit.edu] <b><span style='font-weight:bold'>On Behalf Of
</span></b>Mark Pyc<br>
<b><span style='font-weight:bold'>Sent:</span></b> quarta-feira, 14 de dezembro
de 2005 08:12<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">SAP
 Workflow Users' Group</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: Once again
fill/create object</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>G'day Josie,<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>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. <o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>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.<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>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?? <o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Good luck,<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Mark<br>
<br>
&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><span class=gmailquote><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>On 12/13/05, <b><span style='font-weight:bold'>Josie
Henriques</span></b> &lt;<a href="mailto:jhenriques_procwork@timbrasil.com.br">jhenriques_procwork@timbrasil.com.br</a>&gt;
wrote:</span></font></span> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>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>
<st1:City w:st="on"><st1:place w:st="on">Aspen</st1:place></st1:City> /
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;<st1:PersonName w:st="on">SAP Workflow Users' Group</st1:PersonName>&quot;
&lt; <a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>&gt;<br>
&gt;To: &quot;<st1:PersonName w:st="on">SAP Workflow Users' Group</st1:PersonName>&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;<st1:City w:st="on"><st1:place w:st="on">Aspen</st1:place></st1:City> /
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><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>