BOR Types and ABAP Classes

Kjetil Kilhavn KJETILK at statoil.com
Fri Jun 10 11:57:07 EDT 2005


The CREATE PRIVATE property means there must be a method you can call to
create an object of the superclass.
Only protected attributes are available in subclasses.
-- 
Kjetil Kilhavn, Statoil KTJ IT BKS
 

________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Bibby, David
Sent: 10. juni 2005 17:36
To: SAP Workflow Users' Group
Subject: BOR Types and ABAP Classes



Hello All, 
I've never used workflows with ABAP classes before but I am currently
implementing a SAP standard workflow that uses just such a thing.

However I need to make changes to this class. 
I have created a subclass and defined it's superclass as the one the
workflow uses. 
However, as the attributes of the superclass are Private they seem to be
unavailable to my subclass. 

Also when I try to activate my subclass I get the error 
"The superclass has the property 'CREATE PRIVATE'. You cannot create an 
instance of the subclass. This can only be changed if the subclass is a

friend of the superclass.       "       

Making the subclass a friend of the superclass would be making a SAP
modification. 

As there appears to be no delegation like there are with BOR Types, how
are we supposed to use/extend standard SAP ABAP Classes ?

Many Thanks 
David 

_______________________________________________ 

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.


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. 

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. 



-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20050610/9927e3ca/attachment.htm


More information about the SAP-WUG mailing list