‎2011 Nov 15 7:19 AM
Hello Friends,
We are getting an error while using the BCS Class Method for attaching the documents to the mail.
We are using method: add_attachment()
For this I am passing the parameters:
attachment_type: PDF
attachment_subject: XXXXXXX
att_content_hex: content_hex[] "Internal table
The system is throwing error message X_ERROR.
Friends please help me in how to rectify the error message.
Thanks and Regards
Pradeep Goli
‎2011 Nov 15 9:09 AM
Hi,
Please code as below.
data: binary_content type solix_tab.
CALL METHOD Document->add_attachment EXPORTING i_attachment_type = u2018PDFu2019
i_attachment_subject = u2018My attachmentu2019 i_att_content_hex =
binary_content.
Regards
chitra