on 05-01-2008 5:46 PM
Hi folks,
Any ideas on why I might be getting this error?
CONVT_NO_NUMBER: Unable to interpret "*594" as a number.
I'm converting a SAP script OTF to PDF using function module CONVERT_OTF.
I can't figure it out.
Thanks,
Clint
Hi Clint,
Thanks a ton for the solution..
It really helped my many hours..
Raveesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here is the solution. (SAP Note 1042818 pointed me in the right direction...even though I'm not working with CRM.)
CONVERT_OTF export parameter BIN_FILESIZE has no type and is pass by value. You must code this parameter into your importing parameters in the calling program even if you don't use it. The receiving variable should be of type integer.
DATA: BIN_FILESIZE TYPE I.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
IMPORTING
BIN_FILESIZE = BIN_FILESIZE
TABLES
otf = otf
lines = it_pdfdata
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
ERR_BAD_OTF = 4
OTHERS = 5.
I guess I figured I didn't need bin_filesize, so I didn't include in my original call...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.