2014 Jul 08 11:26 AM
Hi All,
I am using Function Module 'CONVERT_OTF' to convert smartform to PDF and then 'GUI_DOWNLOAD' to download this to local system. Everything works fine except the Table lines. While displaying smartforms the formatting is ok but when try to download it to local system the lines are too thick sometimes covering output data.
I have used pattern for table to display lines for table. Windows 'Box and Shading' option was used for outer boundary that is displayed correctly in smartforms as well as in PDF.
Output for downloaded PDF.
Output for Smartform.
Please help here how I can correct output here.
Thanks
Hemant Singh Bisht
2014 Jul 08 11:39 AM
Hi,
Use PDF!
PDF & exclamation sign as t-Code after preview & save your file .
Regards:
Soumendra
2014 Jul 08 11:43 AM
Hi Somendra,
Thanks for your reply. The requirement is to download PDF directly without output display.
Thanks
Hemant Singh Bisht
2014 Jul 21 4:56 AM
Resolve this issue by using tddest parmater in output_options for smartform.
lv_output_options-tddest = 'LP01'. " Default printer for output
CALL FUNCTION lv_fname
EXPORTING
control_parameters = lv_cparam
output_options = lv_output_options.
Thanks for your replies.
2014 Jul 21 8:10 AM
Hi,
Out of curiosity and for completeness - what SAP output device/device type were you using before LP01?
If the issue is resolved, please close the thread by marking the correct answer (see this blog).
cheers
Jānis