<br><font size=2 face="sans-serif">Jocelyn,</font>
<br>
<br><font size=2 face="sans-serif">Time to say thanks to you. After having
read (and trying your example zcl_plant ;)) your first blogs on sdn concerning
abap oo and workflow I'm even more enthusiastic about this topic than I
was before :-)</font>
<br><font size=2 face="sans-serif">Thanks for these blogs, I can't wait
reading the next ones.</font>
<br>
<br><font size=2 face="sans-serif">Warm greetings from austria and,</font>
<br>
<br><font size=2 face="sans-serif">kind regards,<br>
<br>
Christian Wallner<br>
IT Business Process Consultant Development<br>
</font>
<br><font size=2 face="sans-serif">Austria Technologie &amp; Systemtechnik
AG <br>
http://www.ats.net</font>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>&quot;Dart, Jocelyn&quot;
&lt;jocelyn.dart@sap.com&gt;</b> </font>
<br><font size=1 face="sans-serif">Gesendet von: sap-wug-bounces@mit.edu</font>
<p><font size=1 face="sans-serif">21.06.2007 07:18</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Bitte antworten an<br>
&quot;SAP Workflow Users' Group&quot; &lt;sap-wug@mit.edu&gt;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">An</font></div>
<td><font size=1 face="sans-serif">&quot;SAP Workflow Users' Group&quot;
&lt;sap-wug@mit.edu&gt;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Kopie</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Thema</font></div>
<td><font size=1 face="sans-serif">RE: Difference between Business object
method and ABAP classmethodsin &nbsp; &nbsp; &nbsp; &nbsp;atask</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>Mike, <br>
<br>
What are you on about...? More painful to create a class?? <br>
<br>
Methinks someone needs a little practice in ABAP OO if you think<br>
implementing an ABAP OO interface is more painful than learning and<br>
using all those dense little workflow macros.... &nbsp;:-)<br>
<br>
I think ABAP OO is less painful all round... especially since once<br>
you've done one class the IF_WORKFLOW methods <br>
<br>
Also Sherie - appreciate your comments re business analysts doing<br>
workflow, but I have seen some terrible system-destroying things done by<br>
business analysts attempting coding so apologies but it is really better<br>
to leave the coding to the programmers if you can. &nbsp;If not, a basic
ABAP<br>
OO course or following the blogs on SDN should get you going in no time.<br>
You could also get a programmer to do the first class as a template or<br>
even provide a root class that does the hard work for you. &nbsp;<br>
<br>
<br>
Regards,<br>
Jocelyn Dart<br>
Senior Consultant<br>
SAP Australia Pty Ltd.<br>
Level 1/168 Walker St.<br>
North Sydney <br>
NSW, 2060<br>
Australia<br>
T &nbsp; +61 412 390 267<br>
M &nbsp; + 61 412 390 267<br>
E &nbsp; jocelyn.dart@sap.com<br>
http://www.sap.com<br>
<br>
The information contained in or attached to this electronic transmission<br>
is confidential and may be legally privileged. It is intended only for<br>
the person or entity to which it is addressed. If you are not the<br>
intended recipient, you are hereby notified that any distribution,<br>
copying, review, retransmission, dissemination or other use of this<br>
electronic transmission or the information contained in it is strictly<br>
prohibited. If you have received this electronic transmission in error,<br>
please immediately contact the sender to arrange for the return of the<br>
original documents. <br>
Electronic transmission cannot be guaranteed to be secure and<br>
accordingly, the sender does not accept liability for any such data<br>
corruption, interception, unauthorized amendment, viruses, delays or the<br>
consequences thereof.<br>
Any views expressed in this electronic transmission are those of the<br>
individual sender, except where the message states otherwise and the<br>
sender is authorized to state them to be the views of SAP AG or any of<br>
its subsidiaries. SAP AG, its subsidiaries, and their directors,<br>
officers and employees make no representation nor accept any liability<br>
for the accuracy or completeness of the views or information contained<br>
herein. Please be aware that the furnishing of any pricing information/<br>
business proposal herein is indicative only, is subject to change and<br>
shall not be construed as an offer or as constituting a binding<br>
agreement on the part of SAP AG or any of its subsidiaries to enter into<br>
any relationship, unless otherwise expressly stated. <br>
<br>
<br>
-----Original Message-----<br>
From: sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] On Behalf<br>
Of Mike Pokraka<br>
Sent: Thursday, 21 June 2007 2:18 AM<br>
To: SAP Workflow Users' Group<br>
Subject: RE: Difference between Business object method and ABAP<br>
classmethodsin atask<br>
<br>
Sherie,<br>
<br>
Note Jocelyn's little qualifier there: &quot;...for enhancements&quot;.
:-)<br>
<br>
Creating a class is more painful compared to BOR, but once it's working<br>
and you need to modify/add stuff it very quickly becomes worthwhile. A<br>
bonus (especially for non-programmers) is that you can then go to any<br>
abap<br>
developer and ask them to add &quot;a method that rejects item x in the
sales<br>
order&quot; to your class - without having to explain a single thing about<br>
workflow.<br>
<br>
Both of the above have already come in handy in my own projects and<br>
saved<br>
a lot of time.<br>
<br>
Oh, and it's also fun; and pleasant to work in a decent editor that has<br>
moved on from the 90's :-)<br>
Cheers,<br>
Mike<br>
<br>
On Wed, June 20, 2007 4:17 pm, Munday,Sherie J. wrote:<br>
&gt; Jocelyn,<br>
&gt; ABAP OO may be better for programmers, but remember there are many<br>
&gt; workflow developers (like myself) who are Not programmers and thus
the<br>
&gt; BOR is simpler for us.<br>
&gt; Cheers,<br>
&gt; Sherie<br>
&gt;<br>
&gt; ________________________________<br>
&gt;<br>
&gt; From: sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] On<br>
Behalf<br>
&gt; Of Dart, Jocelyn<br>
&gt; Sent: Wednesday, June 20, 2007 2:24 AM<br>
&gt; To: SAP Workflow Users' Group<br>
&gt; Subject: RE: Difference between Business object method and ABAP<br>
&gt; classmethodsin atask<br>
&gt;<br>
&gt;<br>
&gt; Hi John,<br>
&gt;<br>
&gt; Actually having worked with both ABAP OO for Workflow and BOR my<br>
current<br>
&gt; opinion is - only use BOR for eventing if you are using - a standard<br>
&gt; workflow as-is or an event technique that doesn't support OO - like<br>
&gt; status management events.<br>
&gt;<br>
&gt; Otherwise stick with ABAP OO and link to the existing BOR using an<br>
&gt; attribute of type SIBFLPORB.<br>
&gt;<br>
&gt; Best of both worlds. &nbsp;ABAP OO is soooooooooooooooo much easier
to use<br>
&gt; for enhancements.<br>
&gt;<br>
&gt;<br>
&gt; Regards,<br>
&gt; Jocelyn Dart<br>
&gt; Senior Consultant<br>
&gt; SAP Australia Pty Ltd.<br>
&gt; Level 1/168 Walker St.<br>
&gt; North Sydney<br>
&gt; NSW, 2060<br>
&gt; Australia<br>
&gt; T &nbsp; +61 412 390 267<br>
&gt; M &nbsp; + 61 412 390 267<br>
&gt; E &nbsp; jocelyn.dart@sap.com<br>
&gt; http://www.sap.com &lt;http://www.sap.com/&gt;<br>
&gt;<br>
&gt; The information contained in or attached to this electronic<br>
transmission<br>
&gt; is confidential and may be legally privileged. It is intended only
for<br>
&gt; the person or entity to which it is addressed. If you are not the<br>
&gt; intended recipient, you are hereby notified that any distribution,<br>
&gt; copying, review, retransmission, dissemination or other use of this<br>
&gt; electronic transmission or the information contained in it is strictly<br>
&gt; prohibited. If you have received this electronic transmission in<br>
error,<br>
&gt; please immediately contact the sender to arrange for the return of
the<br>
&gt; original documents.<br>
&gt;<br>
&gt; Electronic transmission cannot be guaranteed to be secure and<br>
&gt; accordingly, the sender does not accept liability for any such data<br>
&gt; corruption, interception, unauthorized amendment, viruses, delays
or<br>
the<br>
&gt; consequences thereof.<br>
&gt;<br>
&gt; Any views expressed in this electronic transmission are those of the<br>
&gt; individual sender, except where the message states otherwise and the<br>
&gt; sender is authorized to state them to be the views of SAP AG or any
of<br>
&gt; its subsidiaries. SAP AG, its subsidiaries, and their directors,<br>
&gt; officers and employees make no representation nor accept any liability<br>
&gt; for the accuracy or completeness of the views or information contained<br>
&gt; herein. Please be aware that the furnishing of any pricing<br>
information/<br>
&gt; business proposal herein is indicative only, is subject to change
and<br>
&gt; shall not be construed as an offer or as constituting a binding<br>
&gt; agreement on the part of SAP AG or any of its subsidiaries to enter<br>
into<br>
&gt; any relationship, unless otherwise expressly stated.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ________________________________<br>
&gt;<br>
&gt; From: sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] On<br>
Behalf<br>
&gt; Of John White<br>
&gt; Sent: Wednesday, 20 June 2007 6:53 AM<br>
&gt; To: SAP Workflow Users' Group<br>
&gt; Subject: RE: Difference between Business object method and ABAP class<br>
&gt; methodsin atask<br>
&gt;<br>
&gt;<br>
&gt; I don't know the answer, but here is what I found on SDN. My<br>
experience<br>
&gt; has only been with BOR object, creating new, and extending existing<br>
&gt; ones. Hope this helps!<br>
&gt;<br>
&gt; BOR objects is the category that have been around for a long time,<br>
while<br>
&gt; CL is a (relatively) new possibility. You should use whatever is more<br>
&gt; practical in each case. For instance, if you are working with<br>
employees<br>
&gt; and everything you need is in BOR object BUS1065 it makes sense to
use<br>
&gt; that BOR object. If you find a class that has everything you need
it<br>
&gt; makes (even more) sense to use that.<br>
&gt;<br>
&gt; If you have to create a completely new object type you should try
to<br>
&gt; create a class instead of a new BOR object. If you simply need a<br>
little<br>
&gt; bit of additional functionality or a new virtual attribute, my<br>
&gt; recommendation would be to extend the object type that exists instead<br>
of<br>
&gt; trying to create a class that extends a BOR object.<br>
&gt;<br>
&gt; and,<br>
&gt; ABAP CLASS<br>
&gt; Template for objects in ABAP Objects. Defined using CLASS - ENDCLASS<br>
&gt; either globally in a class pool or locally in another ABAP program.<br>
The<br>
&gt; definition of a class is made up of a declaration section for the<br>
&gt; declaration of theclass components and animplementation section for<br>
the<br>
&gt; implementation of the methods.<br>
&gt; BOR-OBJECT TYPES<br>
&gt; mySAP Technology service and directory of all object types (business<br>
&gt; object types, organization object types and technical object types)
in<br>
&gt; hierarchical order.<br>
&gt; The object types are each assigned to a packet (and thus indirectly<br>
also<br>
&gt; to an application component).<br>
&gt; Directory of all object types in hierarchical order.<br>
&gt; The object types are each assigned a development class (and thus<br>
&gt; indirectly also to an application component).<br>
&gt;<br>
&gt;<br>
&gt; ________________________________<br>
&gt;<br>
&gt; From: sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] On<br>
Behalf<br>
&gt; Of Albina Fernando<br>
&gt; Sent: Monday, June 18, 2007 1:41 PM<br>
&gt; To: sap-wug@mit.edu<br>
&gt; Subject: Difference between Business object method and ABAP class<br>
&gt; methods in atask<br>
&gt;<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; &nbsp; Can anyone tell me the difference between using Business Object<br>
method<br>
&gt; and Class methods in the tasks of the Workflow. For eg. When creating<br>
a<br>
&gt; task we have 2 options. Either Assign a Business Object method or
a<br>
ABAP<br>
&gt; Object class method. So I need to know the difference between the
two.<br>
&gt; And also the advantages of using the two...<br>
&gt; &nbsp; Thanks a lot for all ur support.<br>
&gt;<br>
&gt; Thanks<br>
&gt; Albina<br>
&gt;<br>
&gt;<br>
&gt; This email may contain confidential or privileged information for
the<br>
&gt; intended recipient(s). If you are not the intended recipient, please<br>
do<br>
&gt; not use or disseminate the information, notify the sender and delete<br>
it<br>
&gt; from your system. Thanks<br>
&gt;<br>
&gt; ______________________________________________________________________<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --<br>
&gt;<br>
&gt; This e-mail and any files transmitted with it may<br>
&gt; contain privileged, confidential, or proprietary information<br>
&gt; which may be protected from disclosure under law, and is<br>
&gt; intended solely for the use of the individual, group, or entity<br>
&gt; to whom this e-mail is addressed. &nbsp;If you are not one of the<br>
&gt; named recipients, please notify the sender by e-mail and<br>
&gt; delete this message immediately from your computer. &nbsp;Any<br>
&gt; other use, retention, dissemination, forwarding, printing, or<br>
&gt; copying of this e-mail is strictly prohibited. &nbsp;Thank you for<br>
&gt; your assistance.<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; SAP-WUG mailing list<br>
&gt; SAP-WUG@mit.edu<br>
&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
&gt;<br>
<br>
<br>
-- <br>
Mike Pokraka<br>
Senior Consultant<br>
Workflow Connections<br>
Mobile: +44(0)7786 910855<br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
</font></tt>
<br>