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

PDF File from an internal table data

saradas
Explorer
0 Likes
1,033

I have an internal table ready for grid display of a report. But according to the new requirement, it shouldn't create a Spool request as it is affecting the performance of the system (because its a huge file with 3000+ pages).

So, now we want to create a (non-editable) PDF File and store it in an application server.

From the forum, i see that i have only one option, which is to Convert internal table data to OTF Format and then to PDF.

Right now i am using  PRINT_TEXT to convert to OTF file and FM CONVERT_OTF for PDF file.

The challenges i am facing right now is..

1. After getting the OTF file from PRINT_TEXT, i couldn't get the correct PDF File. It shows random characters instead..

2. My internal table has 103 columns. So how should i accommodate data from all these columns into a single row on a PDF?

3. I couldn't create a table kind of view/display in PDF

Please help/advice me on the above issue.

Thanks,

Sarada

I have an internal table ready for grid display of a report. But according to the new requirement, it shouldn't create a Spool request as it is affecting the performance of the system (because its a huge file with 3000+ pages).

So, now we want to create a (non-editable) PDF File and store it in an application server.

From the forum, i see that i have only one option, which is to Convert internal table data to OTF Format and then to PDF.

Right now i am using  PRINT_TEXT to convert to OTF file and FM CONVERT_OTF for PDF file.

The challenges i am facing right now is..

1. After getting the OTF file from PRINT_TEXT, i couldn't get the correct PDF File. It shows random characters instead..

2. My internal table has 103 columns. So how should i accommodate data from all these columns into a single row on a PDF?

3. I couldn't create a table kind of view/display in PDF

Please help/advice me on the above issue.

Thanks,

Sarada

2 REPLIES 2
Read only

Former Member
0 Likes
924

Hi,

103 columns need to be seen in at least 7 pages or more. Cant display in just 1 page.

I guess that better to create a smartforms and pass all the information from the table to the smartforms.

There you can create multipages.

Probably, that huge table need to separete it in 7 tables, so each page will get the information from one table...

i will try to do sth like that.

Regards

Miguel

Read only

0 Likes
924

lines-tdline of FM 'Print_Text' is only 132 chars long.

So, even if i have 10 columns, it will be more than 132 chars.

My PDF should replicate the pdf file created from spool request. How do i do it?