<!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.2900.2995" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=885441108-08122006><FONT face=Arial
color=#0000ff size=2>If it *is* a subtype you should create a subtype. If it
isn't you shouldn't.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=885441108-08122006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=885441108-08122006><FONT face=Arial
color=#0000ff size=2>A horse and a dog has some common
features; having four legs, fur, a tail, and being able to pull a
sled. Dog is not a subtype of a horse. So you should copy the horse object type
to create a new "root" object type for dog (unless they are both defined as
subtypes of e.g. mammal). However, a pony is a subtype of a horse, so you should
create a subtype and definitely not make a copy.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=885441108-08122006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=885441108-08122006><FONT face=Arial
color=#0000ff size=2>In the same manner, even if, say application for vacation
has some common features with application for a new pencil sharpener, they are
completely unrelated. They may both support an interface for applications (which
according to Shai Agassi should have one method: reject), but that is as close
as they get. You create a copy. The problem is of course that in real life it is
sometimes not that easy to determine whether it is a subtype or not, and which
choice makes most sense can depend on your point of view.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=885441108-08122006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=885441108-08122006><FONT face=Arial
color=#0000ff size=2>When it comes to sexiness I'd still vote for Claudia
Schiffer instead of both subtyping and copying, but we all have different
tastes ;-)</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2>-- </FONT></DIV>
<DIV align=left>
<DIV align=left><FONT face=Arial size=2>Kjetil Kilhavn, Statoil OFT GBS
BAS DEV SAP</FONT></DIV></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV><FONT face=Arial
size=2></FONT><FONT face=Arial size=2></FONT><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>Mark Pyc<BR><B>Sent:</B>
Thursday, December 07, 2006 3:33 PM<BR><B>To:</B> SAP Workflow Users'
Group<BR><B>Subject:</B> Re: BOR Creation Vs Copying<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>G'day Nat,</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV>A copy is a static duplicate as at the time you perform the copy. All
code will live inside the copy.</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV>A subtype is a more complex OO concept. In this case it is not a copy,
but an extensible reference to the parent. All the parents code (other than
the definition of the key) remains in the parent objects program and the
subtype simply access it from the there. Any new methods or attributes code
will be in the subtype's program. This way if SAP provides fixes or extensions
to the original object your subtype INSTANTLY has access to those fixes or
extensions. </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV>Subtyping is way sexier than copying!</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV>Have fun,</DIV>
<DIV>Mark<BR><BR> </DIV>
<DIV><SPAN class=gmail_quote>On 12/7/06, <B class=gmail_sendername>Nat 4
Govender</B> <<A
href="mailto:ngovender4@toyota.co.za">ngovender4@toyota.co.za</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV>
<P>Hi all,<BR><BR>What is the difference of creating a subtype of a BO VS
copying a BO?<BR><BR><BR>Regards<BR><BR>Nat Govender<BR>Toyota South
Africa<BR>IT - SAP Workflow Specialist<BR>Internal Ext. : 32645<BR>Direct
Line : +27 031 910 2645 <BR>Fax : +27 031 902 9633<BR>E-mail : <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:ngovender4@toyota.co.za"
target=_blank>ngovender4@toyota.co.za</A><BR><BR>=============================================
<BR>Never test the depth of the water with both feet.
<BR>=============================================</P></DIV>
<DIV><BR><BR>
<HR style="WIDTH: 100%">
<BR>
<P><SMALL>This message is a privileged and private communication<BR>and may
be read,copied and used only by the intended recipient(s).<BR>If you are not
an intended recipient, please let us know by return<BR>email. Please then
delete the message and do not disclose its <BR>contents to any person.
Neither the sender nor Toyota South Africa<BR>Motors accepts any liability
whatsoever as a result of the further<BR>dissemination of this message.
Whilst all reasonable steps are<BR>taken to avoid corruption of data or
information, we do not accept <BR>any liability should such corruption
occur.
</SMALL></P><BR><BR><BR> </DIV><BR>_______________________________________________<BR>SAP-WUG
mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://mailman.mit.edu/mailman/listinfo/sap-wug"
target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR><BR><BR></BLOCKQUOTE></DIV><BR></BLOCKQUOTE><p></p><p><font size=1>-------------------------------------------------------------------<br>The information contained in this message may be CONFIDENTIAL and is<br>intended for the addressee only. Any unauthorised use, dissemination of the<br>information or copying of this message is prohibited. If you are not the<br>addressee, please notify the sender immediately by return e-mail and delete<br>this message.<br>Thank you.</font size></BODY></HTML>