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

converting the layout from OTF format into PDF

Former Member
0 Likes
592

Hi Experts,

I am new to SMART FORMS,I don't have a clue about how to convert the layout from OTF format into PDF format and how to store it in Presentation server.

Please send me a Model program or step by step approach of the same.

Useful inputs will be rewarded higher points.

Thanks in Advance,

Dharani

Hi Experts,

I am new to SMART FORMS,I don't have a clue about how to convert the layout from OTF format into PDF format and how to store it in Presentation server.

Please send me a Model program or step by step approach of the same.

Useful inputs will be rewarded higher points.

Thanks in Advance,

Dharani

4 REPLIES 4
Read only

anversha_s
Active Contributor
0 Likes
568

hi,

<b><i>pls dont open the same thread.</i></b>

rgds

Anver

Read only

0 Likes
568

HI Anvar,

Since its an urgent issue....I have done this.......

Sorry for the inconvinence caused.

Thanks & Regards,

Dharani

Read only

Former Member
0 Likes
568

Use this program RSTXPDFT4

Read only

Former Member
0 Likes
568

Hi,

The steps are given below:-

1) First get the name of your generated function module for the smartforms.

2) Then call the generated function module.

3) Then use the FM:CONVERT_OTF' to convert into PDF as shown below:-

call function 'CONVERT_OTF'

EXPORTING

format = 'PDF'

IMPORTING

bin_filesize = w_pdf_len

bin_file = w_pdf_xstring

TABLES

OTF = OUTPUT_DATA-OTFDATA

LINES = LT_LINES

EXCEPTIONS

err_max_linewidth = 1

err_format = 2

err_conv_not_possible = 3

err_bad_otf = 4

others = 5.

Hope this is clear.

Pravat.

<i>*Reward points if helpful.</i>