<div>You can even try to include INCLUDE cntn01_SWC. but all the macros will be included with zero ( 0 ) for eg</div>
<div> </div>
<div>onorder to use SWC_GET_ELEMENT in the badi you have to call the macro SWC0_GET_ELEMENT.</div>
<div>SWC_SET_ELEMENT ---&gt; SWC0_SET_ELEMENT..<br><br></div>
<div class="gmail_quote">On Wed, Mar 10, 2010 at 6:12 AM, Mike Pokraka <span dir="ltr">&lt;<a href="mailto:wug@workflowconnections.com">wug@workflowconnections.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Just to throw another one into the mix, the SAP help also has some<br>comments on the matter:<br><br>To use the BOR macros in a class, two INCLUDES must be included.<br>
·         include &lt;CNTN03&gt;.<br>contains the local types<br>·         include &lt;CNTN02&gt;.<br>contains the BOR macros<br><br>But then again some people you guys spend far too much time hacking around<br>the internals to look at the doco :-)<br>
<br>...or one could also just use SAP_WAPI_* function modules and not bother<br>with macros.<br><br>Cheers,<br>Mike<br><br><br>On Tue, March 9, 2010 3:54 pm, Mike Gambier wrote:<br>&gt;<br>&gt; Andy,<br>&gt;<br>&gt;<br>&gt;<br>
&gt; Not that it&#39;ll matter that much but your suggested INCLUDE seems to have a<br>&gt; last changed on date of 2005 in our ECC 6 system (SAP_ABA 701), whereas<br>&gt; CNTN01_OO was last touched by SAP in 2009.<br>&gt;<br>
&gt;<br>&gt;<br>&gt; As to which one they actually support going forward I guess only they<br>&gt; know...maybe...<br>&gt;<br>&gt;<br>&gt;<br>&gt; Mike GT<br>&gt;<br>&gt;<br>&gt;<br>&gt; Date: Tue, 9 Mar 2010 14:20:28 +0000<br>
&gt; Subject: RE: Using &lt;CNTN01&gt; in a BADI<br>&gt; From: <a href="mailto:abcurtis@gmail.com">abcurtis@gmail.com</a><br>&gt; To: <a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a><br>&gt;<br>&gt;<br>&gt;<br>&gt; SAP provide OO versions of the includes, try<br>
&gt;<br>&gt; &lt;SWFCNTN01&gt;<br>&gt;<br>&gt; Andy<br>&gt;<br>&gt; ---------- Forwarded message ----------<br>&gt; From: vijay srikanth &lt;<a href="mailto:vijay_d15@hotmail.com">vijay_d15@hotmail.com</a>&gt;<br>&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; Date: Mon, 8 Mar 2010 17:37:24 +0000<br>&gt; Subject: RE: Using &lt;CNTN01&gt; in a BADI<br>&gt;<br>&gt; Hi John,<br>&gt;<br>&gt; Most of the macros in CNTN01 are also available as Function modules like<br>&gt; SWC_ELEMENT_SET SWC_ELEMENT_GET etc.<br>
&gt; you can also try using them, in case you have to.<br>&gt;<br>&gt; Cheers,<br>&gt; Vijay<br>&gt;<br>&gt;&gt; Date: Mon, 8 Mar 2010 11:45:13 +0000<br>&gt;&gt; Subject: RE: Using &lt;CNTN01&gt; in a BADI<br>&gt;&gt; From: <a href="mailto:wug@workflowconnections.com">wug@workflowconnections.com</a><br>
&gt;&gt; To: <a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a><br>&gt;&gt;<br>&gt;&gt; Hi John,<br>&gt;&gt;<br>&gt;&gt; Why do you need the include? If you raise an event using the WAPI FM,<br>&gt;&gt; the<br>&gt;&gt; container is a flat name-value structure. No need for container macros,<br>
&gt;&gt; just append the values.<br>&gt;&gt;<br>&gt;&gt; Cheers,<br>&gt;&gt; Mike<br>&gt;&gt;<br>&gt;&gt; On Thu, March 4, 2010 10:07 am, John Howarth wrote:<br>&gt;&gt; &gt; Hi<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; On a 4.6C system. I am trying to trigger a Goods Receipt event from<br>
&gt;&gt; BADI<br>&gt;&gt; &gt; (rather than a FM) I cant use the &lt;CNTN01&gt; include because of &#39;LIKE&#39;<br>&gt;&gt; &gt; statements in the code.<br>&gt;&gt; &gt; Has anyone got example of the code I can use .<br>
&gt;&gt; &gt;<br>&gt;&gt; &gt; Kind Regards,<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; John Howarth<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; SAP PLM Technical Support<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; EADS Defence and Security Systems<br>
&gt;&gt; &gt;<br>&gt;&gt; &gt; ( Contact: 01633 715315<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; * Email: <a href="mailto:john.howarth@eads.com">john.howarth@eads.com</a><br>&gt;&gt; &gt;<br>&gt;<br>&gt; _________________________________________________________________<br>
&gt; Do you have a story that started on Hotmail? Tell us now<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; 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>
&gt;<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>
</blockquote></div><br>