‎2013 Dec 10 6:50 AM
Hi ,
I have developed a SMARTFORM which looks good. But when i use TCODE "PDF!" it looks better than the normal SF.
When i give print the SF is coming as normal one not as PDF!.
is there any way to make a SF look and feel much better or like PDF! when we give a print?
Thanks
Vijay Vikram
‎2013 Dec 10 7:01 AM
Try passing the OTF table of the smartform to the function module SSFCOMP_PDF_PREVIEW.
To get the OTF Format
While calling the smartform get the importing parameter job_output_info and get the details of table otfdata in job_output_info.Pass the importing parameter control_parameters with
getotf = 'X' and no_dialog = 'X'.
‎2013 Dec 10 7:55 AM
To print a Smart Form in PDF, the Smart Forms OTF output has to be converted to PDF.
The restrictions in Note 323736 apply to all the options listed below for PDF conversion.
You can print a Smart Form in PDF as follows: