Skip to Content
0
Former Member
Apr 03, 2012 at 02:14 PM

Function 'Open_Form'

60 Views

Hi there!

I have create a program that send a email with PDF attachment.

I use Function 'Open_Form', like this:

CALL FUNCTION 'OPEN_FORM'
EXPORTING
application = 'TX'
device = 'MAIL'
dialog = space
form = form
language = sy-langu
OPTIONS = i_itcpo
mail_sender = sender_id
mail_recipient = recipient_id
* MAIL_APPL_OBJECT =
raw_data_interface = '*'
EXCEPTIONS
canceled = 1
device = 2
form = 3
OPTIONS = 4
unclosed = 5
mail_options = 6
archive_error = 7
invalid_fax_number = 8
more_params_needed_in_batch = 9
spool_error = 10
OTHERS = 11.

It works! It is ok!

Now, i want that the e-mail send a body text too.

Like:

Dear Name:

xxxxxxx Body Text xxxxxxxxxxx

Regards,

Carla Brito

It is possible with 'Open_Form' ?

Thank you!