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

Send email to external id using SAP user id

Hello,

I want to send email to customer's external id using email step of workflow. I am having container table which is having customer sap user id.

Now I want to send email using this container table. Will I able to do so , if it is then how?

Last option is to fetch email id from ADR6 table then use it in 'Email address - U' of email step. But I want to know do we have direct option to send email id from sap user id .

Your help is appreciated.

Regards,

Shiv

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Apr 27, 2012 at 04:23 AM

    Hello,

    To get SAP to forward mails from the SAP inbox to external emails you have to:

    1) add the email address in SU01

    2) set "Comm. Method" to "E-mail" in SU01

    3) in SO16, tab Mail sy.grp, radio button "Send to Home Addresses of Users"

    4) in SO16, tab Addressing, Reset buffer

    Note that this then applies to every user.

    regards

    Rick Bakker / hanabi technology

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 27, 2012 at 06:26 AM

    Hi,

    I want to send email to customer's external id using email step of workflow. I am having container table which is having customer sap user id.

    Now I want to send email using this container table. Will I able to do so , if it is then how?

    Last option is to fetch email id from ADR6 table then use it in 'Email address - U' of email step. But I want to know do we have direct option to send email id from sap user id .

    Hi ,

    You can include a multi-line container element in the send mail step PFB

    The other point is if you want to get the email ID by using SAP user name then you have standard function module RP_GET_PERNR_FROM_USERID This function module gives you the PERNR of the user ID and use HR_READ_INFOTYPE to get the email address from info type PA0105 and subtype as 0001 to get the email address. which is maintained in the org structure.

    Or use the function module BAPI_USER_GET_DETAIL

    Regards

    Pavan

    Message was edited by: Pavan Bhamidipati


    mails.JPG (43.5 kB)
    Add a comment
    10|10000 characters needed characters exceeded

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.