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

Syntax error with CL_ABAP_CHAR_UTILITIES

Former Member
0 Likes
1,655

Hi,

I am facing an error during syntax check of the include program ZXMBCU01.

My code is:

class cl_abap_char_utilities definition load.

CONSTANTS: c_lf TYPE C VALUE CL_ABAP_CHAR_UTILITIES =>CR_LF.

CONSTANTS: c_cr TYPE c value cl_abap_char_utilities=>newline.

CONSTANTS: c_tab TYPE C VALUE CL_ABAP_CHAR_UTILITIES =>HORIZONTAL_TAB.

whats wrong with it?

thanks!

Chika

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,390

Found that CR_LF is two characters, right?

Sorry for double...I just hit post once.

6 REPLIES 6
Read only

Former Member
0 Likes
1,390

pls neglect it.. resolved myself. My own mistake... thanks !

Read only

Former Member
0 Likes
1,390

Found that CR_LF is two characters, right?

Read only

Former Member
0 Likes
1,391

Found that CR_LF is two characters, right?

Sorry for double...I just hit post once.

Read only

0 Likes
1,390

right! But you can also use type ABAP_CR_LF from type pools ABAP.

Read only

Former Member
0 Likes
1,390

If you question is resolved, please mark it as such.

Rob

Read only

0 Likes
1,390

thanks , right, I need to look at the type pools... I was typing so quick. thank you !