Difference between Business object method and ABAP classmethodsin atask

Munday,Sherie J. MUNDAYSJ at airproducts.com
Wed Jun 20 14:31:56 EDT 2007


Mike,
Thanks for the info.  Maybe I'll get brave and stick my big workflow toe
in that end of the pool one day.  :o)
Cheers,
Sherie 

-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Mike Pokraka
Sent: Wednesday, June 20, 2007 12:18 PM
To: SAP Workflow Users' Group
Subject: RE: Difference between Business object method and ABAP
classmethodsin atask

Sherie,

Note Jocelyn's little qualifier there: "...for enhancements". :-)

Creating a class is more painful compared to BOR, but once it's working
and you need to modify/add stuff it very quickly becomes worthwhile. A
bonus (especially for non-programmers) is that you can then go to any
abap developer and ask them to add "a method that rejects item x in the
sales order" to your class - without having to explain a single thing
about workflow.

Both of the above have already come in handy in my own projects and
saved a lot of time.

Oh, and it's also fun; and pleasant to work in a decent editor that has
moved on from the 90's :-) Cheers, Mike

On Wed, June 20, 2007 4:17 pm, Munday,Sherie J. wrote:
> Jocelyn,
> ABAP OO may be better for programmers, but remember there are many 
> workflow developers (like myself) who are Not programmers and thus the

> BOR is simpler for us.
> Cheers,
> Sherie
>
> ________________________________
>
> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On 
> Behalf Of Dart, Jocelyn
> Sent: Wednesday, June 20, 2007 2:24 AM
> To: SAP Workflow Users' Group
> Subject: RE: Difference between Business object method and ABAP 
> classmethodsin atask
>
>
> Hi John,
>
> Actually having worked with both ABAP OO for Workflow and BOR my 
> current opinion is - only use BOR for eventing if you are using - a 
> standard workflow as-is or an event technique that doesn't support OO 
> - like status management events.
>
> Otherwise stick with ABAP OO and link to the existing BOR using an 
> attribute of type SIBFLPORB.
>
> Best of both worlds.  ABAP OO is soooooooooooooooo much easier to use 
> for enhancements.
>
>
> Regards,
> Jocelyn Dart
> Senior Consultant
> SAP Australia Pty Ltd.
> Level 1/168 Walker St.
> North Sydney
> NSW, 2060
> Australia
> T   +61 412 390 267
> M   + 61 412 390 267
> E   jocelyn.dart at sap.com
> http://www.sap.com <http://www.sap.com/>
>
> The information contained in or attached to this electronic 
> transmission is confidential and may be legally privileged. It is 
> intended only for the person or entity to which it is addressed. If 
> you are not the intended recipient, you are hereby notified that any 
> distribution, copying, review, retransmission, dissemination or other 
> use of this electronic transmission or the information contained in it

> is strictly prohibited. If you have received this electronic 
> transmission in error, please immediately contact the sender to 
> arrange for the return of the original documents.
>
> Electronic transmission cannot be guaranteed to be secure and 
> accordingly, the sender does not accept liability for any such data 
> corruption, interception, unauthorized amendment, viruses, delays or 
> the consequences thereof.
>
> Any views expressed in this electronic transmission are those of the 
> individual sender, except where the message states otherwise and the 
> sender is authorized to state them to be the views of SAP AG or any of

> its subsidiaries. SAP AG, its subsidiaries, and their directors, 
> officers and employees make no representation nor accept any liability

> for the accuracy or completeness of the views or information contained

> herein. Please be aware that the furnishing of any pricing 
> information/ business proposal herein is indicative only, is subject 
> to change and shall not be construed as an offer or as constituting a 
> binding agreement on the part of SAP AG or any of its subsidiaries to 
> enter into any relationship, unless otherwise expressly stated.
>
>
>
> ________________________________
>
> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On 
> Behalf Of John White
> Sent: Wednesday, 20 June 2007 6:53 AM
> To: SAP Workflow Users' Group
> Subject: RE: Difference between Business object method and ABAP class 
> methodsin atask
>
>
> 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.
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>


--
Mike Pokraka
Senior Consultant
Workflow Connections
Mobile: +44(0)7786 910855

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug




More information about the SAP-WUG mailing list