cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem with Send Mail step in workflow

TMNielsen
Contributor
0 Likes
1,295

Hi

I have a workflow with a send mail step just before the workflow end step.

It is working in my development system, but not in my QA system. Of course I have not open for sending mails from either systems, but in the development system the email occurs in SOST.

An analysis of the workflow log shows both the step and the workflow ended successfully with status Completed, but no mail was sent.

I have noticed this behaviour if the workflow initiator doesn't have an email address in SU01, but this is not the problem here.

Any suggestions what can be wrong or how to investigate the problem?

best regards

View Entire Topic
Former Member
0 Likes

Hi ,

Please check RFC destination is configured in QA or not ..

if not , Go to tcode SWU3 -> Maintaine Runtime Environment --> Configure RFC destination.

Take help from BASIS consultant for this .

Regards ,

Sijin K P.

TMNielsen
Contributor
0 Likes

Hi Sijin K P.

Thanks for your reply. The RFC dest. was ok.

I have however just discovered an other thing.

The emails are actually sent, but not to external email - instead they are send to the SAP inbox.

How is this happening?

Best regards

Thomas

TMNielsen
Contributor
0 Likes

Let me rephrase my problem.

I have now discovered this behaviour of workflow step created with Send Mail wizard:

Recipient type G Organizational Object

Expression &_WF_INITIATOR&

In development system the email is sent to both SAP internal in-box and to the external mail from the user id address data of the workflow initiator.

But in QA system the email is send to the internal in-box only.

Actually I want it sent to the external mail only. Can I set this up with the &_WF_INITIATOR& or do I have to add a new field to the workflow container to hold the external email address of the workflow initiator and create an additional workflow step to somehow convert the &_WF_INITIATOR& to an email address?

Best regards

Thomas Madsen Nielsen

TMNielsen
Contributor
0 Likes

Hi again

I have found a difference between my development and QA systems, that may have something to do with this?

In transaction SO16 tab Addressing 2 flags are set in development but not in QA:

-Organizational units

-Business Objects

Will these 2 flags influence the Send Mail step?

Best regards