Using <CNTN01> in a BADI

Ravi Dixit dolbydix at gmail.com
Wed Mar 10 19:08:06 EST 2010


I have used these two include programs successfully in my OO workflo
development recently.

 INCLUDE <cntn03>.
INCLUDE <cntn02>.

-- 
Best Regards
Ravi Dixit

> ------------------------------
>
> Message: 5
> Date: Wed, 10 Mar 2010 12:14:36 +0100
> From: "Florin Wach" <florin.wach at gmx.net>
> Subject: Re: RE: Using <CNTN01> in a BADI
> To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
> Message-ID: <20100310111436.90060 at gmx.net>
> Content-Type: text/plain; charset="iso-8859-1"
>
> hugh
>
> I'm using INCLUDE SWFCNTN01   and work with ABAP OO containers :-)
>
>
> -------- Original-Nachricht --------
> > Datum: Wed, 10 Mar 2010 11:12:03 -0000 (GMT)
> > Von: "Mike Pokraka" <wug at workflowconnections.com>
> > An: "SAP Workflow Users\' Group" <sap-wug at mit.edu>
> > Betreff: RE: Using <CNTN01> in a BADI
>
> > 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
>
>
> ------------------------------
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
> End of SAP-WUG Digest, Vol 64, Issue 19
> ***************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20100311/827c9408/attachment.htm


More information about the SAP-WUG mailing list