2010 Jan 26 10:37 AM
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
2010 Jan 26 1:06 PM
Found that CR_LF is two characters, right?
Sorry for double...I just hit post once.
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
2010 Jan 26 10:40 AM
pls neglect it.. resolved myself. My own mistake... thanks !
2010 Jan 26 1:06 PM
2010 Jan 26 1:06 PM
Found that CR_LF is two characters, right?
Sorry for double...I just hit post once.
2010 Jan 26 1:39 PM
right! But you can also use type ABAP_CR_LF from type pools ABAP.
2010 Jan 26 2:17 PM
2010 Jan 26 3:05 PM
thanks , right, I need to look at the type pools... I was typing so quick. thank you !