on 07-01-2008 3:23 PM
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?
I use FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' solved it.
Thank you,everybody who care it!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.