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