<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.3790.1830" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=446120805-06102006><FONT face=Arial
color=#0000ff size=2>Renier,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=446120805-06102006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=446120805-06102006><FONT face=Arial
color=#0000ff size=2>If I'm reading your question correctly you should be able
to do something like this...</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=446120805-06102006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=446120805-06102006><FONT face=Arial
color=#0000ff size=2>DATA: material TYPE swc_object,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=446120805-06102006><FONT face=Arial
color=#0000ff size=2>purchaseorder TYPE swc_object,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=446120805-06102006><FONT face=Arial
color=#0000ff size=2>vendor TYPE swc_object.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=446120805-06102006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=446120805-06102006><FONT face=Arial
color=#0000ff size=2>swc_get_property self 'zMaterialAttribute'
material.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=446120805-06102006><FONT face=Arial
color=#0000ff size=2>swc_get_property material 'zPurchaseOrderAttribute'
purchaseorder.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=446120805-06102006><FONT face=Arial
color=#0000ff size=2>swc_get_property purchaseorder 'zVendorAttribute'
vendor.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=446120805-06102006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=446120805-06102006><FONT face=Arial
color=#0000ff size=2>You now have the vendor object attribute from the
associated PO in your local vendor variable.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=446120805-06102006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=446120805-06102006><FONT face=Arial
color=#0000ff size=2>Thanks,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=446120805-06102006><FONT face=Arial
color=#0000ff size=2>Seth</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=446120805-06102006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr align=left><FONT face=Tahoma size=2><B>From:</B>
sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of
</B>Renier Walters<BR><B>Sent:</B> Thursday, October 05, 2006 6:32
PM<BR><B>To:</B> sap-wug@mit.edu<BR><B>Subject:</B> Object Type
Attributes<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2><SPAN class=126081023-05102006>I have created ZVBAP
object and delegated from VBAP object. Within the ZVBAP object I have
Object MATERIAL(BUS1001). Now within the MATERIAL object exists a
PURCHASEORDER(BUS2012) object. Say for arguments sake I would like to grab
the Vendor attribute within the PURCHASEORDER object. </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=126081023-05102006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=126081023-05102006>How many levels
deep can I access these values in the imbedded objects and how do I access
these values in any of the methods in my ZVBAP object?</SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=126081023-05102006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=126081023-05102006>Do I use
SWC_GET_ELEMENT CONTAINER or SWC_GET_PROPERTY SELF etc in my method. I am
not sure what the ABAP syntax should look like.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=126081023-05102006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=126081023-05102006>Any help would be
appreciated.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=126081023-05102006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=126081023-05102006>Thanks in
advance,<BR>Renier</SPAN></FONT></DIV></BODY></HTML>
<HTML><BODY>*Please note my E-Mail Address has changed. Please<br>
update your contact list*<br>
<br><br><br>
<P><hr size=1></P><br>
<P><STRONG><br>
Anadarko Confidentiality Notice: <br>
This electronic transmission and any attached documents or other<br>
writings are intended only for the person or entity to which it is<br>
addressed and may contain information that is privileged,<br>
confidential or otherwise protected from disclosure. If you have<br>
received this communication in error, please immediately notify<br>
sender by return e-mail and destroy the communication. Any<br>
disclosure, copying, distribution or the taking of any action<br>
concerning the contents of this communication or any attachments by<br>
anyone other than the named recipient is strictly prohibited.<br>
</STRONG></P></BODY></HTML>