Sending E-Mail From ABAP - Version 610 and Higher - BCS Interface

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Weblogs https://www.sdn.sap.com/irj/sdn/weblogs?

blog=/pub/wlg/789

About Contact Us Submit Content Profile Management Localized Content Log Off
Welcome Rajesh Krishnan

Home | Forums | Weblogs | Downloads | Services | Events | Pilot |


Search
View weblogs by: Most Recent | Topics | Podcasts | Top Blog Posts | SDN Bloggers

Go Sending E-Mail from ABAP - Version 610 and Higher -


All 6 BCS Interface
Advanced Search Thomas Jung
Business Card
Developer Areas
Company: Kimball International
ESA Sep. 08, 2004 03:13 AM
IT Practices Permalink
SAP NetWeaver Introduction
Platform There seems to be a lot of requests in the forums for tips on how to send E-Mail from ABAP. Based upon these requests
Portal pull together some resources and samples on the subject. The setup and samples are quite different on different release
posted a weblog for releases <=46D that used the API function modules. This weblog focuses on releases 610 and highe
Knowledge changes in this release. For one there is no longer any reliance on external executables to send the mail. The SAP Kerne
Management native SMTP processing capabilities in the Internet Connection Manager (ICM). Also we have a new ABAP interface that

Business the Business Communication Services (BCS). All samples came from a 620 system.</p> Configuration
Before we start with any ABAP coding, we first have to setup and configure a few things. Much of this configuration may
Intelligence completed by your Basis group.
Exchange
ICM Setup
Infrastructure Unlike in release 46D and lower, we have no external executables to setup. There is no need to configure the Internet M
Application Server create any RFC destinations. However there is some setup that needs to be done to the ICM to activate and configure SM
OSS Note 455140 gives an excellent step-by-step guide to configuring SMTP. I will just give you a quick check list here w
Mobile
all the configuration details provided by this note.
Master Data 1. If you are one release 610 only, you must add the SMTP Plug-In entry in your instance profile. This is not needed as o
Management because the system is delivered with SMTP as an integrated part of the ICM.
2. In the instance profile, specify the TCP/IP port that SMTP will listen on. Port 25 is the default.
SAP Business One 3. If you have multiple clients in your SAP system, you will want to setup a virtual host for each client.
SAP xApps 4. Verify in transaction SICF that you have a SMTP node and that it is activated. It should look something like the follow
Technologies

SDN Weblogs
About Weblogs
Most Recent
Topics
Webloggers
Post a Weblog
Become a Blogger

SAPConnect
Well we are finished with all the low level setup. Now we need to connect the lowest layer (the ICM) to SAP's middle me
SAPConnect. SAPConnect sits between the application layer (such as SAP Office) and the lowest layer hiding all the tech
the SAPConnect monitoring and configuration can be reached from one transaction called SCOT. First SCOT has several
can be used. One shows the Jobs that have been setup, the other shows setup by routings, etc. I prefer to start SCOT i
View. This shows a tree with the communication types, the nodes setup for each type and the number of messages in e
following is a screen shot of this view:

1 of 1 12/12/2005 18:09

You might also like