cancel
Showing results for 
Search instead for 
Did you mean: 

How to change mail Document title?

Former Member
0 Kudos

I send mail user the function print smartform,example:

control_parameters-device = 'MAIL'.

p_mail_s = SY-UNAME.

PERFORM frm_init_mail_para USING p_mail_s p_mail_d.

CALL FUNCTION fm_name

EXPORTING

control_parameters = gs_control_parameters

mail_appl_obj = gs_appl_object_id

mail_recipient = gs_recipient_id

mail_sender = gs_sender_id

IMPORTING

document_output_info = gs_document_output_info

job_output_info = gs_job_output_info

job_output_options = gs_job_output_options

TABLES

IT_HEADER = gt_header

IT_ITEM = gt_item

EXCEPTIONS

formatting_error = 1

internal_error = 2

send_error = 3

user_canceled = 4.

the mail send success,but i found that all the mail have the fix title " SAPLSTXBE/20080701/214718".

So,i want to change it,for example "Invoice 0090000005 of XX CO.".

Can you help me?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I use FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' solved it.

Thank you,everybody who care it!