Skip to Content

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

Line break in string concatenation

Hi

According to following link .. I tried to concatenate line break in string concatenation

and my code is like this... I'm on ECC6

DATA: line_br(2) TYPE X VALUE '0D0A'.

DATA: v_line TYPE string.

CONCATENATE 'LINE1' 'LINE2' INTO v_line SEPARATED BY line_br.

"But I'm getting syntax error like  line_br must be a character-type object 

"any other solution please...???

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question