Chapter 11. Sending E-mail Using BCS Classes

In this chapter, we will see recipes of e-mail programming using the Business communication services (BCS). We will look at:

  • Creating a simple e-mail message
  • Sending e-mail to Internet e-mail addresses
  • Adding attachments to your message
  • Creating HTML e-mail
  • Running a program and sending its output as an e-mail

Introduction

This chapter explores useful recipes related to the programming of e-mail sending. We will start with a brief overview of BCS and the various classes available. Then we will see a simple recipe that will generate an e-mail to an SAP user in his or her inbox. Then, we will show how the same program may be changed in order to send the e-mail to Internet e-mail addresses.

We will then add attachments ...

Get SAP ABAP Advanced Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.