<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16608" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=392520216-21042008><FONT face=Arial 
color=#0000ff size=2>One thing to watch out for is that as of December (it could 
have changed since) enhancements made to ABAP OO classes with the enhancment 
framework were not picked up in the workflow environment.&nbsp; e.g. I added 
some attributes to the Leave Request class but these were not picked up in the 
workflow runtime.&nbsp; I raised this with OSS and it was a known issue on the 
development 'to do' list.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=392520216-21042008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=392520216-21042008><FONT face=Arial 
color=#0000ff size=2>If anyone has had success getting this to work since 
December then please let the group know which note or Support pack this came in 
with!</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=392520216-21042008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=392520216-21042008><FONT face=Arial 
color=#0000ff size=2>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=392520216-21042008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=392520216-21042008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=392520216-21042008><FONT face=Arial 
color=#0000ff size=2>Mark</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu 
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>a.v.n.r 
kumar<BR><B>Sent:</B> Monday, April 21, 2008 3:15 PM<BR><B>To:</B> SAP Workflow 
Users' Group<BR><B>Subject:</B> Re: ABAP-OO Workflow for 
PO-release<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Hi All,</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp; It is quiet possible to redefine the standard methods of the 
class or you can add new methods to the standard class using the New Enhacement 
Framework.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; To add the new methods in the standard class just follow the menu 
path as below Class-&gt;Enhance. Create an enhancem implementation then the 
screen will be changed so that you can add new methods.We&nbsp;also 
have&nbsp;options like Pre-Exit, Post-Exit and Over Write Exit&nbsp;against the 
standard methods to incorporate custom logic.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;So, I feel it is quiet simple and easy when compared to BOR. But it 
will take some time as SAP has to redesign the existing BOR objects into 
Classes. So, I like working on classes compared to BOR. I hope you too once you 
are used to it for a litte time.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks</DIV>
<DIV>Raghavendra<BR><BR><B><I>Ramki Maley &lt;workflow99@aol.com&gt;</I></B> 
wrote:</DIV>
<BLOCKQUOTE class=replbq 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi 
  Mike,<BR><BR>Haven't had an opportunity to dabble in the OO stuff yet but 
  hoping to do so soon. My question is probably is very basic OO. How do I go 
  about extending a standard SAP class for additional events, attributes and 
  methods. For instance some standard xRPM workflows are class 
  based.<BR><BR>Regards,<BR>Ramki Maley.<BR><BR>Mike Pokraka wrote: 
  <BLOCKQUOTE 
  cite=mid:33088.212.157.1.1.1208776823.squirrel@mail.workflowconnections.com 
  type="cite"><PRE wrap="">On Fri, April 18, 2008 7:56 am, Kjetil Kilhavn wrote:    </PRE>
    <BLOCKQUOTE type="cite"><PRE wrap="">This is interesting (well, anything from a SAP employee who has proven      </PRE></BLOCKQUOTE><PRE wrap=""><!---->OK I may not be a SAP Employee so take my input with a grain of salt..      </PRE>
    <BLOCKQUOTE type="cite"><PRE wrap="">However, I have assumed that
 for existing BOR objects it would be easier to  implement additional methods (and redefine methods) in a BOR object type      </PRE></BLOCKQUOTE><PRE wrap=""><!---->which would then be delegated to.    </PRE><PRE wrap=""><!---->It's a little more work to create the class up front - there's no "Create  Subclass" button. But once that's in place I find it easier to add  additional methods. See my other post to Sherie.        </PRE>
    <BLOCKQUOTE type="cite"><PRE wrap="">Would you recommend that even for a small change such as the additional      </PRE></BLOCKQUOTE><PRE wrap=""><!---->attribute I've added to USR01?    </PRE>
    <BLOCKQUOTE type="cite"><PRE wrap="">Such a strategy would mean the workflow becomes a mixture of tasks using      </PRE></BLOCKQUOTE><PRE wrap=""><!---->BOR    </PRE>
    <BLOCKQUOTE type="cite"><PRE wrap="">objects and class objects.        </PRE></BLOCKQUOTE><PRE wrap=""><!---->Yes, and yes. Actually in many cases I've done away with the BORs because 
 it's a 10 minute job to add the two or three BOR components I actually  need into my class. The icing on the cake is being able to bind  _WI_ACTUAL_AGENT via functional method straight into an instance of  ZCL_WF_USER.      </PRE>
    <BLOCKQUOTE type="cite"><PRE wrap="">I see you recommend adding an attribute to the class to reference the      </PRE></BLOCKQUOTE><PRE wrap=""><!---->BOR    </PRE>
    <BLOCKQUOTE type="cite"><PRE wrap="">object when needed. Would you recommend also adding a class object      </PRE></BLOCKQUOTE><PRE wrap=""><!---->reference    </PRE>
    <BLOCKQUOTE type="cite"><PRE wrap="">as an attribute to a delegated BOR object type - or how would you      </PRE></BLOCKQUOTE><PRE wrap=""><!---->approach    </PRE>
    <BLOCKQUOTE type="cite"><PRE wrap="">the need for crossing from one object type to the other.      </PRE></BLOCKQUOTE><PRE wrap=""><!---->Unfortunately it only works one way - BORs can't have class attributes.  Usually I end up working with both, which
 is not really a big issue.      </PRE>
    <BLOCKQUOTE type="cite"><PRE wrap="">--  Kjetil Kilhavn (+47 40220607)  Blue Consulting AS (<A class=moz-txt-link-freetext href="http://www.bluec.no/">http://www.bluec.no/</A>)  _______________________________________________  SAP-WUG mailing list  <A class=moz-txt-link-abbreviated href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A>  <A class=moz-txt-link-freetext href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</A>        </PRE></BLOCKQUOTE><PRE wrap=""><!---->        _______________________________________________  SAP-WUG mailing list  <A class=moz-txt-link-abbreviated href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A>  <A class=moz-txt-link-freetext href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</A>    </PRE></BLOCKQUOTE>_______________________________________________<BR>SAP-WUG 
  mailing 
  list<BR>SAP-WUG@mit.edu<BR>http://mailman.mit.edu/mailman/listinfo/sap-wug<BR></BLOCKQUOTE><BR>
<P><!--11-->
<HR SIZE=1>
</HR>Best Jokes, Best Friends, Best Food. Get all this and more on <A 
href="http://in.rd.yahoo.com/tagline_groups_11/*http://in.promos.yahoo.com/groups/bestofyahoo/">Best 
of Yahoo! Groups.</A></BODY></HTML>