Show TOC

Method SET_ADDRESSLocate this document in the navigation structure

Procedure

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

Zip/Postal Code

CITY

Importing

Type

String

City

Coding

The coding is very simple:

method SET_ADDRESS .
data: row type soli.
row = 'Adresse:'.
"#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.
            
Note

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