Application Development and Automation 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: 
Read only

Replacement for statment DATA: CRLF(1) TYPE X in version ECC6

Former Member
0 Likes
481

Hi,

In the new verision ECC6 where unicode is enable, do you know the replacement for the following stament (defined in 4.6C).

DATA: CRLF(1) TYPE X.

By default, CRLF has a hexadecimal value of '00'.

Please help,

Chuong

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
448

Use the class attribute cl_abap_char_utilities=>cr_lf instead.

Regards,

Rich Heilman

3 REPLIES 3
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
449

Use the class attribute cl_abap_char_utilities=>cr_lf instead.

Regards,

Rich Heilman

Read only

0 Likes
448

Hi Rich,

I tried to use the class attribute cl_abap_char_utilities=>cr_lf, but infact this attribute has a hexadecimal value of '0D' which is different from '00'.

Please help,

Chuong

Read only

0 Likes
448

Depending on what you are using it for, it may work anyway regardless if the value is different. the CR_LF attribute is used for carriage returns/line feeds. Give it a try.

Regards,

Rich Heilman