cancel
Showing results for 
Search instead for 
Did you mean: 

Sending email from workflow.

Former Member
0 Kudos

Hi Experts,

In my workflow a notification email is sent from sap system to outlook.

When ever the notification email is sent, it displays user name instead of email id in recipient area of transaction SOST. Can anybody tell me from where the workflow is picking the details of the email id and displaying in the recipient area in SOST ?

Thanks in advance.

Suseendran

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

I think this is set as WF-Batch by default. I think you can try to assign one valid email address to WF-BATCH in SU01d and then test

Thanks

Arghadip

Former Member
0 Kudos

You must pass the email address to the task instead of passing the user-id in the binding workflow -> task. The SAP system will unfortunately not convert the user id into an email address automatically for you.

Cheers

Patrick

Former Member
0 Kudos

Hi Patrick,

I think you are not understanding my question.

I have done binding correctly. Email is also sent to concerned person. But my question is, when ever an email sent from sap system, it displays the user name in the recipient area in SOST transaction instead of his/her email address. I want the email address to be displayed there instead of user name in the recipient area.

Thanks

Former Member
0 Kudos

Well if you are passing the email address directly to your sendmail step it should be displayed in SOST in the column "Recipient". Please check the content of the container of one of your completed sendmail workitem.

I notice there is also a column "User id" in SOST. May be you are looking at that one? Please look at the ALV layout of your SOST and check if you are displaying the right columns.

If after that you still can't see the email address it looks pretty much like a bug in the standard SAP. What basis release and SP level are you on?

Former Member
0 Kudos

Hi Suseendran,

Can u please tell how you are picking up the email id , u r using a method fro this or something else.

Regards,

Geet Bijlani

Former Member
0 Kudos

Hi Geet,

I'm using a method for picking email id. as per my analysis it is only picking the email id of that person. but i need to know from where it is picking the user details and displaying in sost.

thanks

surjith_kumar
Active Contributor
0 Kudos

Hi,

but i need to know from where it is picking the user details and displaying in sost.

It will pick the User Details from SU01 - User Maintenance.

Regards,

Surjith