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: 

Problem with " quotes " in the generation of PDF

0 Kudos
129

Hi ABAPs,

I am with a small problem in the generation of PDF reports as part of the text has "quotes". # It is printed on the spot, but has used the class CL_ABAP_CHAR_UTILITIES => CR_LF but the problem was not solved.

Only in PDF this occurs, in XLS not.

Does anyone have any idea of how to solve this problem?

5 REPLIES 5

former_member194669
Active Contributor
0 Kudos
103

Have you tried this way?


constants : c_quot(4)     type c value '"'.        " For value "
Replace all occurences of c_quot in var with ' '.

0 Kudos
103

Yes, but it did not work.

I used the following code.


REPLACE ALL OCCURRENCES OF C_CR_LF(2) IN V_COMENT WITH SPACE.

Sorry, I must display the quotes in PDF, I can not only remove it.

Edited by: Danilo Depolli on Mar 14, 2008 8:37 PM

0 Kudos
103

Otherwise try this way


concatenate '"' '9' into v_tran.
translate <your variable> using v_tran.

0 Kudos
103

Hi,

The problem is not resolved.

Do you have any idea of what can be?

ps. When beginning the debugging mode, the value of variable is # and not ".

Thanks.

0 Kudos
103

Hello, I am with the same problem. I tried to make the proposed changes but did not work. Can you help-me?