Start of Content Area

Background documentation Method SET_TIME  Locate the document in its SAP Library structure

This method creates the body of the mail.

Note

This method is very similar to the Method SET_ADDRESS only that the date and time is formatting is included too.

 

Parameters

Parameter Name

Type

Typing

Reference Type

Description

DATE

Importing

Type

D

Day

TIME

Importing

Type

T

Time

Code

method SET_TIME .
data: row type soli.

clear row.
append row to l_mailtext.

move 'We will visit you' to row. "#EC NOTEXT
append row to l_mailtext.

move 'on ' to row.
write date to row+3 DD/MM/YYYY.
append row to l_mailtext.

move 'at ' to row.
write time to row+3.
move ' time' to row+8.
append row to l_mailtext.

clear row.
append row to l_mailtext.

move 'We look forward to hearing from you' to row. "#EC *
append row to l_mailtext.

clear row.
append row to l_mailtext.

move 'Yours faithfully' to row. "#EC *
append row to l_mailtext.

move 'Your service team' to row. "#EC *
append row to l_mailtext.

endmethod.