Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Incorrect format for line while converting smartforms to pdf

0 Likes
1,138

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

4 REPLIES 4
Read only

Former Member
0 Likes
1,100

Hi,

     Use PDF!

      PDF & exclamation sign as t-Code after preview & save your file .

Regards:

Soumendra

Read only

0 Likes
1,100

Hi Somendra,

Thanks for your reply. The requirement is to download PDF directly without output display.

Thanks

Hemant Singh Bisht

Read only

0 Likes
1,100

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.

Read only

0 Likes
1,100

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