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: 

Report output list to PDF color problem

former_member1109645
Participant
0 Kudos

Hi ALL,

I have developed a report to download the out put list of the report to download to PDF.

i used

NEW-PAGE PRINT ON PARAMETERS pri_params NO DIALOG .

write : <Report output>

NEW-PAGE PRINT OFF.

then i used CONVERT_ABAPSPOOLJOB_2_PDF FM.

works fine. But i have used some colors using format color command.

Colors are fine in output list. But when downloaded to PDF the colors are appearing in the next line also , though i used format color off.

Any suggestions.

Thanks in advance,

Kannan N

3 REPLIES 3

former_member188685
Active Contributor
0 Kudos

this may happen with the line size also. what is the Spool output for the same report..??

0 Kudos

In Spool output the colors are fine .

regards,

Kannan

0 Kudos

Hi,

I have the same problem.

The spool is ok, but when i use the FM CONVERT_ABAPSPOOLJOB_2_PDF, if the last word of a line is colorized, the next line take the color too ...

If you write a caracter without color format at the end of your line, the PDF will be ok (but unfortunatelly, it doesn't work with a < WRITE ' ' >).

Guillaume