Skip to Content
author's profile photo Former Member
Former Member

External mail

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Best Answer
    Posted on Dec 19, 2008 at 07:53 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 17, 2008 at 10:40 AM

    Hi,

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

    Regards,

    Surjith

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 17, 2008 at 10:47 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 17, 2008 at 11:12 AM

    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

    How to get Work items @ your Outlook Inbox do the same.

    Regards

    SM Nizamudeen

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 17, 2008 at 11:14 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 17, 2008 at 02:09 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.