Convert Smartform to PDF
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'
FORMAT = 'PDF'
BIN_FILESIZE = p_bin_filesize ( i )
BIN_FILE = p_bin_file ( xstring )
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.