2007 Apr 24 4:42 AM
Hi Friends
While Calling the FM: 'CONVERT_OTF_2_PDF' in the below way, I am getting conversion error, Can anyone give me an idea to correct this please.
TYPES: l_ty_tab_objbin TYPE solisti1 OCCURS 0.
data: l_otf TYPE STANDARD TABLE OF itcoo.
DATA: l_objbin TYPE l_ty_tab_objbin.
DATA: l_docs TYPE STANDARD TABLE OF docs.
data: i_line TYPE STANDARD TABLE OF tline.
CALL FUNCTION 'CONVERT_OTF_2_PDF'
EXPORTING
USE_OTF_MC_CMD = 'X'
ARCHIVE_INDEX =
IMPORTING
BIN_FILESIZE =
TABLES
otf = l_otf
doctab_archive = l_docs
lines = i_line
EXCEPTIONS
ERR_CONV_NOT_POSSIBLE = 1
ERR_OTF_MC_NOENDMARKER = 2
OTHERS = 3
.
IF sy-subrc <> 0.
write:/ 'Failure'.
ENDIF.
Regards,
Sreeram
2007 Apr 24 7:34 AM
Hi Sreeram,
U didn't mentioned the exact error what it is giving
Instead of CONVERT_OTF_2_PDF better to use CONVERT_OTF..
If any non-English characters were there in the output then those fonts should be installed in the Acrobat Reader. This is important
Reward with points if needed
Regards,
Krishna K.
2007 Apr 24 7:34 AM
Hi Sreeram,
U didn't mentioned the exact error what it is giving
Instead of CONVERT_OTF_2_PDF better to use CONVERT_OTF..
If any non-English characters were there in the output then those fonts should be installed in the Acrobat Reader. This is important
Reward with points if needed
Regards,
Krishna K.
2007 Apr 24 7:49 AM
Pl. try using the funtion module CONVERT_OTF for this.
Convert OTF Data To PDF Format
----
FORM CONVERT_OTF_DATA_TO_PDF.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
IMPORTING
BIN_FILESIZE = WS_FSIZE
TABLES
OTF = I_OTFDATA
LINES = I_PDFDATA
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
OTHERS = 4.
Thanks and regards,
Maheshwari V
2007 May 22 8:26 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |