Code: Alles auswählen.
CALL METHOD go_document->add_attachment
EXPORTING
i_attachment_type = 'doc' "Dateiextension
i_attachment_subject = lv_att_subject "Dateiname
i_att_content_text = pt_doc.
Code: Alles auswählen.
document = cl_document_bcs=>create_document(
i_type = 'HTM'
i_text = emailtext
i_length = '12'
i_subject = betreff ).