Skip to Content

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

otf end command // missing in otf data

Hi,

I am able to see the smartform output in pdf format in development server.

But i am getting error as otf end command // missing in otf data in production server.

I used the FM CONVERT_OTF_2_PDF for conversion.

I had searched in forum and even google also,but not found the exact solution.

Please let me know whether any configuration is required to set for this or else its just coding issue.


    CALL FUNCTION 'CONVERT_OTF_2_PDF'
      IMPORTING
        BIN_FILESIZE           = V_BIN_FILESIZE
      TABLES
        OTF                    = ST_JOB_OUTPUT_INFO-OTFDATA
        DOCTAB_ARCHIVE         = IT_DOCS
        LINES                  = IT_LINES
      EXCEPTIONS
        ERR_CONV_NOT_POSSIBLE  = 1
        ERR_OTF_MC_NOENDMARKER = 2
        OTHERS                 = 3.

Thankls,

Sri

Former Member
Not what you were looking for? View more on this topic or Ask a question