Application Development 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: 

In PDF conversion, full width of the report is not getting converted.

former_member696081
Participant
0 Kudos

Hi all,

Iam working on a report which will be scheduled in background. I need to convert the report output into pdf and then to send it through mail.

I can able to send the document, but the problem is I am not getting the all coloumns in the pdf few coloumns are getting truncated.

Can anybody help in this regard.

Thank you.

Regards.

Ranganadh.

6 REPLIES 6

Former Member
0 Kudos

Hi,

how many characters are in the spool-line, more than 255?

Regards, Dieter

0 Kudos

Hi thanks for your reply.

yes. its morethan 255.

In spool I can able to see all the coloumns.

But when converting it in to spool its getting truncated.

I am using the FM "CONVERT_ABAPSPOOLJOB_2_PDF".

Do I need to change the printer parameters?

Regards.

Ranganadh.

0 Kudos

Hi,

the FM you use hase the table PDF which is like TLINE (only 134 char!).

Regards, Dieter

Former Member
0 Kudos

Try generating the PDF using std program RSTXPDFT4 .

Sumbit RSTXPDFT4 using the generated spool no .

0 Kudos

Yes I tried with "RSTXPDFT4" also but the same output I am getting.

Regards.

Ranganadh

Former Member
0 Kudos

Hi Ranga,

Data:
w_binsize TYPE i,
w_spono  LIKE  tsp01-rqident,


w_spono = sy-spono,


CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
    EXPORTING
      src_spoolid                    = w_spono
   IMPORTING
     pdf_bytecount                  = w_binsize

Regards,

Sravanthi