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

Workflow : How to send mail to a SAP distribution list

Hi ,

I need to send a mail from workflow to

a group of SAP users (ideally in a distribution list).

I did not find any suitable option in the workflow

for this.

Can someone throw some light upon how to go about it ?

Thanks very much.



Ph: +44 121 683 2814.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 23, 2005 at 12:49 PM

    Hi Sandip,

    Resolve the DL into an internal table of users (there is an FM to do this - search for SOAPIDL* in the FM name) and bind it to a multi line container element. You could do this in a background method by extending a suitable object (SOFM for instance) or in a custom method that precedes the mail step. Assign the multilne container element as recipients.


    Ramki Maley.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      <b>But I thought why would i create an org. structure only for four users.</b>

      It is not the question of how many users but how easy/flexible it is to change the recipients in a Production system. In your case any change needs to be transported because it is hard coded in the WF definition. Many installations have procedures that need approvals before any change can be transported to a Production client and strict controls when changes can be transported. I am strictly for No Hardcoding anywhere. Also one should be very careful while changing a Productive Workflow. Please see OSS Note #125400

      <b>If we select recipient as USER we cannot input container elements.</b>

      Sorry did not realize that. You can try recipient type expression. Container element is of type SWHACTOR. Populate OTYPE with 'US' (user) and OBJID with the user id.


      Ramki Maley.

  • author's profile photo Former Member
    Former Member
    Posted on Oct 03, 2005 at 05:45 PM

    Execute one methon in the background which will have all the four SAP user names concatenated with US like





    MAP this element with the multiline container element of workflow.

    in the workflow select the SEND MAIL.

    Recipient type = G

    Expresion = multiline container element

    Try this.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi All,

      Resolve it into an internal table.

      And in the workflow,send the mail to &AGENTS& where &AGENTS& contains all user-ids.

      By this,you need not hard code or create any org structure.

      Hope it helps.


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.