This method creates the highest section of the mail.
Parameters
Parameter Name |
Type |
Typing |
Reference Type |
Description |
NAME |
Importing |
Type |
String |
Name |
STREET |
Importing |
Type |
String |
Street and house number |
ZIPCODE |
Importing |
Type |
N |
Postal code |
CITY |
Importing |
Type |
String |
City |
Code
The code is very simple:
method SET_ADDRESS .
data: row type soli.
row = 'Address:'. "#EC NOTEXT
append row to l_mailtext.
move name to row.
append row to l_mailtext.
move street to row.
append row to l_mailtext.
concatenate zipcode city into row separated by ' '.
append row to l_mailtext.
endmethod.

The next method (
Method SET_TIME) is similar, only that the date and time formatting is included too.