on 11-17-2010 4:13 PM
HI Experts,
I am using a Function Module CONVERT_OTF for converting smart form into pdf file for send it to with attachment.
But i got a error when i am using that FM.
Runtime Errors CONVT_NO_NUMBER
unable to interpret *292 as a no.
Is that because my file size too large about 13 pages of PDF?
and when i run it for other smart forms which have 2 or 3 pages of PDF, its working perfectly.
can anyone tell what is problem with that FM?
Thanks
Shakun
Try using FM CONVERT_OTF_2_PDF
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try using FM CONVERT_OTF_2_PDF
Surely, you realize that CONVERT_OTF_2_PDF calls CONVERT_OTF?
To the poster, the OTF convert functions are good for 99 pages in the foreground, so it's not a size issue with 13 pages. Where is that *292 vale coming from? It sounds like you haven't used a proper integer definition for the size?
Thanks for replying me
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi ,
i tried this program with my system . i t is working fine for more than 15 pages , just try it. u have to convert pdf from 132 to 255.
<<Copy-paste from http://www.sap4.com/index.php?title=Envio_smartform_por_mail>>;
Moderator Message: Second and Final Warning. DO NOT copy-paste
Edited by: kishan P on Nov 18, 2010 11:51 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I had the similar issue and after analysis I have that this is the issue by not passing the IMPORTING parameter of the Function Module "BIN_FILESIZE". Please try to pass some variable to this paramter and then this will be completely rectified.
DATA ; v_filesize TYPE i.
*--Convert OTF data to PDF data
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = v_filesize
TABLES
otf = it_otfdata
lines = it_pdfdata
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4
OTHERS = 5.
Please verify whether this reolves the problem for you.
Regards,
SRinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.