cancel
Showing results for 
Search instead for 
Did you mean: 

46C如何实现因特网邮件功能?

Former Member
0 Kudos

各位好!请问有没有人用过在46C里设置外部邮件,最好能有示例代码,谢谢大家!

Accepted Solutions (0)

Answers (4)

Answers (4)

0 Kudos

SAPconnect Administration (Transaction SCOT)

You have to configure SAPconnect settings for every client that is used for send processes.

· Default Domain

Under Settings ® Default Domain, define the domain of the SAP system client. This allows for the following to take place:

· The SMTP plug-in logs on to the mail server using the domain as ID.

· The message ID of the outbound e-mails is assembled with this domain.

· If an SAP user who does not have an Internet mail address sends an e-mail, a sender address consisting of the SAP user name and this domain is generated.

· Nodes

Each client has an SMTP node. This node is created by the SAP system and cannot be deleted. The following steps need to be carried out to configure the node so that sending Internet mail is possible:

i. Make sure you are in the Node view.

ii. Double-click the node name.

iii. Choose Node in use.

iv. In the Mail Host and Mail Port fields, specify the mail server to which the outbound mails are to be sent.

v. Next to Internet, choose Settings.

vi. Enter the address area of the recipient addresses that are to be reached using this node. In general, * is used if all e-mails are to be sent using SMTP.

vii. Enter the output format for SAP documents. We recommend that you use the following settings:

SAPscript/Smart Forms

PDF

ABAP list

HTM

Business Object / Link

HTM

RAW Text

TXT

viii. Confirm your selection.

If you also want to configure the node for sending faxes:

i. Next to Fax, choose Settings.

ii. Enter the address area of the recipient addresses that are to be reached using this node. In general, * is used if all faxes are to be sent using SMTP.

iii. Enter the output format for SAP documents. We recommend that you use the following settings:

SAPscript/Smart Forms

PDF

ABAP list

PDF

Business Object / Link

TXT

RAW Text

TXT

iv. Enter the domain of the fax server or fax provider under Conversion into Internet Address. The system generates the local part of the Internet address automatically. The address therefore takes this format: FAX=+RecipientNumber@Domain.

v. Confirm your selection.

If you also want to configure the node for sending text messages (pager/SMS):

i. Next to Pager (SMS), choose Settings.

ii. Enter the address area of the recipient addresses that are to be reached using this node. In general, * is used if all text messages (pager/SMS) are to be sent using SMTP.

iii. Enter the domain of the text message (pager/SMS) server or provider under Conversion into Internet Address. The system generates the local part of the Internet address automatically. The address therefore takes this format: SMS=+RecipientNumber@Domain.

iv. Confirm your selection.

· Send Job

E-mails sent from an SAP application are first stored in a queue. A periodical background process, the SAPconnect send job, gets the e-mails from this queue and sends them over the Internet. To schedule this job in SAPconnect: Administration, proceed as follows:

i. Choose View ® Jobs.

ii. If no other job has been scheduled, choose Job ® Create.

iii. Enter a job name and confirm it.

iv. Select the variant SAP&CONNECTALL by positioning the cursor on it.

v. Choose Schedule Job.

vi. Choose Schedule periodically.

vii. Select the interval you require, such as 10 minutes.

viii. Choose Create.

· Inbound

If you want incoming e-mails that have a particular address or particular content to automatically start a program that processes these mails, you can configure this under Settings ® Inbound Processing.

If you want incoming e-mails that have a particular address or come from a particular sender to be automatically forwarded to another recipient or another distribution list, you can configure this under Settings ® Inbound Processing.

Former Member
0 Kudos

是的,要作一些外部的配置,特别是你需要配设一个外部邮件服务器(mail-SERVICE),网上有许多

这样的免费软件可以下载。你也可以参考一下ADM102,里面应该有介绍。

Former Member
0 Kudos

刚才试了一下,cl_bcs的数据类型在46c中不存在。

Former Member
0 Kudos

能不能手工建一个这样的数据类型?

Former Member
0 Kudos

我在sdn里面查阅了一下,貌似还要对R/3的参数文件做一些配置。保证能支持SMTP,并且还要对邮件服务器做一些配置才可以。

Former Member
0 Kudos