SAP Workflow 发送的电子邮件包含部分 Web 超链接

发布于 2024-10-11 17:29:10 字数 873 浏览 3 评论 0原文

我认为这可能是一个简单的问题,但我似乎无法弄清楚。 我有一个仅发送邮件的工作流程。邮件内容中我 有一个超链接可返回我们的 SAP CRM 系统。我将一些参数传递给这个超链接。

工作流程工作正常并且电子邮件已发送,但是超链接进入邮件的第二行并变为活动状态。如果我复制整个超链接并将其粘贴到浏览器中,它就可以工作。

问题是我不希望用户复制和粘贴,我只是希望他们单击​​超链接。

这是我正在谈论的内容的丝网印刷
http://img402.imageshack.us/img402/9471/38348167.png

这是实际发送的电子邮件的屏幕截图:
http://img210.imageshack.us/img210/6424/14370746.png

我尝试进入事务 PFTC(任务维护),我输入了我的任务并将其打开。我转到选项卡说明 然后点击编辑按钮,我将标签列更改为连续文本,但这不起作用,然后我尝试了延长行 这也没有什么区别。

这是屏幕截图:
http://img341.imageshack.us/img341/6254/37776438.png

我的问题是,有什么办法可以让超链接在一行上,甚至可以在两行上单击吗?

非常感谢。

I think this might be a simple question but I cannot seem to figure it out.
I have a workflow which simply sends a mail. In the content of the mail I
have a hyperlink going back to our SAP CRM system. I pass some parameters to this hyperlink.

The workflow works fine and the email is sent, however, the hyperlink goes onto the second line of the mail and becomes in active. If I copy the entire hyperlink and paste it in a browser it works.

The issue is I don't want users to copy and paste, I simply want them to click on the hyperlink.

Here is a screen print of what I am talking about
http://img402.imageshack.us/img402/9471/38348167.png

And here is a screen print of the actual email that is sent:
http://img210.imageshack.us/img210/6424/14370746.png

I tried going into transaction PFTC (Task Maintain) I entered my task and opened it up. I went to the tab description
and hit the edit button and I changed the tag column to continuous text but that didnt work, and then I tried extended line
and that too didn't make a difference.

Here is a screen shot of that:
http://img341.imageshack.us/img341/6254/37776438.png

My question is, is there any way to get the hyperlink on one line or even to have it be clickable on 2 lines?

Thanks so much.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

遇见了你 2024-10-18 17:29:10

据我所知,这是 SAPconnect 在发送纯文本电子邮件时的限制。您可以重新配置系统以发送 HTML 邮件,但这会影响每封外发邮件,应极其谨慎地处理。我建议您编写一个小类来组装和发送 HTML 邮件并从步骤中调用它。我会使用 BCS 发送邮件 - 它有一个 优秀在线文档并附带多个演示程序 (BCS_EXAMPLE_*)。您可以使用 ABAP 组装 HTML 主体,尽管这通常会产生相当混乱的代码。更简洁的方法是将所有输入数据放入一个结构中并使用简单的转换或动态文档(例如参见报告 DD_ADD_LINK)。

From what I can see, that's a limitation of SAPconnect when sending plain-text emails. You could reconfigure the system to send HTML mails, but this would affect EVERY outgoing mail and should be handled extremely cautious. I'd suggest you write a small class to assemble and send the HTML mail and call it from the step. I'd use the BCS for sending the mail - it has an excellent online documentation and comes with several demo programs (BCS_EXAMPLE_*). You could assemble the HTML body using ABAP, although this usually yields rather messy code. Cleaner ways of ding this would be to either put all of the input data into a structure and use a simple transformation or dynamic documents (see for example report DD_ADD_LINK).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文