<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=us-ascii">
<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]-->
<title>Message</title>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PostalCode"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="country-region"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="address"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        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:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

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

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Guys,<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'>Most likely you can not instantiate <u>either</u>
class because they are probably both marked as <i><span style='font-style:italic'>Create
Private. </span></i>There is most likely a static method that will return an instance
of the class. Its probably called something like &#8216;GetInstance&#8217;, &#8216;Open&#8217;
or even &#8216;Select&#8217;&#8230; sniff around the class methods you will
find it.<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>

<div>

<p class=MsoNormal><b><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy;font-weight:bold'>Alon Raskin</span></font></b><font
color=navy><span style='color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><b><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy;font-weight:bold'>e: </span></font></b><font
color=navy><span style='color:navy'><a href="mailto:araskin@3i-consulting.com"
title="mailto:araskin@3i-consulting.com"><b><span style='font-weight:bold'>araskin@3i-consulting.com</span></b></a><o:p></o:p></span></font></p>

<p class=MsoNormal><b><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy;font-weight:bold'>w: </span></font></b><font
color=navy><span style='color:navy'><a href="http://www.3i-consulting.com/"
title="http://www.3i-consulting.com/"><b><span style='font-weight:bold'>http://www.3i-consulting.com</span></b></a></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>Bibby, David<br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, June 13, 2005 5:38
AM<br>
<b><span style='font-weight:bold'>To:</span></b> SAP Workflow Users' Group<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: BOR Types and ABAP
Classes</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=2 color=maroon face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:maroon'>Thanks Peter,
I have tried instantiating the superclass by calling the superclasses
constructor method inside my subclasses constructor method but I get the same
error.</span></font><o:p></o:p></p>

</div>

<blockquote style='margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> sap-wug-bounces@mit.edu
[mailto:sap-wug-bounces@mit.edu]<b><span style='font-weight:bold'>On Behalf Of </span></b>Peter
Carroll<br>
<b><span style='font-weight:bold'>Sent:</span></b> 13 June 2005 01:12<br>
<b><span style='font-weight:bold'>To:</span></b> 'SAP Workflow Users' Group'<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: BOR Types and ABAP
Classes</span></font><o:p></o:p></p>

<div>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>David,</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font><font
size=2 color=blue face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:blue'>ABAP objects are much easier to use than the BOR. They are,
however, a bit diferent in that they are alomost OO in nature. The Create
private error simply means that the Superclass has a method to create itself.
This is a mechanism to control the creation of classes. You will find that the
superclass will have a method to allow creation. Simply call this method and it
will return, most likely, a reference to the object you need.</span></font><o:p></o:p></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=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>As for the private attributes - well they
are private to the superclass and you cannot use them. You should really not
need to if the superclass has been designed correctly - you will probably find
that they can be accessed via methods. If you copy the class you can change
anything but this is more than likely not the way to go.</span></font><o:p></o:p></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=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>Regards Peter Carroll</span></font><o:p></o:p></p>

</div>

<blockquote style='margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> sap-wug-bounces@mit.edu
[mailto:sap-wug-bounces@mit.edu] <b><span style='font-weight:bold'>On Behalf Of
</span></b>Bibby, David<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, 10 June 2005 23:36<br>
<b><span style='font-weight:bold'>To:</span></b> SAP Workflow Users' Group<br>
<b><span style='font-weight:bold'>Subject:</span></b> BOR Types and ABAP
Classes</span></font><o:p></o:p></p>

<p><font size=2 face="Trebuchet MS"><span style='font-size:10.0pt;font-family:
"Trebuchet MS"'><!-- Converted from text/rtf format -->Hello All,</span></font>
<br>
<font size=2 face="Trebuchet MS"><span style='font-size:10.0pt;font-family:
"Trebuchet MS"'>I've never used workflows with ABAP classes before but I am
currently implementing a SAP standard workflow that uses just such a thing.</span></font><o:p></o:p></p>

<p><font size=2 face="Trebuchet MS"><span style='font-size:10.0pt;font-family:
"Trebuchet MS"'>However I need to make changes to this class.</span></font> <br>
<font size=2 face="Trebuchet MS"><span style='font-size:10.0pt;font-family:
"Trebuchet MS"'>I have created a subclass and defined it's superclass as the
one the workflow uses.</span></font> <br>
<font size=2 face="Trebuchet MS"><span style='font-size:10.0pt;font-family:
"Trebuchet MS"'>However, as the attributes of the superclass are Private they
seem to be unavailable to my subclass.</span></font> <o:p></o:p></p>

<p><font size=2 face="Trebuchet MS"><span style='font-size:10.0pt;font-family:
"Trebuchet MS"'>Also when I try to activate my subclass I get the error</span></font>
<br>
<i><font size=2 face="Trebuchet MS"><span style='font-size:10.0pt;font-family:
"Trebuchet MS";font-style:italic'>&quot;The superclass has the property 'CREATE
PRIVATE'. You cannot create an </span></font></i><br>
<i><font size=2 face="Trebuchet MS"><span style='font-size:10.0pt;font-family:
"Trebuchet MS";font-style:italic'>instance of the subclass. This can only be
changed if the subclass is a &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font></i><br>
<i><font size=2 face="Trebuchet MS"><span style='font-size:10.0pt;font-family:
"Trebuchet MS";font-style:italic'>friend of the
superclass.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;</span></font></i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<o:p></o:p></p>

<p><font size=2 face="Trebuchet MS"><span style='font-size:10.0pt;font-family:
"Trebuchet MS"'>Making the subclass a friend of the superclass would be making
a SAP modification.</span></font> <o:p></o:p></p>

<p><font size=2 face="Trebuchet MS"><span style='font-size:10.0pt;font-family:
"Trebuchet MS"'>As there appears to be no delegation like there are with BOR
Types, how are we supposed to use/extend standard SAP ABAP Classes ?</span></font><o:p></o:p></p>

<p><font size=2 face="Trebuchet MS"><span style='font-size:10.0pt;font-family:
"Trebuchet MS"'>Many Thanks</span></font> <br>
<font size=2 face="Trebuchet MS"><span style='font-size:10.0pt;font-family:
"Trebuchet MS"'>David</span></font> <o:p></o:p></p>

<p style='margin:0in;margin-bottom:.0001pt'><font size=1 face=Arial><span
style='font-size:8.0pt;font-family:Arial'>_______________________________________________
</span></font><o:p></o:p></p>

<p style='margin:0in;margin-bottom:.0001pt'><font size=1 face=Arial><span
style='font-size:8.0pt;font-family:Arial'>This message is confidential. It may
also be privileged or otherwise protected by work product immunity or other
legal rules. If you have received it by mistake please let us know by reply and
then delete it from your system; you should not copy it or disclose its
contents to anyone. All messages sent to and from Linklaters may be monitored
to ensure compliance with internal policies and to protect our business. Emails
are not secure and cannot be guaranteed to be error free as they can be
intercepted, amended, lost or destroyed, or contain viruses. Anyone who
communicates with us by email is taken to accept these risks. </span></font><o:p></o:p></p>

<p style='margin:0in;margin-bottom:.0001pt'><font size=1 face=Arial><span
style='font-size:8.0pt;font-family:Arial'>The contents of any email addressed
to our clients are subject to our usual terms of business; anything which does
not relate to the official business of the firm is neither given nor endorsed
by it. </span></font><o:p></o:p></p>

<p style='margin:0in;margin-bottom:.0001pt'><font size=1 face=Arial><span
style='font-size:8.0pt;font-family:Arial'>The registered address of the <st1:country-region
w:st="on"><st1:place w:st="on">UK</st1:place></st1:country-region> partnership
of Linklaters is <st1:address w:st="on"><st1:Street w:st="on">One Silk Street</st1:Street>,
 <st1:City w:st="on">London</st1:City>, <st1:PostalCode w:st="on">EC2Y 8HQ</st1:PostalCode></st1:address>.
Please refer to http://www.linklaters.com/regulation for important information
on the regulatory position of the firm. </span></font><o:p></o:p></p>

</blockquote>

</blockquote>

</div>

</body>

</html>