Delegation & Inheritance

Dart, Jocelyn jocelyn.dart at sap.com
Tue Jul 10 21:11:06 EDT 2001


Hi Jeffrey,
I agree with Alon/Uli that you use the supertype.
For exactly the reasons both of them give.
 
Sometimes the R/3 documentation can be a little hard to decipher
(especially when it talks about very academic concepts) but
using the supertype is what you are expected to do. And that is how
it was taught to me and how I always taught it (when I was
still a workflow instructor) and used it.
 
I also found this quote in the R/3 library documentation of 4.6c
"In all SAP Business Workflow definition tools, you must still use the "old"
object type (supertype). However, when the definition is read and evaluated
(at runtime, for F4 input help, and so on), the definition of the delegation
type (subtype) is used."
It came from the workflow programming tutorial, section "Extending object
types: Inheritance and Delegation".
 
Regards,
        Jocelyn Dart
Consultant (EBP, BBP, Ecommerce, Internet Transaction Server, Workflow)
SAP Australia
Email jocelyn.dart at sap.com <mailto:jocelyn.dart at sap.com>
Tel: +61 412 390 267
Fax: +61 2 9935 4880
 
 
-----Original Message-----
From: Raskin, Alon (Soliance) [mailto:ARaskin at cps-satx.com]
Sent: Wednesday, 11 July 2001 1:41 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Delegation & Inheritance
 
 
Hi Jeffrey,
 
This is just my personal approach. I make it a rule to always use the super
type. I do not reference the 'Z' object anywhere in any of my container
elements/methods/attributes etc. This is because (through delegation) I can
access all the 'Z' methods/attributes/events while still maintaining
compatibilities with any SAP delivered methods/tasks.
 
I have not seen any SAP documentation on this.
 
Alon Raskin
Workflow Advisor - Soliance
 
 -----Original Message-----
From:   Jeffrey Rappaport [mailto:jeffrey.rappaport at mail.com]
Sent:   July 10 2001 10:31
To:     SAP-WUG at MITVMA.MIT.EDU
Subject:        Delegation & Inheritance
 
Hey All,
 
    Quick question, I'm trying to find some documentation on this. What
would be the differences & advantages/diadvantages between using the
supertype or subtype, for the object type in the WF event trigger & task
object method??
 
Thanx,
 
Jeffrey A. Rappaport
Business Workflow, LLC
Email: BusinessWorkflow at Consultant.com
Web: www.Business-Workflow.com
--
 
_______________________________________________
FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
 
FREE PC-to-Phone calls with Net2Phone
http://www.net2phone.com/cgi-bin/link.cgi?121
 


More information about the SAP-WUG mailing list