03-17-2016 12:34 PM
Hello All,
While using the standard program BCS_EXAMPLE_7 which is used to send mail with attachment, i get an error as "transmission failled with some return code BCS".
Requesting you to help me on clearing this error.
Regards,
Saranya
03-17-2016 12:36 PM
Could you please explain in detail about your error?
Regards,
Satish
03-17-2016 12:56 PM
Hi Satish,
The exact error message which am getting is "Error occurred during transmission -return code:<XERR_BCS> with message no:SO865". Resulting email not sent.
i have checked the final internal tables, recipient address passed whether it has data or not.
Regards,
Saranya
03-17-2016 12:47 PM
03-17-2016 1:00 PM
Hi Amar,
By using the below method, specify the attachment type as PDF or any other format which is required.
CALL METHOD obj_document->add_attachment
EXPORTING
i_attachment_type = 'PDF'
i_attachment_subject = 'subject'
i_attachment_size = size
i_att_content_hex = binary_content.
Hope it will be useful for u...
Regards,
Saranya
03-17-2016 2:53 PM
Are you able to send a mail with some attachment in SBWP, only then will this be Abap related, is there some record in SOST?
Regards,
Raymond
03-18-2016 9:02 AM
Hi Raymond,
I dont see any records in SOST. If the problem is not ABAP related, where the issue occurs?
Regards,
Saranya
03-18-2016 9:07 AM
You could check for customizing in transaction SCOT, also did you try to send manually some attachment in transaction SBWP?
But if there is nothing in SOST, could you give the exact error message raised by the SAP sample program (the report works correctly on my every server)
Regards,
Raymond