Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

UNICODE REPLACEMENT for the given logic

BEGIN OF CRLF,

CARRIAGE_RETURN(1) TYPE X VALUE '0D',

LINE_FEED(1) TYPE X VALUE '0A',

END OF CRLF,

This is not allowed in Unicode environments.

I get the below error:

CRLF must be a character type object.

How can I replace this statement.

I checked some posts on sdn but didnot work out.

Thanks

Kiran

Tags:
Former Member
Former Member replied

you can try like this,,,,

DATA: L_TAG_END_STACK(64) TYPE C OCCURS 10 WITH HEADER LINE,
crlf(2) TYPE C VALUE cl_abap_char_utilities=>cr_lf.
data:  html_td_end(64).


concatenate 
'</td>' crlf into HTML_TD_END .

INSERT HTML_TD_END INTO L_TAG_END_STACK INDEX 1.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question