Creating a simple e-mail message
In this recipe, we will see how we can create a simple program that will send an e-mail (SAP Office Mail) to an SAP user
AJON1. There are no attachments involved in this recipe. However, we will want the SAP user
AJON1 to see a pop-up express message when the e-mail document is received in his or her inbox.
How to do it...
We will now perform the steps shown as follows:
- Declare two reference variables
myrecpientto the classes
- We will then declare a variable for specifying the content of the e-mail
email_text. This is based on the type
bcsy_text. We also declare an object reference ...