<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 11"><meta name="Originator" content="Microsoft Word 11"><link rel="File-List" href="file:///C:%5CDOCUME%7E1%5Chkotla%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:View>Normal</w:View>
  <w:Zoom>0</w:Zoom>
  <w:PunctuationKerning/>
  <w:ValidateAgainstSchemas/>
  <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
  <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
   <w:DontGrowAutofit/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:LatentStyles DefLockedState="false" LatentStyleCount="156">
 </w:LatentStyles>
</xml><![endif]--><style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0in;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;
        mso-header-margin:.5in;
        mso-footer-margin:.5in;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
 /* Style Definitions */
 table.MsoNormalTable
        {mso-style-name:"Table Normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0in 5.4pt 0in 5.4pt;
        mso-para-margin:0in;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";
        mso-ansi-language:#0400;
        mso-fareast-language:#0400;
        mso-bidi-language:#0400;}
</style>
<![endif]-->

<p class="MsoNormal">Mike &amp; Florin,<br>
thanks very much for explanation. Initially I was using CL object in BOR method
locally. As I am using the same object in different methods (steps), thought of
passing object reference from first step…I will switch back to my previous code.
May be I will do more experiments in next phases..</p>

<p class="MsoNormal"><o:p>&nbsp;</o:p></p>

<p class="MsoNormal"><o:p>&nbsp;</o:p></p>

<p class="MsoNormal">Thanks for your time…</p>

<br><br>--- On <b>Tue, 7/21/09, Mike Pokraka <i>&lt;wug@workflowconnections.com&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Mike Pokraka &lt;wug@workflowconnections.com&gt;<br>Subject: RE: ABAP OO objects as BOR  method parameters.<br>To: "'SAP Workflow Users' Group'" &lt;sap-wug@mit.edu&gt;<br>Date: Tuesday, July 21, 2009, 9:27 AM<br><br><div class="plainMail">Couple of comments: <br><br>1) OO works with limitations on 620, but is not officially supported by SAP.<br><br> <br>3) To be absolutely painfully specific here, the original question didn't<br>say the aim was to store the object in the container. It is possible to use<br>a class without IF_WORKFLOW in workflow as long as it isn't stored. <br><br>Thus a binding of class-based objects OBJ1.OBJ2.ATTR ==&gt; SOME_ELEMENT is<br>possible if OBJ2 doesn't have IF_WORKFLOW, because only OBJ1 and<br>SOME_ELEMENT live in
 the containers. This of course all falls apart when<br>bringing BOR into the mix. <br><br>Generally speaking I agree with Florin and would not recommend mixing BOR<br>and classes in this way. Class-&gt;BOR is fine, but BOR-&gt;Class - although<br>technically possible - is fraught with problems because the BOR design<br>doesn't cater for classes (however it is no problem to use OO ABAP inside<br>BOR code). I would either build on the BOR object, or mostly I create a<br>class to replace it completely.<br><br>Cheers, <br>Mike<br><br>-----Original Message-----<br>From: <a ymailto="mailto:sap-wug-bounces@mit.edu" href="/mc/compose?to=sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</a> [mailto:<a ymailto="mailto:sap-wug-bounces@mit.edu" href="/mc/compose?to=sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</a>] On Behalf Of<br>Florin Wach<br>Sent: 21 July 2009 08:42<br>To: SAP Workflow Users' Group<br>Subject: Re: ABAP OO objects as BOR method
 parameters.<br><br>Hi Sharath,<br><br>1) ... hm... didn't realize that OO-Workflow works on 4.7 already (stable).<br>Try using ABAP reference type SIBFLPOR<br><br>2) If you cannot define the parameter as CL -Object, the macro will try to<br>convert the runtime-reference of a BO to a persistent reference of the BO,<br>which has to fail for obvious reasons. If using the ABAP-Dic-Reference, then<br>it won't be a problem<br><br>3) Yes, the workflow cannot store OO-Object in the container, unless you've<br>fully implemented the interface<br><br>....<br><br>Anyhow, from my perspective it looks like you should keep using a new<br>business object implementation and not using the OO-part for the moment.<br>Maybe you give some explanation of how and why you like to use this kind of<br>container/implementation.<br><br>Best wishes,<br>Florin<br><br><br>-------- Original-Nachricht --------<br>&gt; Datum: Mon, 20 Jul 2009 15:48:58 -0700 (PDT)<br>&gt; Von: Sharath K
 &lt;<a ymailto="mailto:ksharath77@yahoo.com" href="/mc/compose?to=ksharath77@yahoo.com">ksharath77@yahoo.com</a>&gt;<br>&gt; An: "SAP Workflow Users\' Group" &lt;<a ymailto="mailto:sap-wug@mit.edu" href="/mc/compose?to=sap-wug@mit.edu">sap-wug@mit.edu</a>&gt;<br>&gt; Betreff: ABAP OO objects as BOR&nbsp; method parameters.<br><br>&gt; Hi all, Here I am repostig the issue(seems my emails are ending in Junk<br>&gt; folder). <br>&gt; &nbsp;I am trying to return a class object from business<br>&gt; object method to workflow container. I am not using this is class object<br>&gt; in any<br>&gt; of my tasks, using just as parameter..<br>&gt; <br>&gt;&nbsp; &nbsp; <br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; Issue-1: I am unable to class object as BOR method parameter, I cant see<br>&gt; any options to choose ABAP class<br>&gt; type..the only two options are (i)ABAP Dictionary, (ii) Object type.. Is<br>&gt; it a version issue..the client is on R/3
 4.7.<br>&gt; <br>&gt; <br>&gt; <br>&gt;&nbsp; &nbsp; <br>&gt;&nbsp; <br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; Issue-2: Object reference is not passed to task<br>&gt; container with SWC_SET_ELEMENT CONTAINER macro from BOT method.<br>&gt; <br>&gt;&nbsp; &nbsp; <br>&gt; <br>&gt; Issue-3: I have not implemented IF_WORKFLOW methods in the class..Do I<br>&gt; need to<br>&gt; implement the interface methods irrespective of its use in task?<br>&gt; <br>&gt;&nbsp; &nbsp; <br>&gt; <br>&gt;&nbsp; &nbsp; <br>&gt; <br>&gt; Thanks for all your input. <br>&gt;&nbsp; &nbsp; <br>&gt; <br>&gt; Regards,<br>&gt; <br>&gt; Sharath.<br>&gt; <br>&gt; <br>&gt;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<br>_______________________________________________<br>SAP-WUG mailing list<br><a ymailto="mailto:SAP-WUG@mit.edu" href="/mc/compose?to=SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug"
 target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br> <br><br>__________ Information from ESET Smart Security, version of virus signature<br>database 4263 (20090721) __________<br><br>The message was checked by ESET Smart Security.<br><br><a href="http://www.eset.com" target="_blank">http://www.eset.com</a><br> <br><br><br>_______________________________________________<br>SAP-WUG mailing list<br><a ymailto="mailto:SAP-WUG@mit.edu" href="/mc/compose?to=SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br></div></blockquote></td></tr></table><br>