2017 Jun 19 8:36 AM
Hi Guys,
I have created smartform and then sent it to pdf format on mail. It is showing me error on opening PDF file " Contact your administrator". Data is not completely coming on this pdf file. it it only showing me header part.
2017 Jun 19 9:36 AM
Hi,
Make sure the client Application is installed on your system. Secondly, If try to debug and check why the data is not completely moved to Smart form. Finally use the below code to convert OTF to PDF
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = lc_pdf "'PDF'
IMPORTING
bin_filesize = w_bin_filesize
TABLES
otf = lt_otf
lines = lt_pdf_tab
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4
OTHERS = 5.
Thanks, Pavan
2017 Jul 11 6:03 AM
I have tried this but it is not working. well i found the solution of this problem. so i will share that.
Thank you Sir for you kind help.