Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

tried to converting a smartform program output to pdf....

tried to converting a smartform program output to pdf.....

after displaying output " the message : OTE END COMMAND //MISSING IN OTF

DATA

the following short dump will occur

In Exception Condition

"ERR_CON_NOT_POSSIBLE" 


CALL FUNCTION 'CONVERT_OTF' 
EXPORTING 
FORMAT = 'PDF' 
* MAX_LINEWIDTH = 132 
* ARCHIVE_INDEX = ' ' 
* COPYNUMBER = 0 
IMPORTING 
*BIN_FILESIZE = BIN_SIZE 
TABLES 
OTF = JOBOUTPUT-OTFDATA 
LINES = TLINES 
* EXCEPTIONS 
* ERR_MAX_LINEWIDTH = 1 
* ERR_FORMAT = 2 
* ERR_CONV_NOT_POSSIBLE = 3 
* ERR_BAD_OTF = 4 
* OTHERS = 5 
. 
IF SY-SUBRC <> 0. 
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO 
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. 
ENDIF.

Edited by: Ankesh Jindal on Sep 9, 2008 11:29 AM

Tags:
replied

Hi,

Check the following:-

RSTXPDF3 Customizing for PDF Conversion

RSTXPDF4 Help report of convert OTF spool job to PDF

RSTXPDF5 Aux of CONVERT_ABAPSPOOLJOB_2_PDF

RSTXPDFCFONT forms for Cascadsing Fonts

RSTXPDFT Test report for PDF conversion - converting

standard texts to PDF

RSTXPDFT4 Converting SAPscript (OTF) or ABAP List

Spool Job to PDF

RSTXPDFT5 Test: GUI Download of a Spool Request

rgds,

SG

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question