‎2008 Mar 13 5:43 AM
Hi experts,
I am using a function module in my function module which returns pdf size and no of pdf lines as output.
Using that output how we can show the pdf output in a new screen-1000.
Any function module which converts the smartform into pdf other than convert_otf and convert_otf_2_pdf.
Thanks,
Sakthi
‎2008 Mar 13 5:55 AM
Hi Sakthi,
Check these
CONVERT_OTF Convert OTF format to various formats (TLINE table) ASCII or PDF
CONVERT_OTF_2_PDF Convert OTF to PDF (TLINE table). OTF can be filled used archivelink. Calls CONVERT_OTF.
CONVERT_OTF_2_PDF_ARCHIVELINK -=--Convert OTF to PDF (TLINE table). Calls CONVERT_OTF. Looks like the function names for these two functions are mixed up 
CONVERT_OTFSPOOLJOB_2_PDF put: spool # (SAPscript: tsp01-rqdoctype='OTF'); Output: PDF as internal table (TLINE) Example
CONVERT_ABAPSPOOLJOB_2_PDF ---Input: spool # (ABAP listing: tsp01-rqdoctype='LIST'); Output: PDF as internal table (TLINE) Example
Cheers
Mohinder Singh Chauhan
‎2008 Mar 13 5:55 AM
Hi Sakthi,
Check these
CONVERT_OTF Convert OTF format to various formats (TLINE table) ASCII or PDF
CONVERT_OTF_2_PDF Convert OTF to PDF (TLINE table). OTF can be filled used archivelink. Calls CONVERT_OTF.
CONVERT_OTF_2_PDF_ARCHIVELINK -=--Convert OTF to PDF (TLINE table). Calls CONVERT_OTF. Looks like the function names for these two functions are mixed up 
CONVERT_OTFSPOOLJOB_2_PDF put: spool # (SAPscript: tsp01-rqdoctype='OTF'); Output: PDF as internal table (TLINE) Example
CONVERT_ABAPSPOOLJOB_2_PDF ---Input: spool # (ABAP listing: tsp01-rqdoctype='LIST'); Output: PDF as internal table (TLINE) Example
Cheers
Mohinder Singh Chauhan
‎2008 Mar 13 6:02 AM
Hi,
use class CL_GUI_PDFVIEWER or method EXECUTE in class CL_GUI_FRONTEND_SERVICES.