cancel
Showing results for 
Search instead for 
Did you mean: 

Carriage return displayed as ##

Former Member
0 Kudos

Hello,

texts are displayed with format (carriage return, line feed, etc.) on the BSP page but not on my smartform. Carriage return are displayed as ## using a variable of type string. I´ve eliminated the CR but then the format is gone and texts are displayed as just one continual line, something users do not like.

Has somebody an idea how to solve this ??

Thanks.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

found a solution

Former Member
0 Kudos

Hi Jorge,

I will appreciate if you please share your solution of carriage return being displayed as ##?

Thanks,

Kuldeep

Former Member
0 Kudos

Hi Jorge,

could you post some information to the solution please.

Thanks,

Kevin

Former Member
0 Kudos

Try using the data type as abap_char1 for carriage return etc.


constants : cr type abap_char1 value CL_ABAP_CHAR_UTILITIES=>CR_LF 

regards,

Advait

Edited by: Advait Gode on Jan 23, 2009 4:39 PM

Former Member
0 Kudos

Hi,

sorry but it does work. It prints one # on the form, instead of 2.

Former Member
0 Kudos

if there is a space in your table values its shows that ####