Send mail step
Vinod Viswanathan
Vinod.Viswanathan at in.fujitsu.com
Fri Feb 29 06:13:37 EST 2008
Hi Ashish,
Its a custom FM and not a standard FM so it wont make sense for me
to give to the name of the FM because I created it and will not be
available in your system. You have to create a Function Module using
SE37 instead of your report and add your logic for fetching email
addresses. Then create your BOR method using this FM.
I think you must go through some basic documentation of how to use a
BOR method and how to bind values from the workflow to the method. As
of now, Create input and output parameter for the method linked to the
FM and then pass values from and to the Standard Task by binding the
variables.
Best Regards,
Vinod Viswanathan
Workflow Consultant
Fujitsu Consulting - Pune
Phone: +91 20 40722000 Extn:2370
________________________________
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Ashish Nagpal
Sent: Friday, February 29, 2008 7:43 AM
To: SAP Workflow Users' Group
Subject: Re: Send mail step
HI Vinod
thanks once again for the reply,can you please tell me which custom FM u
used for ur purpose,in my case i have enhanced my object type and
created a new method which will serve my purpose and rest of the part is
same as u r saying,in my case i am retrieving email id from table
AD_SMTPADR,but i have one problem with the method i have created ,i get
the value into the container of method,but can u please tell me how
should i set the value which i am getting when giving the input.
i am using a report in the method so that whenever i give customer id i
will get his/her email id ,the entries of which i have maintained in my
Z table.
please clear as much as possible
thanks once again
best regards
ashish
2008/2/26 Vinod Viswanathan <Vinod.Viswanathan at in.fujitsu.com>:
Hi Ashish,
1. I have been using a custom FM so far. May be relevant for
you too because i believe these email ids are being stored in some
custom table in your case.
Do let me know if there is a method that works better and
gives better efficiency.
2. u need to create a BOR method using this FM... bind the
import export parameters of the method. Create a task. Then bind the
workflow and the task parameters.
Hope this helps.
Best Regards,
Vinod Viswanathan
Workflow Consultant
Fujitsu Consulting - Pune
Phone: +91 20 40722000 Extn:2370
________________________________
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu]
On Behalf Of Ashish Nagpal
Sent: Tuesday, February 26, 2008 1:32 PM
To: SAP Workflow Users' Group
Subject: Re: Send mail step
hi vinod
thanks for the reply,yeah it was relevant ,one more thing i want
to ask if you could please explain:
1. how to fetch those email ids to internal table,do i need to
make my own function module
or is there any standard like rh_get_structure i can use.
2. secondly,how to pass this internal table to workflow
container.
if you can please explain these steps,i have a little confusion
over it .
thanks a lot
regards
ashish
On 2/26/08, Vinod Viswanathan <Vinod.Viswanathan at in.fujitsu.com>
wrote:
Hi Ashish,
give the recipient type as U (email address) in the mail
tab of the send mail step.
you can fetch email addresses in an internal table and
pass it to the workflow container.
this table can be passed as expression and the email
will go to the external email ids.
please let me know if this solution was relevant to your
question.
Best Regards,
Vinod Viswanathan
Workflow Consultant
Fujitsu Consulting - Pune
Phone: +91 20 40722000 Extn:2370
________________________________
From: sap-wug-bounces at mit.edu [mailto:
sap-wug-bounces at mit.edu] On Behalf Of Ashish Nagpal
Sent: Tuesday, February 26, 2008 7:33 AM
To: SAP Workflow Users' Group
Subject: Re: Send mail step
hi vinod
can you please elaborate on what u said "Change the type
to 'U' in the send mail step"
it will be so nice of you
thanks a lot
regards
ashish
On Tue, Feb 26, 2008 at 5:43 AM, <kaukabr at yahoo.com>
wrote:
Depends on your address strings, notification is
an
e-mail FYI hope you will be using send
description
method.
Regards
AZ
--- "Devireddy Swathi (Dataflo)"
<devireddy.swathi at dataflo.co.za> wrote:
> Hi,
>
> My requirement is to send e-mails to people
attached
> to a particular
> position or work center.
>
> And I retrieve them from a custom table.
>
> Can I use a standard mail step to send e-mails
by
> giving an expression
> and sending it to them.
>
> But this actually sends a notification and not
an
> e-mail.
>
> Is there a background job which converts these
> notifications to e-mails
> by fetching corresponding users attached to
the
> position/workcenter
>
>
>
>
>
> Thanks & Regards
>
> Swathi Devireddy
>
> Coke SCALE
>
> Satyam Computer Services Ltd
>
> * : +27 745024070
>
>
>
>
>
------------------------------------------------------------------------
--------
>
> This email and all contents are subject to the
> following disclaimer:
>
> "http://www.dataflo.co.za/emaildisclaimer.htm"
>
>
>
------------------------------------------------------------------------
--------
> >
_______________________________________________
> 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
--
life is all about the moments that take ur heart away
_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug
--
life is all about the moments that take ur heart away
_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug
--
life is all about the moments that take ur heart away
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20080229/94f4ded5/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 136105 bytes
Desc: Outlook.jpg
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20080229/94f4ded5/attachment.jpg
More information about the SAP-WUG
mailing list