Skip to Content

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

Convert Smartform to PDF

Hi All

I am getting a blank screen when i am trying to convert a smartform into PDF. Following are the steps i am using:

1 ) I have created a FM which gives me data in OTF format.

2) Then i called 'SSFCOMP_PDF_PREVIEW' FM.

3) Finally i called 'CONVERT_OTF' FM

CALL FUNCTION 'CO*NVERT_OTF'

EXPORTING

FORMAT = 'PDF'

IMPORTING

BIN_FILESIZE = p_bin_filesize ( i )

BIN_FILE = p_bin_file ( xstring )

TABLES

otf = p_job_output_info ( SSFCRESCL-otfdata )

lines = p_lines ( tline )

While debugging i checked that p_lines values was coming as '0' , rest values are coming fine.

4) I binded p_bin_file to a context of type xstring and binded this context to Interactive Form UI.

Please tell me if i missed something.

Regards,

Puneet

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