This website is not affiliated with, sponsored by, or approved by SAP AG.

Send e-mail

Development SAPscript/ Smartforms

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

Send e-mail

Postby britoca » Wed Apr 11, 2012 4:29 am

I people.
I need help!
Can you help me, please?

I need to send e-mails with body text and atachment, using container.
It is possible?

The program now sends e-mail with attachment, but i want add the body text.

I define "swc_set_table container 'DocumentContent' lt_content.", but the text does not appear in the e-mail.


Here is the "Open Form":

Code: Select all
ALL 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          = '*'
            itcpo-tdgetotf              = 'X'
            itcpo-tdarmod               = '1'

       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.



Can you help me, please?
Last edited by Gothmog on Wed Apr 11, 2012 4:35 am, edited 1 time in total.
Reason: Urgency removed, code tags added, moved from GD
britoca
 
Posts: 1
Joined: Wed Apr 11, 2012 4:19 am

Return to SAPscript/Smartforms

Who is online

Users browsing this forum: No registered users and 1 guest





loading...


This website is not affiliated with, sponsored by, or approved by SAP AG.