<br>I have used these two include programs successfully in my OO workflo development recently.<br><br>
<style type="text/css">
SPAN {
font-family: "Courier New";
font-size: 10pt;
color: #000000;
background: #FFFFFF;
}
.L1S52 {
color: #0000FF;
}
</style>
<span><span class="L1S52">INCLUDE</span> &lt;cntn03&gt;.<br>
<span class="L1S52">INCLUDE</span> &lt;cntn02&gt;.</span>
<br><br>-- <br>Best Regards<br>Ravi Dixit<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
------------------------------<br>
<br>
Message: 5<br>
Date: Wed, 10 Mar 2010 12:14:36 +0100<br>
From: &quot;Florin Wach&quot; &lt;<a href="mailto:florin.wach@gmx.net">florin.wach@gmx.net</a>&gt;<br>
Subject: Re: RE: Using &lt;CNTN01&gt; in a BADI<br>
To: &quot;SAP Workflow Users&#39; Group&quot; &lt;<a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>&gt;<br>
Message-ID: &lt;<a href="mailto:20100310111436.90060@gmx.net">20100310111436.90060@gmx.net</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
hugh<br>
<br>
I&#39;m using INCLUDE SWFCNTN01   and work with ABAP OO containers :-)<br>
<br>
<br>
-------- Original-Nachricht --------<br>
&gt; Datum: Wed, 10 Mar 2010 11:12:03 -0000 (GMT)<br>
&gt; Von: &quot;Mike Pokraka&quot; &lt;<a href="mailto:wug@workflowconnections.com">wug@workflowconnections.com</a>&gt;<br>
&gt; An: &quot;SAP Workflow Users\&#39; Group&quot; &lt;<a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>&gt;<br>
&gt; Betreff: RE: Using &lt;CNTN01&gt; in a BADI<br>
<br>
&gt; Just to throw another one into the mix, the SAP help also has some<br>
&gt; comments on the matter:<br>
&gt;<br>
&gt; To use the BOR macros in a class, two INCLUDES must be included.<br>
&gt; ?         include &lt;CNTN03&gt;.<br>
&gt; contains the local types<br>
&gt; ?         include &lt;CNTN02&gt;.<br>
&gt; contains the BOR macros<br>
&gt;<br>
&gt; But then again some people you guys spend far too much time hacking around<br>
&gt; the internals to look at the doco :-)<br>
&gt;<br>
&gt; ...or one could also just use SAP_WAPI_* function modules and not bother<br>
&gt; with macros.<br>
&gt;<br>
&gt; Cheers,<br>
&gt; Mike<br>
&gt;<br>
&gt;<br>
&gt; On Tue, March 9, 2010 3:54 pm, Mike Gambier wrote:<br>
&gt; &gt;<br>
&gt; &gt; Andy,<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Not that it&#39;ll matter that much but your suggested INCLUDE seems to have<br>
&gt; a<br>
&gt; &gt; last changed on date of 2005 in our ECC 6 system (SAP_ABA 701), whereas<br>
&gt; &gt; CNTN01_OO was last touched by SAP in 2009.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; As to which one they actually support going forward I guess only they<br>
&gt; &gt; know...maybe...<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Mike GT<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Date: Tue, 9 Mar 2010 14:20:28 +0000<br>
&gt; &gt; Subject: RE: Using &lt;CNTN01&gt; in a BADI<br>
&gt; &gt; From: <a href="mailto:abcurtis@gmail.com">abcurtis@gmail.com</a><br>
&gt; &gt; To: <a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; SAP provide OO versions of the includes, try<br>
&gt; &gt;<br>
&gt; &gt; &lt;SWFCNTN01&gt;<br>
&gt; &gt;<br>
&gt; &gt; Andy<br>
&gt; &gt;<br>
&gt; &gt; ---------- Forwarded message ----------<br>
&gt; &gt; From: vijay srikanth &lt;<a href="mailto:vijay_d15@hotmail.com">vijay_d15@hotmail.com</a>&gt;<br>
&gt; &gt; To: &quot;SAP Workflow Users&#39; Group&quot; &lt;<a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>&gt;<br>
&gt; &gt; Date: Mon, 8 Mar 2010 17:37:24 +0000<br>
&gt; &gt; Subject: RE: Using &lt;CNTN01&gt; in a BADI<br>
&gt; &gt;<br>
&gt; &gt; Hi John,<br>
&gt; &gt;<br>
&gt; &gt; Most of the macros in CNTN01 are also available as Function modules like<br>
&gt; &gt; SWC_ELEMENT_SET SWC_ELEMENT_GET etc.<br>
&gt; &gt; you can also try using them, in case you have to.<br>
&gt; &gt;<br>
&gt; &gt; Cheers,<br>
&gt; &gt; Vijay<br>
&gt; &gt;<br>
&gt; &gt;&gt; Date: Mon, 8 Mar 2010 11:45:13 +0000<br>
&gt; &gt;&gt; Subject: RE: Using &lt;CNTN01&gt; in a BADI<br>
&gt; &gt;&gt; From: <a href="mailto:wug@workflowconnections.com">wug@workflowconnections.com</a><br>
&gt; &gt;&gt; To: <a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Hi John,<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Why do you need the include? If you raise an event using the WAPI FM,<br>
&gt; &gt;&gt; the<br>
&gt; &gt;&gt; container is a flat name-value structure. No need for container macros,<br>
&gt; &gt;&gt; just append the values.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Cheers,<br>
&gt; &gt;&gt; Mike<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; On Thu, March 4, 2010 10:07 am, John Howarth wrote:<br>
&gt; &gt;&gt; &gt; Hi<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; On a 4.6C system. I am trying to trigger a Goods Receipt event from<br>
&gt; &gt;&gt; BADI<br>
&gt; &gt;&gt; &gt; (rather than a FM) I cant use the &lt;CNTN01&gt; include because of &#39;LIKE&#39;<br>
&gt; &gt;&gt; &gt; statements in the code.<br>
&gt; &gt;&gt; &gt; Has anyone got example of the code I can use .<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; Kind Regards,<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; John Howarth<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; SAP PLM Technical Support<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; EADS Defence and Security Systems<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; ( Contact: 01633 715315<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; * Email: <a href="mailto:john.howarth@eads.com">john.howarth@eads.com</a><br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; _________________________________________________________________<br>
&gt; &gt; Do you have a story that started on Hotmail? Tell us now<br>
&gt; &gt;<br>
&gt; <a href="http://clk.atdmt.com/UKM/go/195013117/direct/01/_______________________________________________" target="_blank">http://clk.atdmt.com/UKM/go/195013117/direct/01/_______________________________________________</a><br>

&gt; &gt; SAP-WUG mailing list<br>
&gt; &gt; <a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
&gt; &gt; <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; SAP-WUG mailing list<br>
&gt; <a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
&gt; <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
<a href="mailto: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>
End of SAP-WUG Digest, Vol 64, Issue 19<br>
***************************************<br>
</blockquote></div>