09-24-2008 12:49 PM
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.
09-24-2008 12:55 PM
Hi,
how many characters are in the spool-line, more than 255?
Regards, Dieter
09-24-2008 1:03 PM
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.
09-24-2008 1:15 PM
Hi,
the FM you use hase the table PDF which is like TLINE (only 134 char!).
Regards, Dieter
09-24-2008 1:06 PM
Try generating the PDF using std program RSTXPDFT4 .
Sumbit RSTXPDFT4 using the generated spool no .
09-24-2008 1:12 PM
Yes I tried with "RSTXPDFT4" also but the same output I am getting.
Regards.
Ranganadh
09-24-2008 1:21 PM
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