on 05-10-2010 4:00 PM
Hello Everyone,
I have converted a smartform to PDF using "CONVERT_OTFSPOOLJOB_2_PDF" and wanted to email the PDF. After I converted my smartform to PDF using the above FM, I am trying to email the PDF output by using "SO_NEW_DOCUMENT_ATT_SEND_API1". It is sending the email with attached PDF. But, when I open the PDF it is only displayed half and it is giving an error message "A number is out of range". Has anyone got this error message before. I have searched on SDN but wasn't able to find any solution for this problem. Please help me in resolving this issue. I would greatly appreciate your help.
Regards,
Gopal.
Hello, this question has been answered many times, you should be able to find the solution easily. The best shot you have is not to use SO_NEW_DOCUMENT_ATT_SEND_API1, use BCS classes instead. You can find these through google easily as well.
Maybe this document can help you: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c2567f2b-0b01-0010-b7b5-977cbf806... use the part to mail the form.
Regards Otto
p.s.: /people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do not miss: http://wiki.sdn.sap.com/wiki/display/ABAP/SendingMails-HomePage Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.