cancel
Showing results for 
Search instead for 
Did you mean: 

[Workflow][Mail] Business Workplace vs. External Mailbox

guillaume-hrc
Active Contributor
0 Kudos

Hi,

I am getting confused with the Workflow and SAP Connect...

I ha ve a Workflow working fine on DEV system. Mails are being sent to external mailboxes of users, and this is the expected behaviour.

After transport to TEST system, the Workflow is sending mails to Business Workplace Inbox ??

I didn't find any difference between the 2 Workflows (logical since the transport went fine). Thus, I assume the problem is coming eihter from :

- the Workflow general settings or maybe the workflow User

- SAP Connect

Please, help !!

Thanks in advance.

Best regards,

Guillaume

Accepted Solutions (1)

Accepted Solutions (1)

ramki_maley
Active Contributor
0 Kudos

Guillaume,

How Is the mail being sent? Are you using the Sendmail activity with external address (Recipient type = U) as a step within your workflow?

Thanks,

Ramki Maley.

guillaume-hrc
Active Contributor
0 Kudos

Hi Ramki,

Actually, the Sendmail activity is working fine. I have a test workflow on the TEST system to verify this.

The standard workflow we are talking about is using the <i>SendTaskDescription</i> method of the <b>SELFITEM</b> object. Thus, it is a standard activity and not a Sendmail activity.

Hope it helps.

Best regards,

Guillaume

ramki_maley
Active Contributor
0 Kudos

Guillaume,

The Sendmail activity I referred to is in the WF template builder. It uses the SendTaskDescription method of the SELFITEM. Sorry If I confused you. How were the recipients assigned to this step/activity in the WF?

Thanks,

Ramki Maley.

guillaume-hrc
Active Contributor
0 Kudos

Ramki,

OK, i just saw that (I must acknowledge I am not a WF specialist...). <i>I don't understand why they didn't use this activity in the standard then... ??</i>

The recipients are passed to the WF through a parameter in the triggering event : &ACTOR_TAB&. This parameter is mapped to &ADRESSSTRINGS& in the 'send mail' step.

Thanks for your help !

Best regards,

Guillaume

ramki_maley
Active Contributor
0 Kudos

Guillaume,

Normally &ACTOR_TAB& contains the SAP User Ids and not the external email addresses and the mail will always go to SAP Inbox. The reason it works in Dev could be because the recipients in DEV have auto forwarding enabled and not in TEST. Your options would be to enable Auto Forward for all recipients in Test (Also PROD) or modify the workflow so that the mail is always sent to external address.

Cheers,

Ramki Maley.

Answers (2)

Answers (2)

Former Member
0 Kudos

It's entirely possible that your workflow is working correctly and generating an outbound email. The SAP Connector (transaction SCOT) must be configured on each client and system. As part of that configuration, a job is scheduled to look for outbound mail and push it along the path to the outside world.

I am away from a system today so I can't describe the screens but get with your basis guy (or girl) and have them walk you through the transaction and determine if the mail is actually going out or stuck in the que because the job hasn't been scheduled or maybe there is some connectivity problem. Bottom line is that if your workflow is working OK in the test system then most likely it's working fine in the QA system and the problem lies elsewhere in the Connector configuration.

Remember also that if you are determining the recipient email address dynamically by calling some function module, that the user address must also be maintained in that system.

Hope that helps.

Regards,

Brent

Former Member
0 Kudos

Hi Guillaume,

You can send external mail only if the scot is configured.

Cheers,

Saraswathi.