cancel
Showing results for 
Search instead for 
Did you mean: 

External mail

Former Member
0 Kudos

Hi expers

I have WF with 2 steps ( User Decision step and Send Mail step )

I want to sent email the outlook (not SAP, but mircosoft) of the two step :

Only decision message are sent to microsoft outlook .

how I make the Send Mail step be included and sent to the outlook.

how to adjust the workflow tasks for the mentioned scenarios, in order to be able to sent those emails?

The programm I am using for the email sending is RSWUWFML2 .

thanks & reg

Accepted Solutions (1)

Accepted Solutions (1)

saumya_govil
Active Contributor
0 Kudos

Hi Moa'az,

You can add 2 mail sending steps in the workflow.

1. One step would send mail to the SAP inbox of the user. In this step, set the recipient as the id of the user with preceeding 'US'.

2. For the second step, go to t-code SU01 and maintain the external ID of the user and set him as Int user. Now in the mail sending step in the workflow add the email address of the user as the reciepient.

You can also use FM SO_NEW_DOCUMENT_SEND_API1 to send mail to an external ID (Outllok) from ABAP code. Yo do this, create an activity in workflow and make a call to the implemented method calling this FM.

Hope this solves your query.

Regards,

Saumya

Answers (5)

Answers (5)

former_member184495
Active Contributor
0 Kudos

Hi MK,

what I understand from your thread is you have 2 step,

user decision and send mail.

For user decision you want a workitem sent to MSOutlook and SendMail would be for SAPInbox.

If so, in RSWUWFML2 tick the workitem execution.

Hope it helps.

Aditya

Former Member
0 Kudos

The SendMail would be sent for SAPInbox and to MSOutlook (for both)

Former Member
0 Kudos

1st approach:

use FORK step for your send mail step. make necessary steps as 2. both the branches will have a send mail step. one of the two will have receiver as the sap user id and the other will have external email address.

2nd approach:

instead of send mail step, use a background activity step and use the FM SO_NEW_DOCUMENT_SEND_API1 to send email. by using this FM you can send email to sap users as well as external email id at the same time.

Former Member
0 Kudos

in the Send Mail step select recipient type as "E-Mail Address" and then in the address field specify the address of the one to whom you want to send the email to.

Former Member
0 Kudos

but I want to send to both sap outlook and to microsoft outlook

Edited by: Moa'az Khteep on Dec 17, 2008 12:29 PM

former_member185879
Active Contributor
0 Kudos

Hi,

1. Maintain external user id in SU01.

2. Copy the standard decision task to your own task and Give the task description in that

so that, the task description will be displayed in the body of the mail. you can use

do the same.

Regards

SM Nizamudeen

surjith_kumar
Active Contributor
0 Kudos

Hi,

If i understood right, your requirement is when any person receive a new work-item, then they have to receive a mail to take action on work item, RSWUWFML2 program used for that only.

If you are wrote some program to send mail, Make the Receiver type as 'U', then the email will go.

Refer this [link|https://wiki.sdn.sap.com/wiki/x/nYKdAw ].

Regards,

Surjith

Former Member
0 Kudos

no , they are two diffrent steps to two diffrent person

if one approve the the step the second will receive notification

surjith_kumar
Active Contributor
0 Kudos

Hi,

In T.code SU01, if You maintain the Email id then email will go.

Regards,

Surjith