Difference between Business object method and ABAP class methods in atask

John White JWhite at sauder.com
Tue Jun 19 16:52:57 EDT 2007


I don't know the answer, but here is what I found on SDN. My experience
has only been with BOR object, creating new, and extending existing
ones. Hope this helps!
 
BOR objects is the category that have been around for a long time, while
CL is a (relatively) new possibility. You should use whatever is more
practical in each case. For instance, if you are working with employees
and everything you need is in BOR object BUS1065 it makes sense to use
that BOR object. If you find a class that has everything you need it
makes (even more) sense to use that.

If you have to create a completely new object type you should try to
create a class instead of a new BOR object. If you simply need a little
bit of additional functionality or a new virtual attribute, my
recommendation would be to extend the object type that exists instead of
trying to create a class that extends a BOR object. 
 
and,
ABAP CLASS
Template for objects in ABAP Objects. Defined using CLASS - ENDCLASS
either globally in a class pool or locally in another ABAP program. The
definition of a class is made up of a declaration section for the
declaration of theclass components and animplementation section for the
implementation of the methods.
BOR-OBJECT TYPES
mySAP Technology service and directory of all object types (business
object types, organization object types and technical object types) in
hierarchical order.
The object types are each assigned to a packet (and thus indirectly also
to an application component).
Directory of all object types in hierarchical order.
The object types are each assigned a development class (and thus
indirectly also to an application component).
 

________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Albina Fernando
Sent: Monday, June 18, 2007 1:41 PM
To: sap-wug at mit.edu
Subject: Difference between Business object method and ABAP class
methods in atask


Hi,
 
  Can anyone tell me the difference between using Business Object method
and Class methods in the tasks of the Workflow. For eg. When creating a
task we have 2 options. Either Assign a Business Object method or a ABAP
Object class method. So I need to know the difference between the two.
And also the advantages of using the two...
  Thanks a lot for all ur support.
 
Thanks
Albina


This email may contain confidential or privileged information for the
intended recipient(s). If you are not the intended recipient, please do
not use or disseminate the information, notify the sender and delete it
from your system. Thanks

______________________________________________________________________






-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

This e-mail and any files transmitted with it may
contain privileged, confidential, or proprietary information
which may be protected from disclosure under law, and is
intended solely for the use of the individual, group, or entity
to whom this e-mail is addressed.  If you are not one of the
named recipients, please notify the sender by e-mail and
delete this message immediately from your computer.  Any
other use, retention, dissemination, forwarding, printing, or
copying of this e-mail is strictly prohibited.  Thank you for
your assistance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20070619/37dfffa3/attachment.htm


More information about the SAP-WUG mailing list