<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>BOR Types and ABAP Classes</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2627" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=640085615-10062005><FONT face=Arial 
color=#0000ff size=2>The CREATE PRIVATE property means there must be a method 
you can call to create an object of the superclass.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=640085615-10062005><FONT face=Arial 
color=#0000ff size=2>Only protected attributes are available in 
subclasses.</FONT></SPAN></DIV>
<DIV align=left><FONT face=Arial size=2>-- </FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Kjetil Kilhavn, Statoil KTJ IT 
BKS</FONT></DIV>
<DIV>&nbsp;</DIV><BR>
<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>Bibby, 
David<BR><B>Sent:</B> 10. juni 2005 17:36<BR><B>To:</B> SAP Workflow Users' 
Group<BR><B>Subject:</B> BOR Types and ABAP Classes<BR></FONT><BR></DIV>
<DIV></DIV><!-- Converted from text/rtf format -->
<P><FONT face="Trebuchet MS" size=2>Hello All,</FONT> <BR><FONT 
face="Trebuchet MS" size=2>I've never used workflows with ABAP classes before 
but I am currently implementing a SAP standard workflow that uses just such a 
thing.</FONT></P>
<P><FONT face="Trebuchet MS" size=2>However I need to make changes to this 
class.</FONT> <BR><FONT face="Trebuchet MS" size=2>I have created a subclass and 
defined it's superclass as the one the workflow uses.</FONT> <BR><FONT 
face="Trebuchet MS" size=2>However, as the attributes of the superclass are 
Private they seem to be unavailable to my subclass.</FONT> </P>
<P><FONT face="Trebuchet MS" size=2>Also when I try to activate my subclass I 
get the error</FONT> <BR><I><FONT face="Trebuchet MS" size=2>"The superclass has 
the property 'CREATE PRIVATE'. You cannot create an </FONT></I><BR><I><FONT 
face="Trebuchet MS" size=2>instance of the subclass. This can only be changed if 
the subclass is a &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</FONT></I><BR><I><FONT face="Trebuchet MS" size=2>friend of the 
superclass.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"</FONT></I>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </P>
<P><FONT face="Trebuchet MS" size=2>Making the subclass a friend of the 
superclass would be making a SAP modification.</FONT> </P>
<P><FONT face="Trebuchet MS" size=2>As there appears to be no delegation like 
there are with BOR Types, how are we supposed to use/extend standard SAP ABAP 
Classes ?</FONT></P>
<P><FONT face="Trebuchet MS" size=2>Many Thanks</FONT> <BR><FONT 
face="Trebuchet MS" size=2>David</FONT> </P>
<P style="MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0pt"><SPAN 
style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial'">_______________________________________________ 
</SPAN></P>
<P style="MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0pt"><SPAN 
style="FONT-SIZE: 8pt; 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></P>
<P style="MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0pt"><SPAN 
style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial'"></SPAN></P>
<P style="MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0pt"><SPAN 
style="FONT-SIZE: 8pt; 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></P>
<P style="MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0pt"><SPAN 
style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial'"></SPAN></P>
<P style="MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0pt"><SPAN 
style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial'">The registered address of the UK 
partnership of Linklaters is One Silk Street, London, EC2Y 8HQ. Please refer to 
http://www.linklaters.com/regulation for important information on the regulatory 
position of the firm. </SPAN></P><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>