cancel
Showing results for 
Search instead for 
Did you mean: 

Carriage Return Character as # in PSA from Source

former_member466150
Participant
0 Kudos

Hi,

I am getting Carriage Return Character(they are hitting ENTER key for new line) as "#" in PSA from Source(Flat File).

For the same field they are also maintaining #.

How can I write a routine to identify only the Carriage Return Character "#" that occurred due to

ENTER key in source and replace it with SPACE, but allow all # that are maintained manually.

Accepted Solutions (1)

Accepted Solutions (1)

matt
Active Contributor

It's not a #. It's a carriage return. It's just displayed as #. You need to look for cl_abap_char_utilities=> cr_lf and replace that with space.

former_member466150
Participant
0 Kudos

hi Matt,

Thanks for the input. cl_abap_char_utilities=> cr_lf+1(1) has solved the issue!

Answers (0)