Using <CNTN01> in a BADI

Pavan Chand bpawanchand at gmail.com
Wed Mar 10 06:26:16 EST 2010


You can even try to include INCLUDE cntn01_SWC. but all the macros will be
included with zero ( 0 ) for eg

onorder to use SWC_GET_ELEMENT in the badi you have to call the macro
SWC0_GET_ELEMENT.
SWC_SET_ELEMENT ---> SWC0_SET_ELEMENT..

On Wed, Mar 10, 2010 at 6:12 AM, Mike Pokraka
<wug at workflowconnections.com>wrote:

> Just to throw another one into the mix, the SAP help also has some
> comments on the matter:
>
> To use the BOR macros in a class, two INCLUDES must be included.
> ·         include <CNTN03>.
> contains the local types
> ·         include <CNTN02>.
> contains the BOR macros
>
> But then again some people you guys spend far too much time hacking around
> the internals to look at the doco :-)
>
> ...or one could also just use SAP_WAPI_* function modules and not bother
> with macros.
>
> Cheers,
> Mike
>
>
> On Tue, March 9, 2010 3:54 pm, Mike Gambier wrote:
> >
> > Andy,
> >
> >
> >
> > Not that it'll matter that much but your suggested INCLUDE seems to have
> a
> > last changed on date of 2005 in our ECC 6 system (SAP_ABA 701), whereas
> > CNTN01_OO was last touched by SAP in 2009.
> >
> >
> >
> > As to which one they actually support going forward I guess only they
> > know...maybe...
> >
> >
> >
> > Mike GT
> >
> >
> >
> > Date: Tue, 9 Mar 2010 14:20:28 +0000
> > Subject: RE: Using <CNTN01> in a BADI
> > From: abcurtis at gmail.com
> > To: sap-wug at mit.edu
> >
> >
> >
> > SAP provide OO versions of the includes, try
> >
> > <SWFCNTN01>
> >
> > Andy
> >
> > ---------- Forwarded message ----------
> > From: vijay srikanth <vijay_d15 at hotmail.com>
> > To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
> > Date: Mon, 8 Mar 2010 17:37:24 +0000
> > Subject: RE: Using <CNTN01> in a BADI
> >
> > Hi John,
> >
> > Most of the macros in CNTN01 are also available as Function modules like
> > SWC_ELEMENT_SET SWC_ELEMENT_GET etc.
> > you can also try using them, in case you have to.
> >
> > Cheers,
> > Vijay
> >
> >> Date: Mon, 8 Mar 2010 11:45:13 +0000
> >> Subject: RE: Using <CNTN01> in a BADI
> >> From: wug at workflowconnections.com
> >> To: sap-wug at mit.edu
> >>
> >> Hi John,
> >>
> >> Why do you need the include? If you raise an event using the WAPI FM,
> >> the
> >> container is a flat name-value structure. No need for container macros,
> >> just append the values.
> >>
> >> Cheers,
> >> Mike
> >>
> >> On Thu, March 4, 2010 10:07 am, John Howarth wrote:
> >> > Hi
> >> >
> >> > On a 4.6C system. I am trying to trigger a Goods Receipt event from
> >> BADI
> >> > (rather than a FM) I cant use the <CNTN01> include because of 'LIKE'
> >> > statements in the code.
> >> > Has anyone got example of the code I can use .
> >> >
> >> > Kind Regards,
> >> >
> >> > John Howarth
> >> >
> >> > SAP PLM Technical Support
> >> >
> >> >
> >> >
> >> > EADS Defence and Security Systems
> >> >
> >> > ( Contact: 01633 715315
> >> >
> >> > * Email: john.howarth at eads.com
> >> >
> >
> > _________________________________________________________________
> > Do you have a story that started on Hotmail? Tell us now
> >
> http://clk.atdmt.com/UKM/go/195013117/direct/01/_______________________________________________
> > SAP-WUG mailing list
> > SAP-WUG at mit.edu
> > http://mailman.mit.edu/mailman/listinfo/sap-wug
> >
>
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20100310/3f1b18c5/attachment.htm


More information about the SAP-WUG mailing list