Skip to Content
0

smartform to Mail PDF file

Jun 19, 2017 at 07:36 AM

55

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Pavan Bhamidipati Jun 19, 2017 at 08:36 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Jul 11, 2017 at 05:03 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded