Sending a Message

Kjetil Kilhavn kjetilk at statoil.com
Mon Sep 9 01:50:14 EDT 2002


If you insist on having this as one background step there is only one
solution. Create your own method, send the role with parameters as
parameters to your method and perform your own role evaluation. Then send
the messages.
--
Kjetil Kilhavn
 
 
 
 
 
                    "Czerwiec, Phil"
                    <Phil.Czerwiec at andre        To:     SAP-WUG at MITVMA.MIT.EDU
                    w.com>                      cc:     (bcc: Kjetil Kilhavn)
                    Sent by: SAP                Subject:     Re: Sending a Message
                    Workflow
                    <Owner-SAP-WUG at MITVM
                    A.MIT.EDU>
 
 
                    06.09.2002 22:22
                    Please respond to
                    "SAP Workflow Users'
                    Group"
 
 
 
 
 
 
I am attending to send a message or notifications to specific users based
on characteristic defined in an Org. Plan.  I defined an Org. Plan with
users.  I then assigned Org. Object types to the Org. Plan.  I'm assuming I
have to use roles to find the correct users.
 
Phil
 
 -----Original Message-----
From:   Bertrand, Scott [mailto:scott.bertrand at sap.com]
Sent:   Friday, September 06, 2002 3:12 PM
To:     SAP-WUG at MITVMA.MIT.EDU
Subject:        Re: Sending a Message
 
Phil,
 
Background steps cannot be assigned agents.
 
Sounds like what you want to do is use the result of a role resolution and
send a mail to those agents.
 
A way to do this - create a new method that duplicates you role resolution,
put in a task then bind the task results to a WF container element.  Then
use the WF container element as input for the ADDRESSSTRINGS container
element.
 
Otherwise, could you describe in more detail what you are trying to do?
 
Scott Bertrand
Technical Consultant
SAP America, Inc.
 
3999 Westchester Pike
Newtown Square, PA 19073
T 610-661-1905
F 610-661-1906
E scott.bertrand at sap.com
http://www.sap.com
 
 
 
-----Original Message-----
From: Czerwiec, Phil [mailto:Phil.Czerwiec at andrew.com]
Sent: Friday, September 06, 2002 3:59 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Sending a Message
 
 
Thanks for the response.  I have used this method also.  But I need a
method that will be a background task where the agents will be assigned to
'AC Roles' on the Control Tab of the task.
 
Phil Czerwiec
 
 -----Original Message-----
From:   Sheth, Neeraja [mailto:Neeraja.Sheth at fnc.fujitsu.com]
Sent:   Friday, September 06, 2002 2:42 PM
To:     SAP-WUG at MITVMA.MIT.EDU
Subject:        Re: Sending a Message
 
Hi, Phil:
 
I have used exactly what Scott has described for many notifications. The
background task sends e-mail to users - the sender's email address is
whatever you have assigned to WF-BATCH.
 
Regards
 
Neeraja
 
 -----Original Message-----
From:   Czerwiec, Phil [mailto:Phil.Czerwiec at andrew.com]
Sent:   Friday, September 06, 2002 10:33 AM
To:     SAP-WUG at MITVMA.MIT.EDU
Subject:        Re: Sending a Message
 
Thanks Scott,  but I think a need to use a background task because I do not
need any type of response back. SELFITEM is a dialog method.
 
Phil Czerwiec
 
 
 
 -----Original Message-----
From:   Bertrand, Scott [mailto:scott.bertrand at sap.com]
Sent:   Friday, September 06, 2002 10:12 AM
To:     SAP-WUG at MITVMA.MIT.EDU
Subject:        Re: Sending a Message
 
Hi Phil,
 
If your task uses object SELFITEM, method SENDTASKDESCRIPTION, the result
will be a mail item.  For this there is no role binding, the receiver(s)
are
determined by container elements:
 
        ADDRESSSTRINGS (contains the id)
        TYPEID the type.
 
For sapuserids, place the userid in ADDRESSSTRINGS and set typeid to 'B'
For internet mail addresses, place mail address in ADDRESSSTRINGS and set
typeid to 'U'
 
If you want to send as a workitem, use method DISPLAYTASKDESCRIPTION.  This
will allow you to use role resolution for agent assignment.
 
Hope this helps,
 
Scott Bertrand
Technical Consultant
SAP America, Inc.
 
3999 Westchester Pike
Newtown Square, PA 19073
T 610-661-1905
F 610-661-1906
E scott.bertrand at sap.com
http://www.sap.com
 
 
 
-----Original Message-----
From: Czerwiec, Phil [mailto:Phil.Czerwiec at andrew.com]
Sent: Friday, September 06, 2002 10:50 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Sending a Message
 
 
Thanks to all.  I have tried these approaches.  Once I check the Background
Processing and return to the Control screen the agents assignments are no
longer available.
 
Phil Czerwiec
 
 -----Original Message-----
From:   Nobles, Diane [mailto:nobles_dh at naptheon.com]
Sent:   Thursday, September 05, 2002 12:41 PM
To:     SAP-WUG at MITVMA.MIT.EDU
Subject:        Re: Sending a Message
 
Phil, it really depends on your need to send information and what you need
to capture from the event.  I have used both SELFITEM, (pulls from a WI)
and
STD_TEXT (which uses a typed message with desired parameters added).  There
are many other ways that I have seen emails sent.  If you have a business
object you are already using, you could just send a notification email from
that task to role based agents. (If in 4.6).
 
The best one, most generic is the Std_Text.  You create your own message.
 
 
Diane H. Nobles
SAP Proj. Analyst, PM, WF
(757) 380-7250
 
 
-----Original Message-----
From: Czerwiec, Phil [mailto:Phil.Czerwiec at andrew.com]
Sent: Thursday, September 05, 2002 1:09 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Sending a Message
 
 
Hello,
 
I am attempting to send a message (no decision) to users based using role
determination using a business object.  I can't find the correct Object and
method to use.  Any hints would be appreciated?
 
Thanks,
 
Phil Czerwiec
Andrew Corporation
 
 
 
 
 
-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you.
 


More information about the SAP-WUG mailing list