Using <CNTN01> in a BADI

Mike Pokraka wug at workflowconnections.com
Mon Mar 8 06:45:13 EST 2010


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
>
>
>
> -----Original Message-----
> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
> Of sap-wug-request at mit.edu
> Sent: 04 March 2010 08:50
> To: sap-wug at mit.edu
> Subject: SAP-WUG Digest, Vol 64, Issue 6
>
> Send SAP-WUG mailing list submissions to
> 	sap-wug at mit.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://mailman.mit.edu/mailman/listinfo/sap-wug
> or, via email, send a message with subject or body 'help' to
> 	sap-wug-request at mit.edu
>
> You can reach the person managing the list at
> 	sap-wug-owner at mit.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of SAP-WUG digest..."
>
>
> Today's Topics:
>
>    1. Problem submitting ML85 report (Shai Eyal)
>    2. User. Created / User Cloned/Changed Event is not triggered
>       (Kesav P)
>    3. User. Created / User Cloned/Changed Event is not triggered
>       (Karl Nietz)
>    4. Reading and Writing Attributes of a Business Object (Ali Husain)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 3 Mar 2010 11:02:34 -0800 (PST)
> From: Shai Eyal <shai.eyal at yahoo.com>
> Subject: Problem submitting ML85 report
> To: sap-wug <sap-wug at mit.edu>
> Message-ID: <277958.74287.qm at web59105.mail.re1.yahoo.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello experts,
>
> I have this strange issue. I've build workflow for service entry sheet
> release and it works OK.?I'm trying to add "collective release"
> functionality by navigating user to ML85. If I use "call transaction
> ML85", it works fine. But since SAP standard?program does not GET MEMORY
> ID LBL (service entry sheet number) then I can't work this way.
> Therefore I changed my source to?"submit?RMSRVF00 using
> selection...".?Now it gets weird - if I place my source in SE38 dummy
> program, it works great.?But when it is executed via SWO1, it?result a
> list w\o buttons to release.
>
> Any idea?
> Thanks in advance,
> ?
> Regards,
> Shai Eyal
> SAP Logistics senior consultant
> SAP Workflow & BPM specialist
> http://www.linkedin.com/in/shaieyal
> Mobile: 972-52-5816633
>
>
>       New Email names for you!
> Get the Email name you&#39;ve always wanted on the new @ymail and
> @rocketmail.
> Hurry before someone else does!
> http://mail.promotions.yahoo.com/newdomains/aa/
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mailman.mit.edu/pipermail/sap-wug/attachments/20100303/21063617/a
> ttachment-0001.htm
>
> ------------------------------
>
> Message: 2
> Date: Wed, 3 Mar 2010 18:54:26 -0800 (PST)
> From: Kesav P <pachallak at yahoo.com>
> Subject: User. Created / User Cloned/Changed Event is not triggered
> To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
> Message-ID: <645787.5356.qm at web56403.mail.re3.yahoo.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
>
> We are on ECC 6.0, Non-CUA environment and HR module?is not being used.
>
> We are trying to trigger a workflow When a SAP User is created using
> SU01 or changed user data using?su3.?
>
> The problem is that the User.Created or User.cloned/changed events are
> not?being?triggered?.
> I have verified event log with SWEL?and no events are?appearing.
>
> I would like to know is there any specific setup required?to generate
> these above events.?
> Appreciate your time.
>
> Thanks
> Kesav
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mailman.mit.edu/pipermail/sap-wug/attachments/20100303/5dbfa82a/a
> ttachment-0001.htm
>
> ------------------------------
>
> Message: 3
> Date: Thu, 4 Mar 2010 13:30:57 +1000
> From: Karl Nietz <knietz at csc.com.au>
> Subject: User. Created / User Cloned/Changed Event is not triggered
> To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
> Message-ID:
>
> <OFD30C83B0.3CF25DD3-ONCA2576DC.00127D51-CA2576DC.001350C0 at csc.com>
> Content-Type: text/plain; charset="us-ascii"
>
> Kesav,
>
> I don't think the SU01/SU03 transactions publish events internally.  You
>
> could see if a change document is published and then configure events in
>
> transaction SWEC, but it is again possible that change docs are also not
>
> created.  If not, examine the underlying tables (USR01 etc) to see if
> change document creation is activated and adjust if possible and try
> again.  If this does not work then you could establish if an exit exists
>
> in the code and if so publish your own events.  But I must admit I have
> distant memories of once trying this and getting nohwere.  See what the
> other contributors suggest too.
>
>
> Karl Nietz
>
>
>
>
> From:
> Kesav P <pachallak at yahoo.com>
> To:
> "SAP Workflow Users' Group" <sap-wug at mit.edu>
> Date:
> 04/03/2010 02:00 PM
> Subject:
> User. Created / User Cloned/Changed Event is not triggered
>
>
>
> Hi,
>
> We are on ECC 6.0, Non-CUA environment and HR module is not being used.
>
> We are trying to trigger a workflow When a SAP User is created using
> SU01
> or changed user data using su3.
>
> The problem is that the User.Created or User.cloned/changed events are
> not
> being triggered .
> I have verified event log with SWEL and no events are appearing.
>
> I would like to know is there any specific setup required to generate
> these above events.
> Appreciate your time.
>
> Thanks
> Kesav
>
>
> _______________________________________________
> 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/20100304/28fd68f1/a
> ttachment-0001.htm
>
> ------------------------------
>
> Message: 4
> Date: Thu, 4 Mar 2010 08:49:39 +0000
> From: Ali Husain <mr_mago40 at hotmail.com>
> Subject: Reading and Writing Attributes of a Business Object
> To: <sap-wug at MIT.EDU>
> Message-ID: <BAY130-W20D638F4C727919D2DB1158F390 at phx.gbl>
> Content-Type: text/plain; charset="windows-1252"
>
>
>
> Hello WF Experts,
>
> I have two questions regarding reading/writing attributes of a business
> object.
>
>
>
> 1.
> How to read a value of an
> attribute from within another attribute?
>
>
> When programming an attribute we can access the keys directly
> from within the attribute by using OBJECTKEY-NAME. How would I access
> the value of other attributes using a similar
> way?
>
>
> 2.
> How to write different variables
> to different attributes while programming in one attribute?
>
>
> Let?s say I have calculated many values within the
> attribute and I want each of them to be a separate attribute. I want to
> avoid
> re-programming the same thing in the other attributes since would have
> already
> retrieved the needed data from within one attribute. I also don?t want
> to use a
> multiline attribute since I need each value to be its own attribute.
>
>
> Thanks a lot for the help.
>
> Ali
>
>
>
> _________________________________________________________________
> Hotmail: Powerful Free email with security by Microsoft.
> http://clk.atdmt.com/GBL/go/201469230/direct/01/
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mailman.mit.edu/pipermail/sap-wug/attachments/20100304/74b5dd3a/a
> ttachment.htm
>
> ------------------------------
>
> _______________________________________________
> 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 6
> **************************************
>
> The information contained within this e-mail and any files attached to
> this e-mail is private and in addition may include commercially sensitive
> information. The contents of this e-mail are for the intended recipient
> only and therefore if you wish to disclose the information contained
> within this e-mail or attached files, please contact the sender prior to
> any such disclosure.
> If you are not the intended recipient, any disclosure, copying or
> distribution is prohibited. Please also contact the sender and inform them
> of the error and delete the e-mail, including any attached files from your
> system.
> EADS Defence and Security Systems Limited
> Registered Office : Quadrant House, Celtic Springs, Coedkernew, Newport ,
> NP10 8FZ
> Company No: 04191036
> http://www.eadsdsuk.com
> The information contained within this e-mail and any files attached to
> this e-mail is private and in addition may include commercially sensitive
> information. The contents of this e-mail are for the intended recipient
> only and therefore if you wish to disclose the information contained
> within this e-mail or attached files, please contact the sender prior to
> any such disclosure.
> If you are not the intended recipient, any disclosure, copying or
> distribution is prohibited. Please also contact the sender and inform them
> of the error and delete the e-mail, including any attached files from your
> system.
> EADS Defence and Security Systems Limited
> Registered Office : Quadrant House, Celtic Springs, Coedkernew, Newport ,
> NP10 8FZ
> Company No: 04191036
> http://www.eadsdsuk.com
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>





More information about the SAP-WUG mailing list