Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

pdf could not opened bcz its an unsupported file type or has been damaged

Former Member
0 Kudos

when sending mail as an attachment in PDF so Mail is working perfect only problem is not opening attahment PDF file but its size showing correct.



So please suggest........

3 REPLIES 3

former_member188827
Active Contributor
0 Kudos

which function module or class are you using? check example program BCS_EXAMPLE_6.

Regards

arindam_m
Active Contributor
0 Kudos

Hi,

This is mostly due to length of the PDF not being done properly when using older FM's. Its the most common problem. Check the wiki article the class CL_DOCUMENT_BCS is easy to implement and use.

http://wiki.sdn.sap.com/wiki/display/Snippets/Sending++attachment+using+cl_bcs+classes

Cheers,

Arindam

Former Member
0 Kudos

This message was moderated.