<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 & 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> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks for your time…</p>
<br><br>--- On <b>Tue, 7/21/09, Mike Pokraka <i><wug@workflowconnections.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Mike Pokraka <wug@workflowconnections.com><br>Subject: RE: ABAP OO objects as BOR method parameters.<br>To: "'SAP Workflow Users' Group'" <sap-wug@mit.edu><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 ==> 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->BOR is fine, but BOR->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>> Datum: Mon, 20 Jul 2009 15:48:58 -0700 (PDT)<br>> Von: Sharath K
<<a ymailto="mailto:ksharath77@yahoo.com" href="/mc/compose?to=ksharath77@yahoo.com">ksharath77@yahoo.com</a>><br>> An: "SAP Workflow Users\' Group" <<a ymailto="mailto:sap-wug@mit.edu" href="/mc/compose?to=sap-wug@mit.edu">sap-wug@mit.edu</a>><br>> Betreff: ABAP OO objects as BOR method parameters.<br><br>> Hi all, Here I am repostig the issue(seems my emails are ending in Junk<br>> folder). <br>> I am trying to return a class object from business<br>> object method to workflow container. I am not using this is class object<br>> in any<br>> of my tasks, using just as parameter..<br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> Issue-1: I am unable to class object as BOR method parameter, I cant see<br>> any options to choose ABAP class<br>> type..the only two options are (i)ABAP Dictionary, (ii) Object type.. Is<br>> it a version issue..the client is on R/3
4.7.<br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> Issue-2: Object reference is not passed to task<br>> container with SWC_SET_ELEMENT CONTAINER macro from BOT method.<br>> <br>> <br>> <br>> Issue-3: I have not implemented IF_WORKFLOW methods in the class..Do I<br>> need to<br>> implement the interface methods irrespective of its use in task?<br>> <br>> <br>> <br>> <br>> <br>> Thanks for all your input. <br>> <br>> <br>> Regards,<br>> <br>> Sharath.<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> <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>